|
Scripting / Cinematic help needed!
Ok, i have a small test map to try to have the map load and strait away display scrolling text. the map loads into cinematic mode, but the text does not scroll. here is what i did.
In my test map I have the info_player_start with -Key:target -Value: spawn1.
Spawn1 is a target_scriptrunner with -Key:targetname -Value: Spawn1.
Spawn1 has the -Key:usescript -Value:levelonestart
Here is my "levelonestart" script
//Generated by BehavEd
rem ( "levelonebegin" );
camera ( /*@CAMERA_COMMANDS*/ ENABLE );
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 0.000, < 0.000 0.000 0.000 >, 1.000, 0 );
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "scroll1", ORIGIN)$, 0 );
camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "scroll1", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
camera ( /*@CAMERA_COMMANDS*/ ZOOM, 60.000, 0 );
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 1000 );
set ( "SET_SCROLLTEXTCOLOR", "WHITE" );
set ( "SET_SCROLLTEXT", "@scrolling1" );
Here is my extra.pre file
@scrolling1 "This is about a test there is nothing wrong with your system.\n\n
This line has one. n\n
And this line has three n's\n\n\n
and this line has none."
here is my directory structure
test/maps/test.bsp
test/scripts/levelonestart.ibi
test/scripts/extra.pre
test/ext_data/npcs.cfg
so the map starts with a cinematic but no text scrolls and it just hangs there until i escape.
please someone tell me whats wrong?
|