Mod

From UFO:AI
Revision as of 08:51, 25 March 2013 by Mattn (talk | contribs)

General

UFO:AI supports mod development. The main mod is the base mod. To create a new mod, just create a new directory in the UFO:AI mods directory. E.g. name it mymod. Start UFO:AI with

./ufo +set fs_gamedir mymod

Every file that is "overwritten" in your mod takes the precedence over the files in the base directory. Of course you can also add new files with this. New maps, new scripts, new textures and so on.

Server logic (Battlescape)

Modding the battlescape is possible by providing your own game lib.

Client logic

Modding the client logic is possible, too. We already have gametypes implemented for multiplayer, skirmish and campaign.