Difficulty scaling: Difference between revisions

imported>Leoetlino
imported>Leoetlino
Line 74: Line 74:
For example, 0 ('None') doesn't mean a weapon will never receive a modifier. It just means that the developers haven't forced the weapon to spawn with a blue/yellow modifier. If scaling requirements are satisfied, the weapon will receive blue or yellow modifiers.
For example, 0 ('None') doesn't mean a weapon will never receive a modifier. It just means that the developers haven't forced the weapon to spawn with a blue/yellow modifier. If scaling requirements are satisfied, the weapon will receive blue or yellow modifiers.


=== <code>WeaponModifier</code> ===
=== <code>WeaponModifier</code> (s32 enum) ===
 
Internally and in assets such as [[map unit]]s, the following values are used to store modifiers:
==== <code>BymlWeaponModifier</code> (s32 enum) ====
There are three possible values for <code>weapons[].actors[].plus</code> in the LevelSensor config:
{| class="wikitable"
! Value
! Description
|-
| -1
| '''None''': Weapon will receive no modifiers.
|-
| 0
| '''Blue''': Weapon will receive blue modifiers, also referred to as 'SharpWeapon' in other strings.
|-
| 1
| '''Yellow''': Weapon will receive yellow modifiers, also referred to as 'PoweredSharpWeapon' in other strings.
|}
 
==== <code>WeaponModifier</code> (s32 enum) ====
Internally and in other assets such as [[map unit]]s, the following values are used instead:
{| class="wikitable"
{| class="wikitable"
! Value  
! Value  
Anonymous user