Garry's Mod

Garry's Mod

Map NPC Replacer
21 Comments
ColdMoon  [author] 3 hours ago 
@TF2 Gameplay Currently, it has to reload every time. But depending on your situation, I might add a batch-loading mechanism for users with a large number of subscriptions, to try and avoid overloading by loading too many models at once.
ColdMoon  [author] 3 hours ago 
@Neosun click the blue SAVE button on the left,the one on the top is for bodygroups
Neosun 6 hours ago 
I can confirm I'm having the same problem that Roy and Armalad are having.

Even if I save and ensure all the replacement flags I want are enabled, they do not apply.

Furthermore, going back to the configuration menu shows that they uncheck themselves every time I close or change tabs on the menu.
TF2 Gameplay 6 hours ago 
Yea, i think so. But if everything will load like after a hour, will it need to be loaded in next game session? Or i will need always to wait 2 hours for it to load every game session?
ColdMoon  [author] 7 hours ago 
@TF2 Gameplay To distinguish animation types of models, this addon loads all NPC models at game startup to check their animation data. In your case, you’ve probably subscribed to too many, causing a memory overload.
ColdMoon  [author] 7 hours ago 
To prevent player-spawned NPCs from being randomized, you need to re-check "Enable for Player spawned too" every time a new map is loaded. If it still doesn’t work, try deleting everything inside garrysmod/data/map_npc_replacer. If that’s not the reason, then I’m out of options too.
Armalad 7 hours ago 
Still nothing. Disabled all addons, save for this one and the snpcs I want to replace, removed everything from my addons folder and still nothing.
TF2 Gameplay 9 hours ago 
I found a very BIG issue here. I have like 800 addons and i found out that i can't load the map after installation of this addon. As i load the map, the screen stops on "loading resources" or sometimes stops on "Lua started" and basically i waited like 30 minutes to see if map will load. It didn't and i had to restart my PC because i couldn't even leave Garry's mod. After restarting i entered once again, same issue happened. BUT as i deleted the addon, everything went back to normal and i could play. Interestingly, there were no any errors of lua when i had this addon. I wonder if you can find an issue but in console didn't find anything.
ColdMoon  [author] 22 Jul @ 10:01am 
I’ve made an update—check if the issue happens to be resolved. If not, it might be a conflict with the addons you’ve subscribed to, since I haven’t encountered this issue myself.
Armalad 22 Jul @ 5:17am 
Done all that. Everything is checked, and I'm getting the same problem Roy is having.
ColdMoon  [author] 21 Jul @ 5:56pm 
@Armalad Also check "npc_ply_replacer_zombies" to randomizes zombies that spawn by yourself.
RoyTheBoy 21 Jul @ 5:17pm 
even when i save they dont appear
Armalad 21 Jul @ 10:54am 
Did all of that, still not doing anything. Does it mean anything that the SAVE button is grayed out? IT still says it's been saved, but i bring the snpc menu back up and the snpcs I checked off no longer are.
ColdMoon  [author] 21 Jul @ 9:46am 
@Armalad Check "Enable zombie etc. replacement" and "replace ZOMBIE to SNPC", then select your SNPC and click "OK", and click "SAVE" in main GUI, and then Utilities > Admin > Clean up > Clean up everything or restart the game
Armalad 21 Jul @ 5:58am 
How do you replace zombies with snpcs? I'm trying to replace the efault zombies with VJ common infected but it doesn't seem to be working. The save button is red and it doesn't seem to be saving the selected snpcs.
RoyTheBoy 21 Jul @ 2:22am 
thanks
ColdMoon  [author] 21 Jul @ 1:47am 
@RoyTheBoy It shouldn't affect the main functionality, but the issue is resolved now. Thanks for providing it.
RoyTheBoy 20 Jul @ 10:36pm 
got this error.

[Map NPC Replacer] lua/autorun/map_npc_replacer.lua:1666: bad argument #1 to 'Exists' (string expected, got boolean)
1. Exists - [C]:-1
2. TabMissingModels - lua/autorun/map_npc_replacer.lua:1666
3. unknown - lua/autorun/map_npc_replacer.lua:4131

Timer Failed! [Simple][@lua/autorun/map_npc_replacer.lua (line 4131)]

when i save my stuff it doesnt save.
ColdMoon  [author] 19 Jul @ 11:54am 
The available replacement options are determined by the NPC addons you subscribed to. Most of the ones I subscribed to are anime-themed, so that's why it turned out this way.
roneifranco 19 Jul @ 11:43am 
works with not-anime npcs?:steammocking:
AtrociousBean 17 Jul @ 9:52am 
buh???