Difference between revisions of "Objflow.byaml"
(Cleanup) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{DISPLAYTITLE:objflow.byaml}} |
− | + | {{under-construction}} | |
− | + | == Overview == | |
− | + | '''objflow.byaml''' is a [[BYAML]] file found in the directory /[[Filesystem/Wii U/content|content]]/[[Filesystem/Wii U/content/data|data]] of the Wii U version of [[Mario Kart 8]]. It contains information about animations, hitboxes, object IDs, and many others. | |
− | |||
− | |||
− | |||
+ | == Object Values == | ||
+ | These values are assigned to each object, through the element '''<value>'''. The attributes and their functions are listed below. Functions marked as gray are unknown/unsure. | ||
{| class="wikitable" | {| class="wikitable" | ||
− | + | ! Name | |
− | ! | ||
! Function | ! Function | ||
|- | |- | ||
| AiReact | | AiReact | ||
− | | | + | | CPU reactions to objects. For example: ignore (decorations), avoid (obstacles), or collect (coins). |
|- | |- | ||
| CalcCut | | CalcCut | ||
− | | {{ | + | | {{unknown-left|Can be true or false.}} |
|- | |- | ||
| Clip | | Clip | ||
− | | Culling | + | | Culling of an object. Can be true or false. |
|- | |- | ||
| ClipRadius | | ClipRadius | ||
− | | Distance that the culling takes affect on | + | | {{unknown-left|Distance that the culling takes affect on.}} |
|- | |- | ||
| ColOffsetY | | ColOffsetY | ||
− | | {{Unknown}} | + | | {{unknown-left|Unknown.}} |
|- | |- | ||
| ColShape | | ColShape | ||
− | | {{ | + | | {{unknown-left|Shape of the collision of the object. Is mostly an integer.}} |
|- | |- | ||
| DemoCameraCheck | | DemoCameraCheck | ||
− | | {{ | + | | {{unknown-left|Can be true or false.}} |
|- | |- | ||
| LightSetting | | LightSetting | ||
− | | {{Unknown}} | + | | {{unknown-left|Unknown.}} |
|- | |- | ||
| Lod1 | | Lod1 | ||
− | | Distance needed away from object for Lod1 to load. | + | | {{unknown-left|Distance needed away from object for Lod1 to load.}} |
|- | |- | ||
| Lod2 | | Lod2 | ||
− | | Distance needed away from object for Lod2 to load. | + | | {{unknown-left|Distance needed away from object for Lod2 to load.}} |
|- | |- | ||
| Lod_NoDisp | | Lod_NoDisp | ||
− | | Distance needed away from | + | | {{unknown-left|Distance needed away from object to unload.}} |
|- | |- | ||
| MgrId | | MgrId | ||
− | | {{ | + | | {{unknown-left|"Mgr" usually means "Manager", which controls an object.}} |
|- | |- | ||
| ModelDraw | | ModelDraw | ||
− | | | + | | {{unknown-left|Defines if the object has a model or not.}} |
|- | |- | ||
| ModelEffNo | | ModelEffNo | ||
− | | {{ | + | | {{unknown-left|Sseems to be related to if an object has an "_FX" variant in the [[Filesystem/Wii U/content/mapobj|mapobj]] folder.}} |
|- | |- | ||
| MoveBeforeSync | | MoveBeforeSync | ||
− | | | + | | {{unknown-left|Defines if the object moves/animates before the countdown. Can be true or false.}} |
|- | |- | ||
| NotCreate | | NotCreate | ||
− | | | + | | Defines if the object spawns every time in their starting position, if they get displaced as pylons. Can be true or false.pylons |
|- | |- | ||
| ObjID | | ObjID | ||
− | | | + | | Defines what object it is. |
|- | |- | ||
| Offset | | Offset | ||
− | | Height offset from the muunt point's Y position. | + | | Height offset from the muunt point's Y position. |
|- | |- | ||
| Origin | | Origin | ||
− | | {{Unknown}} | + | | {{unknown-left|Unknown.}} |
|- | |- | ||
| PackunEat | | PackunEat | ||
− | | | + | | Defines if the Piranha Plant item will bite at the object. |
|- | |- | ||
| PathType | | PathType | ||
− | | {{Unknown}} | + | | {{unknown-left|Unknown.}} |
|- | |- | ||
| PylonReact | | PylonReact | ||
− | | {{Unknown}} | + | | {{unknown-left|Unknown.}} |
|- | |- | ||
| VR | | VR | ||
− | | | + | | Defines if the object is a skybox. |
− | |||
|} | |} | ||
− | = Object Hitbox Size = | + | == Object Hitbox Size == |
− | ''<Colsize>'' defines the collision size for the object. | + | '''<Colsize>''' defines the collision size for the object. It has X, Y and Z values that can be defined. |
− | = Item Behavior when touching Object = | + | == Item Behavior when touching Object == |
− | ''<Item type>'' lists 12 | + | '''<Item type>''' lists 12<ref name="note">Value can differ.</ref> values in an array. They dictate what the object does to each item when it collides with it. Each position in the array corresponds to an item. |
− | + | <references/> | |
− | |||
− | Each position in the array corresponds to an item | ||
{| class="wikitable" | {| class="wikitable" | ||
− | + | ! Value !! Function | |
|- | |- | ||
− | + | | 0 || {{unknown-left|Unknown.}} | |
|- | |- | ||
− | | | + | | 1 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 2 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 3 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 4 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 5 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 6 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 7 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 8 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 9 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 10 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 11 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 12 || {{unknown-left|Unknown.}} |
− | |||
− | |||
|} | |} | ||
+ | <!-- The values within the array range from 0 to 3(?), which can have different affects depending on each object...: --> | ||
− | + | == Object Behavior when touching Item == | |
− | + | '''<ItemObj type>''' lists 12<ref name="note">Value can differ.</ref> values in an array. They dictate what the item does to each object when it collides with it. Each position in the array corresponds to an item. | |
− | + | <references/> | |
− | = Object Behavior when touching Item = | ||
− | ''<ItemObj type>'' lists 12 | ||
− | |||
− | |||
− | |||
− | Each position in the array corresponds | ||
{| class="wikitable" | {| class="wikitable" | ||
− | + | ! Value !! Function | |
|- | |- | ||
− | + | | 0 || {{unknown-left|Unknown.}} | |
|- | |- | ||
− | | | + | | 1 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 2 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 3 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 4 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 5 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 6 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 7 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 8 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 9 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 10 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 11 || {{unknown-left|Unknown.}} |
|- | |- | ||
− | | | + | | 12 || {{unknown-left|Unknown.}} |
− | |||
− | |||
|} | |} | ||
+ | <!-- The values within the array range from 0 to 3(?), which can have different affects depending on each object...: --> | ||
− | + | == Vehicle Behavior when touching Object == | |
− | + | '''<Kart type>''' lists four<ref name="note">Value can differ.</ref> entries in an array. They dictate what happens to the vehicle when it touches the object. Each position in the array corresponds to what state the vehicle is in when touching the object. | |
− | + | <references/> | |
− | = | ||
− | ''<Kart type>'' lists | ||
− | |||
− | |||
− | Each position in the array corresponds to what state the vehicle is in when touching the object. | ||
{| class="wikitable" | {| class="wikitable" | ||
− | + | ! Value !! State | |
|- | |- | ||
− | + | | 0 || Normal. | |
|- | |- | ||
− | | | + | | 1 || In a boost. |
|- | |- | ||
− | | | + | | 2 || In a Star. |
|- | |- | ||
− | | | + | | 3 || In a Bullet Bill. |
|- | |- | ||
− | + | | 4 || In a Boo.<ref name="note">[[Mario Kart 8 Deluxe]] only.</ref> | |
− | |||
− | | 4 || In a Boo | ||
|} | |} | ||
+ | <references/> | ||
+ | <!-- The values within the array range from 0 to 3(?), which can have different affects depending on each object...: --> | ||
− | + | == Object Behavior when touching Vehicle == | |
− | + | '''<KartObj type>''' lists four<ref name="note">Value can differ.</ref> entries in an array. They dictate what happens to the object when a vehicle collides with it. Each position in the array corresponds to what state the vehicle is in when touching the object. | |
− | + | <references/> | |
− | = | ||
− | ''<KartObj type>'' lists | ||
− | |||
− | |||
− | Each position in the array corresponds | ||
{| class="wikitable" | {| class="wikitable" | ||
− | + | ! Value !! State | |
|- | |- | ||
− | + | | 0 || Normal. | |
|- | |- | ||
− | | | + | | 1 || In a boost. |
|- | |- | ||
− | | | + | | 2 || In a Star. |
|- | |- | ||
− | | | + | | 3 || In a Bullet Bill. |
|- | |- | ||
− | + | | 4 || In a Boo.<ref name="note">[[Mario Kart 8 Deluxe]] only.</ref> | |
− | |||
− | | 4 || In a Boo | ||
|} | |} | ||
+ | <references/> | ||
+ | <!-- The values within the array range from 0 to 3(?), which can have different affects depending on each object...: --> | ||
− | + | == Object Label == | |
− | + | '''<Label type>''' is the unique name of the object. It is also used for objects that share a base model but use different textures (i.e. multicolored Toads). The game will uses the object label to find the appropriate _Alb texture to use. | |
− | |||
− | = Object Label = | ||
− | ''<Label type>'' is the unique name of the object. It is also used for objects that share a base model but use different textures (i.e. multicolored Toads). The game will uses the object label to find the appropriate _Alb texture to use. | ||
− | = Model Name = | + | == Model Name == |
− | ''<ModelName type>'' lists which model should be used if the .bfres inside the ResName folder has multiple models inside. | + | '''<ModelName type>''' lists which model should be used if the .bfres inside the ResName folder has multiple models inside. |
− | = Resource Name = | + | == Resource Name == |
− | ''<ResName>'' points to the object's resource folder in mapobj. | + | '''<ResName>''' points to the object's resource folder in the [[Filesystem/Wii U/content/mapobj|mapobj]] directory . |
Revision as of 08:58, 16 June 2022
Overview
objflow.byaml is a BYAML file found in the directory /content/data of the Wii U version of Mario Kart 8. It contains information about animations, hitboxes, object IDs, and many others.
Object Values
These values are assigned to each object, through the element <value>. The attributes and their functions are listed below. Functions marked as gray are unknown/unsure.
Name | Function |
---|---|
AiReact | CPU reactions to objects. For example: ignore (decorations), avoid (obstacles), or collect (coins). |
CalcCut | Can be true or false. |
Clip | Culling of an object. Can be true or false. |
ClipRadius | Distance that the culling takes affect on. |
ColOffsetY | Unknown. |
ColShape | Shape of the collision of the object. Is mostly an integer. |
DemoCameraCheck | Can be true or false. |
LightSetting | Unknown. |
Lod1 | Distance needed away from object for Lod1 to load. |
Lod2 | Distance needed away from object for Lod2 to load. |
Lod_NoDisp | Distance needed away from object to unload. |
MgrId | "Mgr" usually means "Manager", which controls an object. |
ModelDraw | Defines if the object has a model or not. |
ModelEffNo | Sseems to be related to if an object has an "_FX" variant in the mapobj folder. |
MoveBeforeSync | Defines if the object moves/animates before the countdown. Can be true or false. |
NotCreate | Defines if the object spawns every time in their starting position, if they get displaced as pylons. Can be true or false.pylons |
ObjID | Defines what object it is. |
Offset | Height offset from the muunt point's Y position. |
Origin | Unknown. |
PackunEat | Defines if the Piranha Plant item will bite at the object. |
PathType | Unknown. |
PylonReact | Unknown. |
VR | Defines if the object is a skybox. |
Object Hitbox Size
<Colsize> defines the collision size for the object. It has X, Y and Z values that can be defined.
Item Behavior when touching Object
<Item type> lists 12[1] values in an array. They dictate what the object does to each item when it collides with it. Each position in the array corresponds to an item.
- ↑ Value can differ.
Value | Function |
---|---|
0 | Unknown. |
1 | Unknown. |
2 | Unknown. |
3 | Unknown. |
4 | Unknown. |
5 | Unknown. |
6 | Unknown. |
7 | Unknown. |
8 | Unknown. |
9 | Unknown. |
10 | Unknown. |
11 | Unknown. |
12 | Unknown. |
Object Behavior when touching Item
<ItemObj type> lists 12[1] values in an array. They dictate what the item does to each object when it collides with it. Each position in the array corresponds to an item.
- ↑ Value can differ.
Value | Function |
---|---|
0 | Unknown. |
1 | Unknown. |
2 | Unknown. |
3 | Unknown. |
4 | Unknown. |
5 | Unknown. |
6 | Unknown. |
7 | Unknown. |
8 | Unknown. |
9 | Unknown. |
10 | Unknown. |
11 | Unknown. |
12 | Unknown. |
Vehicle Behavior when touching Object
<Kart type> lists four[1] entries in an array. They dictate what happens to the vehicle when it touches the object. Each position in the array corresponds to what state the vehicle is in when touching the object.
- ↑ Value can differ.
Value | State |
---|---|
0 | Normal. |
1 | In a boost. |
2 | In a Star. |
3 | In a Bullet Bill. |
4 | In a Boo.[1] |
- ↑ Mario Kart 8 Deluxe only.
Object Behavior when touching Vehicle
<KartObj type> lists four[1] entries in an array. They dictate what happens to the object when a vehicle collides with it. Each position in the array corresponds to what state the vehicle is in when touching the object.
- ↑ Value can differ.
Value | State |
---|---|
0 | Normal. |
1 | In a boost. |
2 | In a Star. |
3 | In a Bullet Bill. |
4 | In a Boo.[1] |
- ↑ Mario Kart 8 Deluxe only.
Object Label
<Label type> is the unique name of the object. It is also used for objects that share a base model but use different textures (i.e. multicolored Toads). The game will uses the object label to find the appropriate _Alb texture to use.
Model Name
<ModelName type> lists which model should be used if the .bfres inside the ResName folder has multiple models inside.
Resource Name
<ResName> points to the object's resource folder in the mapobj directory .