
Xoronatus
Joined: Dec 6, 2010
Taking a break
|
Posted: May 24, 2011 09:50 PM
Msg. 1 of 7
So, let's say I make an SP level. How can I make a script that would make it so that when I type something into devmode, it will load that BSP, encounters, etc. Kind of like loading a checkpoint with devmode. Do I use a dormant script or something? This way, if I am playing my level, I don't have to play through the whole level to test out some tags I put in at the end of the level.
|
|
|

UBE Chief
Joined: Sep 28, 2009
Raising the bar, one kill at a time.
|
Posted: May 24, 2011 10:44 PM
Msg. 2 of 7
Well, the dev command (switch_bsp #) works pretty much in what you described - except for the fact that you have to use (debug_camera_save) and (debug_camera_load) to fly to where your BSP is, then use (cheat_teleport_to_camera) to get your actual body in said BSP.
Otherwise, that's pretty much it.
|
|
|

Xoronatus
Joined: Dec 6, 2010
Taking a break
|
Posted: May 24, 2011 11:26 PM
Msg. 3 of 7
Oh ok, thanks.
|
|
|

UBE Chief
Joined: Sep 28, 2009
Raising the bar, one kill at a time.
|
Posted: May 25, 2011 01:25 AM
Msg. 4 of 7
No problem ^_^
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: May 25, 2011 09:36 AM
Msg. 5 of 7
Just make a dormant script to do it for you. (script dormant test (object_teleport (unit (list_get (players) 0 ) ) test_flag) (switch_bsp 1) (ai_place "blah blah blah") ) Something along those lines.
|
|
|

Omargawdz
Joined: May 25, 2011
snipe! now u dead
|
Posted: May 25, 2011 01:03 PM
Msg. 6 of 7
ya i would like 2 skip th part wher u r on the ship at the end cuz its 2 hard i can nevr beat it and i havnt seen the ending yet but i no its the last levl so if i cud just skip it an watch the end id like to Edited by Omargawdz on May 25, 2011 at 01:03 PM
|
|
|

Skidrow925
Joined: Mar 19, 2010
"ideological sense of respect and tact of a 5yo"
|
Posted: May 25, 2011 01:21 PM
Msg. 7 of 7
Basically you can do it by finding the name of the script you need to go to and then typeing "wake [script name if it's a dormant script]"
Never actually tried it but it should work provided you chose the right script.
|
|
|