- 1 read
In
Note the variable is spelled
ConfigureZoneInstance(). Friendly-fire damage scales by 0.25; a player becomes a faction enemy after 6 damage to its NPCs, stays hated 45 s, with a capped, decaying accumulator.
-- Damage coefficient against friendly faction entities. (type: float; range: 0.0f..1.0f)
cvars.sv_frendlyFactionDamageCoef = 0.25
-- Damage after which the faction becomes an enemy to the player. (type: float)
cvars.sv_enemyMinFactionNPCDamage = 6
-- Seconds the faction stays hostile. (type: float)
cvars.sv_factionBadRelationshipTime = 45
-- Maximum damage accumulator; does not affect real damage. (type: float)
cvars.sv_enemyMaxFactionNPCDamage = 100
-- Cap accumulated per second. (type: float)
cvars.sv_enemyMaxFactionNPCDamagePerSec = 1
-- Accumulator decay per second. (type: float)
cvars.sv_factionNPCDamageDecay = 0.2
sv_frendlyFactionDamageCoef (one i) in the file, use that exact spelling. Set it to 1.0 for full friendly fire, 0 to disable.Additional Notes:
Exact spelling: sv_frendlyFactionDamageCoef.