Page 1 of 1

Health for heroes

Posted: Sun May 06, 2012 1:11 pm
by Bob
Whenever a hero class kils an enemy, he gets a bit health for it.
Is there a way to change the amount of the added health?

Re: health for heroes

Posted: Sun May 06, 2012 1:13 pm
by THEWULFMAN
That's a very good question. I've never thought about it before, but I'd wager it's controlled in one of the global lua scripts.

Re: health for heroes

Posted: Sun May 06, 2012 1:17 pm
by Bob
I thought the same thing, but when I checked the LUAs I couldn't find anything...
This could be because I'm tired, would be great if someone else does a lil sweep.

Re: health for heroes

Posted: Sun May 06, 2012 2:05 pm
by Webster27
I would think that it's in an Odf file... :?

Re: health for heroes

Posted: Sun May 06, 2012 2:06 pm
by Marth8880
Hmm, I looked in Objective.lua, ObjectiveConquest.lua, points.lua, setup_teams.lua and gametype_conquest.lua as well as com_jedi_default.odf and I couldn't find anything. :?

Re: health for heroes

Posted: Sun May 06, 2012 2:11 pm
by THEWULFMAN
Webster27 wrote:I would think that it's in an Odf file... :?


Doubtful. I've combed most of the ODFs thoroughly, especially infantry ones, if it's there I couldn't find it.

Re: health for heroes

Posted: Sun May 06, 2012 5:26 pm
by kinetosimpetus
It's probably hardcoded.

Re: health for heroes

Posted: Mon May 07, 2012 8:32 am
by Bob
Webster27 wrote:I would think that it's in an Odf file... :?
It isn't, if it where like this the health bonus on killing something would still apply to heroes when added to the map as regular class.
Mos Eisley Hunt mode would be pure madness then.
kinetosimpetus wrote:It's probably hardcoded.
I'm afraid it is, but it's not time to give up yet.

Is something like a LUA workaround possible?
If you can get a point when killing something, why not health?

Re: health for heroes

Posted: Mon May 07, 2012 8:53 am
by AcaelusThorne
Bob wrote:Is something like a LUA workaround possible?
If you can get a point when killing something, why not health?
Mayby you can join it by saying when you get a point you get health. But I am not a experianced coder for SwbII so I can“t tell you the commands.