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 / To All Asking about cod5 style barrier tear down/rebuild

Author
Message
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 27th Jan 2009 19:04 Edited at: 18th Feb 2009 13:44
I was on the toilet thinking and i thought, would it not be possible (im not a genius scripter) to set the a entitywihtindist type value in the script of the board entity you want to tear down, so it recognises when the zombie gets close, set it to respawn like a thousand times after a set delay, edit the strength values accordingly to make it destroyable easily, so when the zombie approaches, the barrier is destroyed (higher the strength the longer it takes to tear down) it gets destroyed, zombie comes through, 30 second delay, bam its back in action! could even script it to work off switch or a variation of the health/for money mod, activating it so you exchange health in order to rebuild it and have the zombies drop medi packs to give you 'points'?

or work around with the healthprison script? the closer the zombies get the less health the barriers have?) im just thinking out loud so to speak, im just tired of people saying its impossible when it just might not be!

but then what do i know>



Late Breaking news ( i did do a second post for this but i cant find that one to edit lol)

got it working ! 3 zombies had to tear down 4 planks i had over a doorway, destroyed 3 before managing to get in!

on a side note while i was playing i found it amusing to put the no gravity spawn on the planks and the zombies just nudge them away and they drift off into space

******************************************************************
Here it is, many of you requested a script that could do it so here you go


although it means you can only have one barrier per window unless u adjust the distances on the anywithin

(otherwise the planks recognise each other as being within the zone and destroy themselves)

- Why is everyone on here so rude? -
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 27th Jan 2009 20:17
ok ive been playing with the barriers and i have them set up so that zombies can tear down the barriers! all it took was a little common sense! tear down the barriers,ait about 30 seconds and it reappears ready for the next zombie! just fiddled with the main fpi's for each entity and bam tear downable barriers! XD for time being ive just got the barriers on spawn after delay but il update if i manage to get them hooked up to some sort of manual activation!

occasionally they get stuck in the doorways but no more often than they just seem to walk on the spot anyway! now just a way to get them in through the windows!

- Why is everyone on here so rude? -
dumpus
16
Years of Service
User Offline
Joined: 1st Jan 2008
Location: Canada, eh?
Posted: 28th Jan 2009 03:29
To get them through the windows, you'd have to reanimate them, which might take a little work if you don't know how. Hope the final result is good, though.

*This post will self-destruct in 10 seconds.*
Pride
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: Eastern USA
Posted: 28th Jan 2009 18:43
That's pretty awesome! Could you release this script, as I am extremely interested.

It doesn't have to be a window, it can just be a door or something for simplicity's sake.

Also, I'm curious, which zombies did you screw with?

- You know you're curious
dumpus
16
Years of Service
User Offline
Joined: 1st Jan 2008
Location: Canada, eh?
Posted: 28th Jan 2009 19:06 Edited at: 28th Jan 2009 19:06
To repair the boards, would it not be possible to have a trigger zone next to the board that (when the player presses enter) respawns the board? I can't imagine it being too hard.

I tried messing with "entitywithinzone", but I don't think it works. Didn't know about "entitywithindist"...sounds cool!

*This post will self-destruct in 10 seconds.*
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 28th Jan 2009 22:12 Edited at: 28th Jan 2009 22:28
Nvm my idea won't work

]

Maniac Modeler
16
Years of Service
User Offline
Joined: 15th Jan 2008
Location:
Posted: 30th Jan 2009 12:23
I acctually retextured the SS Officer to a zombie and re rigged him with bond1s zombie animation lol

It would be great if you release this script

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 1st Feb 2009 01:35 Edited at: 1st Feb 2009 15:07
entitywithinzone doesn't work dumpus. good luck getting that one to work. I look forward to seeing how far you get.

I know not with what weapons WWIII will be fought but WWIV will be fought with sticks and stones-Albert Einstein
Wizzkid
AGK Tool Maker
18
Years of Service
User Offline
Joined: 14th Aug 2006
Location: Northern Ireland
Posted: 1st Feb 2009 14:52
I was thinking about this idea myself! So i cant wait to see it in action if you decide to share it with us.


FireBASIC - The Heart of Great Programming - http://firebasic.ablazegaming.co.uk
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 15th Feb 2009 21:40
hey guys sorry i been away for a while, thanks for all the advice!

im fiddling with the anim, i too retextured some of the ss stock and they work pretty well, the trigger zone idea is good, like using plrusingaction=x to tell if the player presses enter?

i do have a script ready for the boards but they still destroy it the second they come in contact,

for an easy method fiddlewith the properties, make them immobile, strength to like two and edit the zombie fpi to do more damageand hey break through but its only like 75% success

using the anywwithinzone code but im having trouble, the barrier destroys but instantly, not in line with the timer i set to activate

- Why is everyone on here so rude? -
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 15th Feb 2009 21:50
ok to all requesting the script i used, i didnt!

im trying to code a script now as the method i discovered was just fiddling the entities properties and the attack strength of the zombies melee

to try and recreate it follow these steps
(using v1 fpsc)

-set planks in the position you want over the door (use 1,2,3,4,5,6) to rotate and level them the way you want (i used varyng height barrels and crates and used enter to align the plank to their tops so i got planks at varying heights (if you have them at the same heights it spazzes the zombies out and they duck under or climb over!)

-edit the fpi of the attackng zombie to set the damage to 80 at least

-i used model pack 2 zombie doctors

-have 3-4 planks works best

- set the planks strength to 5

- set it to immobile

- physics off

- set its main fpi to 'appearnoravity' (not sure why u need to do this i discovered it by accident, couldnt get it working right without it

- set spawn when dead to yes

- max spawn 9999 (or limit the number if you dont want it to go on repairing forever)

- max at any time to 1

- number to spawn to 1

- spawn after delay to yes

- delay (i used 300, u can use what you want)

spawn the zombies on the other side, apply the same spawn delay technique to replicate the waves andyour on your way!

as i said im working on a script for the planks using anywithin zone but the timer is letting me down, they just tear thrugh instantly despite the timer conditions...hmm

- Why is everyone on here so rude? -

Login to post a reply

Server time is: 2024-11-24 18:21:12
Your offset time is: 2024-11-24 18:21:12