Garry's Mod

Garry's Mod

Murder
Making new maps guide + tool
Hello, I made a quick tool for myself setting up Loot in new maps, and figured I'd share it with everyone else.

This page contains a guide to setting up new maps, and will convert a loot.txt for Garry's Mod Murder to be full of random loot:

http://taco247.com/lootreplace.php

_______________________________________________________________________

The steps and links are on the above site, but you can read them here first if you so choose:

1. Open a server or single player in Garrys Mod Murder, running the map that you want to add loot onto.

2. Run the command bind "l" "mu_loot_add clipboard" in Gmod Console (You can use a key other than L, that just what I preferred.) By pressing the key, the location you are looking at will become a loot spot.

3. Use your binded key to create a bunch of loot locations around the map of choice.

4. Find your loot.txt, it'll be under your Data/murder/[mapname]/ in your Garrys Mod install folder. Default may be: ProgramFiles(x86)/Steam/steamapps/common/garrysmod/garrysmod/data/murder/

5. Enter the entire loot.txt line into this webpage and submit

6. Copy and paste the text that appears back into loot.txt (overwriting the old text). It will have the same locations, but a randomized loot model instead of all Clipboards.

7. Move the loot.txt to the server to garrysmod/gamemodes/murder/content/data/murder. You may need to create the folders for the first one.

8. Feeling nice? Upload the text to Pastie.org and post it, along with which map it is for, somewhere for others to use - preferably this discussion on the Steam Forums for Murder. A few of my own examples can be found here - http://taco247.com/gmod/

9. If you want to add custom spawns into a map, do the same binding to a key as in step 2, but instead bind the command mu_spawn_add spawns, which will add a spawn to the [mapname]/spawns/spawns.txt file at your current location. No further editing needs to be done to this file.
Last edited by FriendlyBaron; Jan 21, 2014 @ 4:30pm
< >
Showing 1-10 of 10 comments
gtamike_TSGK Feb 8, 2014 @ 11:00am 
Nice one. :B1:
I'll probably use for this map at some point down the line.
http://steamcommunity.com/sharedfiles/filedetails/?id=225468579

Edit
I have added loot and spawns now. :Alma:
http://gmod.gamebanana.com/maps/181113
Last edited by gtamike_TSGK; Jan 6, 2015 @ 2:46am
FriendlyBaron Feb 8, 2014 @ 11:25am 
If your waiting anyways, just wait until mechmind adds the random command next update :D

https://github.com/mechanicalmind/murder/pull/2
gtamike_TSGK Feb 8, 2014 @ 12:27pm 
Originally posted by itsatacoshop247:
If your waiting anyways, just wait until mechmind adds the random command next update :D

https://github.com/mechanicalmind/murder/pull/2

Thanks
Mintys Mar 10, 2014 @ 5:45am 
Are there any other items that I can use instead of clipboard? This works great but I don't like see a bunch of clipboards everywhere. I've tried using item names from sandbox but it says unknown item. But it works at least.
FriendlyBaron Mar 10, 2014 @ 10:28am 
Originally posted by Music:
Are there any other items that I can use instead of clipboard? This works great but I don't like see a bunch of clipboards everywhere. I've tried using item names from sandbox but it says unknown item. But it works at least.
Music read the webpage...it says exaclty how to get other items in two different ways.
Mintys Mar 10, 2014 @ 3:11pm 
Thanks
Ber Rune Oct 2, 2014 @ 9:42pm 
Problem solved, I had other addons that affected murder. I made a new folder for just murder and it works well. Thanks for the help on adding new things though.
Last edited by Ber Rune; Oct 3, 2014 @ 5:34pm
gtamike_TSGK Oct 3, 2014 @ 2:54am 
mu_loot_respawn - Respawns all loot :ghostgirl:

mu_spawn_list spawns - Lists all spawns
mu_spawn_closest spawns - Lists the closest spawn
mu_loot_list - Lists all loot spawns
mu_loot_closest - Lists closest loot spawn
mu_debug <0/1> - Shows debug information
mu_admin_panel - Brings up an admin panel where you can view information
Last edited by gtamike_TSGK; Jan 6, 2015 @ 2:46am
Wormholio Jan 5, 2015 @ 7:23pm 
Loot File for mu_cove:

