Garry's Mod

Garry's Mod

Map NPC Replacer
32 条留言
7david 9 月 4 日 上午 9:13 
threw an error and didnt work. i love this addon!
crysmiss07 8 月 29 日 下午 5:29 
it CRACHS EVREY TIME! HELP
avast windows 8 月 17 日 上午 8:46 
бабка в скайпе быстрее разбиралась чем я в этой шняге
ColdMoon  [作者] 8 月 3 日 上午 6:17 
The replaceable models are generated automatically based on your subscriptions. If the addons you subscribed to include enemy units which based on the Combine template, then they’ll appear in the COMBINE replacement list.
飞天大笑坝 8 月 3 日 上午 2:40 
npc model lost,some of them cant found,list improvement can't use,Noooo!!!TOT
Garry 7 月 25 日 上午 5:10 
Checked it, everything like in the previous comment. In the first game session the same thing happened and in the second one too. The only difference is that it's not laggy in the second session. Well, it was worth to try.
ColdMoon  [作者] 7 月 24 日 下午 12:58 
Could you try launching the game a second time to see if it still takes as long? I’ve now changed the code so that scanning NPC animation sequences only runs on the first startup or when a change in the NPC list is detected.
Garry 7 月 24 日 上午 11:16 
@ColdMoon, well now i noticed that loading of map went from "Lua started" to "Ready to play!" and now as previously i needed to wait, but this time for like 20 minutes for it to load with a screen where i need to restart. BUT eventually a managed to enter and i got auto-disconect but somehow i didn't disconnect. Then everything was laggy and after some time it ended and i could play normally. That's a big progress! 👍
ColdMoon  [作者] 7 月 23 日 下午 8:56 
@TF2 Gameplay batch-loading mechanism added, Please try and see if it works. It might cause a short freeze when you get the physics gun. In the future, I plan to have the scanning only run on the first startup or when a change in the NPC list is detected — that should completely resolve the issue.
Neosun 7 月 23 日 下午 2:55 
Though I was pressing that blue save button (and nothing was reflecting), the most recent update fixed this.

Thanks :steamhappy:
Garry 7 月 23 日 下午 1:33 
@ColdMoon, thank you. Yes, probably other users also can have such problem if they have a lot of add-ons like me. Maybe i will try to load the map (this is gonna be pain) before your update of a batch-loading mechanism tomorrow and see how it goes.
ColdMoon  [作者] 7 月 23 日 上午 9:52 
@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  [作者] 7 月 23 日 上午 9:44 
@Neosun click the blue SAVE button on the left,the one on the top is for bodygroups
Neosun 7 月 23 日 上午 7:05 
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.
Garry 7 月 23 日 上午 6:18 
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  [作者] 7 月 23 日 上午 6:09 
@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  [作者] 7 月 23 日 上午 6:05 
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 月 23 日 上午 5:20 
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.
Garry 7 月 23 日 上午 3:42 
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  [作者] 7 月 22 日 上午 10:01 
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 7 月 22 日 上午 5:17 
Done all that. Everything is checked, and I'm getting the same problem Roy is having.
ColdMoon  [作者] 7 月 21 日 下午 5:56 
@Armalad Also check "npc_ply_replacer_zombies" to randomizes zombies that spawn by yourself.
RoyTheBoy 7 月 21 日 下午 5:17 
even when i save they dont appear
Armalad 7 月 21 日 上午 10:54 
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  [作者] 7 月 21 日 上午 9:46 
@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 7 月 21 日 上午 5:58 
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 7 月 21 日 上午 2:22 
thanks
ColdMoon  [作者] 7 月 21 日 上午 1:47 
@RoyTheBoy It shouldn't affect the main functionality, but the issue is resolved now. Thanks for providing it.
RoyTheBoy 7 月 20 日 下午 10:36 
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  [作者] 7 月 19 日 上午 11:54 
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 7 月 19 日 上午 11:43 
works with not-anime npcs?:steammocking:
AtrociousBean 7 月 17 日 上午 9:52 
buh???