Post tutorial RSS Basic Tutorial Poster

Basic tutorial poster with all the controls, class and gameplay functions.

Posted by on - Basic Other

The goal of the game is to build castles and destroy your enemies. Or something like that. Hope you like it.


If you want to host your own server just run from your KAG directory:
dedicatedserver.bat on Windows on Linux

The default port on which the server works is 50301. Be sure to forward this port on your firewall.

On Linux:
Set executable permissions:
chmod +x KAG
chmod +x
Iif the executable updates, you might need to rename the updated file and set executable permissions again. Like this:
mv KAG.tmp KAG
chmod +x KAG

Configure your server with these config files:


Some parameters worth considering:
m_width = 290; - map width in tiles
m_height = 110; - map height
m_seed = 0; - map random seed
sv_maxplayers = 32;
sv_ip = `0`; - assign a specific IP port or leave 0
sv_port = 50301; - port on which the server listens
sv_rconpassword = ``; - rcon password for remote admin
sv_name = `KAG Server`; - the name of your server
sv_info = `I like Cheese`; - info description which appears in the servers list


In this file you can specify what map loads on start. To load a specific map use this command:
LoadMap( "Maps/autosave.png" );
To generate a random map use this command:
LoadMap( "" );

*Remote administration*

Make sure you set the rcon password in (sv_rconpassword).
Open the client, join your server and open the console (HOME key).
Type "\rcon password". If you login succesfully, you can now use the console as if you are on the machine,
using the prefix "\rcon". Example: "\rcon \loadmap autosave".

Server commands:
\list - list all commands and variables
\kick [playername] [minutes]
\kickid [id] [minutes]
\loadmap [name]
\savemap [name]
\msg [text]
\rcon [password]


To start the online map editor you must first obtain an unlock key. Go to to get it.
To edit the map on your server join game as remote admin (details above; section *Remote administration*).
Once succesfully logged in press Start Editor from main menu (ESC).

bloodsuckern - - 108 comments

gj removing the pic

Reply Good karma Bad karma+1 vote
Guest - - 688,764 comments

This comment is currently awaiting admin approval, join now to view.

Guest - - 688,764 comments

This comment is currently awaiting admin approval, join now to view.

Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.