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 / anti gravity platform problem

Author
Message
skillsaw
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 24th Jul 2006 23:19
what is the best way to align the anti grav platform with a fixed platform.... keep having the character not able to make a smooth transition from one to the other... I have it going up 3 levels to a fixed platform... just can't seem to get them to align correctly.
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 26th Jul 2006 04:54
The Anti Gravity platform is meant by default to follow a flat path, horizontal to the ground plane.

Because as with some other features or functions is a relatively primitive - it does not behave well and perhaps as expected while traversing multiple tile heights across the vertical plane.

Dependant upon the distance and angle of the path - the problems of forshortening or the reverse - entending of the end positions of the entity along the path which results in the entity not reaching or overshooting the end points and matching the height to any ground or platform step off points - can be at least partly or wholly overcome.

The erronous positioning of the platform and relative disalignment to the objects you refer to will vary by amount depending on the aforementioned length and acuteness of the angle of the path when useing the anti gravity platform script in this way.

To make adjustment look in the editor view which is top down and note the exact position of the path end nodes. Of course in this instance one will be at one tile height an the other at a higher/lower tile level.

You need to adjust these end points to move them either outwards or inwards from the current end positions realtive to the step off onto platform or floor in the top down view (Not left or right in top view, or up or down in the height).

Adjusting the path end points in or out as suggested in the editor will result in the actual position of the moving platform being proportionately different in its final physical end positions in the x,y,z asxis when you test run your level and go look.

It may take a copule of tests for you to get the hang of it and get it right but you should be able to line up the moving and static platforms correctly so that the player can step off smoothly.

Using the anti gravity platform over a path spanning multiple level heights be aware that if the angle becomes too acute the platform behaviour will become increassingly unstable as the angle increases - eventually failing to function correctly at all.



"I am and forever will be your friend"
brummel
18
Years of Service
User Offline
Joined: 26th Nov 2005
Location: Sweden
Posted: 26th Jul 2006 15:18
You could use moveup=x to set how high it should go.

Dont forget to visit my website for scripts!
skillsaw
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 26th Jul 2006 16:02
Bearing in mind I'm virtual newbie at this, I don't know where to place the "moveup=" as I would like to try that avenue also. Would appreciate a clue...The more I get into this the more enthusiastic I become... great program, wish I had found it long ago when I was young!
uman
Retired Moderator
20
Years of Service
User Offline
Joined: 22nd Oct 2004
Location: UK
Posted: 26th Jul 2006 16:22
moveup=x

Might work though I recon its likely to cause more problems than the worth of it - there are hard coded engine issues affecting the behaviour of anything that follows a path and this entity is a specific case.

Good luck to anyone that wants to try.

I got one working as well as needed so am happy with it for the moment.

skillsaw,

to understand the moveup command try studying a lift script.




"I am and forever will be your friend"

Login to post a reply

Server time is: 2024-11-25 08:56:31
Your offset time is: 2024-11-25 08:56:31