Garry's Mod

Garry's Mod

Murder
~AstroMan~ 2023 年 7 月 1 日 下午 10:27
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?
< >
目前顯示第 1-4 則留言,共 4
Air4iik 2023 年 7 月 1 日 下午 10:44 
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~ 2023 年 7 月 1 日 下午 10:59 
引用自 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 2023 年 7 月 1 日 下午 11:31 
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://gtm.steamproxy.vip/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
< >
目前顯示第 1-4 則留言,共 4
每頁顯示: 1530 50