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.

☖ Forums → Jedi Outcast and Jedi Academy Editing Forum → Shortcut Launching
Shortcut Launching
2002-05-08, 9:38 AM #1
As I do a lot of level editing, I'm working on a program that allows me to start the game up straight into the level, with options to set speed, gravity and cheats on/off. All I need to know, however, is the shortcut that allows these options... I seem to remember it being something like:

jk2mp.exe +setgame devmap duel_pit seta g_gravity 400 seta g_speed 200

Is that right, or have I missed looking under my nose again?
2002-05-08, 9:42 AM #2
i have it loading up custom levels from shortcuts and i have

jk2mp.exe +devmap duel_pit

as for stringing commands i am not sure. What you have got looks about right though.

------------------
Ah, an old bin and a roll of wire...
... I can make a time machine out of that
"For all these years i have only known Dark Jedi, never one from the Light-Side...
...Somehow I expected more!"
2002-05-08, 12:25 PM #3
*bump*

Sorta important, as I will be releasing the finished program...
2002-05-08, 3:01 PM #4
So far I've got the code for sorting out the command line +devmap stuff, and the code for removing the ".bsp" from the end of the file name etc etc. I just cant see to get the gravity and speed to work.
2002-05-09, 3:55 PM #5
*bump*
2002-05-10, 12:48 AM #6
can you not just edit the worldspawn in your map. Bring up the existing entities menu. Find you worldspawn - then you can set gravity, music, etc...

------------------
Ah, an old bin and a roll of wire...
... I can make a time machine out of that
"For all these years i have only known Dark Jedi, never one from the Light-Side...
...Somehow I expected more!"
2002-05-10, 4:20 AM #7
Thats not the point. The point is you can launch JK2MP straight into your level, with gravity settings that you might want to test, and speed settings. Then you can just leave the worldspawn alone till youre ready to change it. Saves going back and changing it again and again.
2002-05-10, 1:54 PM #8
What is the *bump* limit here [http://forums.massassi.net/html/wink.gif]
2002-05-11, 8:57 AM #9
Ysanne : Pushing new limits in forum aggrevation.

Almost forgot...

*bump*
2002-05-12, 10:36 AM #10
First release of JODevMapper here:

http://www.geocities.com/ysanne_isard84/

Damn Geocities. Please email or post suggestions here. I still dont have the code for Gravity/speed.
2002-05-12, 7:00 PM #11
found the command you need

g_gravity -1

should set no grav, BUT when i try to change gravity in a level i just get the console message "g_gravity value is read only"

I guess that means that, like lighting, gravity is calculated when you bsp the map.

------------------
Ah, an old bin and a roll of wire...
... I can make a time machine out of that
"For all these years i have only known Dark Jedi, never one from the Light-Side...
...Somehow I expected more!"
2002-05-12, 10:39 PM #12
Maybe you could make a plugin for GtkRadiant that will launch JO into your map after you compile it? [http://forums.massassi.net/html/smile.gif]
KOP_blujay
Just dancin'...and singin'...in the Force.
2002-05-13, 9:02 AM #13
Never worked with plugins - for anything - but its a good idea. There is one way you could do it, adding a line to the project settings in the BSP options, something like bsp_BSP FullVis-Launch and then changing the command line to maybe launch this program, or launch this program with its own command line options to go straight into the game.

Still need the COMMAND line arguments for setting variables...
2002-05-13, 9:03 AM #14
Gravity can be changed at any point, except maybe before loading a level... if the level loads, would it automatically reset the gravity even if I used any command line arguments to preset them?

↑ Up to the top!