:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: 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 Sun Nov 27, 2022 7:46 pm
All times are UTC + 0
 Forum index » Modding Central » Red Alert 2 Editing Forum
Adding an explosion animation to a unit ?
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
adamstrange
Stealth Laser Trooper


Joined: 07 Mar 2013

PostPosted: Thu Feb 24, 2022 8:42 am    Post subject:  Adding an explosion animation to a unit ? Reply with quote  Mark this post and the followings unread

I downloaded a really cool explosion animation that I wanted to attach to the demlition truck when it blows up but nothing happens.

It is a SHP file so I put it in my custom expandmd50.mix
The files are EXPLONAPAL & NEXPLOSCO1

I added it to the warhead
[DetonatorWH]
CellSpread=11
PercentAtMax=1 ;was .25
Verses=100%,100%,100%,100%,50%,50%,80%,150%,10%,100%,100%
InfDeath=4
InfDeath=7
Sparky=no
Fire=yes
Tiberium=yes
AnimList=EXPLONAPAL

And added it to the unit's code
DeathWeapon=DetonationDevice
Explosion=EXPLONAPAL

Back to top
View user's profile Send private message
twistedconversion
Rocket Infantry


Joined: 23 Feb 2019
Location: Egypt

PostPosted: Thu Feb 24, 2022 11:30 am    Post subject: Reply with quote  Mark this post and the followings unread

Did you add the explosion animation's code in Artmd.ini?
_________________
C&C community is rotten.

Back to top
View user's profile Send private message ModDB Profile ID
maestro21
Soldier


Joined: 25 Feb 2008
Location: Philippines

PostPosted: Thu Feb 24, 2022 11:37 am    Post subject: Reply with quote  Mark this post and the followings unread

Did you put the two codes (EXPLONAPAL and NEXPLOSCO1) at the end of the [Animations] list in the rules md.ini file ?

Also artmd.ini file need those in order to explain them,even no Loop,Layer or no  Translucent= etc...

In rulesmd.ini :

[Animations]
Whatever  number or try   "+=" with Ares =EXPLONAPAL
Next number or try "+=" with Ares= NEXPLOSCO1


In artmd.ini

[EXPLONAPAL]  
Start=???
Layer=???
LoopCount=???


etc...

[NEXPLOSCO1]

Same as above...


When I create an extra animation;   I, myself  usually forget to add them at the end of Animations list. So, maybe that happened to you   Very Happy

Back to top
View user's profile Send private message Send e-mail YouTube User URL Facebook Profile URL Twitter Channel URL AIM Address
adamstrange
Stealth Laser Trooper


Joined: 07 Mar 2013

PostPosted: Fri Feb 25, 2022 6:25 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yeah I didn't add them to the animation list so I did but I don't know what values to put in the art code
Start=???
Layer=???
LoopCount=???

The animation is this explosion
https://ppmforums.com/topic-47203/napal-explosion/

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


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Fri Feb 25, 2022 7:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Look at the code used by other anims as an example & if you dont know what a tag does look it up on ModEnc.

Start= what frame of the shp to start playing the anim.
Layer= The layer in which the anim is rendered.
LoopCount= How many times to play the anim in a loop before removing it.

BTW That explosion anim needs Ares to work as it uses a custom pal file.
_________________



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
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
 Forum index » Modding Central » Red Alert 2 Editing 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

[ Time: 0.1828s ][ Queries: 11 (0.0103s) ][ Debug on ]