Modding:being object (0.9.9.7)

From DoomRL Wiki

Revision as of 23:11, 20 April 2013 by Yaflhdztioxo (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

WIP pulled from 096 still researching




Properties

Beings also have all the Thing properties in addition to those listed below. For beings, the resistance fields are inherent resistances that apply to all attacks.

Being
Byte attackchance This is how likely (in percent) a monster is to use a ranged attack on its turn. The exact interpretation may depend on the AI. This property is read-only.
Integer hp This is the being's current health.
Word hpmax This is the being's maximum health.
Byte vision This is the being's vision radius. (It is up to the AI to respect this radius.)
LongInt scount This is the being's speed count or energy. It counts up by the being's speed every 0.1s, and when it reaches 5000, the being gets to act. For details, see here.
ShortInt tohit This accuracy modifier is applied to all of the being's attacks.
ShortInt todam This damage modifier is applied to all the being's melee attacks.
ShortInt todamall This damage modifier is applied to all the being's attacks.
ShortInt tohitmelee This accuracy modifier is applied to the being's melee attacks.
Byte speed This is the rate at which the being's scount increases. It affects the speed of all actions.
Byte armor This is the being's natural armor. It appears as protection against all attacks.
Word expvalue This is the amount of experience that is awarded to the player when the being dies.
ShortInt techbonus This usually corresponds to Whizkid levels; it affects the number of mods that can be applied and the level of assemblies that can be constructed.
ShortInt pistolbonus This usually corresponds to Son of a Gun levels; it affects pistol firing time and damage.
ShortInt rapidbonus This usually corresponds to Triggerhappy levels; it affects the number of shots fired by rapid-fire weapons.
ShortInt bodybonus This is the property used to implement Badass. Each point reduces knockback by one, and anything above zero stops health decay.
Byte reloadtime This is the percentage of normal reload time that the being takes to reload. (It is used to implement Reloader.)
Byte firetime This is the percentage of normal fire time that the being takes to fire. (It is used to implement Finesse.)
Byte movetime This is the percentage of normal movement time that the being takes to move. For the player, anything less than 100 applies a corresponding dodge bonus. (This is used to implement Hellrunner.)
Word soundact This is the being's .act sound.
Word soundhit This is the being's .hit sound.
Word sounddie This is the being's .die sound.
Word soundattack This is the being's .attack sound.
Word soundmelee This is the being's .melee sound.
Word soundhoof This is the being's .hoof sound.
Being Prototype proto This is the being's prototype.

success and false on failure. (modletter should be the length one string corresponding to the mod type.)

Personal tools