Those lines can be put into your map's files. You can also put them in your Archive RFA files but that's not really what the "Active" code is used for. For a game mode specific mod, I've heard a lot about people putting their code into ObjectSpawnTemplates.con file for their game mode.
For a global map-side mod, I like to make a separate .con file to keep my code in.
- Create a file named MapsideMods.con
- Place it in your map's main directory (bf1942/levels/Map_Name/MapsideMods.con)
- Open up the ObjectSpawnTemplates.con of each of your game modes and enter this code:
Code: Select all
rem ----- MillerMod's Mapside Mods -----
run ../../Map_Name/MapsideMods.con
I hope this works well for you. :]