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 / Mines/Shells?

Author
Message
BeauPratten
14
Years of Service
User Offline
Joined: 16th Feb 2010
Location: Newy, Australia
Posted: 4th Apr 2010 12:46
How would I have a script that would see me entering a trigger zone and being pounded by a shell which would knock me back and deal a lot of damage?

I suppose that this is where I'm supposed to put some witty one liner. Well...sorry to dissapoint.
Hador
User Banned
Posted: 7th Apr 2010 16:57
not really a script, but an entity with an explosion. you could spawn a shell that is in the air and drops, and its life is timed. when it is destroyed, have it set to explode and set the damage. it will blow up and do an explosion that does the normal throwback.


[link]devboxportal.co.cc[/link]
Z 4SS4SS1N
16
Years of Service
User Offline
Joined: 30th Jul 2008
Location:
Posted: 9th Apr 2010 04:57
what you could do is make a land mine object and script it to detonate if the player is close enough.
Gamerfreak331
15
Years of Service
User Offline
Joined: 12th Sep 2009
Location:
Posted: 9th Apr 2010 18:29
Yes, there is a claymore I found, i'm not sure where though...
you could try FPS Files or Fps Free aswell as the forum

F33r my cheats, lol - a famous statement made by master chief.
GHILLI
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location: U.S.A.
Posted: 10th Apr 2010 03:15
use plrdistwithin= to make the object explode when the player is close enough to an object - I'm not sure how to make the explosion part, but that will trigger it

"The road to Hell is paved with good intentions."
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 11th Apr 2010 12:35
uhh... didn't we have a setexplosive property of an entity and the ability to setenemyhealth=0 or some jibber jabber?

Or did we just try spawning physics objects to fall on the barrel of 1 health?

*Or did we actually never solve this problem and decided just to use hurtzones?*

Its not who you are or what you've done... its WHY you did it and how far you are willing to go.
If you fear speaking for yourself, make use the words of others while discovering your own voice.
Crazy Acorn
15
Years of Service
User Offline
Joined: 16th Mar 2009
Location: Stalking people...
Posted: 12th Apr 2010 16:54
I put together a model if the script was ever made...
Take a look.

- Gorlock

Attachments

Login to view attachments
GHILLI
14
Years of Service
User Offline
Joined: 8th Apr 2010
Location: U.S.A.
Posted: 13th Apr 2010 07:50
Quote: "uhh... didn't we have a setexplosive property of an entity and the ability to setenemyhealth=0 or some jibber jabber?

Or did we just try spawning physics objects to fall on the barrel of 1 health?

*Or did we actually never solve this problem and decided just to use hurtzones?*
"


dude what's your problem? in 95% of your posts that I have read today you act like your the smartest person in the world and that everyone below where you think you are is an idiot.

I have no problem accepting criticism just don't be a jerk (for lack of a better word) about it.

- GHILLI

"The road to Hell is paved with good intentions."
Scene Commander
Support Manager
16
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 16th Apr 2010 18:44 Edited at: 16th Apr 2010 21:17
Here's a script to replicate a landmine. I tested it with the default media ww2/furniturea/itemc (which looks sort of landmine like).

Set the entity to static=no, strength to 20 and explodable? = yes

The mine is triggers when you get close enough and won't explode until you step away from it.

I hope that's what you were looking for?

BeauPratten
14
Years of Service
User Offline
Joined: 16th Feb 2010
Location: Newy, Australia
Posted: 16th Apr 2010 19:02
@Scene Commander

that's EXACTLY what I was looking for and I can't thank you enough.

I'm still really new at this and don't understand most of the coding but I'm getting there.
Thanks again

I suppose that this is where I'm supposed to put some witty one liner. Well...sorry to disappoint.
Scene Commander
Support Manager
16
Years of Service
User Offline
Joined: 3rd May 2008
Location:
Posted: 16th Apr 2010 22:27
My pleasure.

Login to post a reply

Server time is: 2024-11-24 23:56:08
Your offset time is: 2024-11-24 23:56:08