DeHackEd / BEX Reference/Weapon Block

From Eternity Wiki
Revision as of 07:15, 1 February 2015 by 91.106.38.34 (talk) (→‎Syntax)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This block allows editing of player weapon characteristics.

Back to DeHackEd / BEX Reference

This really is actually fascinating, That you are a quite specialist blogger. Ive joined your rss feed and sit up for looking for more of your excellent post. Also, I have shared your web site in my social networks! ccdececgeddkadeb

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.