Page 1 of 1
MaxHealth problem
Posted: Sat Feb 13, 2010 1:28 pm
by Coley
Hi,
I have a problem with the Maxhealth function. What´s wrong with this?
(it´s just a part of it)
Re: MaxHealth problem
Posted: Sat Feb 13, 2010 1:56 pm
by Master_Ben
Add those. Also on the AddHealth.
Re: MaxHealth problem
Posted: Sun Feb 14, 2010 7:56 am
by Coley
Cant belive that this is the solution. With another unit it worked without the...you know, those " .
And the addhealth was in the stock units odf without " ...
Re: MaxHealth problem
Posted: Sun Feb 14, 2010 8:01 am
by sampip
Which .odf file is that?
Re: MaxHealth problem
Posted: Sun Feb 14, 2010 8:10 am
by Coley
Oh wtf it isn´t the stock one is a downloaded one
But that doesn´t change anything; with the other unit it worked without those signs
Re: MaxHealth problem
Posted: Sun Feb 14, 2010 8:14 am
by sampip
Sorry, I mean what's the name of the odf?
Re: MaxHealth problem
Posted: Sun Feb 14, 2010 8:34 am
by Coley
cis_inf_officer(.odf)
Re: MaxHealth problem
Posted: Sun Feb 14, 2010 8:50 am
by sampip
Change the parent class (ClassParent) to "cis_inf_default_officer", then in cis_inf_default_officer.odf put your MaxHealth and AddHealth lines:
Like so. Remove them from cis_inf_officer. Then munge and try if it works.
Re: MaxHealth problem
Posted: Sun Feb 14, 2010 10:52 am
by Coley
Thank you, but the problem is that my weapons are in "cis_inf_officer" (like a jedi) and this:
cis_inf_officer -> cis_inf_default_officer -> cis_inf_default
In cis_inf_default I have got another maxhealth for the rest of droids. Have I to make a maxhealth line for every single droid if I just want to have ONE which is different?

Re: MaxHealth problem
Posted: Sun Feb 14, 2010 11:04 am
by AceMastermind
Coley wrote:I have a problem with the Maxhealth function. What´s wrong with this?
Maxhealth = 100.0
Max
Health = 100.0
You got it correct in your topic name but not in the ODF.

Re: MaxHealth problem
Posted: Sun Feb 14, 2010 11:17 am
by Coley
Ok, thank you I will try this!