Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Create an account below if you want to be able to make edits.

Tribes: Difference between revisions

From the OpenFront Wiki Project
m 1 revision imported: Port from openfront.miraheze.org
Rewrite, simplify, fix factual errors, formatting
Line 1: Line 1:
{{distinguish|Nations}}
{{distinguish|Nations}}


[[Bots]] are one of the two types of non-player countries that spawn in [[OpenFront]]; The other being [[nations]]. Every (public) game, 400 bots spawn into the map. [[Bots]] are used as filler in the game, stopping players from progressing too quickly by taking a lot of unclaimed land really fast.  
Bots are one of the two types of non-player countries that spawn in [[OpenFront]], the other being [[Nations]]. Every (public) game, 400 bots spawn into the map.  


== Behavior ==
== Behavior ==
[[Bots]] will always send out extremely small-scale attacks to their neighbors, slowly and gradually taking a few pixels of land at a time. This isn’t a real problem though, unless you decide to full-send, or allow nearby bots to build up too many troops. Each [[Bots|bot]] spawns somewhere random in the [[Maps|map]], staying a fair distance away from other [[bots]] and never moving from their location until the game starts. [[Bots]] will also seem to always have two randomly-generated words in their country name, as well as never having a flag associated with them beside that. Finally, [[bots]] never try to build any kind of [[Buildings|building]], or send out [[Transport Ship|transport boats]]. If a [[Bots|bot]] does somehow have a [[Buildings|building]], then it either isn’t a [[Bots|bot]], or a [[Bots|bot]] simply conquered it from a different country.
'''Bots''' will always send out extremely small-scale attacks to their neighbors, slowly and gradually taking a few pixels of land at a time. This isn’t a real problem though, unless you decide to full-send, or allow nearby bots to build up too many troops. Each [[Bots|bot]] spawns somewhere random in the [[Maps|map]], staying a fair distance away from other [[bots]] and never moving from their location until the game starts. [[Bots]] will also seem to always have two randomly-generated words in their country name, as well as never having a flag associated with them beside that.  


= [[Single Player]] =
Bots never do not create any types of [[Buildings]] or [[Unit|Units]] (Meaning they cannot send [[Transport Ship|Transport Boats]]). Bots are able to own buildings by conquering land from a player or nation which has built a building.
In [[Single Player|single player]], you can control how many [[bots]] you want to spawn, the max (and also the default) for [[Single Player|single player]] is 400. You can use the slider


to go for a lower bot number, and bringing it down all the way will disable [[bots]] in general, only leaving [[nations]] and players in the game. There also may or may not be a correlation between the game [[difficulty]] and the bot behavior.
== Custom Games ==
In [[Single Player|Singleplayer]] and in private lobbies, you can control how many bots you want to spawn using the [[Game Settings]].  The maximum, and also the default number of bots is 400. You can use the slider to adjust the bot number. Turning it to 0 will disable bots, leaving only nations and players in the game.


= [[Combat]] Against [[Bots]] =
== Bot Combat ==
[[Combat]] against [[bots]] has special rules to balance gameplay and provide appropriate challenge levels.
{{Main|Combat}}
'''Combat''' against bots is generally very easy, as they are given multiple debuffs when fighting against players and [[Nations]]. Namely:


== [[Bots|Bot]] [[Combat]] Mechanics ==
* Troop loss against bots is lowered by 20%.
When fighting against [[bots]], several special modifiers apply:
* Their population growth is lowered by 30%.
* Bots start with only 10,000 [[Troops]].
* Their maximum population is lowered by 50%.
* Bots attack wilderness with 5% of troops.


=== Human vs Bot Advantage ===
== Difficulty ==
When a human player attacks a [[Bots|bot]]:
Unlike [[Nations]], bots are not affected by difficulty settings.
if (attacker.type() == PlayerType.Human && defender.type() == PlayerType.Bot) {
  mag *= 0.8;
}


This means humans get a 20% reduction in troop losses when attacking [[bots]].
== Names ==
Bots spawn with random names, made up of the name of a geographical area, and a type of region.


=== [[Bots|Bot]] Attack Power ===
Bots can be identified by their muted colors, long names, and their type being displayed as "Bot" in their details.
[[Bots]] use different attack amounts compared to human players:
if (attacker.type() == PlayerType.Bot) {
  return attacker.troops() / 20;  // Bots use 5% of their troops
} else {
  return attacker.troops() / 5;  // Humans use 20% of their troops
}


