Jump to content

Home

help with a script


patchx

Recommended Posts

im no programmer or whatever and ive never actually made any scripts before starting this sp level but i'm making a cinematic script for itand its all working fine except its not printing the stuff onto the screen that i want it to

 

this is the bit that has the print command in it

 

task ( "tav2" )

{

sound ( CHAN_VOICE, "sound/chars/gran2/09gr2002.mp3" );

print ( "Alexis told us you would come, we are armed and ready..." );

}

 

do ( "tav2" );

do ( "gesture1" );

wait ( "gesture1" );

do ( "gesture2" );

wait ( "gesture2" );

wait ( "tav2" );

 

 

does anyone know what im doing wrong?

 

-patch

Link to comment
Share on other sites

If u want to display subtitles at the bottom of the screen don't use print command. It doesn't work (AFAIK) not for this purpose anyway. I am not 100% how to do it but it seems that you need to create yourmapname.sp under base/strip and define your sound file in there (and specify the text). Check some existing files in that directory.

Link to comment
Share on other sites

i dont have EF

 

i just downloaded BehavEd and used it

 

dont know anything about scripting and stuff but i just check out the existing raven scripts with tha dEvaheB decompiling tool and copy bits that look like they will do what i need then i compile it with BehavEd

 

-patch

Link to comment
Share on other sites

Originally posted by jipe

geez - how do you know all this stuff already?

 

Surprising, eh?

No not really. I have been messing with Elite Force scripts for a long time now and the systax and basic commands are the same. So there. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...