DECORATE: Difference between revisions

Described viewpitchoffset/style
(Added new DECORATE properties (needs actual explanations))
Tag: Source edit
(Described viewpitchoffset/style)
Line 94: Line 94:
Sway speed.
Sway speed.
*<code>'''Weapon.ViewPitchStyle'''</code> {{Devfeature|3.2|alpha}}
*<code>'''Weapon.ViewPitchStyle'''</code> {{Devfeature|3.2|alpha}}
One of <code>Full</code>, <code>DownOnly</code>, <code>UpOnly</code>, <code>DownAndUp</code>, or <code>Centered</code>.
Style of view pitch offset (moving weapon sprite when looking up or down). One of <code>Full</code>, <code>DownOnly</code>, <code>UpOnly</code>, <code>DownAndUp</code>, or <code>Centered</code>.
*<code>'''Weapon.ViewPitchOffset'''</code> {{Devfeature|3.2|alpha}}
*<code>'''Weapon.ViewPitchOffset'''</code> {{Devfeature|3.2|alpha}}
?
Number of pixels to offset weapon sprite with view pitch offset.
*<code>'''Weapon.PreferredSkin'''</code>
*<code>'''Weapon.PreferredSkin'''</code>
Forces the Player class to use a certain skin when the weapon is selected.
Forces the Player class to use a certain skin when the weapon is selected.
4

edits