Jump to content

Home

Scripting / Cinematic help needed!


Bell

Recommended Posts

Posted

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?

Posted

rite, tried all the suggestions but no go. I'm thinkin this method may work in ef but not jkii. Can anyone confirm that?

In that case, can someone suggest the best way of going about getting text to scroll at the beginning of a level??

I really really really really could use the help!!

thanks mountains

Posted

that would be great if anyone knows where this is let me know. I've used x_find to try and find it but no go.

anyone??

Archived

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

×
×
  • Create New...