halving distance again

This commit is contained in:
jenzur 2020-07-27 20:30:28 +02:00
parent b137b526e7
commit ae28d0eab5
2 changed files with 3 additions and 2 deletions

View File

@ -82,7 +82,7 @@ def bot_process_movement(input_line):
strInput = strinput_append(strInput, 10)
else:
ladder_counter = 0
min_distance_target_human = 0.2
min_distance_target_human = 0.1
min_enemy_distance = 10.0
if bot_on_type == 1 or bot_on_type == 3:
print('bot_on_type 1 = water | 3 = downhill: ', bot_on_type)

View File

@ -248,7 +248,8 @@ public Action recursive_pressing(Handle timer, any data)
int min_distance_mult = 6;
GetEntPropVector(target_enemy, Prop_Send, "m_vecOrigin", pos);
enemy_distance = get_power_distance(present, pos);
float min_distance_target_human = 0.2;
//important to keep min_distance_target_human in sync with the variable value in python
float min_distance_target_human = 0.1;
//human aiming for zombie
if (targeteam == 3)
{