This shows you the differences between two versions of the page.
ded:values_for_libdoom [2017-03-16 07:40] – skyjake | ded:values_for_doom [2017-03-16 07:42] (current) – ↷ Page name changed from ded:values_for_libdoom to ded:values_for_doom skyjake | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Values for Doom ====== | ||
+ | |||
+ | |||
+ | When using the Doom Plugin, the following values can be edited in a Values definition: | ||
+ | |||
+ | |||
+ | ===== Syntax ===== | ||
+ | |||
+ | | ||
+ | Values | ||
+ | { | ||
+ | Player { | ||
+ | Health = " | ||
+ | Max health = " | ||
+ | Health limit = " | ||
+ | Weapon = "< | ||
+ | | ||
+ | Green armor = " | ||
+ | Blue armor = " | ||
+ | | ||
+ | Max ammo { | ||
+ | < | ||
+ | }; | ||
+ | | ||
+ | Clip ammo { | ||
+ | < | ||
+ | }; | ||
+ | | ||
+ | Init ammo { | ||
+ | < | ||
+ | }; | ||
+ | }; | ||
+ | | ||
+ | AI { | ||
+ | Infight = " | ||
+ | }; | ||
+ | | ||
+ | Weapon Info { | ||
+ | < | ||
+ | Type = "< | ||
+ | Per shot = " | ||
+ | Owned = " | ||
+ | Static = " | ||
+ | Up = "< | ||
+ | Down = "< | ||
+ | Ready = "< | ||
+ | Atk = "< | ||
+ | Flash = "< | ||
+ | }; | ||
+ | }; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | ==== Player ==== | ||
+ | |||
+ | There may be multiple Player blocks per Values definition, later definitions override earlier ones. | ||
+ | |||
+ | ; Health | ||
+ | : Initial health. Default value is 100. | ||
+ | ; Max health | ||
+ | : Maximum health. Default value is 100. | ||
+ | ; Health limit | ||
+ | : Absolute health limit. Default value is 200. | ||
+ | ; Weapon | ||
+ | : Weapon the player will be spawned holding (see reference table below). | ||
+ | ; Green armor | ||
+ | : How many armor points a green armor gives when picked up. Default value is 100. | ||
+ | ; Blue armor | ||
+ | : How many armor points a blue armor gives when picked up and also the maximum ammount of armor the player can have. Default value is 200. | ||
+ | ; Max ammo | ||
+ | : Maximum amount of ammo that the player can carry. Remember that this will be doubled by a back pack pickup. | ||
+ | ; Clip ammo | ||
+ | : Amount of ammo given in a clip. In DOOM, small ammo items give two clips, large ammo items give five clips, dropped weapons give one clip and found weapons give two clips. | ||
+ | ; Init ammo | ||
+ | : Amount of ammo given when player is spawned | ||
+ | |||
+ | |||
+ | ==== AI ==== | ||
+ | |||
+ | There may be multiple AI blocks per Values definition, later definitions override earlier ones. | ||
+ | |||
+ | ; Infight | ||
+ | : 1 = Enable Mosnter in-fighting (ie Imps attacking Imps). | ||
+ | |||
+ | |||
+ | ==== Weapon Info ==== | ||
+ | |||
+ | There may be multiple Weapon Info blocks per Values definition, later definitions override earlier ones. A Weapon Info block begins with the number of the weapon that is to be configured (see reference table bellow). | ||
+ | |||
+ | |||
+ | ; Type | ||
+ | : Type of ammo this weapon uses. Must be a valid ammo name (see reference table bellow). | ||
+ | ; Per shot | ||
+ | : How many rounds per shot. | ||
+ | ; Owned | ||
+ | : If this is " | ||
+ | ; Static | ||
+ | : Setting this to " | ||
+ | ; Up | ||
+ | : [[State]] while raising. | ||
+ | ; Down | ||
+ | : [[State]] while lowering. | ||
+ | ; Ready | ||
+ | : [[State]] while ready/idle. | ||
+ | ; Atk | ||
+ | : [[State]] when beginning an attack. | ||
+ | ; Flash | ||
+ | : [[State]] when fully bright. | ||
+ | |||
+ | ===== Reference Tables ===== | ||
+ | |||
+ | ==== Weapon Numbers ==== | ||
+ | |||
+ | In DOOM the weapon numbering is as follows: | ||
+ | |||
+ | ^ Number^ Weapon name | | ||
+ | | 0| Fists | | ||
+ | | 1| Pistol | | ||
+ | | 2| Shotgun | | ||
+ | | 3| Chaingun | | ||
+ | | 4| Rocket Launcher | | ||
+ | | 5| Plasma Rifle | | ||
+ | | 6| BFG | | ||
+ | | 7| Chainsaw | | ||
+ | | 8| Super Shotgun | | ||
+ | |||
+ | ==== Ammo names ==== | ||
+ | |||
+ | In DOOM the following ammo types are defined: | ||
+ | |||
+ | ^ Ammo name | | ||
+ | | Noammo | | ||
+ | | Clip | | ||
+ | | Shell | | ||
+ | | Cell | | ||
+ | | Misl | | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||