FANDOM


(A guide to cheating. TODO finish guide.)
 
(TODO)
Line 5: Line 5:
 
But you intervened.
 
But you intervened.
   
You were formerly a tactician for one of the world's major civilizations. You defected to the [[barbarians]], because Genseric inspired you. You understood that the barbarian civilization has a permanent advantage over other civilizations, because Genseric can inspire free units. You plan to conserve your units, defend your cities and take the world. You will use the free units to cheat.
+
You were formerly a tactician for one of the world's major civilizations. You defected to the [[barbarians]], because Genseric inspired you. You understood that the barbarian civilization has a permanent advantage over other civilizations, because Genseric can inspire free units. You changed the plan. You will conserve your units, defend your cities and take the world.
   
 
This guide is for ''playing as barbarians''. This guide will uncover some special facts about Freeciv, whether you play as barbarians, against barbarians or without barbarians.
 
This guide is for ''playing as barbarians''. This guide will uncover some special facts about Freeciv, whether you play as barbarians, against barbarians or without barbarians.
   
 
== How to control barbarians ==
 
== How to control barbarians ==
  +
This is the procedure for '''Freeciv 2.1.10'''. Other versions of Freeciv might work, or might be different.
  +
 
This is cheating. Freeciv allows you to take barbarians, if you add the letter 'b' to the server option 'allowtake', but Freeciv never allows you to disable the barbarian AI. The only way to disable the barbarian AI is to edit a saved game.
 
This is cheating. Freeciv allows you to take barbarians, if you add the letter 'b' to the server option 'allowtake', but Freeciv never allows you to disable the barbarian AI. The only way to disable the barbarian AI is to edit a saved game.
   
This is the procedure for '''Freeciv 2.1.10''', with the caveat that we are escaping normal gameplay (by disabling the barbarian AI), so we might cause some glitches. Other versions of Freeciv might work, or might be different.
+
So you need an '''existing save file''' that you can convert for playing as barbarians. You want a save file where the barbarians ''already control'' one or more cities. (This is more probable if the game has "raging hordes, lots of barbarians": <tt style="padding: 2px; background: black; color: white;">/set barbarians 4</tt>.) You might already have a save file with barbarian cities. Otherwise, you can play a normal game on your own civserver, and you can save when you see barbarian cities.
  +
  +
A save file is an ordinary, compressed text file. You can decompress your chosen save file, then open it in some text editor.
   
TODO
+
# Find your save files. Unix clones (like Linux, BSD) tend to have <tt>~/.freeciv/saves</tt>, but other systems might have a different location.
  +
#* Example: <tt style="background: black; color: white; padding: 2px;">cd .freeciv/saves</tt>
  +
# Decompress your chosen file, but keep the original save file. Freeciv 2.1, with default server options, saves <tt>.sav.gz</tt> gzip files. (Freeciv 2.2 saves <tt>.sav.bz2</tt> bzip2 files.)
  +
#* Example: <tt style="background: black; color: white; padding: 2px;">zcat game5-turn270.sav.gz > barbarian5-turn270.sav</tt>
  +
# Open the decompressed file in a text editor.
  +
#* Example: <tt style="padding: 2px; background: black; color: white;">/set barbarians 4</tt>
  +
# In the save file, find the <tt>allow_take=</tt> line, and add the letter 'b', to allow players to take barbarians. (You can instead use <tt>/set allowtake</tt> after you start the server, but this is easy to do now.)
  +
#* Example: Change <tt style="padding: 2px; background: black; color: white;">allow_take="HAhadOo"</tt> to <tt style="padding: 2px; background: black; color: white;">allow_take="HAhadOob"</tt>.
  +
# In the save file, find a barbarian player who is alive and has some cities:
  +
#* Example: <pre>
  +
[player20]
  +
name="Genseric"
  +
username="Unassigned"
  +
ranked_username="Unassigned"
  +
nation="Barbarian"
  +
...
  +
is_alive=1
  +
ai.control=1
  +
...
  +
ai.is_barbarian=2
   
  +
</pre>
 
[[Category:Gameplay]]
 
[[Category:Gameplay]]

Revision as of 17:06, January 15, 2010

Barbaricum

Barbaricum is the Barbarian capital city.

Genseric wanted to own the wealth of the world. Genseric rallied many Barbarian Leaders, who recruited many free units to fight for Genseric. So Genseric pondered how to raid some cities. Genseric created a simple plan. All units will act berserk and attack the nearest city. Bored units will disband.

But you intervened.

You were formerly a tactician for one of the world's major civilizations. You defected to the barbarians, because Genseric inspired you. You understood that the barbarian civilization has a permanent advantage over other civilizations, because Genseric can inspire free units. You changed the plan. You will conserve your units, defend your cities and take the world.

This guide is for playing as barbarians. This guide will uncover some special facts about Freeciv, whether you play as barbarians, against barbarians or without barbarians.

How to control barbarians

This is the procedure for Freeciv 2.1.10. Other versions of Freeciv might work, or might be different.

This is cheating. Freeciv allows you to take barbarians, if you add the letter 'b' to the server option 'allowtake', but Freeciv never allows you to disable the barbarian AI. The only way to disable the barbarian AI is to edit a saved game.

So you need an existing save file that you can convert for playing as barbarians. You want a save file where the barbarians already control one or more cities. (This is more probable if the game has "raging hordes, lots of barbarians": /set barbarians 4.) You might already have a save file with barbarian cities. Otherwise, you can play a normal game on your own civserver, and you can save when you see barbarian cities.

A save file is an ordinary, compressed text file. You can decompress your chosen save file, then open it in some text editor.

  1. Find your save files. Unix clones (like Linux, BSD) tend to have ~/.freeciv/saves, but other systems might have a different location.
    • Example: cd .freeciv/saves
  2. Decompress your chosen file, but keep the original save file. Freeciv 2.1, with default server options, saves .sav.gz gzip files. (Freeciv 2.2 saves .sav.bz2 bzip2 files.)
    • Example: zcat game5-turn270.sav.gz > barbarian5-turn270.sav
  3. Open the decompressed file in a text editor.
    • Example: /set barbarians 4
  4. In the save file, find the allow_take= line, and add the letter 'b', to allow players to take barbarians. (You can instead use /set allowtake after you start the server, but this is easy to do now.)
    • Example: Change allow_take="HAhadOo" to allow_take="HAhadOob".
  5. In the save file, find a barbarian player who is alive and has some cities:
    • Example:

[player20] name="Genseric" username="Unassigned" ranked_username="Unassigned" nation="Barbarian" ... is_alive=1 ai.control=1 ... ai.is_barbarian=2

Community content is available under CC-BY-SA unless otherwise noted.