Home   Help Search Login Register  

Author Topic: Conversation script (FAQ)  (Read 597 times)

0 Members and 1 Guest are viewing this topic.

Loup-Garou

  • Guest
Conversation script (FAQ)
« on: 16 Mar 2004, 10:55:39 »
Hi, all. I saw that there's, in the FAQ, an example of conversation script, but, as I've said in the "bugs sections", the link "view item for full description" doesn't work  >:(.  So, if anyone can help me... .

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Conversation script (FAQ)
« Reply #1 on: 16 Mar 2004, 11:08:40 »
Can you give us a link to the FAQ item?   Then we know exactly what you were trying to do.    
« Last Edit: 16 Mar 2004, 11:09:44 by macguba »
Plenty of reviewed ArmA missions for you to play

Loup-Garou

  • Guest
Re:Conversation script (FAQ)
« Reply #2 on: 16 Mar 2004, 11:22:02 »
It's : javascript:open_snippet('/editors/faq_view.php?id=25')

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Conversation script (FAQ)
« Reply #3 on: 16 Mar 2004, 11:36:32 »
OK, I've found it and I can't get into it either.

What are you trying to do exactly?  We'll answer this one by forum rather than by FAQ.  ;D
Plenty of reviewed ArmA missions for you to play

Loup-Garou

  • Guest
Re:Conversation script (FAQ)
« Reply #4 on: 16 Mar 2004, 11:56:55 »
I search to make conversations during the missions and in the outros / intros(with sound and text) : I know that's there's stuffs like "say", "Cfg sounds", [] exec "script.sqs", but no more  :-\ .... .  

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Conversation script (FAQ)
« Reply #5 on: 16 Mar 2004, 13:12:04 »
Read Bloodmixer's sound tutorial in the Ed Depot.  ;)
Plenty of reviewed ArmA missions for you to play

Loup-Garou

  • Guest
Re:Conversation script (FAQ)
« Reply #6 on: 16 Mar 2004, 20:59:42 »
Sound question looks a little difficult, but I've made a basic cutscene :

example : make a trigger linked (F2) to the player (name : Guy1) and place it near another unit (name: Guy2). On activation : [] exec "cutscene.sqs".

cutscene.sqs (in the mission folder) :

titlecut [" ","BLACK IN",3]

_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]

enableradio false

_cam camsettarget Guy1
_cam camsetrelpos [1,1,1]
_cam camcommit 0
@camcommitted _cam

~2

Guy1 setMimic "Smile"
titlecut ["Excuse me, sir ?","plain down",1]

~4

_cam camsettarget Guy2
_cam camsetrelpos [1,1,1]
_cam camcommit 0
@camcommitted _cam

~2

titlecut ["Yes ?","plain down",1]

~4

_cam camsettarget Guy1
_cam camsetrelpos [1,1,1]
_cam camcommit 0
@camcommitted _cam

~2

titlecut ["I'm looking for Viktor Troska's house.","plain down",1]

~4

_cam camsettarget Guy2
_cam camsetrelpos [1,1,1]
_cam camcommit 0
@camcommitted _cam

~2

titlecut ["It's over here. ","plain down",1]
Guy2 switchMove "FXShow5"

~4

_cam camsettarget Guy1
_cam camsetrelpos [1,1,1]
_cam camcommit 0
@camcommitted _cam

~2

titlecut ["Thank you. ","plain down",1]

~4

_cam camsettarget Guy2
_cam camsetrelpos [1,1,1]
_cam camcommit 0
@camcommitted _cam

~2

titlecut ["Your welcome. ","plain down",1]

~4

_cam cameraeffect ["terminate", "back"]
camdestroy _cam

enableRadio true

exit
« Last Edit: 25 Apr 2004, 16:49:28 by Loup-Garou »