Posted: Fri Dec 15, 2017 4:54 pm Post subject:
[ARES] EMP not working on Type=LightningStorm SuperWeapon.
Subject description: EMP effect does not apply on Lightning Storm superweapon.
Haven't tested it on other superweapons yet, but here's the general thing.
I've attached an EMP effect to a LightStorm clone's warhead. The warhead loads correctly in every aspect except the EMP thing.
Do Superweapon warheads ignore EMP?
(Before anyone says so, I know there's a proper EMP superweapon, but I need this as an effect for the Lightning Storm).
Here's the code for anyone interested:
Code:
[SuperStormSpecial]
UIName=Name:STORM2
Name=EMP Storm
IsPowered=true
RechargeVoice=00-I156
ChargingVoice=
ImpatientVoice=
SuspendVoice=
RechargeTime=12
Type=LightningStorm
Action=LightningStorm
SidebarImage=BOLT2ICO
ShowTimer=yes
DisableableFromShell=yes ; gs this determines which superweapons are turned off by the checkbox
AIDefendAgainst=yes;AI will use AISuperDefense system to decide to block this
Range=7
LineMultiplier=2
; New Stuff
SW.Range=12,12
SW.Damage=75
SW.Warhead=SuperIonWH
SW.Deferment=300
SW.ActivationSound=StormSound
SW.AITargeting=LightningStorm
Cursor=LightningStorm
Lightning.Duration=600
Lightning.RadarOutage=600
Lightning.RadarOutageAffects=enemies
Lightning.HitDelay=8
Lightning.ScatterDelay=3
Lightning.ScatterCount=2
Lightning.Separation=2
Lightning.PrintText=yes
Lightning.IgnoreLightningRod=yes
Lightning.DebrisMin=3
Lightning.DebrisMax=5
Lightning.CloudHeight=1200
Lightning.BoltExplosion=EXPLOLB
[SuperIonWH]
Wall=yes
Wood=yes
CellSpread=2.0
CellSpread.MaxAffect=1
PercentAtMax=1
Verses=100%,100%,100%,100%,100%,100%,100%,100%,50%,100%,100%
Conventional=yes
Rocker=yes
InfDeath=5
AnimList=EXPLOSML
Bright=yes
CombatLightSize=40% ; SJM: Force size of combat light, overriding damage-based value
EMP.Duration=150
EMP.Cap=0
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Fri Dec 15, 2017 5:09 pm Post subject:
The Lightning Storm doesn't fire a weapon. Only Nuke, GeneticMutator (when MutateExplosion=yes IIRC), the EMPCannon and GenericWarhead fires such, AFAIK.
Been a while I actively modded this game however so this list might not be complete. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Fri Dec 15, 2017 7:20 pm Post subject:
You don't understand.
The Ares effects - AttachEffect, KillDriver and EMP mainly - are triggered on a weapon's explosion. The Lightning Storm does not trigger such - it does not create or call a weapon, but uses the warhead directly. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Yeah, Lightning Storms cause damage to the area the lightning strikes manually, and EMP is only applied if bullets detonate, which doesn't happen there.
It might be difficult to add support for this in, because it would require EMP to be turned inside out. Not that that would be a bad thing... _________________ QUICK_EDIT
So the only thing used is the Warhead Damage, Verses and what not. Any special effect related to it is ignored because there is no actual detonation?
Damn. QUICK_EDIT
Not everything. EMP in particular is applied when a bullet detonates, but warhead effects like Psychedelic, PenetratesBunker, Poison, KillDriver, PercentAtMax, Flash, ... are supported. _________________ 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