Scheduled system upgrade on Sunday 21 April 2024 15:00-16:00 UTC - On that day, the wiki and other services might go down for 5-15 minutes.

Map unit and Bumii: Difference between pages

From ZeldaMods (Breath of the Wild)
(Difference between pages)
Jump to navigation Jump to search
imported>Leoetlino
m (→‎Definitions: fix formatting)
 
imported>Leoetlino
 
Line 1: Line 1:
{{Stub|what=Complete the contents section, the link system, mention static vs dynamic (and possibly other things)}}
{{lowercase}}
{{stub|what=Needs descriptions.}}<onlyinclude>
{{Parameter archive infobox|param_type=bumii|version=0|type=xml}}
'''UMii''' (bumii) files configure the physical traits of a NPC.
</onlyinclude>
= Parameter objects =
{{AampNameWarning}}
== ffsd ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| no_use_ffsd || bool || - || False
|-
| type || int || - || 0
|-
|}


== Contents ==
== body ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| type || int ||
* 0: C
* 1: N
* 2: T
* More?
|| 0
|-
| number || int || Body variant (last part of the model name) || 0
|-
| race || int ||
* 0: Hylia
* 1:
* 2:
* 3:
* 4:
* 5:
* 6: Rito
* More?
|| 0
|-
| weight || int || - || 1
|-
| height || int || - || 0
|-
|}


=== <code>LocationPosX</code> ===
== personal ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| fav_color || int || - || 0
|-
| sub_color_1 || int || - || -1
|-
| sub_color_2 || int || - || -1
|-
| voice_type || str || - || Hylia_Man_Kid_Normal00
|-
| shoulder_fav_color || int || - || -1
|-
| sex_age || int ||
* 0:
* 1: M (Man)
* 2: X (Old man){{check}}
* 3:
* 4: W (Woman)
* More?
|| 0
|-
| personality || str || - ||
|-
| head_fav_color || int || - || -1
|-
| shoulder_sub_color_1 || int || - || -1
|-
|}


=== <code>LocationPosZ</code> ===
== korog ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| mask || int || - || 0
|-
| skin_color || int || - || 0
|-
| left_plant || int || - || 0
|-
| right_plant || int || - || 0
|-
|}


=== <code>LocationSize</code> ===
== goron ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| skin_color || int || - || 0
|-
|}


=== <code>Objs</code> ===
== gerudo ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| skin_color || int || - || 0
|-
| hair || int || - || 0
|-
| hair_color || int || - || 0
|-
| lip_color || int || - || 0
|-
| glass || int || - || 0
|-
| glass_color || int || - || 0
|-
|}


=== <code>Rails</code> ===
== rito ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| body_color || int ||
* 0:
* 1:
* 2:
* 3:
* 4:
* 5:
* 6:
* 7:
* 8:
* 9: Green
* More...
|| 0
|-
| hair_color || int || - || -1
|-
|}


== Link system ==
== common ==
===Definitions===
{|class="wikitable"
{|class="wikitable"
! ID !! Name !! Description !! Official description
! Key !! Type !! Description !! Default value
|-
|-
| 4 || -AxisX || - || マイナスX軸シグナル
| backpack || int || - || -1
|-
|-
| 5 || -AxisY || - || マイナスY軸シグナル
| hat || int || - || -1
|-
|-
| 6 || -AxisZ || - || マイナスZ軸シグナル
| no_hat_always || bool || - || False
|-
|-
| 24 || AreaCol || - || エリア(センサ)指定
| body_correct || int || - || 0
|-
|-
| 1 || AxisX || - || X軸シグナル
| is_mid_age || bool || - || False
|-
|-
| 2 || AxisY || - || Y軸シグナル
| rot_cravicle || float || - || 0.0
|-
|-
| 3 || AxisZ || - || Z軸シグナル
| rot_arm || float || - || 0.0
|-
|-
| 37 || BAndSCs || - || ボール&ソケットCS
| rot_leg || float || - || 0.0
|-
|-
| 38 || BAndSLimitAngYCs || - || Y角速度制限付ボール&ソケットCS
| rot_crotch || float || - || 0.0
|-
|-
| 0 || BasicSig || - || 基本シグナル
|}
 
== zora ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
|-
| 9 || BasicSigOnOnly || - || オンのみ基本シグナル
| body_color || int || - || 0
|-
|-
| 14 || ChangeAtnSig || - || アテンション変更時シグナル
|}
 
