安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题






我更新了一下代码结构,方便你自己改。
1、找到名为AllowedWeapons的表,这里面是该mod允许生效的武器。它长这样:
local AllowedWeapons = {
["weapon_smg1"] = true
}
2、比如你想加一个武器,它的类名(不是武器名)是weapon_ar2,那就将其添加到AllowedWeapons表里面去。也就是改成下面这样:
local AllowedWeapons = {
["weapon_smg1"] = true,
["weapon_ar2"] = true
}
注意逗号之类的别写掉了,你可以参考前面的代码中的那个AllowedNPCs表是怎么写的。
After reading the lua code of that combine AI mod, I'm sure it has a different way to shoot SMG grenades, compared with my mod.
They are actually doing the same thing as you can see, but they will not really interfere in each other.
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2807525115&searchtext=combine+ai
I will do that if I have time
so we can have combine or rebels shooting or both can shoot smg grenades
plz and thx
this addon will not work if the class of weapon that NPCs hold is not "weapon_smg1".
So something like SMG model replacement won't have any impact.
Check out his weapon and ensure that it is HL2 SMG. This addon will not work if there is any kind of replacement on HL2 SMG when NPCs hold it.
Oh, but you can edit this addon to make it work on any weapon.