Blifecondition: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(Fix typo)
imported>Leoetlino
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
<onlyinclude>
<onlyinclude>
{{Parameter archive infobox|param_type=blifecondition|version=0|type=xml}}
{{Parameter archive infobox|param_type=blifecondition|version=0|type=xml}}
'''.blifecondition''' files in [[Content/Actor|Actor]]/LifeCondition contain spawn and despawn conditions for actors.
'''LifeCondition''' (''blifecondition'') contains spawn and despawn conditions for actors.
</onlyinclude>
</onlyinclude>
== Parameter objects ==
== Parameter objects ==



Latest revision as of 19:29, 18 September 2018

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

LifeCondition (blifecondition) contains spawn and despawn conditions for actors.

Parameter objects

InvalidWeathers 

Weathers that will cause the actor not to spawn.

Key Type Description
Item%03d str64 Weather name (e.g. HeavyRain)

InvalidTimes 

Time types that will cause the actor not to spawn.

Key Type Description
Item%03d str64 Time name (e.g. Morning_B)

DisplayDistance 

Key Type Description
Item float Maximum distance to player (actor will despawn if the distance is greater than this value)

AutoDisplayDistanceAlgorithm 

Key Type Description
Item str Distance calculation algorithm (only "Bounding.Y" is supported [check])

YLimitAlgorithm 

Key Type Description
Item str Limit type ("NoLimit" or "LimitYDiff" [check])

DeleteWeathers 

Weathers that will cause the actor to despawn.

Key Type Description
Item%03d str64 Weather name (e.g. HeavyRain)

DeleteTimes 

Time types that will cause the actor to despawn.

Key Type Description
Item%03d str64 Time name (e.g. Noon_A)

Examples

Landmark10km

!io
version: 0
type: xml
param_root: !list
  objects:
    DisplayDistance: !obj {Item: 10000.0}
    AutoDisplayDistanceAlgorithm: !obj {Item: Bounding.Y}
    YLimitAlgorithm: !obj {Item: NoLimit}
  lists: {} 

Animal_Night

!io
version: 0
type: xml
param_root: !list
  objects:
    InvalidWeathers: !obj {Item001: !str64 HeavyRain, Item002: !str64 HeavySnow, Item003: !str64 ThunderRain}
    InvalidTimes: !obj {Item001: !str64 Morning_B, Item002: !str64 Noon_A, Item003: !str64 Noon_B,
      Item004: !str64 Evening_A}
    DisplayDistance: !obj {Item: 0.0}
    AutoDisplayDistanceAlgorithm: !obj {Item: Bounding.Y}
    YLimitAlgorithm: !obj {Item: NoLimit}
  lists: {}