This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
arch:arch_attributes:w [2018/04/12 09:19] karl [weight_speed_ratio and base_speed] Formatting |
arch:arch_attributes:w [2018/04/13 03:05] (current) karl Add all the "enhancements" from recent object_types page |
||
---|---|---|---|
Line 2: | Line 2: | ||
Object attributes beginning with the letter **w** . | Object attributes beginning with the letter **w** . | ||
- | Taken from the (unsorted) wholepage [[:dev:Object Fields]] . | + | Partly taken from the (unsorted) wholepage [[:dev:Object Fields]] . |
- | ===== List == | + | ===== List of attributes == |
==== wc ==== | ==== wc ==== | ||
Line 14: | Line 14: | ||
See also [[a#ac]] . | See also [[a#ac]] . | ||
+ | ==== weapon_speed == | ||
+ | Type: float | ||
+ | |||
+ | Comment: The overall speed of this object | ||
+ | |||
+ | Meaning: | ||
+ | |||
+ | ==== weapon_speed_left == | ||
+ | Type: float | ||
+ | |||
+ | Comment: How much speed is left to spend this round | ||
+ | |||
+ | Meaning: | ||
==== weapontype ==== | ==== weapontype ==== | ||
Type: uint32 | Type: uint32 | ||
+ | |||
+ | Comment: Type of weapon | ||
Meaning: | Meaning: | ||
Line 22: | Line 37: | ||
==== weight ==== | ==== weight ==== | ||
Type: sint32 | Type: sint32 | ||
+ | |||
+ | Comment: Attributes of the object | ||
Meaning: | Meaning: | ||
Line 27: | Line 44: | ||
==== weight_limit ==== | ==== weight_limit ==== | ||
Type: sint32 | Type: sint32 | ||
+ | |||
+ | Comment: Weight-limit of object | ||
Meaning: | Meaning: | ||
Line 36: | Line 55: | ||
''speed = base_speed - (base_speed * (weight the transport is carrying) * weight_speed_ratio) / (transport's weight_limit * 100) '' \\ | ''speed = base_speed - (base_speed * (weight the transport is carrying) * weight_speed_ratio) / (transport's weight_limit * 100) '' \\ | ||
FIXME | FIXME | ||
+ | |||
==== will_apply ==== | ==== will_apply ==== | ||
Type: uint8 | Type: uint8 | ||
+ | |||
+ | Comment: See crossfire.doc and @ref WILL_APPLY_xxx | ||
Meaning: | Meaning: |