Garry's Mod
Оценок: 68
HintNode Loader
   
Наградить
В избранное
В избранном
Удалить
Тип контента: Дополнение
Тип дополнения: Инструмент
Метки дополнений: Стройка
Размер файла
Добавлен
Изменён
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.