安装 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(越南语)
Українська(乌克兰语)
报告翻译问题






https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=326332456
Thanks for replying :)
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1138462799
Thank you,
cavecastscorch
[VJ Base] lua/autorun/vj_util.lua:105: attempt to get length of a nil value
1. VJ_GetWeaponPos - lua/autorun/vj_util.lua:105
2. v - lua/autorun/vj_entity_codes.lua:574
3. unknown - lua/includes/modules/hook.lua:84
4. FireBullets - [C]:-1
5. PrimaryAttack - lua/weapons/weapon_vj_base/shared.lua:436
6. unknown - lua/weapons/weapon_vj_base/shared.lua:353
*cries in joy*
The single allies variable caused so many problems, but I couldn't find a different way to do it
Basically, if a SNPC has the same class name as another SNPC, they will be allied to each other. This is also very important for SNPCs that call for backup because they call for SNPCs that have the same class name of them, not the ones in the ENT.VJ_FriendlyNPCsSingle variable.
Copy and paste this line of code into every SNPC in this addon:
ENT.VJ_NPC_Class = {"CLASS_EXAMPLE"} -- NPCs with the same class with be allied to each other
A good name for the class name would be "CLASS_CIS" or "CLASS_BATTLE_DROID" but you can name it anything you want as long as it has "CLASS_" in the beginning of the class name, it has quote marks in it and the name only uses capital letters.