LevelSensor.byml: Difference between revisions

Jump to navigation Jump to search
→‎flag: Added _Num to flag name for accuracy
imported>Leoetlino
(add more detailed docs for LevelSensor)
(→‎flag: Added _Num to flag name for accuracy)
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
The root element is a dictionary.
The root element is a dictionary.


=== enemy ==
=== enemy ===
'''enemy''' is used to configure enemy upgrades. It is an array of dictionaries of the following form:
'''enemy''' is used to configure enemy upgrades. It is an array of dictionaries of the following form:


Line 27: Line 27:
|}
|}


=== flag ==
=== flag ===
'''flag''' determines how many points an enemy kill is worth and it is used to calculate the total number of points (see [[Difficulty scaling]] for more information). It is an array of dictionaries of the following form:
'''flag''' determines how many points an enemy kill is worth and it is used to calculate the total number of points (see [[Difficulty scaling]] for more information). It is an array of dictionaries of the following form:


Line 37: Line 37:
|name
|name
|str
|str
|Name of the GameData s32 flag (usually a defeat counter flag: Defeated_XXXXX where XXXXX is the enemy actor name)
|Name of the GameData s32 flag (usually a defeat counter flag: Defeated_XXXXX_Num where XXXXX is the enemy actor name)
|-
|-
|point
|point
Line 44: Line 44:
|}
|}


=== setting ==
=== setting ===
'''setting''' is a dictionary of the following form:
'''setting''' is a dictionary of the following form:


Line 61: Line 61:
|}
|}


=== weapon ==
=== weapon ===
'''weapon''' is used to configure weapon upgrades and modifiers. It is an array of dictionaries of the following form:
'''weapon''' is used to configure weapon upgrades and modifiers. It is an array of dictionaries of the following form:


autopatrol, editnews
231

edits

Navigation menu