安装 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(越南语)
Українська(乌克兰语)
报告翻译问题
But unfortunately I've run into an error where Garry'smod attempts to call a global that is Nil
This prevents me from spawning the npc (A popup appears with the header 'Sorry!' and message 'You can't spawn this NPC", as if I was missing episodic content. I have all Episodes installed)
But the strange fix is to make a quick edit, save it, and then I can spawn the NPC. The change doesn't have to be anything huge, for example, turning the HP from 100 to 101. Once the game reloads I get the popup again stating I can't spawn the NPC.
There is a very good chance I've made just a simple error in lua. The most I've done, was:
Here's the pastebin of my lua file. Its stored in the same Hierarchy as it would be for the phoenix marine addon, but with a different lua name (HEV_npc.lua in autorun)
https://pastebin.com/APV9dgbm
Appreciate any help given
EDIT: Local in the pastebin code is still set to PhoenixNPCs, but still has the same issue if changed to something else in both local and hook.run
Once a value for health, look distance, etc is changed I can spawn the NPC
Now instead of:
[ANPlus [BASE]] lua/autorun/addnpcplus_base.lua:388: Tried to use a NULL entity!
1. SetIK - [C]:-1
2. func - lua/autorun/addnpcplus_base.lua:388
3. unknown - lua/includes/extensions/net.lua:33
UPDATE: Disabling all addons has resulted in the Phoenix spawning. Will be updating soon for other findings.
1. __mul - [C]:-1
2. ANPlusNPCAnimSpeed - lua/autorun/addnpcplus_base.lua:1190
3. unknown - lua/autorun/addnpcplus_base.lua:1211
Timer Failed! [ANPlusThinkMega Angry Odessa Cubbage114][@lua/autorun/addnpcplus_base.lua (line 1201)]
Mega Angry Odessa NPC
1. __mul - [C]:-1
2. ANPlusNPCAnimSpeed - lua/autorun/addnpcplus_base.lua:1190
3. unknown - lua/autorun/addnpcplus_base.lua:1211
[ANPlus [BASE]] lua/autorun/addnpcplus_base.lua:1076: bad argument #1 to 'GetSquadMembers' (string expected, got no value)
1. GetSquadMembers - [C]:-1
2. ANPlusGrenadeThrow - lua/autorun/addnpcplus_base.lua:1076
3. OnNPCThink - lua/autorun/gdf_anp.lua:238
4. unknown - lua/autorun/addnpcplus_base.lua:1219
1. unknown - lua/autorun/addnpcplus_base.lua:310
uh... im not sure what i done wrong
1. ANPlusIgnoreTillSet - lua/autorun/addnpcplus_base.lua:913
2. unknown - lua/autorun/addnpcplus_base.lua:565
Timer Failed! [Simple][@lua/autorun/addnpcplus_base.lua (line 547)]
This occured when an NPC died to the Mega Angry Odessa, probably by fire.