Page 1 of 1
Need help making weapons detonate
Posted: Wed May 04, 2005 8:53 am
by conquer2090
I need to kno how to make a weapon detonate when a projectile impacts it kinda like when we used to do grenade chain explosions but this time with a gun like i drop the gun or somthing shoot it and it explodes
Posted: Wed May 04, 2005 11:26 am
by x13igDudex12
Im looking at it and under $$WEAPON$$ flags there is something called detonate when droped. That will work for going boomed when dropped. Look around for detonate after certian damage point.
Posted: Sun May 08, 2005 6:26 am
by conquer2090
i meant to mention ive already tried that its not in the weapons tag i talked to genocide he told me killa did it i dunno how tho. Detonate when dropped wont work because what happens is when u switch ur weapon that also triggers the detonate when dropped flag. So you lose your gun when you switch weapons. And i want a projectile or a grenade to be the thing that makes it detonate like you can voluntarally blow it up or detonate it.
Posted: Sun May 08, 2005 8:11 am
by x13igDudex12
well im not sure that you can just amke it so only a nade can low it. But if you set lod-offs when reaches the second one it could disappear and set a explode effect to the event. Just guessing.

Posted: Sun May 08, 2005 4:52 pm
by [users]axem
Up where it says items, then the flags Keeps Z up, destroyed by explosives, and uneffected by gravity, i think destroyed by explosives is what your looking for. Just make a dammage effect so when its dropped, it explodes(I think thats what your looking for.)
Posted: Sun May 08, 2005 5:06 pm
by conquer2090
thats for equitment tho... i didnt see that flag on weapons id have to some how make a weapon follow grenade rules heh..
^^ err n/m...
lol i jus looked at wepaons tag and now i see that i knew i saw it some where jus didnt kno where i kept thinking it was for equiptment only so if i check that off if a grenade lands next to it while on ground itl explode right.. if so yay another step foward for my plan.. ok next question lol (this is stuff i need to get to work) let say for some reason i want when i drop a weapon make like flames or somthing like that come out of the weapon can i some how attache an effect to dropping a weapon??
This is the last thing i need to kno if its possible (i think) for me to continue on my weapon mod thatl pwn.
Posted: Sun May 08, 2005 5:11 pm
by an emu
make a model of your destroyed weapon and name it ~damaged export it to the same folder as your regular model then again into your weapon's physics folder. under the weapons collision model tag make it so that it looks somewhat like this...

and this
you can change your weapons health and stuff to what you want
Posted: Sun May 08, 2005 5:15 pm
by conquer2090
i dont literally want it to explode i want it to play the detonation effect once and dissappear no extra models included. will checking off that one tag do it.. im guessing.
and no im not tryin to make weapons get hurt by explosives jus to make the game look more relistic... like im not gonna make a weapon wit a bent barrel for fun.. this has to do with somthing completely different.
Posted: Sun May 08, 2005 5:20 pm
by an emu
so do u want it so that weapons explode and disapear when u shoot them or not? if so u still have to make the ~damaged models. but just make it a frame with no acutal model, so that u cant see anything for the damaged model. but if u dont, nothing will happen, just an explosion
Posted: Sun May 08, 2005 5:22 pm
by conquer2090
well the detonate when dropped thing works tho... i had it detonate and spawn like some flames or w/e and it dissappeared i didnt change any models the bad side effect of that one tho is that when u switch weapon u cant get it back : /
Posted: Sun May 08, 2005 5:23 pm
by an emu
thats why you have to do it my way
well i guess if ur using an already existing model u cant really do it my way
Posted: Sun May 08, 2005 5:24 pm
by conquer2090
now ur confusing me... ok this is what i want i want to take a pistol go up to an assualt ritfle hit pick up weapons and have the pistol on the ground then if i shoot it or throw a grenade at it itl dissappear and spawn a detonation effect
Posted: Mon May 09, 2005 7:15 am
by [users]axem
Make a ~dammaged model with just a small little triangle thats toi small to see. Now put make a collision model for the undammaged weapon. make it have low health. That should work.