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
我更新了一下代码结构,方便你自己改。
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://steamhost.cn/steamcommunity_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.