Editing
DeHackEd / BEX Reference/Weapon Block
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!
This block allows editing of player weapon characteristics. {{backto|DeHackEd / BEX Reference}} ==Syntax== A brief explanation of the syntax description: Items in angle brackets (< >) are required. Items in square brackets ([ ]) are optional. All fields in the block are optional. Fields not provided will not be changed. Weapon <weapon number> Ammo type = <ammo number> Deselect frame = <frame number> Select frame = <frame number> Bobbing frame = <frame number> Shooting frame = <frame number> Firing frame = <frame number> # The fields below are Eternity extensions Ammo per shot = <number> Explanation of special information: '''weapon number''' is a weapon type number, which must be one of the following: Number Weapon type ------------------------ 0 Fist 1 Pistol 2 Shotgun 3 Chaingun 4 Rocket Launcher 5 Plasma Rifle 6 BFG 9000 7 Chainsaw 8 Super Shotgun '''ammo number''' is an ammo type number, which must be one of the following: Number Ammo type ----------------- 0 Bullets 1 Shells 2 Cells 3 Rockets 5 None ==Fields== ====Ammo type = <number>==== The type number, as given above, of the ammo type used by this weapon. Note that 4 is not a valid ammo type; do not use it. Also, in Eternity, any weapon can be safely given ammo type 5, none. In DOOM, giving any weapon other than the fist or chainsaw this type would cause the shotgun's max ammo to decrease on every use. ====Deselect frame = <frame number>==== A weapon enters this frame when the player changes to another weapon or dies. ====Select frame = <frame number>==== A weapon enters this frame when the player changes to it. ====Bobbing frame = <frame number>==== A weapon stays in this frame when the player is walking around without firing. ====Shooting frame = <frame number>==== A weapon enters this frame when the player hits the fire key. ====Firing frame = <frame number>==== This frame is used to display muzzle flashes when a weapon is fired. ====Ammo per shot = <number>==== This field is an Eternity extension which allows editing of the amount of ammo a weapon must have to be fired and uses on each shot (there is no point to these values being separate). Unless enabled through explicit use of this field in DeHackEd, this value is not used by the game engine, for compatibility reasons. [[category:dehacked]]
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)
Template used on this page:
Template:Backto
(
edit
)
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