Garry's Mod
68 คะแนน
HintNode Loader
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
Content Type: Addon
Addon Type: Tool
Addon Tags: Build
ขนาดไฟล์
โพสต์
อัปเดต
9.567 KB
23 ก.พ. @ 4: 46am
9 ธ.ค. @ 2: 24am
12 หมายเหตุการเปลี่ยนแปลง ( ดู )
คำอธิบาย
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: 06am 
Thank you for the update! Everything seems to be working well now.
#INVALID_USER  [ผู้สร้าง] 9 ธ.ค. @ 1: 12am 
Oh, sorry.
I haven't logged in recently so I didn't notice the problem.
I'll check it out right away.
bread 7 ธ.ค. @ 2: 49pm 
stop relying on AI to fix all your problems guys wtfff
Phaserix 7 ธ.ค. @ 9: 00am 
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: 02am 
Agree with TheBlackVoid, Couldn't change the air node to 904 (Strider and others)
TheBlackVoid 6 ธ.ค. @ 4: 59am 
The addon seems to be broken recently. Tested it with the x86-64 branch, probably caused by recent gmod updates?
дабстеп мытищи 24 พ.ย. @ 1: 07am 
what is this for?
ph0ne (greatijedi) 12 ก.ย. @ 5: 20pm 
It works perfectly! Thanks!
#INVALID_USER  [ผู้สร้าง] 12 ก.ย. @ 5: 32am 
Added support for SpawnFlags (default: 0).
Set "SpawnFlags": "<number>" in the same location as "HintType" in the json file.
ph0ne (greatijedi) 11 ก.ย. @ 4: 43pm 
Sweet. Looking forward to it.