Garry's Mod

Garry's Mod

68 hodnocení
HintNode Loader
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
Content Type: Addon
Addon Type: Tool
Addon Tags: Build
Velikost souboru
Přidáno
Aktualizováno
9.567 KB
23. úno. v 4.46
9. pro. v 2.24
Poznámky ke změnám (12) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
HintNode Loader

Popis
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]
Počet komentářů: 31
TheBlackVoid 9. pro. v 3.06 
Thank you for the update! Everything seems to be working well now.
#INVALID_USER  [autor] 9. pro. v 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. pro. v 14.49 
stop relying on AI to fix all your problems guys wtfff
Phaserix 7. pro. v 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. pro. v 6.02 
Agree with TheBlackVoid, Couldn't change the air node to 904 (Strider and others)
TheBlackVoid 6. pro. v 4.59 
The addon seems to be broken recently. Tested it with the x86-64 branch, probably caused by recent gmod updates?
дабстеп мытищи 24. lis. v 1.07 
what is this for?
ph0ne (greatijedi) 12. zář. v 17.20 
It works perfectly! Thanks!
#INVALID_USER  [autor] 12. zář. v 5.32 
Added support for SpawnFlags (default: 0).
Set "SpawnFlags": "<number>" in the same location as "HintType" in the json file.
ph0ne (greatijedi) 11. zář. v 16.43 
Sweet. Looking forward to it.