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 Apr 18, 2024 1:26 pm
All times are UTC + 0
DebrisTypes on warheads [support request]
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Millennium
Commander


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Sat May 16, 2015 5:50 pm    Post subject:  DebrisTypes on warheads [support request] Reply with quote  Mark this post and the followings unread

I've been trying to use DebrisTypes on a warhead with Min/MaxDebris, but unfortunately, it resulted in an IE, no matter which debris I tried.

DebrisAnims, the more logical option to use (since the default debris used by warheads is also an animation, not a VoxelDebris as the ones in the DebrisTypes listing) gets ignored completely.

Is it possible to somehow customize the debris spawned by a warhead? Or will it invariably cause an IE?

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat May 16, 2015 7:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

Use art.ini debris on Anim=

Afaik, DebrisTypes is a VehicleType key, DebrisAnims a BuildingType key. None a WarheadType key.


Which debris are spawned when you use Min/MaxDebris?
Find out which debris are used. Then check if a key has exactly those set (e.g. ExplosiveVoxelDebris in [General] section)
Then customize this key. Check if other things use it too. Make sure only your warhead uses it, so you can customize them without affecting anything else.


Or, use art.ini debris on Anim=

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Sat May 16, 2015 7:36 pm    Post subject: Reply with quote  Mark this post and the followings unread

Using Min/MaxDebris on a warhead in YR will cause it to spawn random debris animations from the MetallicDebris= list in [General]. I could customize it that way by just defining DebrisAnims= on every unit/structure, so that MetallicDebris is only used for warhead debris... but that still wouldn't allow me to customize debris for different warheads.

So I will rather go with using debris in the explosion's art entry.

What I find odd though is that apparently DebrisTypes gets read from warheads (otherwise it wouldn't cause a crash), but it's just not functional...

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sat May 16, 2015 8:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Try it with DebrisMaximums as well.
Maybe when you set DebrisTypes without DebrisMaximums, it doesn't know how many to spawn (e.g. DebrisMaximums could default to 0, thus div/0 error).

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

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


Joined: 09 Mar 2008
Location: Osaka (JP)/Hong Kong/Germany

PostPosted: Sat May 16, 2015 10:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

It's working now. That really was the missing link here! Thanks.

_________________
Mao Zedong wrote:

Our mission, unfinished, may take a thousand years.  

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