I'm proud to announce my 7th mod, the Capture The Flag mod!!!
It's a simple mod from a player perspective, but there's a lot more going on in the background... but first, let me introduce you to the concept and settings before talking about the inner workings xD
The concept is simple. Players start with flags (Idle structures like recipes, mines, crafters, etc) on some territories. Losing to many flags means the player is eliminated. When you capture a flag of an opponent you can get awarded with a permanent income boost. Simple, right?
Relatively... But I got it working. This mod is compatible with team and FFA games, has failsaves that make sure every team / player gets the same amount of flags and eliminates any team / player that loses to many (or all) flags.
The mod has 3 settings.
- The amount of flags per team
- The number of flags a team has to lose to be eliminated
- How much bonus income you get from capturing a flag
Note that in a FFA game every player is seen as its own team.
With the mod comes a mod menu where you can check up on how many flags each team still has to lose before being eliminated
Now a bit about the inner workings of this mod.
Players / teams are not able to pick which structure they'll get to use for flags. At least, not directly...
The funny part about this is that your flag actually will be the same every non team game xD. The way I made the flag distribution is based on your player ID. I myself for example will always have a Market as flag in a FFA Capture The Flag game
Your flag is determined by your team ID (A, B, C, etc). If you want a specific structure you should look up this table:
- A = Army Camp
- B = Mine
- C = Smelter
- D = Crafter
- E = Market
- F = Army Cache
- G = Money Cache
- I = Resource Cache
- J = Mercenary Camp
- K = Power
- L = Draft
- M = Arena
- N = Hospital
- O = Digsite
- P = Attack
- Q = Mortar
- R = Recipe
From here the list starts over again
- S = Army Camp
- T = Mine
The best part is that this mod actually is compatible with every other mod, as long as you don't combine it with other mods that add structures. I actually took my time and made proper method to check if players were losing their flags by orders from other mods. So you can combine this mod with for example Custom Card Package, Swap Territories and Portals
Here's a link to a game that has the mod included if you want to test it out:https://www.warzone.com/MultiPlayer?GameID=30200509
Edited 3/19/2022 11:47:06