Garry's Mod

Garry's Mod

HintNode Loader
18 Comments
George Floyd 4 Jul @ 9:18pm 
alright it's ok
#INVALID_USER  [author] 4 Jul @ 9:18pm 
@George Floyd
Sorry, because nodegraph_loader uses binary modules (native code), it cannot be distributed through the workshop.
George Floyd 4 Jul @ 7:50pm 
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 4 Jul @ 7:47pm 
It's already 1 but thanks for the video i'll watch it and try again
#INVALID_USER  [author] 4 Jul @ 6:47pm 
@George Floyd
Make sure that "sv_enable_init_hint_hook" and "sv_enable_hint_json_load" are set to 1 (they are set to 0 by default).

I uploaded an explanatory video for Nodegraph Editor+.
https://youtu.be/9Mo_UBLdXDk
George Floyd 4 Jul @ 3:29pm 
can you do video for hint node override jump permission? i tried everything but it doesn't working
Hosterle 21 Jun @ 12:52pm 
I see, thank you
#INVALID_USER  [author] 21 Jun @ 11:02am 
@Hosterle
The reason jump overrides only work in a downward direction is due to the Source engine.
This can be verified in the Source SDK's C++ code.
https://github.com/ValveSoftware/source-sdk-2013/blob/39f6dde8fbc238727c020d13b05ecadd31bda4c0/src/game/server/ai_pathfinder.cpp#L644

To enable jumping for all entities, use this command:
lua_run hook.Add("OnEntityCreated", "Add CAP_MOVE_JUMP", function(e) if e:IsNPC() then timer.Simple(0, function() e:CapabilitiesAdd(CAP_MOVE_JUMP) end) end end)

However, while it is probably possible to change the maximum jump distance for scripted entities, I don't think you can change the maximum jump distance for NPCs, such as zombies in hl2, which are hard-coded in c++.
Also some NPCs behave strangely with this command (e.g. npc_rollermine can't jump upwards so it keeps rolling into the wall).
Hosterle 21 Jun @ 8:27am 
The override jump permissions hint only allows jumping down. How do I make NPCs jump up too?
MaliceAndTragedy 15 Jun @ 6:39am 
holy fart is that an interloper reference??
CyberDemon2099 18 May @ 10:29am 
Something something Interloper something.
PowerTower 26 Apr @ 6:27pm 
ah yes, DM Editor.
Imorted 23 Mar @ 1:23pm 
Nice
gfront55 2 Mar @ 1:43pm 
Thank you so much for this :missing:
#INVALID_USER  [author] 1 Mar @ 5:03am 
🤔...?
жужа 1 Mar @ 2:01am 
is that the interloper thing :steambored:
#INVALID_USER  [author] 25 Feb @ 8:04am 
@TheBlackVoid
Thanks.
Added support for loading hints from data/map_hints/ or data_static/map_hints/ folders.
TheBlackVoid 25 Feb @ 7:09am 
Wow, you're really awesome. :)

Is it possible to load the .json from data_static folder instead? So people can create hint nodes with this and upload it to the workshop.