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 Product Chat / Here is how to make a barrel explode when you step into a trigger zone

Author
Message
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 9th Nov 2007 15:19 Edited at: 13th Nov 2007 11:04
Someone asked this just and I told them how to do it i am not sure if it is in nikkydudes guide and i couldnt find it in a search so here it is incase anyone else wants to do this and is stuck.

Ok for this to work you need 3 componants:
*A trigger zone.
*The barrel you want to explode.
*Another small Fpsc object to use as a detonator.

*Now place your trigger zone, and then change its main script to appearifactivate (attached)
*Set the if used propertie to the name of the small object you are using as a detonator
apply the settings

*Now place your barrel to be exploded and your detonator object next to each other.

*Right click on your detonator to access its properties:
*attach detonator as the start/appear script (attached)
*make sure its set to dynamic
*set spawn at start to "NO"
*set its strength to "1"
*set its physics force damage to "9999"
apply the settings

*Right click on your barrel to access its properties:
*attach barreldestroy script as the the destroy script (attached)
*make sure its set to dynamic
*Set immobile to "yes"
*make sure explodable is "yes"
set its strength to "1"
apply the settings

*Place your barrel where you want it
*place your detonator inside the barrel out of sight

NOTE: The extra scripts are so if the player destroys the barrel with a gun before reaching the trigger the detonator object is destoryed also.

Your set run your game and watch the fun

Any comments? go for it

Thanks
Adam

Attachments

Login to view attachments
butyouman
18
Years of Service
User Offline
Joined: 7th May 2006
Location:
Posted: 9th Nov 2007 22:23
cool thx

Slipknot Rules
Veron
17
Years of Service
User Offline
Joined: 22nd Nov 2006
Location:
Posted: 10th Nov 2007 14:06
Very helpful, thanks!


CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 10th Nov 2007 17:33
cant you just set the barrel to spawn when the player enters the t zone, and set the barrels spawn life to 1 or something.

You can tell i'm an old-school gamer, right?
nackidno
17
Years of Service
User Offline
Joined: 3rd Feb 2007
Location: Där solen aldrig skiner
Posted: 10th Nov 2007 17:39
No, then the barrel will just disappear or break(not exlode). But this is very useful thanks man!

Footsteps W.I.P
Trala'em Goes Oblivion (TES IV Mod)
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 10th Nov 2007 18:30
set is explodable to yes
sorry forgot that

You can tell i'm an old-school gamer, right?
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 10th Nov 2007 19:12
Storm 6000,

Nice effect.

Thanks,

Seth Black


Own It, Or Get Owned...
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 11th Nov 2007 22:12 Edited at: 12th Nov 2007 00:15
no problem , Glad a few people have found this usful I think this will be great for making people jump or just generally making a game more action packed.

Quote: "cant you just set the barrel to spawn when the player enters the t zone, and set the barrels spawn life to 1 or something."


Yes i think so but then they see the barrel appear out of nowhere which doesnt look so cool

BY THE WAY: Does anyone know if this is in nikkydudes guide i havent seen it but I don't have the latest version and havent had time to look lately?

Thanks
Adam
s4real
VIP Member
18
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 12th Nov 2007 14:03
Works nice well done this can be used for all sorts off things.

Best s4
Ice Cube
17
Years of Service
User Offline
Joined: 21st Apr 2007
Location: United Kingdom
Posted: 12th Nov 2007 17:07
Nickydude
Retired Moderator
17
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 13th Nov 2007 00:04
Yes, it is. I wonder where it will turn up...

"he is coming!..." - WIP in 'Showcase'
lil gamecreator
19
Years of Service
User Offline
Joined: 24th Dec 2004
Location:
Posted: 13th Nov 2007 07:23
I cant see the attached scripts =/
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 13th Nov 2007 10:58 Edited at: 13th Nov 2007 11:53
Quote: "I cant see the attached scripts =/ "


you don't seen them you download them and follow the instructions you can see them once there downloaded but there in a zip because there is 3 of them needed to get the right effect

@nikkydude: could you point out the page to me all I can find is making a barrel spawn and explode straight away. Not a barrel thats already present on the level then explodes when a player either steps in to a zone or shoots it.

Thanks
Adam
Nickydude
Retired Moderator
17
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 13th Nov 2007 12:44
Storm, it's in the next issue:

Quote: "Yes, it is. I wonder where it will turn up..."




"he is coming!..." - WIP in 'Showcase'
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 13th Nov 2007 13:12
lol its too early in the morning for me ok cool, i can't wait to check out revision 8 , by the way, can I put your signiture banner in my signiture? You seem to be the only person that uses it and well not enough people read your guide...

Thanks
Adam
Nickydude
Retired Moderator
17
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 13th Nov 2007 13:14
Of course, as can anyone else.

"he is coming!..." - WIP in 'Showcase'
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 13th Nov 2007 14:40
Ok I have it as an image but how do you have it as a link, it doesnt seem to accept traditional HTML?

Nickydude
Retired Moderator
17
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 13th Nov 2007 15:40 Edited at: 13th Nov 2007 15:41
Copy and paste the following in your sig exactly as it is (one one line but without the dash at the beginning of href or IMG):

[-href=http://forum.thegamecreators.com/?m=forum_view&t=93081&b=21][-IMG]http://www.madladdesigns.co.uk/fpsc/get_more.gif[/IMG][/href]

"he is coming!..." - WIP in 'Showcase'
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 13th Nov 2007 23:59 Edited at: 14th Nov 2007 00:04
thanks long live the hints and tips guide

Nickydude
Retired Moderator
17
Years of Service
User Offline
Joined: 4th Nov 2006
Location: Look outside...
Posted: 14th Nov 2007 00:52
Nice sig

"he is coming!..." - WIP in 'Showcase'

Login to post a reply

Server time is: 2024-10-10 05:20:08
Your offset time is: 2024-10-10 05:20:08