You must be logged in to post messages.
Please login or register

Modding Discussions
Moderated by Alexastor, Mister SCP

Hop to:    
loginhomeregisterhelprules
Bottom
Topic Subject: Problem With New unit heal
posted 11-01-09 05:02 AM EDT (US)   
Hi,

I make 1 New unit with new powers abilities,

This Units Is an Hero , she can't die whant the enemie down it to ground

All work fine, but she can't heal auto whant she is down,

( whant you kill a explorer or an hero this dude down and the life up litle by litle ) At 15/20 % of thast life the hero up the hero can receive 100% of thast life with the time



My unit, want she down she receive no heal, thast life stand to 1 , no up automatic, and like the wonder heal , can't heal it , i clik on the big boutton all units is healed but my new unit not reveice the heal

I dk why , i have addon LogycalTypeHealed in protoy and in tactics, in tactic i have addon also an action heal and add a flag heal inside

ProtoY Also making

I lost

I think i need addon flag or other , or if is necessary addon this new unit inside ProtoY100 and ProtoY101 inside DataY ??

Thank for your help

[This message has been edited by Mers 2 (edited 11-01-2009 @ 05:05 AM).]

Replies:
posted 11-01-09 03:30 PM EDT (US)     1 / 8  
Hey. I'm guessing you're new to English. You may consider using a translator for now.

I believe you need to add a line in civs.xml, under every civ that can get the new unit, something like the following:
<unitregen>
<unittype>(your unit)</unittype>
<rate>0.25</rate>
<idletimeout>3.5</idletimeout>
</unitregen>
Of course, you replace (your unit) with the name of your unit.
posted 11-02-09 05:08 AM EDT (US)     2 / 8  
Hi , thx , yes long time no talk in english sorry;

Ok i try your code but he no work.

I modify civs.xml from Data ,

i Don't know the problem

[This message has been edited by Mers 2 (edited 11-02-2009 @ 08:46 AM).]

posted 11-04-09 01:19 PM EDT (US)     3 / 8  
Hi,

perhaps an easier way:

Add the following to the protoy.xml (to your specific new unit):

Flags (don't forget the tags, I just don't found out, how to post them in this forum):
KnockoutDeath
NotDeleteable

It seems that you already did that, but better check again.

UnitType:
Hero

Now the unit should use the regeneration ability of the explorer - this exclude that you make mistakes at the entries of the civ.xml.

Good luck!
posted 11-05-09 07:18 AM EDT (US)     4 / 8  
hello, thank you for your help, but I still have the problem


I put the mod on the internet u can download it here :
http://www.megaupload.com/?d=S73QSZ59&setlang=en


If you have the time for see ( The unit i want fix is : " LinkAll " ( Original no make by me, but i modify it a litle for me ) ).

I go to work.................... :*(

Thx

Mèrs

[This message has been edited by Mers 2 (edited 11-05-2009 @ 07:19 AM).]

posted 11-05-09 01:41 PM EDT (US)     5 / 8  
Since it's a rpg mod I suggest you want to use it for your scenario. So if this is the case keep in mind that a really easy set hp (heal unit) trigger exist which might solve your problem

~Consti (in case you remember me)


ESO2 Name:Sir_ConstantinESO Name:Sir_Pacman
Trigger Freak and Modder for AOE3

SCP Editor Tools---my map pack---Some incomplete stuff
My trigger Pack

[This message has been edited by Mister SCP (edited 11-05-2009 @ 01:42 PM).]

posted 11-06-09 03:48 AM EDT (US)     6 / 8  
I remember you, my buddy ! with endofanation Best rpg player ^ ^ at 3

I play again to aoe 3 with endofanation and we need a friend for another try to my rpg (modded) wellcome you, we play the nigth only 1 day of 3/6 if u whant tell me ,

And can u remember me the name of this trigger plz
posted 11-06-09 01:26 PM EDT (US)     7 / 8  
hey Consti could this trigger be the one you are thinking of?

http://aoe3.heavengames.com/cgi-bin/forums/display.cgi?action=st&fn=12&tn=37007&st=87#post88

where basically any unit can auto-heal or auto-repair once its damage percent is at a certain level?

I know this would help avoid some minor problems with the way Link currently "heals" at low HP with the special Power or with the Wonder Transcendence.

Crunkatog on ESO
Bart331 balance suggestion: aztec: remove civ
Voltiguer: Ender, Sioux in 1.04 will be a top civ, no matter how many layers of Sioux goggles you put on
schildpad on Elephants: ...their mansabdar unit sucks so hard it looks like a black hole
Crunkatog on Steam.
posted 11-06-09 03:53 PM EDT (US)     8 / 8  
Nope this one indicates that the repair button has been pressed but units have no repair button I thought of "•Set HP" and "•Heal Unit" from my trigger pack
http://aoe3.heavengames.com/downloads/showfile.php?fileid=2419(Typeloader needs to be launched first). As I said the easiest way to heal in scenario since it base on a hp change and not anymore on Player Change+Mod Protounit.

btw I need a update for the mod


ESO2 Name:Sir_ConstantinESO Name:Sir_Pacman
Trigger Freak and Modder for AOE3

SCP Editor Tools---my map pack---Some incomplete stuff
My trigger Pack

[This message has been edited by Mister SCP (edited 11-06-2009 @ 03:59 PM).]

Age of Empires III Heaven » Forums » Modding Discussions » Problem With New unit heal
Top
You must be logged in to post messages.
Please login or register
Hop to:    
Age of Empires III Heaven | HeavenGames