Content/Actor: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>BravelyPeculiar
imported>Leoetlino
(bactorpack, beventpack -> actor pack, event pack)
 
(56 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The '''Actor''' folder contains data on the game's [[Actor]] assets. There are several different versions of this folder, and this page discusses the version found at ''Content/Actor''.
<onlyinclude>
{{Resloc|type=directory|path=Actor|locations=the unpacked content files, [[Bootup.pack]], [[TitleBG.pack]], [[actor pack]]s, [[event pack]]s, and [[dungeon pack]]s|aoc_locations=[[dungeon pack]]s|aoc_replaces_base=}}
The '''Actor''' directory contains files defining the actor objects that populate the game world (e.g. enemies, buildings, NPCs). It also includes configuration files for the actor and AI system.
</onlyinclude>


If the game fails to find a file located inside ''[[Bootup.pack/Actor]]'', ''[[TitleBG.pack/Actor]]'', or a ''[[.sbactorpack#.sbactorpack/Actor|.sbactorpack/Actor]]'', it will look inside this folder instead. This can be useful when testing mods: in order to avoid having to repeatedly unpack and repack archives, the file in the archive can be removed or renamed, forcing the game to look here instead.
== Files ==
{{cs|target=ActorInfo.product.sbyml|text=ActorInfo.product.byml}}
{{cs|target=ActorTemplate.byml|text=ActorTemplate.byml}}
{{cs|target=ASSetting.bassetting|text=ASSetting.bassetting}}
{{cs|target=ResidentActors.byml|text=ResidentActors.byml}}


== Files ==
== Directories ==
=== [[ActorInfo.product.sbyml]] ===
 
A [[BYML]] file that contains some information about every actor in the game, allowing it to be read without loading the .sbactorpack. The values for weapon and armor stats that are displayed on the inventory screen are defined here. All actors in the game must have an entry in this file in order to be loaded properly.
=== [[ActorParam#Resources|ActorParam]] directories ===
 
==== In [[Bactorpack|actor packs]] ====
Actor configuration files.
 
==== In [[Bootup.pack]] ====
Dummy [[ActorParam]] configuration files that are used as fallback when loading actors. 


== Folders ==
=== [[AS]] ===
{{Resloc|type=directory|path=Actor/AS/|locations=the Actor directory in [[actor pack]]s, [[event pack]]s, and [[TitleBG.pack]]|aoc_locations=|aoc_replaces_base=}}
Contains a collection of [[Bactorpack|bas]] files, each of which represents an animation that can be called by an [[actor]] or [[Demo|cutscene]].


=== Pack ===
=== Pack ===
Contains a collection of [[.sbactorpack]] archives, each of which contains the data for one actor.
{{Resloc|type=directory|path=Actor/Pack|locations=the Actor directory in [[dungeon pack]]s, [[Bootup.pack]] and [[TitleBG.pack]]|aoc_locations=the Actor directory in [[dungeon pack]]s|aoc_replaces_base=}}
Contains a collection of [[actor pack]] archives, each of which contains the data for one actor.
 
=== AIDef ===
{{Resloc|type=directory|path=Actor/AIDef/|locations=[[Bootup.pack]]/Actor}}
Contains [[AIDef_Game.product.byml]].
 
=== Effect ===
{{Resloc|type=directory|path=Actor/Effect/|locations=[[Bootup.pack]]/Actor}}
Contains [[EffectInfo.byml]].
 
=== Sound ===
{{Resloc|type=directory|path=Actor/Sound/|locations=[[Bootup.pack]]/Actor}}
Contains [[SoundInfo.byml]].
 
=== XLink ===
{{Resloc|type=directory|path=Actor/XLink/|locations=[[Bootup.pack]]/Actor}}
Contains [[XLinkInfo.byml]].
[[Category:Content (BotW)]]

Latest revision as of 22:31, 11 March 2020

This directory is found in the unpacked content files, Bootup.pack, TitleBG.pack, actor packs, event packs, and dungeon packs.

Its canonical resource path is "Actor".

In the add-on content, it is found in dungeon packs.

The Actor directory contains files defining the actor objects that populate the game world (e.g. enemies, buildings, NPCs). It also includes configuration files for the actor and AI system.


Files

ActorInfo.product.byml

This file is not listed in the game's resource size table.

ActorInfo.product.sbyml (found in the Actor directory) is a Yaz0-compressed BYML file which contains general information about all actors in the game. It is used when constructing actors, and also used to access actor data efficiently when loading the full actor pack is unnecessary (e.g. on menu screens). Therefore, in order to add new actors, or to change items' parameters on menu screens, this file must be edited.

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.

ActorTemplate

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.

ASSetting.bassetting

ResidentActors.byml

ResidentActors is a BYML file that contains a list of resident actors, i.e. actors that are always loaded in memory.

Directories

ActorParam directories

In actor packs

Actor configuration files.

In Bootup.pack

Dummy ActorParam configuration files that are used as fallback when loading actors. 

AS

This directory is found in the Actor directory in actor packs, event packs, and TitleBG.pack.

Its canonical resource path is "Actor/AS/".

Contains a collection of bas files, each of which represents an animation that can be called by an actor or cutscene.

Pack

This directory is found in the Actor directory in dungeon packs, Bootup.pack and TitleBG.pack.

Its canonical resource path is "Actor/Pack".

In the add-on content, it is found in the Actor directory in dungeon packs.

Contains a collection of actor pack archives, each of which contains the data for one actor.

AIDef

This directory is found in Bootup.pack/Actor.

Its canonical resource path is "Actor/AIDef/".

Contains AIDef_Game.product.byml.

Effect

This directory is found in Bootup.pack/Actor.

Its canonical resource path is "Actor/Effect/".

Contains EffectInfo.byml.

Sound

This directory is found in Bootup.pack/Actor.

Its canonical resource path is "Actor/Sound/".

Contains SoundInfo.byml.

XLink

This directory is found in Bootup.pack/Actor.

Its canonical resource path is "Actor/XLink/".

Contains XLinkInfo.byml.