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 Feb 22, 2024 1:30 pm
All times are UTC + 0
Explosive power plant go wrong!
Moderators: Global Moderators, Tiberian Sun 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
unknown_men
Cyborg Soldier


Joined: 09 Apr 2015
Location: Vi?t Nam

PostPosted: Fri Mar 03, 2023 4:02 pm    Post subject:  Explosive power plant go wrong! Reply with quote  Mark this post and the followings unread

Hello guy, I make the Nod power plant that damage badly everything around it when they exploded, however when I test they only have 5 dmg per debris like normal building got exploded. Here the code. What I do wrong?


Code:

[NAPOWR]
Name=NOD Power Plant
Strength=1000
Prerequisite=NACNST
Armor=wood
TechLevel=1
Sight=4
Adjacent=2
Owner=Nod
Cost=500
Points=75
Power=150
Capturable=true
Crewed=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=AMMOPIECE
MinDebris=5
MaxDebris=15
ThreatPosed=0   ; This value MUST be 0 for all building addons
DamageParticleSystems=SparkSys,SmallGreySSys,BigGreySmokeSys
DamageSmokeOffset=450, 200, 300
TogglePower=no

[VoxelAnims]
...
11=AMMOPIECE

[AMMOPIECE]
Image=GASTANK
Name=Explosive Debris
Elasticity=0.3
MinAngularVelocity=10.0
MaxAngularVelocity=18.0
MinZVel=24.0
MaxZVel=30.0
MaxXYVel=15.0
Duration=75
Damage=300
ExpireAnim=TWLT100
DamageRadius=512
Warhead=ORCAHE

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Mar 03, 2023 4:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

DebrisAnims= & Min/MaxDebris= is used for SHP debris, If you want to use a Voxel debris then use DebrisTypes= & DebrisMaximums=.

_________________



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
E1 Elite
General


Joined: 28 May 2013

PostPosted: Fri Mar 03, 2023 11:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

No DebrisAnims in TS. Only DebrisTypes.

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.1465s ][ Queries: 11 (0.0081s) ][ Debug on ]