Editing
EDF item effects and inventory
(section)
From Eternity Wiki
Jump to navigation
Jump 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.
Anti-spam check. Do
not
fill this in!
====Explanation of fields==== *'''sprite''' :Default: no sprite. :If set as a four-character sprite name, this will associate any [[thingtype]] with the '''SPECIAL''' [[Thing type flags|flag]] whose current sprite shows as this value to trigger this '''pickupeffect'''. :Example: <code>sprite BON1</code> *'''effects''' :Default: no effect. :This is a list of effects incurred on player when picking up the item. Each one must be defined in EDF as one of the following: '''ammoeffect''', '''armoreffect''', '''artifact''', '''healtheffect''', '''powereffect''' or '''weapongiver'''. :Example: <code>effects Berserk, BerserkHealth</code> *'''flags''' :Default: no flags. :This is an optional set of one or more flags, joined together by | (vertical bar). The flags you can use are: :*'''ALWAYSPICKUP''': item shall always be picked, even if according to the '''effects''', there would be no need for the item. Example: health potions in DOOM. :*'''LEAVEINMULTI''': if game is multiplayer, keep item on the ground for every players to find it. Commonly used by access keys. :*'''NOSCREENFLASH''': if picked up, item will not flash player's screen. :*'''SILENTNOBENEFIT''': only has effect in conjunction with '''ALWAYSPICKUP''': if picked up when unneeded, all user feedback (message, sound, flash) is suppressed. :*'''COMMERCIALONLY''': only relevant for demo compatibility, marks the item as DOOM 2 (the "commercial" release) specific. The megasphere has this flag. Not needed for new mods. :*'''GIVESBACKPACKAMMO''': commonly used by the entries with the '''BackpackItem''' in '''effects''' (which doubles player's ammo capacity) to also provide the backpack ammo amount for each available ammo '''artifact''' in the game. *'''changeweapon''' :Default: nothing. :If set, causes the item to change player's current weapon to the designated one whenever picked up. Expects a [[weaponinfo]] definition. This is based on how the [[Doom Wiki:Berserk|Berserk pack]] acts in DOOM. :Example: <code>changeweapon Fist</code> *'''message''' :Default: no message. :What message to display at the top of the view when picking up the item. This doesn't cover special cases such as the medikit low health message or the special BFG9000 variants. :Example: <code>message "picked up an item."</code> *'''sound''' :Default: none :Sets the [[sound]] to play when picking up the item. :Example: <code>sound itemup</code> Note: the '''pfxname''' field (which you may encounter in the base EDF) is only needed for compatibility with a deprecated feature.
Summary:
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)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information