Health for heroes

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Health for heroes

Post 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?
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: health for heroes

Post 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.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: health for heroes

Post 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.
Webster27
Rebel Warrant Officer
Rebel Warrant Officer
Posts: 312
Joined: Tue Nov 08, 2011 11:14 am
Projects :: The Republic Commando Mod
Games I'm Playing :: SWBF2 Minecraft
xbox live or psn: No gamertag set
Location: Germany

Re: health for heroes

Post by Webster27 »

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
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: health for heroes

Post 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. :?
THEWULFMAN
Space Ranger
Posts: 5557
Joined: Tue Aug 17, 2010 3:30 pm
Projects :: Evolved 2
Location: Columbus, Ohio
Contact:

Re: health for heroes

Post 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.
kinetosimpetus
Imperial Systems Expert
Imperial Systems Expert
Posts: 2381
Joined: Wed Mar 25, 2009 4:15 pm
Projects :: A secret project
Games I'm Playing :: Warframe STO

Re: health for heroes

Post by kinetosimpetus »

It's probably hardcoded.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

Re: health for heroes

Post 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?
AcaelusThorne
Corporal
Corporal
Posts: 153
Joined: Tue Apr 26, 2011 3:30 am
Projects :: Republic Commando Side Mod
Games I'm Playing :: SWBII
xbox live or psn: No gamertag set

Re: health for heroes

Post 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.
Post Reply