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 / Entity search and find the player

Author
Message
2PacKing
12
Years of Service
User Offline
Joined: 25th Sep 2012
Location:
Posted: 26th Sep 2012 00:04
Hi everyone! I need a script...
I would like that the player spawn and in the same moment the enemy spawn...now i need the script that the enemy search the player inside a "maze"...if the enemy catch the player the player dies!
I think that this is possible...waiting for answers
Thanks everyone and sorry for my baaaad english, but my language is italian

Thanks in advance again!
Ross tra damus
3D Media Maker
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Looking to Escape London
Posted: 26th Sep 2012 15:33 Edited at: 26th Sep 2012 15:41
2PacKing

The trouble with this idea is that the enemy will more than likely come to a halt with the current AI in FPSC which would make this setup a bit of a waste of time.
I think a better idea would be to set up some trigger zones in the maze that will trigger an enemy to spawn and then the Player try to get away.
How 'wide' is your maze?
The problem you 'will' get is that 'where does the Player run to to get away from the enemy'?
If the maze is at least x2 room segments wide your Player may be able to 'slip past' the enemy in order to continue on his/her quest for the end of the maze (maybe meeting other triggered enemies on the way).
EDIT - Will the enemy be armed with a weapon?
I say this because I think an enemy character with a melee attack would suit the game best. Each enemy could/might take small ammounts of the Players health thus making the goal (reaching the end of the maze) that much more desperate.

Just an alternative idea.

All the best of luck
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 26th Sep 2012 17:37 Edited at: 26th Sep 2012 17:45
as ross said, if you are up to some slenderman-thing ( i cant hear it anymore^^), thats another thing you would have to do there, using threat-triggers (different spawning-timers (screen-warning) and maybe different lifetimes (percistance). if it should actively move (amnesia-style), also generating intelligent waypointwalks and threat-triggered speed-changes in the zones where it should appear. takes randomness out of the build so you get more control, while threat-trigger causes that there is still no consistency for the player.

you have to think of an individual system here, its not an AI-script if the maze is more complex than 2 normal rooms in a row.

but maybe ross and i are wrong and pace10.fpi in peopleĀ“s folder is enough, you may try...but i dont think so. same for darkai-setup.

if slenderman is not the theme, ignore comments about it.^^

Login to post a reply

Server time is: 2024-11-23 19:47:19
Your offset time is: 2024-11-23 19:47:19