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 / Script for COD5 Style barriers (tear down only)

Author
Message
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 17th Feb 2009 21:38 Edited at: 18th Feb 2009 13:40
hi guys im feeling generous so im going to give this one away, i was going to keep it to myself but seeing as no one else has figured out anything for it i feel so special that you can just have this one on me!

(i have a more complex one that actually uses the entities health as a measure instead of time but the finished result is startlingly similar so this one works just as well!!!)

Here is my first script for COD:WaW style tear downable barriers

Have fun! Credit in finished works would b appreciated or a link back to my site (www.undoom.tk)

anyway here it is

it wrks on the anywithin principal, if an entity remains at your barrier for 4 seconds the barrier destroys itself

if the entity walks away and comes back the timer resets itself for another 4 seconds

had great fun with this one!

enjoy!



then simply set the respawn settings of the plank or barrier entity for it to either respawn after a set time or on player command

joeyleonheart501@hotmail.com

email me for more info

also you dont #have# to have the sounds there, i like it cos it adds to the sort of teary-downy-ness of it, the ping was there just cos i had trouble with the timer so i wanted it to play a sound when it changed state to make sure the script was functioning correctly

watch out for enemies glitching through the barriers, they have to be immobile and you need to make sure theres no gap between the edge of your barriers and the walls of the doorway

i also took the artilery piece from the ww2 stock entities, gave it a bazooka and some ai and now it roams round the map taking random pot shots at the player but it goes round backwards! anyone know howto stop this?

- Why is everyone on here so rude? -
Screaming Head Games
15
Years of Service
User Offline
Joined: 13th Dec 2008
Location: You dont want to know......
Posted: 17th Feb 2009 23:46 Edited at: 19th Feb 2009 01:05
thanks for the script! i hvent tried it out yet but it looks like it works and ive been looking for somthing like this for a while.

[edit]

strange how theres 51 views and im the only who has posted yet

(\__/)
(O.o )
(> < ) This is your bunny on drugs.

Login to post a reply

Server time is: 2024-11-24 19:54:16
Your offset time is: 2024-11-24 19:54:16