Object that dies when walked on

Ask questions, discuss ideas, get answers
Post Reply
Darkstef
Posts: 30
Joined: Wed Oct 21, 2009 4:49 pm

Object that dies when walked on

Post by Darkstef »

Hi all, I want to create an object that dies when walked on, but I have no idea how can I do that and I dont know any mod where I can found that...
It's for a trap, and seriously I dont have any idea :(
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

deathbubbles
Darkstef
Posts: 30
Joined: Wed Oct 21, 2009 4:49 pm

Re: Object that dies when walked on

Post by Darkstef »

yea but the deathbubble must to be activated when you walk on the object, and all death bubble are always activated, so I don't know what can I do...
User avatar
Apache Thunder
Posts: 1210
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Object that dies when walked on

Post by Apache Thunder »

Will the object be stationary or mobile? If it has no mobile physics, you can code the damage system so that the material for soldiers does damage to the material the object PCO uses. (you can set up the materials on the mesh so that only the parts that can be walked on will have the material that will be affected by soldiers) It only seems to work on stationary PCOs though. I coded something like this with the bomb car in my Mario kart mod. The stationary bomb car explodes the moment a soldier or vehicle touches it no matter what speed the attacking soldier/vehicle is going and is the result of the damage system. ;) So death bubbles may not be needed.
ImageImageImage
I have cameras in your head!
Darkstef
Posts: 30
Joined: Wed Oct 21, 2009 4:49 pm

Re: Object that dies when walked on

Post by Darkstef »

Yes its for a stationary object, I will try that thx :D
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

i meant bubbles added to the soldiers so when they got near the trigger the trap would be activated.

but Apaches idea sounds better tho as bubbles can act weird sometimes
User avatar
Apache Thunder
Posts: 1210
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Object that dies when walked on

Post by Apache Thunder »

Yeah. I'm pretty sure it works in multiplayer too. I had once played the Mario Kart mod in multiplayer once and had no issues with my bomb car. So it should work out just fine in this instance as well. :D
ImageImageImage
I have cameras in your head!
Post Reply