{"1":{"pos":"[-3078.8044 -1361.2389 -208.1687]","angle":"{0 100.9155 0}","model":"models/props_combine/breenclock.mdl"},"2":{"pos":"[-3409.1365 -1153.8232 -195.6797]","angle":"{0 -80.3752 0}","model":"models/props_lab/huladoll.mdl"},"3":{"pos":"[-2128.8105 936.6617 384.8842]","angle":"{0 -26.6835 0}","model":"models/props_junk/sawblade001a.mdl"},"4":{"pos":"[-1980.7786 485.969 384.8842]","angle":"{0 59.3722 -0}","model":"models/props_junk/glassjug01.mdl"},"5":{"pos":"[-439.4869 -54.4068 82.1087]","angle":"{0 -66.6769 0}","model":"models/props_lab/clipboard.mdl"},"6":{"pos":"[78.7399 79.0842 53.3203]","angle":"{0 -96.1069 0}","model":"models/props/de_tides/vending_turtle.mdl"},"7":{"pos":"[1507.9252 -1324.6458 -669.6797]","angle":"{0 -122.7789 0}","model":"models/props/cs_militia/toothbrushset01.mdl"},"8":{"pos":"[815.4659 -1332.4139 -1113.6411]","angle":"{0 -111.0383 0}","model":"models/props_c17/cashregister01a.mdl"},"9":{"pos":"[781.1832 -1561.3792 -1138.6449]","angle":"{0 -113.2324 0}","model":"models/Gibs/Antlion_gib_Large_2.mdl"},"10":{"pos":"[761.7764 -1925.0393 -1167.8436]","angle":"{0 -132.3913 0}","model":"models/props_junk/sawblade001a.mdl"},"11":{"pos":"[1924.6406 -770.563 -556.7692]","angle":"{0 51.5152 0}","model":"models/Gibs/HGIBS.mdl"},"12":{"pos":"[-7.1092 -245.4307 60.3203]","angle":"{0 -169.1451 0}","model":"models/Gibs/Antlion_gib_Large_2.mdl"},"13":{"pos":"[598.5039 -2273.7922 -1439.6797]","angle":"{0 -153.645 -0}","model":"models/props/cs_militia/toothbrushset01.mdl"},"14":{"pos":"[-2501.168 1034.0294 373.7193]","angle":"{0 5.8902 0}","model":"models/props/cs_militia/toothbrushset01.mdl"},"15":{"pos":"[1782.8539 -1645.8481 -249.9891]","angle":"{0 160.2522 -0}","model":"models/props_c17/consolebox01a.mdl"},"16":{"pos":"[1766.6826 -1701.8726 -248.7681]","angle":"{0 174.9322 0}","model":"models/props_c17/cashregister01a.mdl"},"17":{"pos":"[1835.408 -1260.3384 -634.0891]","angle":"{0 -121.3766 0}","model":"models/Gibs/HGIBS.mdl"},"18":{"pos":"[830.6825 -1018.5707 -555.4387]","angle":"{0 -135.3065 0}","model":"models/props_junk/sawblade001a.mdl"},"19":{"pos":"[735.144 -2191.8472 -1222.8898]","angle":"{0 -161.6317 0}","model":"models/props/cs_militia/circularsaw01.mdl"},"20":{"pos":"[-3709.571 -2233.082 -245.6797]","angle":"{0 -105.9274 0}","model":"models/props_lab/desklamp01.mdl"},"21":{"pos":"[-3492.8496 -1366.9491 -238.2627]","angle":"{0 -70.3981 0}","model":"models/props_junk/glassbottle01a.mdl"},"22":{"pos":"[-3631.5146 -1701.2156 -237.4675]","angle":"{0 -154.0582 0}","model":"models/props/cs_militia/axe.mdl"},"23":{"pos":"[-1659.9825 -614.7498 -198.1562]","angle":"{0 -21.16 0}","model":"models/items/car_battery01.mdl"},"24":{"pos":"[-2654.8848 922.0483 384.6394]","angle":"{0 8.7178 0}","model":"models/props_lab/clipboard.mdl"},"25":{"pos":"[1311.7622 -3494.1099 -762.811]","angle":"{0 -179.3345 0}","model":"models/props_junk/glassjug01.mdl"}}
bia Feb 8, 2019 @ 3:57pm 
Spawn file md_clue

