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?
Health for heroes
Moderator: Moderators
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: health for heroes
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.
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: health for heroes
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.
This could be because I'm tired, would be great if someone else does a lil sweep.
-
Webster27
- Rebel Warrant Officer

- Posts: 312
- Joined: Tue Nov 08, 2011 11:14 am
- Projects :: The Republic Commando Mod
- xbox live or psn: No gamertag set
- Location: Germany
Re: health for heroes
I would think that it's in an Odf file... 
-
Marth8880
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: health for heroes
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. 
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: health for heroes
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.
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: health for heroes
It's probably hardcoded.
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: health for heroes
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.Webster27 wrote:I would think that it's in an Odf file...
Mos Eisley Hunt mode would be pure madness then.
I'm afraid it is, but it's not time to give up yet.kinetosimpetus wrote:It's probably hardcoded.
Is something like a LUA workaround possible?
If you can get a point when killing something, why not health?
-
AcaelusThorne
- Corporal

- Posts: 153
- Joined: Tue Apr 26, 2011 3:30 am
- Projects :: Republic Commando Side Mod
- xbox live or psn: No gamertag set
Re: health for heroes
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.Bob wrote:Is something like a LUA workaround possible?
If you can get a point when killing something, why not health?
