Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Outcast and Jedi Academy Editing Forum → Completing the lvl
Completing the lvl
2005-07-15, 3:23 PM #1
I'm currently working on a single player lvl for JO, my first, and I'd like to start on the second part of it. The problem is that I'm not sure how to make the lvl end when you get to the ending spot. I've looked at the tutorials and that hasn't helped and I was wondering if I could get some help, or be pointed in the right direction to a tutorial.

Thanks,
Ssostu
2005-07-15, 4:13 PM #2
Isn't there an end_level entity? Check out your entity list.
SnailIracing:n(500tpostshpereline)pants
-----------------------------@%
2005-07-16, 12:10 AM #3
End the first or the second part? If you mean the first, you just target a trigger_once to a target_levelchange.

If you mean the final level, and you want to launch custom credits and terminate the game to main menu, then it's a bit more complicated. But basically you launch a script that's something like this:

Code:
rem ( "the end cam and credits" );
camera ( /*@CAMERA_COMMANDS*/ ENABLE );
camera ( /*@CAMERA_COMMANDS*/ FADE, < 0.000 0.000 0.000 >, 0.000, < 0.000 0.000 0.000 >, 100.000, 0 );
camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "loppucam", ORIGIN)$, 0 );
camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "loppucam", ANGLES)$, < 0.000 0.000 0.000 >, 0 );
camera ( /*@CAMERA_COMMANDS*/ ZOOM, 50.000, 0 );
wait ( 100.000 );
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_TYPES*/ "SET_LOCK_PLAYER_WEAPONS", /*@BOOL_TYPES*/ "true" );
set ( /*@SET_TYPES*/ "SET_PLAYER_LOCKED", /*@BOOL_TYPES*/ "true" );
set ( /*@SET_TYPES*/ "SET_CLOSINGCREDITS", "DEFAULT" );


Notice that loppucam is a name I have given to the final camera, and you can choose what ever name you want for it. The target area of the camera will be the background of the end credits, so choose it wisely. Of course you can have multiple backgrounds if you change the view with multiple cameras. Also note that I have a camera_zoom command over there. That's also something you may need or may not need, and at a different power than I had.
Frozen in the past by ICARUS
2005-07-16, 7:30 AM #4
Thanks for the help lassev, think I got it now.

↑ Up to the top!