Hello.
I tried to make a zombie mortarman. In the editor, he makes shots, albeit with a wide spread. But online he just sits and doesn’t make shots. What’s wrong? What could be the problem???
///The mortar itself.
zombie_mortar_rm_40_gun{
_use:t=“mortar_rm_40_gun”
gun_spread__maxDeltaAngle:r=9.0
gun_deviation__omegaDevInc:p2=0.35, 2.5
gun_deviation__movementDevInc:p2=0.0, 45.0
combatFiringRange:p2=1.0, 100.0
}
//Zombie mortar man
zombie_mortar_rm_40_armored{
_use:t=“base_zombie_armored_soldier”
killLogName:t=“zombie/uber_armored”
“human_weap__weapTemplates:object”{
primary:t=“zombie_mortar_rm_40_gun”
secondary:t=“”
tertiary:t=“”
melee:t=“”
grenade:t=“”
}
“human_weap__weapInfo:array”{
"human_weap__weapInfo:object"{
reserveAmmoTemplate:t="mine_o822_mp_item"
numReserveAmmo:i=100
}
"human_weap__weapInfo:object"{
}
"human_weap__weapInfo:object"{
}
"human_weap__weapInfo:object"{
}
"human_weap__weapInfo:object"{
}
}
_group{
_tags:t=“server”
"human_weap__template_deps_list:list<t>"{
item:t="mine_o822_mp_item"
item:t="zombie_mortar_rm_40_gun"
}
}
“walker_agent__distanceToShootError:shared:array”{
"error:object"{
distance:r=0.0
min:p2=0.0, 0.0
max:p2=0.5, 0.9
maxEnd:p2=0.0, 0.0
}
"error:object"{
distance:r=25.0
min:p2=0.3, 0.7
max:p2=0.6, 1.1
maxEnd:p2=0.3, 0.6
}
"error:object"{
distance:r=50.0
min:p2=0.6, 1.3
max:p2=2.0, 2.0
maxEnd:p2=1.3, 1.1
}
"error:object"{
distance:r=100.0
min:p2=0.6, 1.3
max:p2=2.0, 2.0
maxEnd:p2=2.0, 2.0
}
}
}