Posted: Fri Sep 07, 2012 5:40 am Post subject:
Coding Questions Again...
I'm using Ares, just to clarify if this can be tweaked with Ares? So currently I'm trying to make the Forceshield also add a forcefield effect on infantry but they die when given the ability to target infantry.
Right now my Forceshield looks like this? No tweaks aside from the additional tags provided by Are.
Code:
[ForceShieldSpecial]
UIName=NOSTR:Psi Barrier ;Name:ForceShield
Name=Force Shield
IsPowered=true
RechargeVoice=00-I156
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=5
Type=ForceShield
Action=ForceShield
SidebarImage=FORCICON
ShowTimer=no
DisableableFromShell=no ;yes
SpecialSound=ForceShieldFading;gs wildcard sound hook. In this case, play at ForceShieldDuration - ForceShieldPlayFadeSoundTime after firing
StartSound=ForceShieldStarting;gs no anim to hook this on to, so hook it here.
FlashSidebarTabFrames=120; default is always, put 0 for never, or a number for x
SW.AffectsHouse=owner,allies,team
SW.AffectsTarget=land,water,empty,infantry,units,buildings
SW.RequiresTarget=land,water,empty,infantry,units,buildings
SW.FireIntoShroud=no
SW.RequiresHouse=none,owner,allies,team,enemies,all
SW.AITargeting=none
Range=3.4
LineMultiplier=3
Out of luck no doubt, Force Shield is basicly same as Iron Curtain and have the default behaviour of always killing infantry unless ARES dev write an exception to the logic. QUICK_EDIT
So basically WW just cloned the Iron Curtain Logic then just added some additional functions to it like:
-New Report In/Out of SW Activation
-Additional Power Outage Logic
-Additional "Iron Curtain" Color
Hmm... i don't suppose the Hit Animation isn't shared? Since I'm hoping I could turn the Forceshield into one that damages non-FS'd enemies near it. _________________ ~ Excelsior ~ QUICK_EDIT
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