Hello. I’m sorry I’m asking alot of questions, I’m new to Hammer and have learned lots but haven’t gotten around to this… So for example, when people do this for their maps, they have their custom sound folder and materials folder.
I try doing the same for my map like so
I watched https://www.youtube.com/watch?v=6BBq-bQJCHs for making custom textures and I got it working okay
I have my material in “GarryMod/garrysmod/materials/custom”
(the sound/music works just fine as well)
I have my sound in “GarrysMod/garrysmod/sound”
I correctly made a button for the sound to run (by watching another tutorial for figuring that out).
To begin with, when I was compiling the map just to test the sound and material, everything worked okay. But then I wanted to permanently attach that sound and material to the map. So I made practically my own addon called gm_oilrig and put my sound folder, map folder, and material folder (like copying the example addon). Then I deleted the old directories the material and sound were in (GarrysMod/garrysmod/sound, GarryMod/garrysmod/materials/custom) and it didn’t work.
However! My map showed up in the ‘gm’ map category and with my custom picture!
I had assumed that it would pickup the material and sound in my little gm_oil rig addon folder I made. But no.
Then I put the sound back in it’s old directory and material as well, and it worked? So it’s referenced/attached to load there and not my addon folder thing. How could I make it load in my addon?
The answer to my question could be worded out in paragraphs. But do any of you know of a video that might teach me how to do this? Or a short answer lol?