cvars 1

← разместить еще код

123

Расшаренный код:

	if (g_bDeadlyInfected)
	{
		//general
		SetConVarInt(FindConVar("director_finale_mob_max_interval"), 25);		//def. 45    
		SetConVarInt(FindConVar("director_finale_mob_relax_interval"), 10);		//def. 20 - How long a 'relax' wave lasts during the finale.
		SetConVarInt(FindConVar("z_zombie_lunge_push"), 1);						//def. 0 - Does the zombie lunge push players?
		SetConVarInt(FindConVar("director_finale_stage_delay"), 0);				//def. 5
		SetConVarInt(FindConVar("z_spawn_range"), 0);							//def. 1500
		SetConVarInt(FindConVar("z_safe_spawn_range"), 0);						//def. 250 - Minimum range for spawning special zombies.
		SetConVarInt(FindConVar("z_finale_spawn_safety_range"), 300);			//def. 600
		SetConVarInt(FindConVar("z_cooldown_spawn_safety_range"), 500);			//def. 1000
		//SetConVarInt(FindConVar("z_attack_flow_range"), 50000);					//def. 1500
		//SetConVarInt(FindConVar("z_spawn_flow_limit"), 50000);					//def. 1500
		//mobs
		SetConVarFloat(FindConVar("z_hit_from_behind_factor"), 1.0);			//def. 0.5 - Damage multiplier if zombie hits Survivor from behind.
		SetConVarFloat(FindConVar("z_throttle_hit_interval_hard"), 0.0);		//def. 0.5 - Minimum time between damaging a Survivor from a mob.
		SetConVarFloat(FindConVar("z_throttle_hit_interval_expert"), 0.0);		//def. 1 - Minimum time between damaging a Survivor from a mob.
		SetConVarFloat(FindConVar("z_hit_incap_factor_hard"), 0.5);				//def. 1.0 - Damage multiplier if zombie hits incapacitated Survivor.
		SetConVarFloat(FindConVar("z_hit_incap_factor_expert"), 0.5);			//def. 1.0 - Damage multiplier if zombie hits incapacitated Survivor.
		//hunter
		SetConVarInt(FindConVar("z_hunter_speed"), 360);						//def. 300
		SetConVarFloat(FindConVar("z_pounce_crouch_delay"), 0.5);				//def. 1
		//SetConVarInt(FindConVar("z_hunter_lunge_pitch"), 0);					//def. 25 - Extra pitch bot hunters will lunge with at their max range (goes to 0 when bots are lunging up close).
		SetConVarFloat(FindConVar("z_lunge_interval"), 0.0);					//def. 0.1
		SetConVarInt(FindConVar("hunter_leap_away_give_up_range"), 0);			//def. 1000
		SetConVarInt(FindConVar("z_hunter_lunge_distance"), 5000);				//def. 750 - Distance at which bot hunters will try to lunge.
		SetConVarInt(FindConVar("hunter_pounce_ready_range"), 1500);			//def. 500 - If victim is this close, crouch and get ready.
		SetConVarFloat(FindConVar("hunter_pounce_loft_rate"), 0.055);			//def. ".035" - Hunter adds this angle/distance when pouncing.
		SetConVarFloat(FindConVar("z_hunter_lunge_stagger_time"), 0.0);			//def. 1
		SetConVarFloat(FindConVar("z_pounce_shake_amplitude"), 4.0);			//def. 4.0
		SetConVarFloat(FindConVar("z_pounce_shake_duration"), 1.5);				//def. 1.5
		SetConVarFloat(FindConVar("z_pounce_shake_radius"), 250.0);				//def. 250.0
		SetConVarFloat(FindConVar("z_pounce_stumble_force"), 5.0);				//def. 5.0 - Force of the stumble effect when a hunter pounces on someone
		//smoker
		SetConVarInt(FindConVar("z_gas_speed"), 240);							//def. 210
		SetConVarInt(FindConVar("Smoker_escape_range"), 0);						//def. 750
		SetConVarFloat(FindConVar("smoker_tongue_delay"), 0.0);					//def. 1.5
		SetConVarFloat(FindConVar("tongue_victim_accuracy_penalty"), 0.8);		//def. 0.133 - How much someone's accuracy suffers while being dragged by a tongue.
		SetConVarInt(FindConVar("tongue_range"), 850);							//def. 750 - How far a smoker can shoot his tongue.
		SetConVarInt(FindConVar("tongue_player_dropping_to_ground_time"), 0);	//def. 1 - How long after the tongue disconnects will a player need to wait.
		SetConVarInt(FindConVar("tongue_victim_max_speed"), 210);				//def. 175 - The fastest the tongue can get you going.
		//boomer
		SetConVarInt(FindConVar("z_exploding_speed"), 220);						//def. 175
		SetConVarFloat(FindConVar("z_vomit_fatigue"), 0.0);						//def. 3000 - Stamina impact of puking. High number will pin in place for a long time, lower will just slow.
		SetConVarFloat(FindConVar("z_vomit_duration"), 2.5);					//def. 1.5 - How long a puker continuously pukes for.
		SetConVarInt(FindConVar("z_vomit_interval"), 15);						//def. 30 - How often a puker can puke.
		SetConVarFloat(FindConVar("boomer_exposed_time_tolerance"), 0.0);		//def. 1.0 - How long an out-of-range Boomer will tolerate being visible before fleeing.
		SetConVarInt(FindConVar("z_exploding_shove_min"), 1);					//def. 4
		SetConVarFloat(FindConVar("boomer_vomit_delay"), 0.0);					//def. 1 - How long the Boomer waits before he vomits on his target on Normal difficulty.
		SetConVarFloat(FindConVar("z_vomit_vecrand"), 0.0);						//def. 0.05 - Random vector added to initial velocity of vomit damage entities.
		//witch
		SetConVarInt(FindConVar("z_witch_berserk_range"), 300);					//def. 200
		SetConVarInt(FindConVar("z_witch_flashlight_range"), 1500);				//def. 400
		//SetConVarInt(FindConVar("z_witch_hostile_at_me_anger"), 3);			//def. 2
		SetConVarInt(FindConVar("z_witch_personal_space"), 150);				//def. 100
		SetConVarFloat(FindConVar("z_witch_anger_rate"), 0.3);					//def. 0.2
		SetConVarInt(FindConVar("z_witch_tongue_range"), 0);					//def. 100
		SetConVarInt(FindConVar("z_witch_speed_inured"), 220);					//def. 200
		//tank
		SetConVarInt(FindConVar("z_tank_has_special_blood"), 1);				//def. 0 - Does the Tank get his own blood effect instead of the normal infected one?
		SetConVarFloat(FindConVar("tank_stuck_time_choose_new_target"), 0.0);	//def. 2
		SetConVarFloat(FindConVar("tank_stuck_visibility_tolerance_choose_new_target"), 0.0); //def. 5
		//overhead throw percent
		if (g_bIsExpert) SetConVarInt(FindConVar("tank_rock_overhead_percent"), 99); //def. 100 - Percent of time the tank throws overhand (0-100)
		else SetConVarInt(FindConVar("tank_rock_overhead_percent"), 90);
	}