Garry's Mod

Garry's Mod

34 betyg
HintNode Loader
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Build
Filstorlek
Lades upp
Uppdaterades
7.821 KB
23 feb @ 4:46
15 jun @ 5:38
8 ändringsnotiser ( visa )

Abonnera för att ladda ner
HintNode Loader

Beskrivning
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]
12 kommentarer
Hosterle 21 jun @ 12:52 
I see, thank you
#INVALID_USER  [skapare] 21 jun @ 11:02 
@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:27 
The override jump permissions hint only allows jumping down. How do I make NPCs jump up too?
MaliceAndTragedy 15 jun @ 6:39 
holy fart is that an interloper reference??
CyberDemon2099 18 maj @ 10:29 
Something something Interloper something.
PowerTower 26 apr @ 18:27 
ah yes, DM Editor.
Imorted 23 mar @ 13:23 
Nice
gfront55 2 mar @ 13:43 
Thank you so much for this :missing:
#INVALID_USER  [skapare] 1 mar @ 5:03 
🤔...?
дудя 1 mar @ 2:01 
is that the interloper thing :steambored: