Garry's Mod

Garry's Mod

59 평점
HintNode Loader
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Content Type: Addon
Addon Type: Tool
Addon Tags: Build
파일 크기
게시일
업데이트일
9.464 KB
2025년 2월 23일 오전 4시 46분
2025년 9월 12일 오전 4시 49분
업데이트 노트 11개 (보기)

다운로드 위해 구독하기
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]
댓글 24
ph0ne (greatijedi) 2025년 9월 12일 오후 5시 20분 
It works perfectly! Thanks!
#INVALID_USER  [작성자] 2025년 9월 12일 오전 5시 32분 
Added support for SpawnFlags (default: 0).
Set "SpawnFlags": "<number>" in the same location as "HintType" in the json file.
ph0ne (greatijedi) 2025년 9월 11일 오후 4시 43분 
Sweet. Looking forward to it.
#INVALID_USER  [작성자] 2025년 9월 11일 오후 2시 58분 
@ph0ne (greatijedi)
ah sorry.
I didn't know about this feature.
Planned update.
ph0ne (greatijedi) 2025년 9월 7일 오후 12시 29분 
Alternatively, for wherever you call SetPos() on the new hint entities you make, can you call SetSpawnFlags(65536) on it?
ph0ne (greatijedi) 2025년 9월 6일 오후 6시 39분 
I would like to request some assistance, if you're available.

You mentioned previously that jumping up isn't possible due to this line here: https://github.com/ValveSoftware/source-sdk-2013/blob/39f6dde8fbc238727c020d13b05ecadd31bda4c0/src/game/server/ai_pathfinder.cpp#L646

However, it appears that jumping up exists as a spawn flag: https://github.com/ValveSoftware/source-sdk-2013/blob/39f6dde8fbc238727c020d13b05ecadd31bda4c0/src/game/server/ai_hint.h#L338

Would it be possible for you to integrate something like the following into your addon:
lua_run hook.Add("OnEntityCreated", "SpawnFlagsJumpUp", function(e) timer.Simple(0, function() e:AddSpawnFlags(65536) end) end)

If you can read the spawn flag from your json file and call it on the appropriate entities with your addon, I would greatly appreciate it.
George Floyd 2025년 7월 4일 오후 9시 18분 
alright it's ok
#INVALID_USER  [작성자] 2025년 7월 4일 오후 9시 18분 
@George Floyd
Sorry, because nodegraph_loader uses binary modules (native code), it cannot be distributed through the workshop.
George Floyd 2025년 7월 4일 오후 7시 50분 
Damn i was using hintnode instead of ground node so that's why it wasn't working. Thanks man, by the way do you plan to release the reload ai nodes at game addon? I see it on one of your videos, you type console command and reload nodes
George Floyd 2025년 7월 4일 오후 7시 47분 
It's already 1 but thanks for the video i'll watch it and try again