=== [[Bots|Bot]] Population Mechanics ===
== Strategy ==
[[Bots]] have several limitations on their population and growth:
By abusing bots' slow and weak attacks, players may place a [[Buildings|Building]] on the border with a bot, let it get captured, and then build another building of the same type, let it get captured, and so on, ending by capturing back all the territory. Given most buildings scale in price linearly, or even exponentially, this can save hundreds of thousands of [[Gold]].
 
* Maximum Population: [[Bots]] are limited to half the normal maximum population
if (player.type() == PlayerType.Bot) {
  return maxPop / 2;
}
 
* Population Growth: [[Bots]] grow 30% slower than human players
if (player.type() == PlayerType.Bot) {
  toAdd *= 0.7;
}
 
=== [[Bots|Bot]] Starting Resources ===
[[Bots]] start with different initial resources:
if (playerInfo.playerType == PlayerType.Bot) {
  return 10_000;  // Bots start with 10,000 troops
}
 
Compare this to human players who start with 25,000 troops (or 1,000,000 if infinite troops is enabled).
 
== Combat Calculation Examples ==
 
=== Example 1: Human Attacking [[Bots|Bot]] ===
Let's calculate losses for a human player attacking a [[Bots|bot]] in highlands:
 
* Scenario:
Human Attacker Troops = 1000
Bot Defender Troops = 2000
Terrain = Highland (mag = 100)
Has Defense Post = false
 
* Calculations:
Base Magnitude = 100
Human vs Bot Bonus = 100 * 0.8 = 80
Troop Ratio = 2000/1000 = 2 (capped at 2)
Base Reduction = 0.8
Size Penalty = 1 (assuming < 100,000 tiles)
 
* Results:
Attacker Troop Loss = 2 * 80 * 0.8 * 1 = 128 troops lost per tick
Defender Troop Loss = 2000/tiles_owned troops lost per tick
 
=== Example 2: [[Bots|Bot]] Attacking Human ===
When a bot attacks a human player:
 
* The [[Bots|bot]] will only commit 5% of its troops to the attack (vs 20% for humans)
* The [[Bots|bot]] follows the same [[combat]] mechanics as human attackers
* The [[Bots|bot]] has no special attack bonuses against humans
 
== [[Bots|Bot]] Difficulty Levels ==
[[Bots]] can be configured with different [[difficulty]] levels that affect their gameplay:
 
* Easy: 50% of normal maximum population
* Medium: Normal maximum population
* Hard: 150% of normal maximum population
* Impossible: 200% of normal maximum population
 
=== Population Growth by [[Difficulty]] ===
[[Bots|Bot]] population growth also varies by [[difficulty]]:
* Easy: 90% of normal growth rate
* Medium: Normal growth rate
* Hard: 110% of normal growth rate
* Impossible: 120% of normal growth rate


== See also ==
== See also ==

Revision as of 10:21, 20 November 2025

Bots are one of the two types of non-player countries that spawn in OpenFront, the other being Nations. Every (public) game, 400 bots spawn into the map.

Behavior

Bots will always send out extremely small-scale attacks to their neighbors, slowly and gradually taking a few pixels of land at a time. This isn’t a real problem though, unless you decide to full-send, or allow nearby bots to build up too many troops. Each bot spawns somewhere random in the map, staying a fair distance away from other bots and never moving from their location until the game starts. Bots will also seem to always have two randomly-generated words in their country name, as well as never having a flag associated with them beside that.

Bots never do not create any types of Buildings or Units (Meaning they cannot send Transport Boats). Bots are able to own buildings by conquering land from a player or nation which has built a building.

Custom Games

In Singleplayer and in private lobbies, you can control how many bots you want to spawn using the Game Settings. The maximum, and also the default number of bots is 400. You can use the slider to adjust the bot number. Turning it to 0 will disable bots, leaving only nations and players in the game.

Bot Combat

Combat against bots is generally very easy, as they are given multiple debuffs when fighting against players and Nations. Namely:

  • Troop loss against bots is lowered by 20%.
  • Their population growth is lowered by 30%.
  • Bots start with only 10,000 Troops.
  • Their maximum population is lowered by 50%.
  • Bots attack wilderness with 5% of troops.

Difficulty

Unlike Nations, bots are not affected by difficulty settings.

Names

Bots spawn with random names, made up of the name of a geographical area, and a type of region.

Bots can be identified by their muted colors, long names, and their type being displayed as "Bot" in their details.

Strategy

By abusing bots' slow and weak attacks, players may place a Building on the border with a bot, let it get captured, and then build another building of the same type, let it get captured, and so on, ending by capturing back all the territory. Given most buildings scale in price linearly, or even exponentially, this can save hundreds of thousands of Gold.

See also