player extensions

From Wiki

Sword of Moonlight Extension Library

Revision as of 04:05, 10 January 2013 by Holy (talk | contribs) (1.1.1.5 (fin))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


player_character_ascent

Introduced around 1.1.1.5, this extension establishes the distance above the floor over which the player character is able to step up onto and or over. The default value is 0.51. The default unit is meters. Values are limited to real numbers.

player_character_height

This extension did not make it into 1.1.1.5. It will be implemented as soon as it is convenient and or necessary to do so. Its purpose is to establish the physical height of the player. For purposes of passing underneath obstacles. And gathering data points from which to generate various default characteristics. The default value is thought to be 1.8. The default unit is meters}}

player_character_radius

Introduced around 1.1.1.5, this extension establishes the player character's shoulder width as measured from the center. Conceptually the classical character is cylindrically shaped, circular around the width and depth. The default value is 0.25. The default unit is meters. Values are limited to real numbers.

Note: as of 1.1.1.5 it is absolutely necessary to set this value to something larger than the default in order to accommodate the analog framework introduced in 1.1.1.5. If this is not done the player will clip through walls and other obstacles when pressing up against them. Doing this can easily make preexisting games unwinnable. Options here are numerous. Ideally you can fix the project and or game. Or use an older version, though here you do without important fixes. Or you can use #do_dpad to effectively disable analog, though that extension did not make it into 1.1.1.5. A new #Analog section is on the way, however for now the analog parameters are inaccessible. Until a clipping, aka. collision detection", framework (#do_clip) appears a perfect solution appears unlikely.