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 / AI breaks down door?

Author
Message
DonWON
15
Years of Service
User Offline
Joined: 4th May 2009
Location:
Posted: 22nd Mar 2012 07:35
I was wondering if there was a way to make a blocked door be taken down by an AI. My goal is to have zombies take down a door or wall to enter a room like in COD then have it respawn between waves. Thanks in advance.


SpaceWurm
13
Years of Service
User Offline
Joined: 11th Nov 2011
Playing:
Posted: 28th Mar 2012 13:42
It would be quite a task to accomplish but I'm sure it can be done DonWON.

The "door" would just be a dynamic entity that looks like a door. Not a segment.

The zombie approaches the door and then when it is within a certain distance of the door an animation (attack animation) is initiated that makes the zombie looks like its tearing down the door. An etimer can be used to deduct x amount of health from the "door" entity. Once the "door" reaches 0 health it's destroyed.

I'm at work at the moment, but I'll give it a bash and see what I can do.

Landman

Artrift.com - Digital Art Community | MyPixelbox.net - My Creative Blog
raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 29th Mar 2012 01:26
It's not really that hard. Place a trigger zone where you want your player to be when the door open. Set the doors strength to 1 (or something low like that). Behind the door place your zombies a little bit back. Right behind the door place a small dynamic entity like a coffee cup. Trigger the cup to spwan when the player enters the trigger zone. Set the spawn life of the cup to 1 second, the destroy script to flamable and the strength to 5. Also set the door's destroy script to crumble.

When the player enters the zone, the cup spawns and 1 second later explodes doing 5 damage to the doors 1 health. The door "crumbles" and the zombies can now see the player.
DonWON
15
Years of Service
User Offline
Joined: 4th May 2009
Location:
Posted: 29th Mar 2012 17:36
Thanks for the replies. I will give these a shot. My main goal is to have them act and react just like in COD.


raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 1st Apr 2012 06:00 Edited at: 1st Apr 2012 06:02
The respawn between waves is a little harder. Run a search for Nazi Zombie System, I think Genchef did it? It requires RPG mod but it looks like it should work.

EDIT:

try these

http://forum.thegamecreators.com/?m=forum_view&t=178003&b=23

http://forum.thegamecreators.com/?m=forum_view&t=192869&b=23

Login to post a reply

Server time is: 2024-11-24 02:26:35
Your offset time is: 2024-11-24 02:26:35