Smokin' Guns has three types of maps: dm_ , br_ , and du_ . You will need to name your map accordingly, as well as have the correct entities for your map to work in SG.
Contents
Deathmatch, Team Deathmatch, & Round Team Play
Deathmatch, team deathmatch, & round team play all use the same map file. To make a DM/TDM/RTP map make sure to name your map dm_mapname.map. This will cause your map to be recognized as a DM/TDM/RTP map. The only special entities you need to use for this map type is:
- info_player_deathmatch
- The spawn points for players in the DM and the TDM game modes
- team_CTF_blueplayer/team_CTF_redplayer
- Initial Blue team spawning position for RTP gametype. This is where players spawn when they join the Blue/Red team.
- team_CTF_bluespawn/team_CTF_redspawn
- Blue team respawning position for TRP games. This is where Blue/Red team players respawn after they get fragged.
Bank Robbery
To make a BR map make sure to name your map br_mapname.map. This will cause your map to be recognized as a BR map. The BR specific entities you need to use for this map type are a little different then the DM/TDM/RTP gametype:
- info_player_deathmatch
- The spawn points for players in the DM and the TDM game modes. While this entity does not get used in the BR gametype, you need to have at least one info_player_deathmatch entity in the map in order to compile.
- team_CTF_blueplayer/team_CTF_redplayer
- Initial Blue team spawning position for RTP gametype. This is where players spawn when they join the Blue/Red team.
- team_CTF_bluespawn/team_CTF_redspawn
- Blue team respawning position for TRP games. This is where Blue/Red team players respawn after they get fragged.
- item_money
- Gold sack for bank robbery mode. Make sure you use this instead of pickup_money.
- trigger_escape
- Touching this will let the team win the round who robbed the bank. You will need to create a brush covering the area you want to be your escape point; then texture it with the textures/common/trigger texture; and finally, while it is selected, select trigger/trigger_escape
Duel
A Duel map is made up of multiple sections. Each section contains its own entities. To make a DU map make sure to name your map du_mapname.map. This will cause your map to be recognized as a DU map. The special entities you need to use for this map type are similar to the DM gametype:
- info_player_deathmatch
- The spawn points for players in the DM and the TDM game modes. For each section of the you will need two info_player_deathmatch. To differentiate between the different sections of the duel map you will need to add:
key: part
value: <number> (different numbers for each section) - info_player_deathmatch
- Identical to the other info_player_start entities above, but these are for the "trio" mode. Like before, you will need to add:
key: part
value: <number> (different numbers for each section)
BUT, in addition, you will also need to add the following to enable trio mode on your new du_ map:
key: trio
value: 1 - info_player_intermission
- Camera for intermission screen between matches. This is where the spectators start when they either die or change between map sections. Because each section of the map has its own info_player_intermission, you will need to add the following:
key: name
value: <partname> (different names for each section. This should be a creative name describing that map part, and less then 20 characters eg: "Graveyard")
key: part
value: <number> (different numbers for each section)