Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I think it's worth a try, simple logic is best, and "Primary Weapon Enforcer" also has Reload problem.
for me I just don't let bots use sniper, actually I have never thought about how to handle the sniper problems before, lol.
I got the vanilla scripts of the ak47 and the hunting rifle and i swapped their WeaponType param in a test vpk. The bot with the ak started switching to the pistols when i spawned infected nearby and the bot with the hunting rifle did not.
So maybe the solution is make a weapon script addon with just the sniper rifles with their WeaponType parameter set to "rifle" instead of "sniper_rifle", but i don't know if that will affect anything else.
wow, what an easy trick!, all I can think of is that it will conflict with other weapon script mods.
enforce sniper or shotgun[drive.google.com]