== shape ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
|-
| 39 || CogWheelCs || - || 歯車CS
| jaw || int || - || 0
|-
|-
| 21 || CopyWaitRevival || - || 配置自動セーブ継承
| wrinkle || int || - || 0
|-
|-
| 15 || Create || - || 生成
| make || int || - || 0
|-
|-
| 11 || DeadUp || - || 死んだらオン
| skin_color || int || - || 0
|-
|-
| 16 || Delete || - || 削除
| trans_v || float || - || 0.0
|-
|-
| 29 || DemoMember || - || デモ参加
| scale || float || - || 1.0
|-
|-
| 32 || FixedCs || - || 固定CS
|}
 
== eye ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
|-
| 26 || ForSale || - || 売り物
| type || int || - || 2
|-
|-
| 19 || ForbidAttention || - || アテンションタイプ変更
| color || int || - || 0
|-
|-
| 18 || Freeze || - || 凍結
| trans_v || float || - || 3.0
|-
|-
| 7 || GimmickSuccess || - || ネタ成功シグナル
| trans_u || float || - || 2.0
|-
|-
| 33 || HingeCs || - || ヒンジCS
| rotate || float || - || 0.0
|-
|-
| 12 || LifeZero || - || ライフ0
| scale || float || - || 4.0
|-
|-
| 34 || LimitHingeCs || - || 制限付ヒンジCS
| aspect || float || - || 3.0
|-
|-
| 27 || ModelBind || - || モデルバインド
| eyeball_trans_u || float || - || 0.0
|-
|-
| 17 || MtxCopyCreate || - || 位置継承生成
| eyeball_trans_v || float || - || 0.0
|-
|-
| 22 || OffWaitRevival || - || 配置自動セーブオフ
| eyeball_scale || float || - || 0.0
|-
|-
| 30 || PhysSystemGroup || - || 物理システムグループ
| highlight_bright || int || - || 0
|-
|-
| 28 || PlacementLOD || - || 配置LOD
|}
 
== eyebrow ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
|-
| 36 || PulleyCs || - || 滑車CS
| type || int || - || 6
|-
|-
| 40 || RackAndPinionCs || - || ラック&ピニオンCS
| color || int || - || 0
|-
|-
| 23 || Recreate || - || 再生成
| trans_v || float || - || 7.0
|-
|-
| 41 || Reference || - || 参照
| trans_u || float || - || 2.0
|-
|-
| 10 || Remains || - || 遺物シグナル
| rotate || float || - || 0.0
|-
|-
| 25 || SensorBind || - || センサバインド
| scale || float || - || 4.0
|-
|-
| 35 || SliderCs || - || スライダーCS
| aspect || float || - || 3.0
|-
|-
| 13 || Stable || - || 安定
|}
 
== nose ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
|-
| 31 || StackLink || - || スタック
| type || int || - || 1
|-
|-
| 20 || SyncLink || - || 生成グループ
| trans_v || float || - || 9.0
|-
|-
| 8 || VelocityControl || - || 速度制御シグナル
| scale || float || - || 4.0
|-
|-
|}
|}


== File formats ==
== mouth ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| type || int || - || 3
|-
| color || int || - || 0
|-
| trans_v || float || - || 13.0
|-
| scale || float || - || 4.0
|-
| aspect || float || - || 3.0
|-
|}
 
== beard ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| mustache || int || - || 0
|-
| scale || float || - || 4.0
|-
| type || int || - || 0
|-
| color || int || - || 0
|-
|}
 
== glass ==
== eye_ctrl ==
{|class="wikitable"
! Key !! Type !! Description !! Default value
|-
| base_offset || vec3 || - || Vec3(x=0.0, y=0.029999999329447746, z=0.0)
|-
| translim_out || float || - || 0.2
|-
| translim_in || float || - || 0.12
|-
| translim_d || float || - || 0.3
|-
| translim_u || float || - || 0.1
|-
| neck_offset_ud || float || - || 0.0
|-
|}


