Autostep: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
Created page with "'''''autostep''''' is the maximum height at which a player will "step" on to a surface. The default value is 5120. Note that autostep applies to view/wall aligned sprites ..."
 
Fox (talk | contribs)
No edit summary
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''''autostep''''' is the maximum height at which a player will "step" on to a surface. The default value is 5120. Note that autostep applies to view/wall aligned [[sprite]]s and regular [[sector]]s. For above water sectors ([[lotag]] 1) and floor aligned sprites ([[cstat]] 32) please see [[autostep_sbw]].
'''autostep''' controls the maximum difference in height at which a player will "step" onto a surface without needing to jump. The default value is 5120. Note that autostep applies to view/wall aligned [[sprite]]s and regular [[sector]]s.
 
Making the value smaller allows the player to climb higher sectors and wall aligned sprites, while a larger value means the player will not be able to climb over smaller and smaller heights in sectors and sprites.
 
If you are making a permanent change to this value, it is best to do it from [[EVENT_ENTERLEVEL]] so the game never overwrites your value with the default.
 
For above water sectors ([[lotag]] 1) and floor aligned sprites ([[cstat (sprite)|cstat]] 32) (see [[spritebridge]]) please see [[autostep_sbw]].


[[Category:Player structure members]]
[[Category:Player structure members]]

Latest revision as of 10:48, 22 February 2020

autostep controls the maximum difference in height at which a player will "step" onto a surface without needing to jump. The default value is 5120. Note that autostep applies to view/wall aligned sprites and regular sectors.

Making the value smaller allows the player to climb higher sectors and wall aligned sprites, while a larger value means the player will not be able to climb over smaller and smaller heights in sectors and sprites.

If you are making a permanent change to this value, it is best to do it from EVENT_ENTERLEVEL so the game never overwrites your value with the default.

For above water sectors (lotag 1) and floor aligned sprites (cstat 32) (see spritebridge) please see autostep_sbw.