Page 2 of 2

Posted: Sat Jan 08, 2011 11:32 am
by freddy
you need to add the addArmorEffects in your mod to

Re: Explosive Barrel

Posted: Sat Jan 08, 2011 11:37 pm
by Apache Thunder
Your timeToLiveAfterDeath is too short. Try making it at least 0.5. A value of 1 is recommended. You can use a lod system with a invisible wreck mesh so you don't endup seeing two barrels at the time of destruction. ;)

Too short timeToLiveAfterDeath settings usually result in death effects not working completely or not work at all. This also makes it not work as well in multiplayer as well. ;)

Re: Explosive Barrel

Posted: Sun Jan 09, 2011 2:15 am
by Swaffy
I found out what I need. The TimeToLiveAfterDeath is fine, as it's directly copied from your barrel.

ObjectTemplate.addArmorEffect 0 e_ExplGas_tank 0/0/0
ObjectTemplate.addArmorEffect 0 e_BF2Barrel_w 0/2/0
ObjectTemplate.addArmorEffect 0 e_scrapmetal 0/0/0
ObjectTemplate.addArmorEffect 0 e_scrapmetalsmoke 0/0/0

None of these effects work, as they haven't been added to my mod yet.
It will take me some time to find all of the files, but I'm on the right track.

- - - - - - - - - - - - - - - - - - -

I also need these materials:

ObjectTemplate.explosionMaterial 205
ObjectTemplate.Material 45

Where can I find these materials? I could not find them in your "damage_system" folder.
Also, what does "ObjectTemplate.explosionMaterial" and "ObjectTemplate.Material" do?

Re: Explosive Barrel

Posted: Sun Jan 09, 2011 2:17 am
by Apache Thunder
Material 45 is a vanilla material and I think 205 might be the vanilla Exppack explosion material, so you won't need to port anything from the damage system.

Re: Explosive Barrel

Posted: Sun Jan 09, 2011 2:20 am
by Swaffy
Thank you, sir.

Re: Explosive Barrel

Posted: Wed Jan 12, 2011 8:16 am
by Swaffy
Alright! The barrels are finished. Everything works as planned. [Thank God.]

All I have left to do is edit the fire and smoke, then a couple of sounds.

This is another finished project for Swaffy.

Re: Explosive Barrel

Posted: Fri Jan 20, 2017 7:04 am
by GoodDayToDie!!
Hey Swaffy,

Can I use your map to copy over the exploding barrel?
Would you be so kind as to link the map to me?

Cheers,

Re: Explosive Barrel

Posted: Sat Jan 21, 2017 1:50 am
by Swaffy
It's part of my mod, not a map. They are on a few maps, if you can find them. I went a little overboard on King Of The Island lol.