:: 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 Wed Sep 18, 2019 2:55 am
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Tutorials Vault
[ARES] Powerups for specific units via superweapon/weapon
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
XxpeddyxX
Commander


Joined: 03 Sep 2004
Location: Sydney, Australia

PostPosted: Fri Jul 31, 2015 3:43 am    Post subject:  [ARES] Powerups for specific units via superweapon/weapon Reply with quote

Been playing around with ARES and managed to get a powerup system working, the AI uses it properly somewhat.

In my mod this SW powers up Cuba's flametrooper and flame tank, as an example;

Any comments or improvements let me know.

artmd.ini
Code:

[FLAMEUP01]
Layer=Top
YDrawOffset=-27            ;so it sits on infantry nicely

rulesmd.ini
Code:

[ArmorTypes]               ;Add this to your rulesmd.ini
flameflak=flak               ;our infantry armor
flameheavy=heavy            ;our vehicle armor

[Animations]
xxx=FLAMEUP01               ;cute power up effect

[Warheads]
xx=FlamePowerUpWH

[SuperWeaponTypes]
xx=FlamePowerUpSpecial

;;;;;;;;;;;;;;;;;;;;;;

[FLAMEINF]
DesignatorRange=2
Armor=flameflak            ;takes same dmg as flak

[FTNK]
DesignatorRange=2
Armor=flameheavy            ;takes same dmg as heavy

[FlamePowerUpWH]
Verses=0%,0%,0%,0%,0%,0%,0%,0%,0%,0%,0%
CellSpread=3               ;screenie shows spread as 4
Versus.flameflak=10%         ;something low to ensure no dmg
Versus.flameheavy=10%         ;as above
AffectsEnemies=no            ;obvious reasons
AttachEffect.Animation=FLAMEUP01
AttachEffect.FirepowerMultiplier=2.0
AttachEffect.Duration=800

[FlamePowerUpSpecial]
UIName=NOSTR:Combustion
Name=Combustion Special
Type=GenericWarhead
Action=GenericWarhead
IsPowered=false
;SW.AITargeting=Nuke         ;ParaDrop
RechargeTime=4
SidebarImage=FLAMEUPICON      ;A10ICON
ShowTimer=no
DisableableFromShell=no
FlashSidebarTabFrames=120
SW.Damage=1               ;
SW.Warhead=FlamePowerUpWH      ;Our specific unit WH
Range=2                  ;For range indicator
SW.AITargeting=GeneticMutator
SW.AIRequiresHouse=owner
SW.AIRequiresTarget=infantry,units,land
SW.AffectsTarget=infantry,units,land   ;,infantry
SW.AffectsHouse=owner,allies
SW.Designators=FTNK,FLAMETROOPER



flameup01.jpg
 Description:
 Filesize:  74.03 KB
 Viewed:  2782 Time(s)

flameup01.jpg



flameup01.shp
 Description:

Download
 Filename:  flameup01.shp
 Filesize:  307 Bytes
 Downloaded:  15 Time(s)



Key Words: #Tutorials #Modding #RedAlert2 #YurisRevenge #Ares #Rules.INI #Art.INI 

Last edited by XxpeddyxX on Sat Aug 01, 2015 2:29 am; edited 2 times in total

Back to top
View user's profile Send private message Skype Account
mevitar
Missile Trooper


Joined: 31 Dec 2010

PostPosted: Fri Jul 31, 2015 10:18 pm    Post subject: Reply with quote

The AI will picks up any unit as a target, not a specific one.

Although if you make the units you want to affect as designators for this SW, then the chances of the AI using it correctly will increase.

Back to top
View user's profile Send private message
XxpeddyxX
Commander


Joined: 03 Sep 2004
Location: Sydney, Australia

PostPosted: Sat Aug 01, 2015 2:26 am    Post subject: Reply with quote

Can confirm this, thanks. I've updated the original post with some designator changes.

Back to top
View user's profile Send private message Skype Account
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 » Tutorials Vault
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.1427s ][ Queries: 14 (0.0153s) ][ Debug on ]