["[730.5676 -319.6841 200.0313]","[653.3944 -120.2807 200.0313]","[158.5925 -559.9623 200.0313]","[358.8914 -566.6904 200.0313]","[398.8383 -26.2354 200.0313]","[645.744 352.1201 200.0313]","[755.627 180.806 200.0313]","[-354.9685 780.2277 200.0313]","[-291.2097 601.2356 200.0313]","[-297.2105 291.2475 200.0313]","[-303.1588 449.9697 200.0313]","[-414.0298 216.7204 200.0313]","[-103.8022 494.526 201.0313]","[698.5428 768.6084 360.0313]","[455.9025 423.7798 360.0313]","[418.6628 -2.9804 360.0313]","[111.9969 380.6216 360.02]","[-170.6934 194.8722 0.0313]","[-226.0139 468.94 0.0313]","[-301.904 847.0732 4.0313]","[-190.4718 622.8961 0.0445]","[106.6274 666.0234 24.0313]","[135.3806 852.8358 24.0313]","[354.8906 1011.1971 24.0313]","[206.1914 1142.0739 24.0313]","[315.6513 1332.1165 24.0313]","[529.9376 620.7542 24.0313]","[838.503 675.8383 24.0313]","[606.8959 191.2393 0.0313]","[437.8344 408.9487 0.0313]","[655.7177 380.3147 0.0313]","[570.6283 -151.3454 0.0313]","[661.1631 58.6576 0.0313]","[-117.1841 -313.7551 0.0313]","[-265.1217 -253.693 0.0313]","[31.7859 -559.834 24.0313]","[352.2141 -563.4327 24.0313]","[516.3336 -335.3798 0.0313]","[675.8996 -569.8968 0.0313]","[644.2915 -728.0198 0.0313]","[-92.659 185.0396 -115.9688]","[-237.1191 349.9752 -115.9688]","[-103.4094 719.5156 -115.9688]","[-245.7408 641.5974 -115.9688]","[-291.9562 527.9688 -107.9688]","[143.7825 -272.8849 0.0313]","[201.3457 158.3518 0.0313]","[-64.0313 329.9371 -115.9688]","[-340.8023 185.294 228.0313]","[698.6875 207.1599 407.8673]","[16.0313 -129.9385 0.0313]","[738.9072 -76.1228 32.0313]","[692.0579 -767.9688 0.0313]","[336.0313 -544.0313 24.0313]","[-299.9688 419.7537 16.0313]","[865.2639 578.9997 24.016]","[-334.0675 179.6582 228.0313]","[-350.7716 663.3547 228.0313]","[-303.7831 847.183 4.0313]","[794.8164 -35.0426 200.0313]","[-36.0313 321.0603 -83.9688]","[664.7599 -240.0313 33.6972]","[751.7122 -46.9672 32.0313]","[467.0328 741.6396 24.0313]"]

Loot file md_clue

