how do modders modify stock maps
-
ive always been told u cant modify stock maps but there are tons of mods that adds models and perk machines and sometimes extra rooms to a stock map, how?
-
You can edit maps. What you can't do is create actual custom maps with imported assets. You use functions like spawn, setorigin, probably precache things as well. Look at the code of a mod
-
All the things you mentioned are not part of the map geometry, but are dynamically spawned by the game.
As mentioned by Resxt you can do the same through gsc, furthermore you can also remove and move already spawned entities around. Sometimes this happens on stock maps, the Tranzit map from BO2 with its location "sub maps" is one of the more extreme cases as everything is the same map.