Warzone 2100 Resurrection

Category:Modding

From WarzoneWiki

Jump to: navigation, search

Contents

Introduction

Modding the warzone2100 GPL version can be divided into these sections:

  • Style guide: Hints and tips on how to capture the look and feel of Warzone2100
  • Artwork wanted: Artwork that we need in the game
  • txt Editing: Most of Warzones2100's tech, unit, and structure data are found in .txt files. If you want more detailed information on the different .txt files and how to edit them, click here.
  • Scripting: AI, campaigns and game rules uses it's own script. Tutorials and information and information on the wzscript can be found here
  • Pie Editing: .pie files hold the model and texture data displayed on screen. If you want to change something visual you will sooner or later run into these files.
  • mapping: You can create your own custom maps. Everything about maps will be found here
  • Terrain Textures
  • IMG: Editing the .img files that delineate images inside a larger texture page (such as buttons etc.).

Some of the internal details

We have to differ between general locations where Warzone searches and subdirectories of those, where Warzone searches for specific information.

General locations (in order):

  1. runtime supplied datadir (eg. ./warzone2100 --datadir /my/custom/path)
  2. User/Home directory (eg. /home/me/.warzone2100 or C:\DokumentsAndSettings\me\MyDocuments\Warzone2100)
  3. data/ subdir (usually for svn environments, eg. /home/me/wzsvn/data, when the exe/bin is in /home/me/wzsvn/src, this depends on the location of the exe and not on your workingdir!)
  4. PREFIX/share/warzone2100 (again depending on the location of the exe, eg. /foo/share/warzone2100 if the exe is /foo/bin/warzone2100)
  5. Same directory as the exe is in (mostly for Windows envs, eg. /opt/warzone2100 if the exe is /opt/warzone2100/warzone2100.bin or C:\ProgramFiles\Warzone2100)
  6. Default data directory supplied on compilation or /usr/share/warzone2100 as last fallback.

Special subdirs:

  • maps/ for custom maps (all files/directories inside, eg. maps/map_pack.wz or maps/map_pack)
  • mods/global for multiplay and singleplay mods (eg texturepacks)
  • mods/multiplay
  • mods/campaign

Adding maps/mods/Music to Warzone 2100

Windows version

Adding Mods

  1. In your main warzone folder (usually like C:\Program Files\Warzone 2100, henceforth referred to as <warzone-main>), create a folder called "mods".
  2. Inside that folder, create another one called "global".
    If these folders already exist, then don't worry, just move to <warzone-main>\mods\global
  3. The mod should have a .WZ extension; if so, add it here.

Adding Maps

Adding Music

Linux version

You can download additional maps from the following address: map_pack.wz (need to redo-this)

After you successfully installed the game and started it up for the first time a directory called «.warzone2100» is created below your home-directory. Now you can continue one of the following two ways:

For user local installation of the maps:

mkdir ~/.warzone2100/maps
mv map_pack.wz ~/.warzone2100/maps/

For a system wide installation of the maps:

su # Get root, supply password
mkdir /usr/share/warzone2100/maps
mv map_pack.wz /usr/share/warzone2100/maps/


If you followed one of these ways, the maps should be available for the multiplayer game.

A more detailed explanation is available in the forum: [1]

Tools and Add-ons

Articles in category "Modding"

There are 2 articles in this category.

P

T