STAR WARS™ Jedi Knight: Jedi Academy™

STAR WARS™ Jedi Knight: Jedi Academy™

bpearman Apr 20, 2016 @ 8:07pm
Step-By-Step How to Enable Dismemberment in Jedi Academy
Here are step-by-step instructions on how I enabled dismemberment in Jedi Academy and verified it was actually working. Hopefully it may help some people.

I have also tried to explain why so many people are having issues with getting dismemberment to work in the question and answer section.

Instructions
-----------------
1. Go to your Jedi Academy directory. The following is the location on my computer.
C:\Program Files (x86)\Steam\steamapps\common\Jedi Academy\GameData\base

2. Create a file named autoexec.cfg. Make sure you use all lower case.

3. Add these entries to the file. Make sure you use the exact same case, just to be safe.
seta helpUsObi "1"
seta g_saberMoreRealistic "3"
seta g_dismemberment "3"

4. Save the file.

5. Start up Jedi Academy

6. Load up a saved game and dismemberment is now enabled.

7. EXTREMELY IMPORTANT. DO NOT START A NEW GAME OR USE THE FIRST 2 YAVIN AUTO SAVES(auto_yavin1.sav or auto_yavin1b.sav)!
If you start a new game or use the yavin1 auto save vs using a manual save, then the variable g_saberMoreRealistic "3" is set to "0" and messes with dismemberment. You can fix this by saving your game, exiting Jedi Academy to Windows, starting the game up again, and loading your manual save. I will explain why this works in the Questions and Answers section.



Questions and Answers
-----------------------------------

1. Why did you have me put those 3 variables in autoexec.cfg instead of jaconfig.cfg?

Two reasons.
(1) The game can change the g_saberMoreRealistic variable on you. This variable is write-protected and cannot be changed after you start playing a level.

(2) autoexec.cfg is automatically run every time you start Jedi Academy. It will set the three variables above every time you start the game and these variables will get saved to jaconfig.cfg by the game. Think of it as an insurance policy to re-enable dismemberments in future plays, even if you start a new game or load one of the first 2 autosaves.

2. What happened to the Steam version of this game. I was able to do dismemberments without issue on the retail version 1.0?
Then your experience is very different than mine. I legally still own a retail copy of this game. I installed the retail version, after uninstalling the steam version last night, and had the problem with v1.0.0.0 and v1.0.1.0 versions.

3. I have done everything you said and dismemberment is still not working. I downloaded the blood and gore mod and dismemberment is still not working?

Some levels seem to prevent certain npc spawns from being dismembered. It is some kind of level specific issue.

For example:
On t1_fatal, t3_hevil, kor1, and vaspir1 a StormTrooper2 spawn cannot be dismembered no matter what.

If you open the console and type npc spawn StormTrooper2, you will see what I mean. On any other level, just touching a StormTrooper2 will dismember them beyond recognition.

Initially I thought this had to do with the .npc files; however, it does not.

4. Is there a way I can verify that everything is working correctly?
Yes, do the following. These steps can be done either before you load a game at the title screen or after you load a game. The best time to do this is after you load a game.

Bring up the dev console in game Hold "Shift" key and press "~" key.

A) Type the following:
helpUsObi

The following should get returned:
"helpUsObi" is:"1" default:"0"

B) Next type:
g_saberMoreRealistic

Should return:
"g_saberMoreRealistic" is "3" default:"3"

C) Last type:
g_dismemberment

Should return:
g_dismemberment" is "3" default:"0"

Alternative:
A) Load up t1_sour(the first tatooine mission). You should be able to dismember the first 4 guys every single time.

5. What about all those other variables that other websites and posts have told me to set such as:

dismemberment
cg_dismember
g_dismember
g_dismemberprobabilities

Answer: These variables do not get used in single player at all from what I have seen. If you type in the names of these variables into the console after loading a single player game, they will not return anything, unless you have created them by setting a value. Unlike variables that get used in Single Player, these variables only return a value if you manually set a value. When you set a value, the variable is created.

