Blifecondition: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
No edit summary
imported>BravelyPeculiar
No edit summary
Line 1: Line 1:
{{lowercase}}
{{lowercase}}
<onlyinclude>'''blifecondition''' files are [[AAMP]] files that are used for [[ActorParam/LifeCondition]].</onlyinclude>
<onlyinclude>
{{Parameter archive infobox|param_type=blifecondition|version=0|type=xml}}
'''.blifecondition''' files in [[Content/Actor|Actor]]/LifeCondition contain spawn and despawn conditions for actors.
</onlyinclude>
== Parameter objects ==
=== InvalidWeathers ===
Weathers that will cause the actor not to spawn.
{|class="wikitable"
! Key !! Type !! Description
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Weather name (e.g. HeavyRain)
|}
 
=== InvalidTimes ===
Time types that will cause the actor not to spawn.
{|class="wikitable"
! Key !! Type !! Description
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Time name (e.g. Morning_B)
|}
 
=== DisplayDistance ===
{|class="wikitable"
! Key !! Type !! Description
|-
| Item || float || Maximum distance to player (actor will despawn if the distance is greater than this value)
|}
 
=== AutoDisplayDistanceAlgorithm ===
{|class="wikitable"
! Key !! Type !! Description
|-
| Item || str || Distance calculation algorithm (only "Bounding.Y" is supported {{check}})
|}
 
=== YLimitAlgorithm ===
{|class="wikitable"
! Key !! Type !! Description
|-
| Item || str || Limit type ("NoLimit" or "LimitYDiff" {{check}})
|}
 
=== DeleteWeathers ===
Weathers that will cause the actor to despawn.
{|class="wikitable"
! Key !! Type !! Description
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Weather name (e.g. HeavyRain)
|}
 
=== DeleteTimes ===
Time types that will cause the actor to despawn.
{|class="wikitable"
! Key !! Type !! Description
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Time name (e.g. Noon_A)
|}
 
== Examples ==
=== Landmark10km ===
<source lang="yaml">
!io
version: 0
type: xml
param_root: !list
  objects:
    DisplayDistance: !obj {Item: 10000.0}
    AutoDisplayDistanceAlgorithm: !obj {Item: Bounding.Y}
    YLimitAlgorithm: !obj {Item: NoLimit}
  lists: {} 
</source>
 
=== Animal_Night ===
<source lang="yaml">
!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: {}
</source>
 
[[Category:File extensions]]
[[Category:File extensions]]
[[Category:File extensions (AAMP)]]
[[Category:File extensions (AAMP)]]

Revision as of 17:21, 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.

.blifecondition files in Actor/LifeCondition contain 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: {}