Jump to content

Broken stairs on custom maps


Recommended Posts

On modded maps, unlike already made ones, People sometimes make stairs instead of slopes. Now going up and down them is quite, uhhh lets say "unnatural". First of all, when aiming on stairs you should be fine, however if you start moving your aim goes down out of sight, making aiming impossible while moving on stairs (You can test this on ZeroHeadshot's custom map TheBoomBoxLite). I suggest balance the amount that the gun goes down is determined with the height that the player jumps off. So if the player jumps off a tower, when they land, their gun goes down out of sight and comes back after. if they go up and down stairs it starts shaking just a little bit. Also you can slide on stairs. in my opinion if there is an obstacle at a distance in front of the player, (like a wall within like 3-5 feet in front of him, if its higher than the ground, it cancels my slide, this allows for sliding down stairs but not up) even if they are sprinting, it will not work. Sorry if i got a little technical there but it was getting annoying aiming on stairs

Link to post
Share on other sites

You can simply use the tangent function with the stair slope to calculate angles. I did it for you here for the most common slopes of stairs:

 

If 1:1 stairs, use 45 degree slope.

If 1:2 stairs, use 26.565 degree slope.

  • Like 1
Link to post
Share on other sites
16 hours ago, Nrk said:

(You can test this on ZeroHeadshot's custom map TheBoomBoxLite).

 

I had implemented an invisible slope to clip the stairs for smoother movement but it was causing bugs with collision because of how steep the steps were, I'll fix this in the next update of the map.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.