Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 2:27 pm
All times are UTC + 0
UnitsGainSelfHeal for Aircraft.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
chr0nicz420
Jumpjet Infantry


Joined: 10 Feb 2016

PostPosted: Fri Apr 19, 2019 7:56 am    Post subject:  UnitsGainSelfHeal for Aircraft. Reply with quote  Mark this post and the followings unread

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: Limbo

PostPosted: Fri Apr 19, 2019 11:01 am    Post subject: Reply with quote  Mark this post and the followings unread

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 YouTube User URL
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Apr 19, 2019 1:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

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] Mark the topic unread ::  View previous topic :: View next topic
 
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

[ Time: 0.1594s ][ Queries: 11 (0.0103s) ][ Debug on ]