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 Sun Jun 23, 2024 1:25 am
All times are UTC + 0
Slave Miner & BuildingExplosion Not Working
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Fri Jun 16, 2023 11:41 am    Post subject:  Slave Miner & BuildingExplosion Not Working Reply with quote  Mark this post and the followings unread

In Zero Hour, I was able to add a death weapon to certain buildings to cause damage to troops that were near it when destroyed.
I added this to nuclear plants and conyards.

The nuclear plant death weapon works, but nothing happens when the conyard is destroyed.

I have a second slave miner that when it's destroyed, it has a blast radius that supposed to kill those around it, but the blast does nothing.

This is the conyard's death weapon
DeathWeapon=BuildingExplosion

[BuildingExplosion]
Projectile=Invisible
Damage=500
ROF=80
Range=1
Projectile=InvisibleLow2
Speed=35
;Warhead=DetonatorWH
Warhead=StrutureBlastWH
Anim=RING1

[StrutureBlastWH]
;Verses=200%,200%,100%,90%,70%,50%,200%,200%,200%,100%,100%
Verses=200%,200%,50%,10%,10%,10%,10%,10%,10%,10%,10%
Sparky=no
Fire=yes
InfDeath=4
Rocker=yes
CellSpread=8
PercentAtMax=.5
CausesDelayKill=yes ;Hooks up with EligibleForDelayKill to do timer death instead of instant death
DelayKillFrames=5 ; Frame delay if hits Eligible building directly
DelayKillAtMax=7.0 ; multiply this by above to get delay at CellSpread.  This is an upward sloping line, not like damage's fade
Wood=yes
Wall=yes


This is the miner's death weapon
DeathWeapon=HeavyOreExplosion


[HeavyOreExplosion]
Damage=1500
ROF=80
Range=1
Projectile=Invisible
Speed=35
Warhead=HeavyOreFireExplosionWH
Report=NukeDetonation
;Anim=RING1
AnimList=NAPALM,DEMTEXP


[HeavyOreFireExplosionWH]
Verses=200%,150%,100%,50%,50%,50%,50%,50%,50%,50%,50%
;Verses=150%,100%,100%,90%,70%,50%,200%,200%,200%,100%,100%
Sparky=no
Fire=yes
InfDeath=4
CellSpread=11
Rocker=yes
PercentAtMax=.5
CausesDelayKill=yes ;Hooks up with EligibleForDelayKill to do timer death instead of instant death
DelayKillFrames=5 ; Frame delay if hits Eligible building directly
DelayKillAtMax=7.0 ;multiply this by above to get delay at CellSpread
Wood=yes
Wall=yes

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Jun 16, 2023 12:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

You also need to add Explodes=yes to the building for the DeathWeapon to work.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Fri Jun 16, 2023 5:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank You Mig

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 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.1361s ][ Queries: 11 (0.0082s) ][ Debug on ]