Skip to content

New features: Ammo and Darkness nades. Improve nades. Fix turrets target and when Tesla turret owner's friend attacks against owner

LegendaryGuard requested to merge LegendaryGuard/armorizing_and_dark_nades into master

Added new setup to disable/enable [0/1] nade types (look !876 (comment 1130642864)):

  • g_nades_napalm
  • g_nades_ice
  • g_nades_translocate
  • g_nades_spawn
  • g_nades_heal
  • g_nades_pokenade
  • g_nades_entrap
  • g_nades_veil
  • g_nades_ammo
  • g_nades_dark

IMPORTANT: Due to the changes, g_nades_spawn (before) is replaced to g_nades_onspawn (current) to avoid misunderstandings.


To use the new nade features:

To test, enable the nades included the new nade ones: g_nades 1, g_nades_bonus 1, g_nades_bonus_max 4, g_nades_bonus_score_time 3, g_nades_bonus_client_select 1, g_nades_bonus_type 3, g_nades_ammo 1 and g_nades_dark 1.

To select the nade to throw in-game:

  • Ammo nade: cl_nade_type 10
  • Darkness nade: cl_nade_type 11

EDIT UPDATE 09-04-2023:

New cvars for the current nades:

  • g_nades_spawn_health_respawn: How much health the player will have when being respawned, if 0, normal health respawn.
  • g_nades_spawn_destroy_damage: Damage caused when spawn nade is destroyed by some attacker.
  • g_nades_translocate_destroy_damage: Damage caused when translocate nade is destroyed by some attacker.

Updated:

  • g_nades_ice_teamcheck: 0: friendly fire, 1: nade owner isn't affected, 2: don't freeze teammates.

Also fixes translocate nade when getting stuck in some solid place.

Edited by LegendaryGuard

Merge request reports