[{"angle":"{-87.5083 -106.0154 -103.4011}","model":"models/props_c17/doll01.mdl","pos":"[-336.6969 187.8256 230.188]"},{"angle":"{-5.3447 68.0879 -2.5631}","model":"models/props/cs_militia/toothbrushset01.mdl","pos":"[-332.1253 499.6109 239.3725]"},{"angle":"{-0.1336 -39.2563 0.0148}","model":"models/props/de_tides/vending_turtle.mdl","pos":"[-350.8748 650.9047 228.3062]"},{"angle":"{-0 -135.0006 -0}","model":"models/props_junk/glassbottle01a.mdl","pos":"[807.1441 284.9385 247.3034]"},{"angle":"{-2.9558 -26.8532 1.3108}","model":"models/props_junk/glassbottle01a.mdl","pos":"[805.1705 -293.6278 246.7865]"},{"angle":"{0.9796 -89.9112 0.1645}","model":"models/props_combine/breenclock.mdl","pos":"[690.6661 -376.1736 272.5273]"},{"angle":"{0.0072 0.4843 -0.91}","model":"models/props_c17/BriefCase001a.mdl","pos":"[535.0733 36.5607 209.0661]"},{"angle":"{-0.5426 -134.5926 10.4304}","model":"models/props/cs_militia/circularsaw01.mdl","pos":"[339.9768 519.4233 400.4624]"},{"angle":"{-0.4296 111.4207 0.0127}","model":"models/props_c17/consolebox01a.mdl","pos":"[420.3135 10.8889 360.4795]"},{"angle":"{-0.4214 161.8372 0.2792}","model":"models/props_junk/glassjug01.mdl","pos":"[20.9148 223.663 392.4706]"},{"angle":"{1.3154 -109.7901 -0.2255}","model":"models/props_c17/tools_wrench01a.mdl","pos":"[9.0157 -602.1436 24.4087]"},{"angle":"{0.8246 143.6061 -0.7177}","model":"models/Gibs/HGIBS.mdl","pos":"[378.6203 -599.0356 27.144]"},{"angle":"{-0.06 124.5392 -0.0701}","model":"models/props_lab/cactus.mdl","pos":"[-328.8764 -396.0662 73.4754]"},{"angle":"{-0.1213 158.6576 -0.6933}","model":"models/props_lab/cactus.mdl","pos":"[-329.9842 -210.2401 72.3673]"},{"angle":"{-0.1565 -18.2001 -90.3383}","model":"models/props_c17/suitcase001a.mdl","pos":"[30.0121 -121.5168 6.4624]"},{"angle":"{0.0002 -49.1055 0.8519}","model":"models/props_c17/suitcase_passenger_physics.mdl","pos":"[682.838 -610.8753 18.2417]"},{"angle":"{-0.689 -179.3436 0.783}","model":"models/props_combine/breenbust.mdl","pos":"[692.7039 -494.787 95.0549]"},{"angle":"{1.6758 -14.1364 -1.1201}","model":"models/props_junk/glassjug01.mdl","pos":"[749.8578 -44.448 32.4646]"},{"angle":"{0.5753 -29.654 0.0421}","model":"models/props_lab/clipboard.mdl","pos":"[548.3815 49.769 37.2475]"},{"angle":"{-0.1917 -86.8271 0.0172}","model":"models/props_lab/clipboard.mdl","pos":"[612.9862 432.3844 29.7699]"},{"angle":"{-2.2871 -23.0338 0.823}","model":"models/props_junk/glassbottle01a.mdl","pos":"[682.7607 169.3921 45.4585]"},{"angle":"{-1.0056 152.2752 0.4332}","model":"models/props_junk/glassbottle01a.mdl","pos":"[470.4187 342.4517 40.851]"},{"angle":"{4.554 -93.5753 0.1058}","model":"models/props/cs_militia/axe.mdl","pos":"[614.8331 771.5302 26.9227]"},{"angle":"{6.6011 125.5943 -4.0085}","model":"models/props/cs_militia/circularsaw01.mdl","pos":"[572.9068 471.0693 64.7975]"},{"angle":"{-7.7008 26.6968 -0.0178}","model":"models/Gibs/Antlion_gib_Large_2.mdl","pos":"[870.7276 624.6457 63.013]"},{"angle":"{0.0772 68.6477 -0.6356}","model":"models/props/cs_militia/toothbrushset01.mdl","pos":"[165.6616 882.2266 63.1754]"},{"angle":"{-0.1527 141.4601 0.9779}","model":"models/props/de_tides/vending_turtle.mdl","pos":"[86.9386 726.038 56.2689]"},{"angle":"{-7.9127 3.0577 0.1952}","model":"models/Gibs/Antlion_gib_Large_2.mdl","pos":"[-295.465 580.384 50.5918]"},{"angle":"{89.3133 -34.5744 145.7494}","model":"models/props_lab/clipboard.mdl","pos":"[-33.4751 781.9097 71.8532]"},{"angle":"{-2.2927 -131.6965 0.0301}","model":"models/props_junk/glassjug01.mdl","pos":"[-124.7735 375.3233 27.4011]"},{"angle":"{-0.0486 -166.9272 0.1431}","model":"models/props_junk/glassjug01.mdl","pos":"[-151.0223 326.1709 27.4139]"},{"angle":"{-0.3389 -23.4917 0.3861}","model":"models/props_c17/cashregister01a.mdl","pos":"[166.432 920.7089 36.7271]"},{"angle":"{-28.0282 -97.1825 93.0368}","model":"models/props_c17/doll01.mdl","pos":"[140.9258 1271.412 47.6998]"},{"angle":"{-89.9997 90 180}","model":"models/props_junk/sawblade001a.mdl","pos":"[-208.8324 564.9125 -61.7173]"},{"angle":"{-0.3417 -56.546 0.263}","model":"models/props_junk/glassjug01.mdl","pos":"[23.9888 789.9892 -75.5782]"},{"angle":"{5.9377 -93.1596 0.0872}","model":"models/props/cs_militia/axe.mdl","pos":"[-218.6612 97.4056 -83.0561]"},{"angle":"{3.5746 94.0947 -1.2057}","model":"models/Gibs/HGIBS.mdl","pos":"[-254.2717 539.2507 -104.8896]"},{"pos":"[-334.209 166.9993 228.3203]","angle":"{0 -88.3422 0}","model":"models/props_lab/clipboard.mdl"},{"pos":"[-350.7057 650.0054 228.3203]","angle":"{0 -94.3881 0}","model":"models/props_lab/clipboard.mdl"},{"pos":"[-303.7301 851.3224 4.3203]","angle":"{0 91.4165 0}","model":"models/props_lab/clipboard.mdl"},{"pos":"[805.3767 -31.0549 200.3203]","angle":"{0 20.6499 0}","model":"models/props_lab/clipboard.mdl"},{"pos":"[-33.1385 321.133 -83.6797]","angle":"{0 2.6268 0}","model":"models/props_lab/clipboard.mdl"},{"pos":"[662.4705 -230.9826 33.9862]","angle":"{0 85.3671 0}","model":"models/props_lab/clipboard.mdl"},{"pos":"[752.8281 -47.0181 32.3203]","angle":"{0 1.6129 0}","model":"models/props_lab/clipboard.mdl"},{"pos":"[466.9673 740.5244 24.3203]","angle":"{0 -82.981 0}","model":"models/props_lab/clipboard.mdl"}]
Last edited by bia; Feb 8, 2019 @ 4:26pm
< >
Showing 1-10 of 10 comments
Per page: 1530 50