:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Tue Jul 16, 2019 9:18 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
UnitsGainSelfHeal for Aircraft.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
Author Message
chr0nicz420
Cyborg Firebomber


Joined: 10 Feb 2016

PostPosted: Fri Apr 19, 2019 7:56 am    Post subject:  UnitsGainSelfHeal for Aircraft. Reply with quote

This tag is only applicable for units only and not applicable for aircraft.

Is there a way to make this work for aircraft? Or much better, a separate GainSelfHeal tag for aircraft?

Back to top
View user's profile Send private message
4StarGeneral
General


Joined: 14 Sep 2006
Location: Constant Flux

PostPosted: Fri Apr 19, 2019 11:01 am    Post subject: Reply with quote

Give a building a global AttachEffect weapon that heals friendly aircraft only by giving aircraft their own custom armor.

Code:
[ArmorTypes]
airlight=light
airmedium=medium
airheavy=heavy

[GainSelfHealWeapon]
Damage=1
Range=-2
ROF=3
Projectile=InvisibleAll
Warhead=AirAEHealWH
Speed=100

[AirAEHealWH]
Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0%
Versus.airlight=-100%
Versus.airmedium=-100%
Versus.airheavy=-100%
AffectsAllies=yes
AffectsEnemies=no
Malicious=no
PreventScatter=yes
AllowZeroDamage=yes
AttachEffect.Animation=Custom_Heal_Anim
AttachEffect.Duration=90 ; relative to how you want it to function, combined with ROF.
AttachEffect.PenetratesIronCurtain=yes
AttachEffect.AnimResetOnReapply=yes ;if anim is 1 frame like GainSelfHeal pip it will look fine


Hopefully I didn't miss anything and it should work, but I don't have the ability to test it right now.
_________________
"Don't beg for things; Do it yourself or you'll never get anything."

Back to top
View user's profile Send private message Send e-mail
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Apr 19, 2019 1:02 pm    Post subject: Reply with quote

Don't airfields slowly repair aircraft anyway?
_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum
Jump to:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

Wildcard SSL Certificates
[ Time: 0.1184s ][ Queries: 11 (0.0150s) ][ Debug on ]