Jedi permadeath?

veaseomat

New Member
Jan 10, 2011
6
0
1
#1
Hey I'm a noob to the server scene but I've gotten my own up and running with zonamadev and have made some simple modifications like hologrind and editing simple things like stats, that being said does anyone know a simple way I could incorporate permadeath into jedi? Like if a jedi character died it is no longer playable, or maybe something simple like it will unlearn All of your skills so you have to start over. I'm not a coder so this needs to be army proof. Thanks in advance.
 

veaseomat

New Member
Jan 10, 2011
6
0
1
#4
so right now im looking at jedi exp loss in src/server/zone/managers/player/playermanagerimplementation im wondering if theres any way i can just add a line with the gm command /resetjedi so it just erases it. because after using that command from a holo unlock you can not make him a jedi again and i think that would be good enough for my needs. since im a noob im basically just going to dig around in other files until i find a line with some sort of skill removal and try some plug and play action. please let me know if u guys got any insight.
 

veaseomat

New Member
Jan 10, 2011
6
0
1
#5
got it! i cut all of the stuff in jedi exp loss and added the line ghost->setJediState(0);
also i changed >=2 to <=2 that way if you make FRS no more permadeath.
 

veaseomat

New Member
Jan 10, 2011
6
0
1
#6
nvm that didnt work. it only removes the force progression tree, when u softlog it shows back up, need a remove all skills line after that.