CheckReload: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
m (Changed heading style.)
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''CheckReload''' is a player weapon codepionter. This codepointer is used to cause a weapon to skip post-firing reload animations when the player does not have enough ammo with which to reload the weapon (by default, only the DOOM II Super Shotgun uses this codepointer).
{{Codepointer |
description='''CheckReload''' is a player weapon codepointer. This codepointer is used to cause a weapon to skip post-firing reload animations when the player does not have enough ammo with which to reload the weapon.  |
usage='''CheckReload'''|
parameters=None.|
examples={{example|description=From base\frames.edf:|code=<nowiki>frame S_DSGUN4      { cmp = "SHT2|2|*|7|CheckReload  |@next";  dehackednum = 38 }</nowiki>}}|
notes=By default, only the DOOM II Super Shotgun uses this codepointer.


====Special Notes====
This codepointer did not function correctly in BOOM, MBF, SMMU, or early versions of the Eternity Engine due to an oversight made during changes to the weapon system. This error would cause the Super Shotgun to appear to reload even when the player had less than two shells. This behavior will still occur in old demos, but is otherwise repaired.
This codepointer did not function correctly in BOOM, MBF, SMMU, or early versions of the Eternity Engine due to an oversight made during changes to the weapon system. This error would cause the Super Shotgun to appear to reload even when the player had less than two shells. This behavior will still occur in old demos, but is otherwise repaired.
|
seealso=*[[CheckReloadEx]]
}}


[[Category:Codepointers]]
[[Category:Codepointers]]

Latest revision as of 02:12, 7 May 2011

Description

CheckReload is a player weapon codepointer. This codepointer is used to cause a weapon to skip post-firing reload animations when the player does not have enough ammo with which to reload the weapon.

Usage

CheckReload

Parameters

None.

Examples

From base\frames.edf:

frame S_DSGUN4      { cmp = "SHT2|2|*|7|CheckReload  |@next";   dehackednum = 38 }

Notes

By default, only the DOOM II Super Shotgun uses this codepointer.

This codepointer did not function correctly in BOOM, MBF, SMMU, or early versions of the Eternity Engine due to an oversight made during changes to the weapon system. This error would cause the Super Shotgun to appear to reload even when the player had less than two shells. This behavior will still occur in old demos, but is otherwise repaired.

See also