Posted: Sat Oct 12, 2019 2:16 pm Post subject:
Aircraft crash explosions/sounds
I tried adding a new death explosion (and new sound for said explosion in art.ini) for the Orca Fighter but it doesn't seem to be triggering in any way ingame when they get shot down from the air. I can't seem to figure out how any of this works. I was told that in RA2 aircraft explosions are triggered from the primary weapon they have. But if that were also the case in TS, they would have used the custom explosions/sounds I made for the weapon/warhead, but it's just the default one with the expnew09 sound. So what gives? Is this stuff actually hardcoded? QUICK_EDIT
It is limited to what is said in C4Warhead= in [CombatDamage] section of rules.ini that is shared by a load of things that explode, for more info see this: https://www.modenc.renegadeprojects.com/C4Warhead
It is not related to primary weapon or some death weapon like in RA2 / RA2:YR.
As said in the link you might be able to change the last entry in the AnimList= of the warhead linked to C4Warhead= but I am not 100% sure if it will work and I do not feel like testing it for you right now and it has been a while since I last messed with modding Tiberian Sun.
I may or may not look into it more at somepoint later unless you got what you needed. QUICK_EDIT
Thanks. It's like you said and a whole bunch of other things seem to rely on the C4warhead's animlist. I put the Orca crash last in the list and it works, but things like blue tib explosions also trigger it. I was told that you could potentially work around it by adding a lot more animations to the list, but at this point it doesn't really feel like it's worth the trouble with how unpredictable the whole system is with the logic choosing from an animlist based on damage. QUICK_EDIT
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