Garry's Mod
68 оценки
HintNode Loader
   
Награда
Добавяне към любими
В любими
Премахване от любими
Content Type: Addon
Addon Type: Tool
Addon Tags: Build
Размер на файла
Публикуван на
Обновен на
9.567 KB
23 февр. в 4:46
9 дек. в 2:24
12 бележки за промени ( преглед )

Абониране, за да се свали
HintNode Loader

Описание
this addon is add tow cvars.
sv_enable_init_hint_hook 0/1 sv_enable_hint_json_load 0/1
default was disabled.

Enabling both will create an ai_hint Entity from json file.
The search order for json files is:
data/map_hints/<map_name>.json
data_static/map_hints/<map_name>.json
maps/graphs/<map_name>.hint.json

If you want map hints, use DumpHint Addon and paste to maps/graphs/<map_name>.hint.json.

Uploaded with gmpublisher[github.com]
31 коментара
TheBlackVoid 9 дек. в 3:06 
Thank you for the update! Everything seems to be working well now.
#INVALID_USER  [автор] 9 дек. в 1:12 
Oh, sorry.
I haven't logged in recently so I didn't notice the problem.
I'll check it out right away.
bread 7 дек. в 14:49 
stop relying on AI to fix all your problems guys wtfff
Phaserix 7 дек. в 9:00 
AI find solution:

Update
this
hook.Add("InitPostEntity", hint_node.Identifier, function()
hook.Remove("OnEntityCreated", hint_node.Identifier)
to this:
hook.Add("InitPostEntity", hint_node.Identifier, function()
if not initialized and edited then
hint_node.internal.CreateHintEntities()
end
hook.Remove("OnEntityCreated", hint_node.Identifier)
Phaserix 6 дек. в 6:02 
Agree with TheBlackVoid, Couldn't change the air node to 904 (Strider and others)
TheBlackVoid 6 дек. в 4:59 
The addon seems to be broken recently. Tested it with the x86-64 branch, probably caused by recent gmod updates?
дабстеп мытищи 24 ноем. в 1:07 
what is this for?
ph0ne (greatijedi) 12 септ. в 17:20 
It works perfectly! Thanks!
#INVALID_USER  [автор] 12 септ. в 5:32 
Added support for SpawnFlags (default: 0).
Set "SpawnFlags": "<number>" in the same location as "HintType" in the json file.
ph0ne (greatijedi) 11 септ. в 16:43 
Sweet. Looking forward to it.