Content/Actor: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
mNo edit summary
imported>Leoetlino
(bactorpack, beventpack -> actor pack, event pack)
 
(20 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{{Resloc|type=directory|path=Actor|locations=the unpacked content files, [[Bootup.pack]], [[TitleBG.pack]], [[bactorpack]]s, [[beventpack]]s, and [[dungeon packs]]|aoc_locations=[[dungeon pack]]s|aoc_replaces_base=}}
{{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.
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>
</onlyinclude>
== Files ==
== Files ==
 
{{cs|target=ActorInfo.product.sbyml|text=ActorInfo.product.byml}}
=== [[ActorInfo.product.sbyml]] ===
{{cs|target=ActorTemplate.byml|text=ActorTemplate.byml}}
{{Resloc|type=file|path=Actor/ActorInfo.product.byml|locations=the base content files}}
{{cs|target=ASSetting.bassetting|text=ASSetting.bassetting}}
A [[BYML]] file that contains information about every actor in the game, allowing it to be read without loading the entire actor. 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.
{{cs|target=ResidentActors.byml|text=ResidentActors.byml}}
 
=== [[ActorTemplate.byml]] ===
{{Resloc|type=directory|path=Actor/ActorTemplate.byml|locations=[[Bootup.pack]]/Actor}}
{{empty section}}
 
=== [[ASSetting.bassetting]] ===
{{Resloc|type=directory|path=Actor/ASSetting.bassetting|locations=[[Bootup.pack]]/Actor}}
{{empty section}}
 
=== [[ResidentActors.byml]] ===
{{Resloc|type=directory|path=Actor/ResidentActors.byml|locations=[[Bootup.pack]]/Actor}}
{{empty section}} 


== Directories ==
== Directories ==
Line 32: Line 21:


=== [[AS]] ===
=== [[AS]] ===
{{Resloc|type=directory|path=Actor/AS/|locations=[[bactorpack]]s, [[beventpack]]s, and [[TitleBG.pack]]/Actor/AS|aoc_locations=|aoc_replaces_base=}}
{{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]].
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 ===
{{Resloc|type=directory|path=Actor/Pack|locations=[[dungeon packs]], [[Bootup.pack]] and [[TitleBG.pack]]|aoc_locations=[[dungeon packs]]|aoc_replaces_base=}}
{{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 [[bactorpack]] archives, each of which contains the data for one actor.
Contains a collection of [[actor pack]] archives, each of which contains the data for one actor.


=== AIDef ===
=== AIDef ===
Line 54: Line 43:
{{Resloc|type=directory|path=Actor/XLink/|locations=[[Bootup.pack]]/Actor}}
{{Resloc|type=directory|path=Actor/XLink/|locations=[[Bootup.pack]]/Actor}}
Contains [[XLinkInfo.byml]].
Contains [[XLinkInfo.byml]].
[[Category:Content (BotW)]]
[[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.