Sup beaches
I'm trying to find the files associated with that annoying lightsabre bar that decreases over time with inactivity. I'm making a hero conquest mod, and need to know which scripts within the mod tools deal with this annoying thing. I've looked through sides and scripts and couldn't find anything. If there's already a LVL mod that exists for this, feel free to hook me up.
Regards
Sketch
How to mod the decrementing lightsabre health bar
Moderator: Moderators
-
Sketchup
- Recruit Womprat Killer
- Posts: 12
- Joined: Fri Jun 21, 2013 11:29 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- LukeBenVader1
- Private Recruit
- Posts: 20
- Joined: Fri Jan 10, 2014 8:28 am
- Projects :: Ultimate Laser Tag
- xbox live or psn: No gamertag set
Re: How to mod the decrementing lightsabre health bar
Just put the hero units into the team like the other units:
And completely remove these lines:
And there you go, the lightsaber healthbar has been turned into an ordinary health bar and no health decreases. Just make sure you have them listed in the ReadDataFile Section.
Hidden/Spoiler:
Hidden/Spoiler:
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: How to mod the decrementing lightsabre health bar
The healthbar it selfe is set up in the hud file
But the damage is something about the player1.hero.healthFraction value. I have no idea where this is defined, but i'm sure it is hard coded. So the only way is the one LukeBenVader1 told you. If you still want to have the lightsaber bar you can change the normal unit's health bar with the one from the heros.
Hidden/Spoiler:
-
Sketchup
- Recruit Womprat Killer
- Posts: 12
- Joined: Fri Jun 21, 2013 11:29 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to mod the decrementing lightsabre health bar
I'm making an online mod, so adding classes isn't an option. Thanks for confirming my suspicion that it's hard coded.
-
Eaol
- Major

- Posts: 510
- Joined: Fri Jul 31, 2009 5:49 pm
- Location: Everywhere.
Re: How to mod the decrementing lightsabre health bar
Will the theme for each hero still play when playing as them from the Unit Selection screen like this?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: How to mod the decrementing lightsabre health bar
The theme will play only if the map doesn't have any music playing.
-
Eaol
- Major

- Posts: 510
- Joined: Fri Jul 31, 2009 5:49 pm
- Location: Everywhere.
Re: How to mod the decrementing lightsabre health bar
So basically, if you spawn in initially as the hero and not as another unit/spawning in between tracks?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: How to mod the decrementing lightsabre health bar
Nope, I meant if you don't any background music set up for your map at all.
-
Eaol
- Major

- Posts: 510
- Joined: Fri Jul 31, 2009 5:49 pm
- Location: Everywhere.
Re: How to mod the decrementing lightsabre health bar
Ok. That makes sense. I kind of wanted to do this too, and balance heroes some other way. I could have sworn people used to complain about the whole hero time limit back in the day.
-
Sketchup
- Recruit Womprat Killer
- Posts: 12
- Joined: Fri Jun 21, 2013 11:29 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: How to mod the decrementing lightsabre health bar
And hi Eaol! I haven't seen you in game in forever.
