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 / script for a ladder

Author
Message
David Thomas
18
Years of Service
User Offline
Joined: 26th Mar 2006
Location: FRANCE
Posted: 10th Aug 2006 13:15
hi !
i would like to know if someone have a script for a ladder.

i searched on the forum but i dont found.
so if you can help thank you very much
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Aug 2006 16:27
You will have to be a little more specific. A ladder does not need a script to work normally. Would you like it to do something special?

Crazy Grandpa
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 10th Aug 2006 17:29 Edited at: 10th Aug 2006 17:30
David Thomas,

Ladders dont work at all in FPSC by default currently.

There are numerous ladder fixes around the forum all of which wont and cant provide a true ladder solution until TGC or someone esle changes the source in such a way as to amend the Physics and Gravity and perhaps other things too in regard to entities - the player or camera specifically.

A search does bring up some results relating to ladders.

"I am and forever will be your friend"
David Thomas
18
Years of Service
User Offline
Joined: 26th Mar 2006
Location: FRANCE
Posted: 10th Aug 2006 19:59
ok thank you xplosis and uman. i 'm going to search about that

bye
Nue B
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: Indy
Posted: 11th Aug 2006 03:32
you could create a script which would move the plr to the top of a ladder object. It would work like the transport in a way. you could also make it where you'd have to use the action key (enter) or just when you stand near it.

Nue B. or not Nue B. That is the question.
David Thomas
18
Years of Service
User Offline
Joined: 26th Mar 2006
Location: FRANCE
Posted: 11th Aug 2006 16:32
ok thanks you nue b

i will work in this way

thanks
Cornik
18
Years of Service
User Offline
Joined: 8th Apr 2006
Location:
Posted: 20th Aug 2006 20:34
Quote: "you could create a script which would move the plr to the top of a ladder object. It would work like the transport in a way. you could also make it where you'd have to use the action key (enter) or just when you stand near it."


O...my...God! I need this sript even if I have to sell my soul, but I have no idea of scripting. Could anyone help me with this one?
It would be very very much appreciated

The Cube is us
xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Aug 2006 21:32
Someone will always say that all you need is a script to do something. That doesn't mean that it's so.

Crazy Grandpa
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 20th Aug 2006 23:59 Edited at: 20th Aug 2006 23:59
It really not easy to script a perfect movement upwards over a perfectly vertical ladder.

This has been a long standing issue in many indie engines not only FPSC. It requires quite sophisticated support from an engine with regard to physics and gravity as well as precise height control for the player to be able to stop at the correct heights to get on and off the ladder realistically. It requires that the player be able to go down as well as up being able to step onto the ladder without falling off. Easier when getting on the bottom than when getting on at the top to go down.

In the case of FPSC of course the whole thing is made difficult due to the tile height build system and the way in which the engine recognises particularly segment heights.

Achieving a perfect movement for player over a ladder spanning multiple heights in FPSC really is difficult to do.

When we have that then we might ask then how about enemies being able to climb ladders? dare I say. Well they can but rather clumsily and erratically.

Wait and see what the update brings I say.



"I am and forever will be your friend"
Cornik
18
Years of Service
User Offline
Joined: 8th Apr 2006
Location:
Posted: 21st Aug 2006 15:40
Thanks! There´s still hope, I think.
Actually what I need is a system to climb the "ladders" (not real ladders, just textures on the walls) and reach the doors in the middle of the walls by pressing a buttom, like the space bar. I don´t really need a system to go down, just to go up the right distance.



I´ve been looking for something like this, and I found a script that is almost what I need. I´m talking about Merranvgo´s jetpack version 2.



The problem is that I want a buttom to activate the "elevator effect" everytime I want instead of being always active, and I don´t know how to contol the height.

The Cube is us

Attachments

Login to view attachments
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 21st Aug 2006 17:48 Edited at: 21st Aug 2006 17:50
Its far more complicated to do properly than you might think - on account of FPSC not having the capability to allow the user to precisely control all of the requirements and there are a lot of those to consider.

An invisible platform (Lift Platform) might do the trick - together with a visible object to make it look as if it was that which was actually moving the player.

The Jetpack is not really suitable due to the lack of those control features as mentioned. No combination of FPSC features or functions currently available are ideally suitable for lifting the player vertically in a straight line upwards - starting and stopping with precise control. All current ones have problems associated with them and do only a partially successful job.

You might as well use a teleporter or lift and be done with it. At least they work and are easy to impliment.

Anything else and you are asking for as lot of hard work and effort for less than ideal results.

From you picture - looks easy dont it? I can tell you its far from that.

A switch and lift platform could be used, platform, path and switch could be used. Currently available ladders could be used. Combinations and variations of all these could be used but the only ones that work correctly are the default lift and teleporters. Otherwise you are left with stairs.

FPSC has not been built to allow users the flexibility to do in this case what may seem like an easy thing to accomplish. You are given some default options for moving the player upwards namely, stairs, lifts and teleporters which are somewhat partly limited to use in single player games. Ladders proper are out by order of TGC. TGC has not to date thought it needed to include any further options or user additions - you use the default methods and thats all you are expected to require.

If you want more then the engine will give you no help - its partially designed that way. Its a click and play engine by default. You use what your given unless one is clever enough to find a method of overcoming its limitations and in most cases thats very hard and in some instances just impossible to do. You cant make it do what it cant do and it cant do what you are asking, simple though it may seem - its not in reality.

There may be someone who has done this and achieved perfection of control - I have not been able to find a way of doing what you want perfectly and all the options are a poor substitute for doing it right.

Using the available working deafult features you can do it - disguising them appropriately if need be, but you just cant overcome the issues that are attached to anything else as the engine does not provide support for it.



"I am and forever will be your friend"
Cornik
18
Years of Service
User Offline
Joined: 8th Apr 2006
Location:
Posted: 26th Aug 2006 00:56
Thanks! The invisible platform is a great idea but I still need to know how to change the script, cause I only want it to work if I use the space bar (for example). Is that possible?

The Cube is us

Login to post a reply

Server time is: 2024-11-22 20:31:21
Your offset time is: 2024-11-22 20:31:21