Classes:HereticWeapon
(Redirected from HereticWeapon)
Jump to navigation
Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
|
Heretic weapon | |||
---|---|---|---|
Actor type | Internal | Game | ![]() |
DoomEd Number | None | Class Name | HereticWeapon |
Classes: Actor → Inventory → Weapon → HereticWeapon
→Blaster
→Crossbow
→GoldWand
→Mace
→SkullRod
→Staff
The base class for all Heretic weapons except the gauntlets of the necromancer and the phoenix rod. All this does is set the push of the weapons.
Don't use this as a base in your own definitions. This class has very little use and may disappear without notice.
ZScript definition
Note: The ZScript definition below is for reference and may be different in the current version of GZDoom.The most up-to-date version of this code can be found on GZDoom GitHub. |
class HereticWeapon : Weapon
{
Default
{
Weapon.Kickback 150;
}
}
DECORATE definition
![]() |
Warning: This is legacy code, kept for archival purposes only. DECORATE is deprecated in GZDoom and is completely superseded by ZScript. GZDoom internally uses the ZScript definition above. |
ACTOR HereticWeapon : Weapon { Weapon.KickBack 150 }