Bdrop: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>BravelyPeculiar
No edit summary
imported>BravelyPeculiar
No edit summary
Line 4: Line 4:
'''.bdrop''' files in [[Content/Actor|Actor]]/DropTable configure item drops for each actor.
'''.bdrop''' files in [[Content/Actor|Actor]]/DropTable configure item drops for each actor.
</onlyinclude>
</onlyinclude>
== Parameter objects ==
== Parameter objects ==
=== Header ===
=== Header ===
{|class="wikitable"
{| class="wikitable"
! Key !! Type !! Description
! Key  
! Type  
! Description
|-
|-
| TableNum || int || Number of tables
| TableNum  
| int  
| Number of tables
|-
|-
| {{AampIndexedParam|key=Table%02d|start_idx=1}} || str64 || Name of the drop table
| {{AampIndexedParam|key=Table%02d|start_idx=1}}  
| str64  
| Name of the drop table
|}
|}


=== {{Placeholder AAMP param name|name=[TableName]}} ===
=== {{Placeholder AAMP param name|name=[TableName]}} ===
{|class="wikitable"
{| class="wikitable"
! Key !! Type !! Description
! Key  
! Type  
! Description
|-
|-
| ColumnNum || int || Number of items
| ColumnNum  
| int  
| Number of items
|-
|-
| RepeatNumMin || int || Min number of items that can be dropped (抽選回数最小)
| RepeatNumMin  
| int  
| Min number of items that can be dropped (抽選回数最小)
|-
|-
| RepeatNumMax || int || Max number of items that can be dropped (抽選回数最大)
| RepeatNumMax  
| int  
| Max number of items that can be dropped (抽選回数最大)
|-
|-
| ApproachType || int || {{check}} (姿勢)
| ApproachType  
| int  
| {{check}} (姿勢)
|-
|-
| OccurrenceSpeedType || int || {{check}} (発生速度)
| OccurrenceSpeedType  
| int  
| {{check}} (発生速度)
|-
|-
| {{AampIndexedParam|key=ItemName%02d|start_idx=1}} || str64 || Name of the actor that can be dropped
| {{AampIndexedParam|key=ItemName%02d|start_idx=1}}  
| str64  
| Name of the actor that can be dropped
|-
|-
| {{AampIndexedParam|key=ItemProbability%02d|start_idx=1}} || float || Drop probability (0.0 to 100.0)
| {{AampIndexedParam|key=ItemProbability%02d|start_idx=1}}  
| float  
| Drop probability (0.0 to 100.0)
|}
|}


Line 37: Line 61:
[[Category:File extensions]]
[[Category:File extensions]]
[[Category:File extensions (AAMP)]]
[[Category:File extensions (AAMP)]]
[[Category:Actor paramater files]]

Revision as of 17:35, 18 September 2018

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

.bdrop files in Actor/DropTable configure item drops for each actor.


Parameter objects

Header

Key Type Description
TableNum int Number of tables
Table%02d str64 Name of the drop table

[TableName] 

Key Type Description
ColumnNum int Number of items
RepeatNumMin int Min number of items that can be dropped (抽選回数最小)
RepeatNumMax int Max number of items that can be dropped (抽選回数最大)
ApproachType int [check] (姿勢)
OccurrenceSpeedType int [check] (発生速度)
ItemName%02d str64 Name of the actor that can be dropped
ItemProbability%02d float Drop probability (0.0 to 100.0)

Note: the sum of all ItemProbabilities should be equal to 100.0.