ActorTemplate: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(Removed redirect to ActorTemplate)
imported>Leoetlino
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Subsystem infobox|name=ActorTemplate|is_name_official=1|description=Utilities for querying data from [[ActorTemplate.byml]]|init_addr_switch150=000000710108A0A0}}
==Configuration==
{{stub}}
<onlyinclude>
{{Resloc|type=directory|path=Actor/ActorTemplate.byml|locations=[[Bootup.pack]]/Actor}}
'''Actor/ActorTemplate.byml''' configures the game's [[actor]] profiles.
</onlyinclude>
=== Contents ===
The root structure is a dictionary. Each entry has the actor profile name as the key and a config dict as the value:
 
{|class="wikitable"
! Key !! Type !! Description
|-
| attdefpriority || str || Attention default priority {{check}} (optional in some cases)
|-
| attpriority || array of strings || Attention priorities {{check}} (optional in some cases)
|-
| class || str || Name of the C++ actor class
|-
| priority || str || Actor priority (when should this actor's jobs run?)<br>Valid values: PlayerBefore, Player, PlayerAfter, AllAfter
|}
 
[[Category: Content (BotW)]]
 
==Subsystem==
{{Subsystem infobox|name=ActorTemplate|is_name_official=1|description=Utilities for querying data from Actor/ActorTemplate.byml|init_addr_switch150=000000710108A0A0}}
'''ActorTemplate''' is also the name of the associated C++ subsystem.


[[Category: Internals]]
[[Category: Internals]]
[[Category: Subsystems (BotW)]]
[[Category: Subsystems (BotW)]]

Latest revision as of 20:18, 14 October 2019

Configuration

This directory is found in Bootup.pack/Actor.

Its canonical resource path is "Actor/ActorTemplate.byml".

Actor/ActorTemplate.byml configures the game's actor profiles.

Contents

The root structure is a dictionary. Each entry has the actor profile name as the key and a config dict as the value:

Key Type Description
attdefpriority str Attention default priority [check] (optional in some cases)
attpriority array of strings Attention priorities [check] (optional in some cases)
class str Name of the C++ actor class
priority str Actor priority (when should this actor's jobs run?)
Valid values: PlayerBefore, Player, PlayerAfter, AllAfter

Subsystem

ActorTemplate
Subsystem
Official name Yes
Description Utilities for querying data from Actor/ActorTemplate.byml
Init function Switch 1.5.0: 000000710108A0A0
Wii U 1.5.0: ???
Debug only No

ActorTemplate is also the name of the associated C++ subsystem.