The following patch adds support for more than three tilesets in skirmish. It also includes more minor fixes like allowing multiple different cliff textures and multiple different seabed textures in a single tileset.
How this works.
Suppose you want to add a 4th tileset. You add the new tileset descriptions to
data/mp/addon.lev like this:
Note: you can't add the same to the per-map addon.lev file instead, it'll crash.
Note: you need to follow the naming convention for the datasets (eg. MULTI_CAM_4 rather than WHATEVER_YOU_LIKE).
Then add the tileset data to the game, the following files:
Code: Select all
texpages/tertilesc4hw-*/tile-*.png
tileset/tileset4ground.txt
tileset/tertilesc4hwGtype.txt
tileset/tileset4decals.txt
tileset/tileset4_enum.txt
wrf/vidmem4.wrf
where you can have 4, 5, 6, etc. if you add this to addon.lev properly. The file internals need to be updated accordingly, terrain type naming convention is as follows: t4_cliff = cliff tiles, t4_water = water tiles, everything else can be arbitrary, and the first lines of some files need to be updated as well. vidmem4.wrf file must mention tertilesc4hw in its TERTILES line.
Here is an example of a map-mod that uses tileset 4 with all new data in place. This is pure proof-of-concept, nothing to look at, i'm just happy it loads and looks as i expect it to (if you apply both patches and try to play it).
You do not have the required permissions to view the files attached to this post.