Editing EDF weapon reference

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 40: Line 40:
   flashstate2            <frame>
   flashstate2            <frame>
   holdstate2            <frame>
   holdstate2            <frame>
  fullscreenoffset      <number>
    
    
   ammouse                <number>
   ammouse                <number>
Line 76: Line 74:
:Default = (nothing)
:Default = (nothing)
:Sets the weapon info from which this will copy properties. All of the properties except '''dehackednum''' will be copied from the base actor type.
:Sets the weapon info from which this will copy properties. All of the properties except '''dehackednum''' will be copied from the base actor type.
====Ammunition====
*'''ammotype'''
*'''ammotype'''
:The [[EDF item effects and inventory|artifact]] of the inventory type to consume when firing. Omit this if weapon consumes no ammo.
:The [[EDF item effects and inventory|artifact]] of the inventory type to consume when firing. Omit this if weapon consumes no ammo.
*'''ammouse'''
:Default: 0
:Sets the number of ammo items to consume per shot. If not set, it will not consume ammo.
*'''ammotype2
*'''ammotype2
:The ammo type for the optional alternative fire.
:The ammo type for the optional alternative fire.
*'''ammouse2'''
:Default: 0
:Sets the number of optional alternative ammo items to consume per shot. If not set, it will not consume ammo.


====States====
====States====
Line 141: Line 132:
:Default = S_NULL
:Default = S_NULL
: The equivalent of '''attackstate''', '''flashstate''', and '''holdstate''', but for alternate fire. Equivalent to '''AltFire''', '''AltFLash''', '''AltHold''' respectively from the Decorate syntax.
: The equivalent of '''attackstate''', '''flashstate''', and '''holdstate''', but for alternate fire. Equivalent to '''AltFire''', '''AltFLash''', '''AltHold''' respectively from the Decorate syntax.
*'''fullscreenoffset'''
: Amount to move weapon when going fullscreen, without status bar. Needed by some Heretic weapons.


====Selection Order and Weapon Slots====
====Selection Order and Weapon Slots====
Line 172: Line 161:


=====List of flags=====
=====List of flags=====
*'''NOTHRUST''': prevents weapon from thrusting others by damage.
*NOTHRUST
*'''NOHITGHOSTS''': prevents hitscan attacks fired by this weapon from hitting '''GHOST''' targets.
*NOHITGHOSTS
*'''NOTSHAREWARE''': disable this weapon from shareware versions of the game.
*NOTSHAREWARE
*'''DISABLEAPS''': for compatibility uses, this disables the ammo-per-shot field.
*DISABLEAPS
*'''SILENCEABLE''': weapon can be silenced by the silencer powerup.
*SILENCEABLE
*'''SILENT''': weapon is always silent
*SILENT
*'''NOAUTOFIRE''': prevents refiring if player presses fire before switching to this weapon. The Doom rocket launcher and BFG9000 have this flag.
*NOAUTOFIRE
*'''FLEEMELEE''': weapon causes monsters to flee if enabled to so in settings.
*FLEEMELEE
*'''ALWAYSRECOIL''': weapon always causes recoil, even if the setting is disabled.
*ALWAYSRECOIL
*'''HAPTICRECOIL''': causes haptic feedback on recoil.
*HAPTICRECOIL
*'''READYSNDHALF''': if it has a ready sound, only play it half the time.
*READYSNDHALF
*'''AUTOSWITCHFROM''': change current weapon to something better if ammo is found.
*AUTOSWITCHFROM
*'''POWEREDUP''': weapon is marked as powered-up by the Tome (as in Heretic).
*POWEREDUP
*'''FORCETOREADY''': force state to ready if weapon is powered/unpowered by Tome.
*FORCETOREADY
*'''PHOENIXRESET''': special flag to support Phoenix Rod's peculiar behaviour when switched by Tome.
*PHOENIXRESET
*'''DEPOWERSWITCH''': causes weapon to visually lower and raise when Tome of Power runs out.


====Damage Properties====
====Damage Properties====
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Templates used on this page: