Bdrop: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
imported>Leoetlino
(→‎{{Placeholder AAMP param name|name=[TableName]}} : clarify what happens if sum(ItemProbabilities) < 100.0)
Line 62: Line 62:
|}
|}


Note: the sum of all ItemProbabilities should be equal to 100.0.
Note: the sum of all ItemProbabilities should be equal to 100.0, otherwise sometimes no items will be dropped.  


[[Category:File extensions]]
[[Category:File extensions]]
[[Category:File extensions (AAMP)]]
[[Category:File extensions (AAMP)]]
[[Category:Actor parameter files]]
[[Category:Actor parameter files]]

Revision as of 13:12, 1 March 2019

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.

DropTable (bdrop) configures 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 Drop position and pose (姿勢).
  • 0: random
  • 1: use the position of the source actor
  • 2: random? [check]
OccurrenceSpeedType int Drop velocity type (発生速度).
  • 1: "small"
  • 2: "large" (see bgparamlist for the actual values)
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, otherwise sometimes no items will be dropped.