Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Proximity mine help needed

Author
Message
Essex
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: Australia
Posted: 15th Sep 2005 03:20
Hi all, I hope you're all enjoying the new weapon SFX in v1

I'm trying to write a small script that will cause an explodable entity (a crate) to explode when the player is within a certain distance to it. So far I've been able to make it disappear (destroy action) and spin or bounce etc., but I cant see an action listed in the manual that allows you to set the damage to 100%, which I assume would cause the entity to explode.

Any ideas anyone? Merranvo?

Thanks

Rick Harrison
ctm
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 15th Sep 2005 14:59 Edited at: 15th Sep 2005 14:59
Had to do some try and error but here is a way it works:

1)
Set the Strenght of the entity to 1.

2)
Set Physics Force Damage to 1000.

3)
Attach this script to it:

Essex
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: Australia
Posted: 15th Sep 2005 16:38
Thanks ctm, works well, except for some reason I had to set the strength to 2 and the physics damage to 700.

By the way, I love your Conkerbunker demo. Can't wait to see it done in v1!!

Thanks again, Rick Harrison
ctm
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 15th Sep 2005 18:07
Thanks
I'm glad that i was able to help

Login to post a reply

Server time is: 2024-11-21 18:07:31
Your offset time is: 2024-11-21 18:07:31