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 Product Chat / door bug (or is it me?)

Author
Message
Encrypto Studios
18
Years of Service
User Offline
Joined: 18th Dec 2005
Location: Virginia
Posted: 15th Jan 2006 00:38
After I open a door I can walk through it

Attachments

Login to view attachments
ultraplex
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: cyberspace
Posted: 15th Jan 2006 23:33
err coz the door is open.....lol
Shadows Back
18
Years of Service
User Offline
Joined: 7th Dec 2005
Location:
Posted: 16th Jan 2006 00:08
hahahahaa

Shadow
Encrypto Studios
18
Years of Service
User Offline
Joined: 18th Dec 2005
Location: Virginia
Posted: 16th Jan 2006 16:43 Edited at: 16th Jan 2006 16:45
no you don't understand i can walk through the actual door!

*edit
{[off topic]}
listing to linkin park!
{[off topic]}
Mabuggi
18
Years of Service
User Offline
Joined: 11th Dec 2005
Location: UK - Universal Kingdom
Posted: 16th Jan 2006 17:23 Edited at: 16th Jan 2006 17:23
Yeah

To be REALLY freaked out

Try shooting the open door

Bloody eh?

DAB Studios
Programmer of Power
19
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: Home
Posted: 16th Jan 2006 21:13
Personally, I walk through doors all the time. I think one of teh definitions of door is "A portal of somesort meant to be walked, crawled, or other transported through" but that's just me.

"I will work harder... if you ask me enough times."
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 16th Jan 2006 21:46 Edited at: 16th Jan 2006 21:47
In FPSC doors that swing open have the collision set to off when the door starts to swing open and when in the open position by default.

I presume this was designed to be this way so that when the player approaches a door that opens towards the player it does not knock him for six. Otherwise you would if close enough have to move backwards to get out of its way depending on the player proximity to it at time of opening.

I guess you could put the collision back on in the door entities script file but I am not quite sure the engine would be happy about that or not. Trying it out will answer the question.

Mabuggi
18
Years of Service
User Offline
Joined: 11th Dec 2005
Location: UK - Universal Kingdom
Posted: 17th Jan 2006 15:54
As Uman says - Its this way for a reason.

Am I the only one that gets blood when they shoot the open doors?

Maybe its just one kind of door....Hmmmmmm, may have to check.

S'not really a problem, as you can easily fix it - but it made me laff. After I got over the shock of course.

DAB Studios
ultraplex
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location: cyberspace
Posted: 18th Jan 2006 11:16
most of all the fps games iv'e played the door opens away from u even if u go back through the same door after entering it...
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 18th Jan 2006 11:55 Edited at: 18th Jan 2006 12:02
That well may be the case but FPSC is not most games and cuts out unecessary content wherever possible.

To have a door open two ways you need twice as many animation frames.

I have not actiualy checked the swinging door models in FPSC to see how the animations are set up, but they probably do both open and close - this is bourne out by the script which opens a door and then closes it again. One of them does so you should be able to take a default script and edit it appropriately to make a door open and close and also keep the collision on at all times. As said the engine may not like this but it culd probably be done as a test - if no problems are encountered then you could keep your new door script set as you like it and not as the default one(s)

You can have a default door open away from you in FPSC but as in real life a door that has a frame and door stop cannot swing both ways - the door jam prevents this - its normal that a door opens into a room so by rotating the positional arrow in editor when placing the door on editor you should be able to have the door swing one way or the other, or open and close but not inward or outwards both ways without a relative script by which means you could effectively achieve what you want. Again if you want the collision on always then you will have to switch it on permanently in script.

Remember though that having collision set to on when the door is in the open position is going to make it almost impossible for enemies to get through the door if approaching from anywhere near the behind open door position as they would get stuck on it. AI brains and object avoidance rotines in FPSC are poor so dont expect an enemy to realise the door is open and in its way - you are asking to much there. They may be able to follow the player if the trajectory away from the open door gives them enough room, but as said dont expect them to avoid the open door - they just wont know its open until they hit it and then wont know how to get around it. V1 collision for enemies is worse than EA and I dont give them much chance of avoiding an open door with collision on successfully unless approaching from the free side.

Login to post a reply

Server time is: 2024-11-24 08:07:20
Your offset time is: 2024-11-24 08:07:20