patchx Posted May 29, 2002 Share Posted May 29, 2002 does anyone know how to do it? theres a target_levelchange thing but it just sends the player to a diferent map -patch Link to comment Share on other sites More sharing options...
Xcom Posted May 29, 2002 Share Posted May 29, 2002 Well, you need to play closing credits to end the level (aka take you back to main menu). The closing credits text is in credits.sp under base/strip (I suggest you edit it and make it shorter ) In your map, create ref_tag entity, give it cam1end targetname and point it at info_notnull. (Pick a nice spot in your map for that). Then you can just run this script by target_scriptrunner or thru another script. //Generated by BehavEd camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 0.000, < 0.000 0.000 0.000 >, 1.000, 1000 ); wait ( 1200.000 ); camera ( /*@CAMERA_COMMANDS*/ ENABLE ); set ( "SET_HUD", "true" ); camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "cam1end", ANGLES)$, < 0.000 0.000 0.000 >, 0 ); camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "cam1end", ORIGIN)$, 0 ); camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 1.000, < 0.000 0.000 0.000 >, 0.000, 1000 ); wait ( 1000.000 ); set ( "SET_END_SCREENDISSOLVE", "true" ); wait ( 1000.000 ); set ( "SET_CLOSINGCREDITS", "true" ); I made this one for my own purposes so you might wanna tweak it as you wish. Link to comment Share on other sites More sharing options...
patchx Posted May 29, 2002 Author Share Posted May 29, 2002 yeah i made one similiar to that by just ripping bits out of the last raven cinematic script but the camera stays on the player it doesnt go to the star view starwarsy cliche thingo i think i need to learn to manipulate camera things -patch Link to comment Share on other sites More sharing options...
jipe Posted May 29, 2002 Share Posted May 29, 2002 If I make a script, and I want to test it out in a level.. where do I put the script? In a folder somewhere? Thanks.. Link to comment Share on other sites More sharing options...
patchx Posted May 29, 2002 Author Share Posted May 29, 2002 if ur not packing it into your level yet just put it in a folder called scripts in the base directory when u refer to it with a scriptrunner you dont need any directory structure that way just type the name of your script -patch Link to comment Share on other sites More sharing options...
Xcom Posted May 29, 2002 Share Posted May 29, 2002 Originally posted by patchx yeah i made one similiar to that by just ripping bits out of the last raven cinematic script but the camera stays on the player it doesnt go to the star view starwarsy cliche thingo The script I gave you works perfectly. I tested it. Don't forget, you need to make a ref_tag. You also need to ENABLE camera or it won't move. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.