:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: 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 Thu Feb 22, 2018 6:33 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
[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] View previous topic :: View next topic
Author Message
EliteGoatBoy
Vehicle Driver


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

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: Iszkaszentgyörgy, Hungary

PostPosted: Fri Dec 15, 2017 5:09 pm    Post subject: Reply with quote

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



AS Discord server: https://discord.gg/7aM7Hm2

Back to top
View user's profile Send private message Skype Account
EliteGoatBoy
Vehicle Driver


Joined: 03 May 2016

PostPosted: Fri Dec 15, 2017 5:16 pm    Post subject: Reply with quote

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: Iszkaszentgyörgy, Hungary

PostPosted: Fri Dec 15, 2017 7:20 pm    Post subject: Reply with quote

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



AS Discord server: https://discord.gg/7aM7Hm2

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


Joined: 31 May 2010
Location: Germany

PostPosted: Fri Dec 15, 2017 7:33 pm    Post subject: Reply with quote

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
Vehicle Driver


Joined: 03 May 2016

PostPosted: Fri Dec 15, 2017 7:49 pm    Post subject: Reply with quote

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

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
Sergeant


Joined: 11 Feb 2016
Location: The United States of China

PostPosted: Fri Dec 15, 2017 9:21 pm    Post subject: Reply with quote

Then make a lightning storm Weapon #Tongue
_________________
+1s +1s +1s

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [8 Posts] View previous topic :: View next topic
 Forum index » Modding Central » Red Alert 2 Editing Forum » Ares (Unofficial Forum)
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.1282s ][ Queries: 12 (0.0128s) ][ Debug on ]