Blifecondition: Difference between revisions

Jump to navigation Jump to search
no edit summary
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)]]

Navigation menu