Prototype/CharacterCorpse: Difference between revisions
Jump to navigation
Jump to search
(Added prototype type to page) |
(Converted to SMW format) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Entity}} | |||
Prototype | The corpse of a [[Prototype/Character]]. | ||
{{Prototype TOC|character-corpse}} | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/Entity]]. | This prototype inherits all the properties from [[Prototype/Entity]]. | ||
{{Prototype property|time_to_live|[[Types/uint32|uint32]]}} | |||
== Optional properties == | == Optional properties == | ||
{{Prototype property|render_layer|[[Types/RenderLayer|RenderLayer]]|"object"|optional=true}} | |||
{{Prototype property|pictures|[[Types/AnimationVariations|AnimationVariations]]|optional=true}} | |||
Either <code>pictures</code> or <code>picture</code> must be defined. | Either <code>pictures</code> or <code>picture</code> must be defined. | ||
{{Prototype property|picture|[[Types/Animation|Animation]]|optional=true}} | |||
Either <code>pictures</code> or <code>picture</code> must be defined. | Either <code>pictures</code> or <code>picture</code> must be defined. | ||
{{Prototype property|armor_picture_mapping|[[Types/table|table]]|optional=true}} | |||
Table of key value pairs, the keys are armor names and the values are numbers. The number is the Animation that is associated with the armor, e.g. using <code>1</code> will associate the armor with the first Animation in the pictures table. | Table of key value pairs, the keys are armor names and the values are numbers. The number is the Animation that is associated with the armor, e.g. using <code>1</code> will associate the armor with the first Animation in the pictures table. |
Latest revision as of 20:15, 29 July 2019
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/CharacterCorpse
The corpse of a Prototype/Character.
Mandatory properties
This prototype inherits all the properties from Prototype/Entity.
time_to_live
Type: uint32
Optional properties
render_layer
Type: RenderLayer
Default: "object"
pictures
Type: AnimationVariations
Either pictures
or picture
must be defined.
picture
Type: Animation
Either pictures
or picture
must be defined.
armor_picture_mapping
Type: table
Table of key value pairs, the keys are armor names and the values are numbers. The number is the Animation that is associated with the armor, e.g. using 1
will associate the armor with the first Animation in the pictures table.