771
edits
(fix a thing) |
(Try something interesting) |
||
Line 6: | Line 6: | ||
{{#if:{{{hitbox_radius|}}}|{{!}}- style="vertical-align: top;" | {{#if:{{{hitbox_radius|}}}|{{!}}- style="vertical-align: top;" | ||
{{!}} '''Hitbox''' | {{!}} '''Hitbox''' | ||
{{!}} cylinder with radius of {{{hitbox_radius}}} and height of {{{hitbox_height}}}{{#if: {{{hitbox_down|}}}|, offset down {{{hitbox_down}}} units|, not offset down}} | {{!}} | ||
#switch {{ {{{hitbox_radius}}} | |||
| N/A = No collision with Mario | |||
| surface = Collision involves triangles instead of a cylindrical hitbox | |||
| cylinder with radius of {{{hitbox_radius}}} and height of {{{hitbox_height}}}{{#if: {{{hitbox_down|}}}|, offset down {{{hitbox_down}}} units|, not offset down}} | |||
}} | |||
|}} | |}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
Line 75: | Line 80: | ||
*image – an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax. | *image – an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax. | ||
*title – default pagename, just in case can be changed | *title – default pagename, just in case can be changed | ||
*hitbox_radius, hitbox_height, hitbox_down – stats like height, radius, and down offset | *hitbox_radius, hitbox_height, hitbox_down – stats like height, radius, and down offset. Set hitbox_radius to N/A to indicate no collision and to surface to indicate that the object uses triangles instead of a cylinder | ||
*damage – how much damage the object deals on contact with Mario | *damage – how much damage the object deals on contact with Mario | ||
*damage_hatless – how much damage the object deals if Mario doesn't have his hat | *damage_hatless – how much damage the object deals if Mario doesn't have his hat |