Example: Conquest
bf-conquest.rmeg is the bundled mode built around the deployment map: two teams of five classes, in squads, fight over the map's territories for tickets. Its rules are on the game modes page; this is how it's made.
| Design | How |
|---|---|
| Capturing | Halo 3's own Territories: mode = "Territories", on every map that has them. |
| Tickets | Each team's are in a global number. A death (on object death) costs its team one, and a Medic's revive gives it back. While one team holds more territories (team.get_territory_count()), the other loses one every few seconds. scripted_round_end = true, so the round ends only when the script says: out of tickets, or out of time. |
| Squads | A player new to a team joins the first squad with room for them: get_squad() counted over the team, then set_squad. player.team[0] remembers the team, to catch a change. |
| Deploying | Each territory is its holder's deploy point. Each player's body is their squad's while they've been out of combat for five seconds. A Recon's beacon, a deployed radar jammer, is their squad's until the enemy destroys it. |
| Classes | Assault, Medic, Support, Engineer and Recon. Weapons are reserved with set_weapon_pickup, and abilities are as in Combined Arms. |
| HUD | Both teams' tickets as meters, the territories held and the time, then the class's abilities while alive. Widget 3 is the class picker's own status line: the class's name. |
It has six settings: bleed_seconds, death_cost, round_seconds, squad_size, squad_spawn_seconds and tickets, read in that order as script_option[0] to [5].
megalo-conquest.rmeg is a smaller Conquest to read first. Red and Blue start with 300 tickets each. Every death costs a ticket; holding more than half of all flags, neutral flags included in the total, drains one enemy ticket a second. At zero tickets the other team wins; after 30 minutes, the side with more tickets wins, and equal tickets are a draw. It places its ticket counters with widgets, and its settings are bleed_interval, death_cost, round_seconds and tickets.
