Garry's Mod

Garry's Mod

Murder
~AstroMan~ Jul 1, 2023 @ 10:27pm
How to make loot spawn in custom map?
Trying to make a custom map for the gamemode but have no idea how to get loot to randomly spawn in places like other maps, any help?
< >
Showing 1-4 of 4 comments
Air4iik Jul 1, 2023 @ 10:44pm 
You can specify the names of the models that the mu_loot_models_list command displays as a loot or specify the path to the model
~AstroMan~ Jul 1, 2023 @ 10:59pm 
Originally posted by Airwaves:
You can specify the names of the models that the mu_loot_models_list command displays as a loot or specify the path to the model

Thank you so much, I had no idea it was literally this easy. So how are the spawn points in the map saved then? Is it a client side thing or a server side thing?
Air4iik Jul 1, 2023 @ 11:31pm 
Loot and spawns are saved along the path garrysmod/data/murder/[mapname folder]. If you want to add loot to your map addon, you will need to create the following structure in the addon folder [addon folder]/gamemodes/murder/content/data/murder/[mapname folder from the data folder].

You can see how this is implemented in my addon, which contains purely loot and spawns for unofficial maps - https://steamcommunity.com/sharedfiles/filedetails/?id=2244607334

I'm sorry if I wrote or explained something incorrectly, I don't know English very well, so I use a translator
< >
Showing 1-4 of 4 comments
Per page: 1530 50