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






Please fix!
thank you
(pack 1 and 2)
1. There mouth talking animation is really messed up
2. Some of their models aren't blinking. Yes, their eyes aren't blinking and just staring at me.
I also don't have lagging issues. All my friends who playtested it don't. The only way this hinders performance is short stutters when the models spawn in on my end.
hook_OnSpawnShit
for _,v in ipairs(ents.GetAll()) do
if v:GetModel() == themdl then
setshit
end
end
whereas if you do it like how I showed you where you actually detect the entity thats being spawned and not checking EVERY entity in the map, you're saving A LOT of processing. I have a really good PC, and never have I ever downloaded a Garry's Mod addon that lags as bad as this one
For example, instead of running:
for k, v in pairs( ents.FindByModel( mdl ) ) do
everytime any entity is spawned, you can just do:
hook.Add("OnEntityCreated","EnhancedCitizens_NPCScript",function(ent)
if ent:GetClass() == "npc_citizen" then -- Eliminate that butt load of lag you have now
if ent:GetModel() == themodeldir then
change model, fix collisions and set skins/bodygroups
end
end
end)