ActorInfo.product.sbyml: Difference between revisions
Jump to navigation
Jump to search
m
no edit summary
imported>Leoetlino (add product category) |
imported>BravelyPeculiar mNo edit summary |
||
Line 6: | Line 6: | ||
ActorInfo is a machine generated file. It is not meant to be edited directly; much of the information it includes are either automatically generated or copied from [[ActorParam]] files (which can be found in the game [[content]]) and other source-only files. | ActorInfo is a machine generated file. It is not meant to be edited directly; much of the information it includes are either automatically generated or copied from [[ActorParam]] files (which can be found in the game [[content]]) and other source-only files. | ||
</onlyinclude> | </onlyinclude> | ||
== Contents == | == Contents == | ||
=== Actors === | === Actors === | ||
'''Actors''' is an array of | '''Actors''' is an array of dictionaries. | ||
Each actor has its own entry in this array, which must have the following properties: | Each actor has its own entry in this array, which must have the following properties: | ||
{| class="wikitable" | |||
{|class="wikitable" | !Key | ||
! Key | !Type | ||
!Description | |||
|- | |- | ||
| bugMask | |bugMask | ||
|int | |||
|? | |||
|- | |- | ||
| instSize | |instSize | ||
|int | |||
|Size of the heap that will be allocated for an actor instance | |||
|- | |- | ||
| name | |name | ||
|str | |||
|Actor name | |||
|- | |- | ||
| profile | |profile | ||
|str | |||
|Profile name (see [[ActorTemplate]]) | |||
|- | |- | ||
| sortKey | |sortKey | ||
|int | |||
|? | |||
|- | |- | ||
| tags | |tags | ||
|dict | |||
|A dictionary with entries of the form (key=tag%08x, value=crc32_hash) where %08x is the hex representation of the CRC32 hash of the tag name. The value is an unsigned int if it is greater than 0x80000000 and a regular int otherwise. | |||
|- | |- | ||
| yLimitAlgorithm | |yLimitAlgorithm | ||
|str | |||
|See [[ActorParam/LifeCondition]]. This might not be a required entry. {{check}} | |||
|} | |} | ||
Line 36: | Line 53: | ||
Similar to tag values, each number is stored as an unsigned int if it is greater than 0x80000000 and as a signed int otherwise. | Similar to tag values, each number is stored as an unsigned int if it is greater than 0x80000000 and as a signed int otherwise. | ||
[[Category:Content (BotW)]] | |||
[[Category: Content (BotW)]] | |||
[[Category:Content (BotW, product)]] | [[Category:Content (BotW, product)]] |