Modding:being object (0.9.9.7)

From DoomRL Wiki

Jump to: navigation, search

All beings inherit from thing. This means all thing properties can be accessed in addition to the below.

Properties

Properties
can_dual_reload boolean This boolean's purpose is a mystery since a being's dual reload status can be determined without it.
hp int This is the being's current health.
hpmax word This is the being's maximum health.
hpnom word This is the being's normal health. It is used to scale the Ironman bonus in the Angel of Humanity challenge.
vision byte This is the being's vision radius. It is up to the being AI to respect this radius.
scount longint 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.
tohit shortint This accuracy modifier is applied to all of the being's attacks.
todam shortint This damage modifier is applied to all the being's melee attacks.
todamall shortint This damage modifier is applied to all the being's attacks.
tohitmelee shortint This accuracy modifier is applied to the being's melee attacks.
speed byte This is the rate at which the being's scount increases. It affects the speed of all actions.
armor byte This is the being's natural armor. It appears as protection against all attacks.
expvalue word This is the amount of experience that is awarded to the player when the being dies.
techbonus shortint This is the property used to implement Whizkid. It affects the number of mods that can be applied which in turn affects the level of assemblies that can be constructed.
pistolbonus shortint This is the property used to implement Son of a Gun. It affects pistol firing time and damage.
rapidbonus shortint This is the property used to implement Triggerhappy. Each point increases the number of shots fired by rapid-fire weapons by one.
bodybonus shortint This is one of the properties used to implement Badass. Each point reduces knockback by one.
dodgebonus shortint This is one of the properties used to implement Hellrunner. It increases the likelihood of dodging incoming attacks.
hpdecaymax word This is one of the properties used to implement Badass. It represents the threshold that kicks off health decay.
reloadtime byte This is the property used to implement Reloader. This is the percentage of normal reload time that the being takes to reload.
firetime byte This is the property used to implement Finesse. This is the percentage of normal fire time that the being takes to fire.
movetime byte This is one of the properties used to implement Hellrunner. This is the percentage of normal movement time that the being takes to move.
soundact word This is the being's .act sound.
soundhit word This is the being's .hit sound.
sounddie word This is the being's .die sound.
soundattack word This is the being's .attack sound.
soundmelee word This is the being's .melee sound.
soundhoof word This is the being's .hoof sound.
Personal tools