=== Map unit binary ===
= Parameter lists =
In ''Breath of the Wild'', map units are stored in a binary format and given the ''mubin'' (Map Unit Binary) file extension. All map object IDs are replaced with CRC32 hashes as a space optimisation. [[BYML]] is used as the serialisation format.
{{No AAMP param}}


=== Source map unit ===
[[Category:File extensions]]
Source map units have muunt<ref>The executable has remnants of functions that can load map units with the following path: <code>Map/Project/%s/Data/%s/%s.muunt</code> (in what appears to be development code)</ref> as their file extension and use strings for map object IDs such as <code>F-5_challenge.muunt/obj760</code> instead of CRC32 hashes of the IDs in map unit binaries.
[[Category:File extensions (AAMP)]]
[[Category:Internals]]
[[Category:Actor parameter files]]
<references />
[[Category:File formats]]

Revision as of 13:44, 31 October 2018

bumii
Format AAMP
Version 0
Type xml
This article is about the structure in general. For actual values, check the GameROM or the pseudo-source.

UMii (bumii) files configure the physical traits of a NPC.

Parameter objects

Important note: the following listing was automatically generated from game content files. If some names look weird or contain typos, it's Nintendo's fault.

ffsd

Key Type Description Default value
no_use_ffsd bool - False
type int - 0

body

Key Type Description Default value
type int
  • 0: C
  • 1: N
  • 2: T
  • More?
0
number int Body variant (last part of the model name) 0
race int
  • 0: Hylia
  • 1:
  • 2:
  • 3:
  • 4:
  • 5:
  • 6: Rito
  • More?
0
weight int - 1
height int - 0

personal

Key Type Description Default value
fav_color int - 0
sub_color_1 int - -1
sub_color_2 int - -1
voice_type str - Hylia_Man_Kid_Normal00
shoulder_fav_color int - -1
sex_age int
  • 0:
  • 1: M (Man)
  • 2: X (Old man)[check]
  • 3:
  • 4: W (Woman)
  • More?
0
personality str -
head_fav_color int - -1
shoulder_sub_color_1 int - -1

korog

Key Type Description Default value
mask int - 0
skin_color int - 0
left_plant int - 0
right_plant int - 0

goron

Key Type Description Default value
skin_color int - 0

gerudo

Key Type Description Default value
skin_color int - 0
hair int - 0
hair_color int - 0
lip_color int - 0
glass int - 0
glass_color int - 0

rito

Key Type Description Default value
body_color int
  • 0:
  • 1:
  • 2:
  • 3:
  • 4:
  • 5:
  • 6:
  • 7:
  • 8:
  • 9: Green
  • More...
0
hair_color int - -1

common

Key Type Description Default value
backpack int - -1
hat int - -1
no_hat_always bool - False
body_correct int - 0
is_mid_age bool - False
rot_cravicle float - 0.0
rot_arm float - 0.0
rot_leg float - 0.0
rot_crotch float - 0.0

zora

Key Type Description Default value
body_color int - 0

shape

Key Type Description Default value
jaw int - 0
wrinkle int - 0
make int - 0
skin_color int - 0
trans_v float - 0.0
scale float - 1.0

eye

Key Type Description Default value
type int - 2
color int - 0
trans_v float - 3.0
trans_u float - 2.0
rotate float - 0.0
scale float - 4.0
aspect float - 3.0
eyeball_trans_u float - 0.0
eyeball_trans_v float - 0.0
eyeball_scale float - 0.0
highlight_bright int - 0

eyebrow

Key Type Description Default value
type int - 6
color int - 0
trans_v float - 7.0
trans_u float - 2.0
rotate float - 0.0
scale float - 4.0
aspect float - 3.0

nose

Key Type Description Default value
type int - 1
trans_v float - 9.0
scale float - 4.0

mouth

Key Type Description Default value
type int - 3
color int - 0
trans_v float - 13.0
scale float - 4.0
aspect float - 3.0

beard

Key Type Description Default value
mustache int - 0
scale float - 4.0
type int - 0
color int - 0

glass

eye_ctrl

Key Type Description Default value
base_offset vec3 - Vec3(x=0.0, y=0.029999999329447746, z=0.0)
translim_out float - 0.2
translim_in float - 0.12
translim_d float - 0.3
translim_u float - 0.1
neck_offset_ud float - 0.0

Parameter lists

(none)