Sizeat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Dood! (talk | contribs)
mNo edit summary
One (talk | contribs)
No edit summary
 
Line 1: Line 1:
sizeat <xrepeat> <yrepeat>
'''sizeat''' <xrepeat> <yrepeat>


Like [[sizeto]], but instantaneous. The default sprite size is 64 64.
Like [[sizeto]], but instantaneous. The default sprite size is 64 64.

Latest revision as of 13:29, 4 May 2009

sizeat <xrepeat> <yrepeat>

Like sizeto, but instantaneous. The default sprite size is 64 64.

Actors with xrepeat or yrepeat of zero are deleted. A sizeat 0 0 is the same as killit.

Notes

The default size of most enemy actors is 40 40. Exceptions are SHARK, TANK (60 60) and bosses (80 80).

Changing these values in actor APLAYER (default size: 42 36) will modify the player's view. This happens because the game is hard-coded to assume that a smaller APLAYER has been shrunk while a larger APLAYER has been "microwaved" by the Expander weapon. In this case:

  • Setting a lower xrepeat will replace the player's weapon with two fists.
  • Setting a lower yrepeat will set the view at a low angle and prevent the player from jumping.
  • Setting a higher xrepeat or yrepeat results in increasing the field of view.