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 Tue Apr 16, 2024 4:57 pm
All times are UTC + 0
Using SHP animations for explosion debris
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
lazygecko
Civilian


Joined: 22 Sep 2019

PostPosted: Sun Oct 20, 2019 4:44 pm    Post subject:  Using SHP animations for explosion debris Reply with quote  Mark this post and the followings unread

I took the flying man SHP from RA2 and converted it to a TS animation so I could use it as a debris animation for when the attack buggy explodes, but I can't seem to get it to work. Is it even possible?

So I made a new [DBRMAN] entry in rules.ini, which used the same name as my shp file (seems to me these things don't rely on corresponding art.ini entries), using the elasticity/velocity/etc values from [PIECE], and added said debris to the list for the buggy. This caused the game to freeze on load. So I assume that debris types from rules.ini can only be voxels. To try and work around it I created a new invisible dummy voxel file DBRMANVXL, renamed the debris entry (and for the buggy's debris list, of course) to that, then I added DBRMAN as a trailer animation in art.ini and made that a TrailerAnim for the dummy voxel to see if that might be a solution. The game no longer freezes, but I still don't see the shp animation anywhere when the buggy explodes.

Is there a solution?

These are the rules.ini and art.ini entries as they are right now:

Voxel Debris:
[DBRMANVXL]
Name=Flying Dude
TrailerAnim=DBRMAN
Elasticity=0
MinAngularVelocity=5.0
MaxAngularVelocity=9.0
MinZVel=24.0
MaxZVel=28.0
MaxXYVel=15.0
Duration=75

Animation:
[DBRMAN]
AnimPalette=yes

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


Joined: 16 Aug 2006
Location: Germany

PostPosted: Sun Oct 20, 2019 6:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

1. vehicle debris are indeed VXL only, so that won't work
2. added as a Trailer anim won't work either, as it would spawn/show your SHP every few frames the vxl debris moves
3. SHP animations need to be listed in rules.ini under the [Animations] list, otherwise the game won't load it
4. SHP animations can only be used on the Explosion key, so you can use your SHP animation directly or create a custom explosion animation that spawns your SHP as an additional animation or art.ini debris.
How to do that, check out in the tutorial forum the topic Animations and art.ini debris

_________________
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
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 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.1387s ][ Queries: 11 (0.0071s) ][ Debug on ]