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 / Need help to modify a script

Author
Message
Captain Kirk
19
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 17th Dec 2007 13:58 Edited at: 17th Dec 2007 14:00
Hi all! I need a little help.
I downloaded Rolfy's spider pack. (It's awesme). But I have a little problem: i put the medium spider into my level and when this spider find me and come up to me to attack,the spider don't stop, but moveing towards, and pushing me. This can cause problem: for example spider can kick me out from the level in a corner.

Can somebody help me to modify the script to stop the spider when he reached me? (when the spider is in attacking range) The script is good, I only need to stop moveing the spider until the spider is in "attacking range"
I attached the original script.


I hope I wrote down my problem understandable. My english is not perfect.
Captain Kirk
19
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 19th Dec 2007 17:07
Any ideas?
Ice Cube
17
Years of Service
User Offline
Joined: 21st Apr 2007
Location: United Kingdom
Posted: 19th Dec 2007 21:07
Looks like this line should not be a comment:

Just delete the first char - ";"
Rather than that, I don't see anything wrong

Btw, I've had similar problems with enemies pushing you through walls and it wasn't script's "fault" ...

Captain Kirk
19
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 22nd Dec 2007 09:55
Hi!

Thank You I will try this. I hope it will work. I made a little map, with a room where trap doors (from your Door Pack ) are on the ceeling, and when player enter the trigger zone, theese trap doors open, and spiders fall down
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 22nd Dec 2007 19:53
Quote: "and when player enter the trigger zone, theese trap doors open, and spiders fall down "


Nice idea.

Captain Kirk
19
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 22nd Dec 2007 22:53 Edited at: 22nd Dec 2007 22:59
Thanks But I was too optimistic about this spider-traps. When I tested the game, and trap doors opened, the spiders stucked over the trap door, and not fell down Do you have idea why? It seems they still thought that there is a floor below them.

I quickly made a test game, with a 2 floor high room, and I placed spiders on the second "floor" in the air. In test mode spiders standed on the second "floor" int the air and they only fell down when I shot them once.
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 23rd Dec 2007 01:09
Quote: "It seems they still thought that there is a floor below them."



Dynamis entities don't like using doors, sorry. They just think that there is a block there, try it with a crate it still won't work.

Captain Kirk
19
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 23rd Dec 2007 11:27 Edited at: 23rd Dec 2007 11:30
I tried this without door. I made a hole on the ceeling, and I placed the enemies on the second floor over this hole. I set them to spawn when player enter a trigger zone. When I entred the trigger zone, enemies spawned, but stuck over this hole, and not fell down. This worked with a not enemy entity.

I tried this with an other character. Tha same happened. Please, help.
I attached a picture

Attachments

Login to view attachments
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 23rd Dec 2007 11:33
I told you, dynamic entities can't fall through CSG punch meshes,(the ones that doors,windows,holes,etc use to cut into segments.

Captain Kirk
19
Years of Service
User Offline
Joined: 30th Aug 2005
Location: Sickbay
Posted: 23rd Dec 2007 12:26
Ok. BUt i thought this stands for only dynamic entities. I made this holes with standard segments. (I deleted the floor).
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 23rd Dec 2007 13:53
Quote: "I made this holes with standard segments."


.......

ermmmm...I don't know then, sorry.

Login to post a reply

Server time is: 2024-11-27 18:58:14
Your offset time is: 2024-11-27 18:58:14