Commando:
Health types and points to unlock
Moderator: Moderators
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Health types and points to unlock
1. Ok, so I am working on a map, and I am trying to build this thing called an aquatic trooper. Bascically a unit that can survive underwater. So I have added a damage region in the ZE which has a positive base number and a negative number for animal health. No other units are affected by the region. I changed the jettroopers health type to be animal, but the region has no affect and he still looses health. Here is his odf.
2. I have added a commando and a magnagaurd from the infantry side of the conversion pack assets. Both units are in and working fine. Th default has them both set to 18 points to unlock. I changed the value to 10, but nothing shows up. Also for the magnagaurd he has the add health funcion, but nothing happens. Do I need to clean this side and remunge? Here are the odfs.
Commando:
Magnagaurd:
Please help! 
Hidden/Spoiler:
Commando:
Hidden/Spoiler:
Hidden/Spoiler:
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Health types and points to unlock
clean+remunge and see if it works.
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Health types and points to unlock
Are you absolutly sure, because I'm on a slow computer already and that entire proccess would normally take with the sides I have, 3 days.
Edit: Actually I could do a selective clean, that shouldn't take very long at all.
Edit: Actually I could do a selective clean, that shouldn't take very long at all.
-
ryukaji
- Major

- Posts: 513
- Joined: Mon Sep 17, 2007 7:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Health types and points to unlock
Well I think you might have to because things like this happen all the time with me.
EDIT: yeah, good idea
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Health types and points to unlock
are you shure, the damageregion works with negative numbers? 
-
MandeRek
- Sith Master

- Posts: 2766
- Joined: Tue Oct 02, 2007 10:51 am
- Projects :: Battlefront Zer0
- xbox live or psn: No gamertag set
- Location: Ghosting around GT
- Contact:
Re: Health types and points to unlock
You can also create water which is survivable by adding a precipitation file, making it look underwater, and add rainshadow regions where you DON"T want the water to be.. Still, if this works (what you're trying) then it's 10 times better
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: Health types and points to unlock
In order to fix that, make a .msh.option file for each new unit model (and if they have one already, open it in notepad) and insert -nocollision to it. Typically what slows down custom munges is that people forget to add that to the .option file and so the munge builds a poly-by-poly collision model instead of a basic one, which takes forever. I can't remember who discovered that, but I added it to all the Conversion Pack assets and munge time for a custom side went from 5 hours to about 10 minutes. No joke.woner11 wrote:. . .that entire proccess would normally take with the sides I have, 3 days.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Health types and points to unlock
i think pinguin discovered it
-
MasterSaitek009
- Black Sun Slicer
- Posts: 619
- Joined: Wed Aug 23, 2006 4:10 pm
Re: Health types and points to unlock
I've never posted it on GT, but I found it out for myself after waiting several hours for a munge.
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Health types and points to unlock
I'm not sure if negative numbers work, I was just told by someone.
The only problem with that is I just want one particular unit to survive.MandeRek wrote:You can also create water which is survivable by adding a precipitation file, making it look underwater, and add rainshadow regions where you DON"T want the water to be..
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Health types and points to unlock
So just make the damagescale 0, instead of trying to make it heal them.woner11 wrote:The only problem with that is I just want one particular unit to survive.
-
Taivyx
- 2008 Best Games Related Avatar
- Posts: 1706
- Joined: Thu Jun 07, 2007 3:34 pm
- Projects :: Terra Strife - discontinued
- xbox live or psn: No gamertag set
- Contact:
Re: Health types and points to unlock
Think you're confused, Mav, he's trying to make it survive in water.
-
MasterSaitek009
- Black Sun Slicer
- Posts: 619
- Joined: Wed Aug 23, 2006 4:10 pm
Re: Health types and points to unlock
This is for when you get the regions working but oh well. Make sure that a unit cannot stand halfway in the water and be healed.
Otherwise it's free health day.
Otherwise it's free health day.
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Health types and points to unlock
Taivyx wrote:Think you're confused, Mav, he's trying to make it survive in water.
I'm addressing the abovementioned. It's one of two viable options, the other being to adapt a healthrecharge prop to work based on a region assignment. E.g.:woner11 wrote:The only problem with that is I just want one particular unit to survive.MandeRek wrote:You can also create water which is survivable by adding a precipitation file, making it look underwater, and add rainshadow regions where you DON"T want the water to be..
Hidden/Spoiler:
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Health types and points to unlock
Will that heal only one type of unit, or all my units that go in the water?
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: Health types and points to unlock
CorrectDarthD.U.C.K. wrote:i think pinguin discovered it
___________________
Your game would still flash red when you are under water, wouldn't it?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: Health types and points to unlock
You can edit it to affect whatever you want. Any of the following powerups can be applied through a powerupstation .odf:
But yes, if this were under real water, your screen would still flash red, and unless you removed the powerup effect from the unit's .odf, it would show you being healed all the time, too.
Code: Select all
SoldierHealth
SoldierAmmo
SoldierEnergy
PersonHealth
PersonAmmo
PersonEnergy
AnimalHealth
AnimalAmmo
AnimalEnergy
DroidHealth
DroidAmmo
DroidEnergy
VehicleHealth
VehicleAmmo
VehicleEnergy
BuildingHealth
BuildingAmmo
BuildingEnergy
BuffOffenseTimer
BuffOffenseMult
BuffDefenseTimer
BuffDefenseMult
BuffHealthTimer
BuffHealthRate
DebuffDamageTimer
DebuffDamageRate-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Health types and points to unlock
Ya, but that's fine.Aman/Pinguin wrote:Your game would still flash red when you are under water, wouldn't it?
Mav, I'll test it out.
Edit: I forgot to report the clean did nothing.
- Sky_216
- Droid Pilot Assassin

- Posts: 2086
- Joined: Mon Feb 13, 2006 3:28 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Health types and points to unlock
Now, correct me if I'm wrong, but isn't there just one line you add? It's used for vehicles, dunno if it works for troops.
Oh yeah and someone probably already said how but you just put a line saying 'PointsToUnlock = 18'. I'm not sure about the caps though...
Oh yeah and someone probably already said how but you just put a line saying 'PointsToUnlock = 18'. I'm not sure about the caps though...
-
woner11
- Sith

- Posts: 1361
- Joined: Tue Sep 18, 2007 10:17 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: The lost world of pickels
- Contact:
Re: Health types and points to unlock
I did that, and here is my odf, but no results.
As for the health stuff underwater, I am playing the map as we speak to see if it works.
Edit: I just played the map again and the health stuff didn't work. Here is the health droid's odf:
And here is the character's odf:
Hidden/Spoiler:
Edit: I just played the map again and the health stuff didn't work. Here is the health droid's odf:
Hidden/Spoiler:
Hidden/Spoiler:
