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 10:50 am
All times are UTC + 0
[ARES] EMP not working on Type=LightningStorm SuperWeapon.
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
EliteGoatBoy
Medic


Joined: 03 May 2016

PostPosted: 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.
Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Fri Dec 15, 2017 5:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

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...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
EliteGoatBoy
Medic


Joined: 03 May 2016

PostPosted: Fri Dec 15, 2017 5:16 pm    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
[SuperWeapon]?SW.Warhead= (Warhead)
The warhead used to deal the damage of each lightning bolt. Defaults to [General]?LightningWarhead.


That's according to the documentation.

Back to top
View user's profile Send private message
Graion Dilach
Defense Minister


Joined: 22 Nov 2010
Location: Iszkaszentgyorgy, Hungary

PostPosted: Fri Dec 15, 2017 7:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

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...

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
AlexB
Commander


Joined: 31 May 2010
Location: Germany

PostPosted: Fri Dec 15, 2017 7:33 pm    Post subject: Reply with quote  Mark this post and the followings unread

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...

_________________

Back to top
View user's profile Send private message
EliteGoatBoy
Medic


Joined: 03 May 2016

PostPosted: Fri Dec 15, 2017 7:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

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


Joined: 31 May 2010
Location: Germany

PostPosted: Fri Dec 15, 2017 7:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Not everything. EMP in particular is applied when a bullet detonates, but warhead effects like Psychedelic, PenetratesBunker, Poison, KillDriver, PercentAtMax, Flash, ... are supported.

_________________

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


Joined: 11 Feb 2016

PostPosted: Fri Dec 15, 2017 9:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Then make a lightning storm Weapon #Tongue

_________________

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 [8 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.2034s ][ Queries: 11 (0.0082s) ][ Debug on ]