A variable used in single player gets set by the game when you have played at least once. For instance, if you type helpUsObi, after starting the game up for the very first time, it will return 0. The 4 variables mentioned above don't return anything.
Last edited by bpearman; Apr 20, 2016 @ 10:22pm
< >
Showing 1-12 of 12 comments
rataj Apr 22, 2016 @ 12:15am 
Sorry but g_DismemberProbabilities is an SP used command.
I can show you a screen from decompiled jagamex86.dll.
To ensure a full uncensored dismember function you need to change the "If" functions of all g_DismemberProbabilities sections/parts and the MAX_SABER_VICTIMS in wp_saber.cpp
(wp_saber.h is for multiplayer)
The "g_DismemberProbabilities" is an part of the Probabilities of NPC's
(Can be found in \ext_data\npcs)
To ensure a full dismembered body,
you need to change the values of head, arms, legs and torso too.
An rewritten part of the ui_iscensored command and some more things.
Enabling "broadsword" command in source code.


IF people won't do the typing of commands again,
they can add the commands to level transition ui files.
Last edited by rataj; Apr 22, 2016 @ 12:54am
HermesMk1 Jan 16, 2018 @ 4:22pm 
Well now that I've enabled it, I've found that the game is far too easy. How would I disable it?
HermesMk1 Jan 16, 2018 @ 4:24pm 
Originally posted by Around The World:
Well now that I've enabled it, I've found that the game is far too easy. How would I disable it?
As in, I appreciate the dismemberment, but things are just far too easy. There's no real challenge when all I have to do is bump into people.
Sp3rm_Wizard Jan 17, 2018 @ 11:44am 
Doesnt work
Xioth Apr 27, 2018 @ 11:04pm 
...So, I assume this... doesn't work with OpenJK?

Thats wonderful man.
Clawcity May 1, 2019 @ 7:32pm 
Does anyone know how to get it working in MP?
Gronb Jan 25, 2020 @ 8:56pm 
I love these instructions. Worked brilliantly at first. And then after finishing for the day I restarted the game and low and behold its not working at all anymore. Just the instant damage. tf?
Thunder Bitch May 25, 2020 @ 5:39pm 
Originally posted by rataj:
Sorry but g_DismemberProbabilities is an SP used command.
I can show you a screen from decompiled jagamex86.dll.
To ensure a full uncensored dismember function you need to change the "If" functions of all g_DismemberProbabilities sections/parts and the MAX_SABER_VICTIMS in wp_saber.cpp
(wp_saber.h is for multiplayer)
The "g_DismemberProbabilities" is an part of the Probabilities of NPC's
(Can be found in \ext_data\npcs)
To ensure a full dismembered body,
you need to change the values of head, arms, legs and torso too.
An rewritten part of the ui_iscensored command and some more things.
Enabling "broadsword" command in source code.


IF people won't do the typing of commands again,
they can add the commands to level transition ui files.
wp_saber.cpp is in jagamex86.dll, yes? I know that sounds dumb, but I am making sure.
Thunder Bitch May 25, 2020 @ 5:40pm 
Originally posted by Grondjuice0:
I love these instructions. Worked brilliantly at first. And then after finishing for the day I restarted the game and low and behold its not working at all anymore. Just the instant damage. tf?
Yeah, same here. I think it doesn't work on a few levels, I don't know.
bpearman Jul 7, 2020 @ 7:39pm 
You are correct. I believe there were a few levels, where this refused to work at all for me.
Sgtboom7 Nov 23, 2021 @ 4:07pm 
Originally posted by Medicinal Tank Main:
Originally posted by Around The World:
Well now that I've enabled it, I've found that the game is far too easy. How would I disable it?
As in, I appreciate the dismemberment, but things are just far too easy. There's no real challenge when all I have to do is bump into people.
This is really late but in case someone else later has the same question, change
seta g_saberMoreRealistic from "3" to "2" having it at 3 changes the sharpness of the lightsaber to the point that it does damage even when not being used in an attack (don't have to click just walk into enemies) had the same problem and this fixed it. But your damage is still greatly increased (one shot Alora on Hoth) and having the value lower than 2 drastically reduces dismemberment so if someone finds something better, reply.

To clarify: change seta g_saberMoreRealistic "3" to seta g_saberMoreRealistic "2"
Last edited by Sgtboom7; Nov 23, 2021 @ 4:34pm
zinthos001 May 30, 2022 @ 7:16pm 
@bpearman so it worked for the helpUsObi and g_dismemberment but not g_saberMoreRealistic any tips?
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Apr 20, 2016 @ 8:07pm
Posts: 12