#3608: Additional tilesets support
-------------------------------------------------+-------------------------
Reporter: NoQ | Owner:
Type: patch (an actual patch, not a | Status: new
request for one) | Milestone:
Priority: normal | unspecified
Component: other | Version:
Keywords: | unspecified
Blocking: | Blocked By:
| Operating System: All
| /Non-Specific
-------------------------------------------------+-------------------------
I think i finally need somebody to have a look. This patch that allows
adding more than three tilesets to the game.
Additionally, it makes the game trust tile types rather than ground names
when it comes to cliff and water painting, thus allowing multiple types of
water or cliff terrains rendered correctly.
Tileset #N is looked for as tertilescNhw, its terrain tiles and
description files are hardcoded as follows:
{{{
texpages/tertilescNhw-*/tile-*.png
tileset/tilesetNground.txt
tileset/tertilescNhwGtype.txt
tileset/tilesetNdecals.txt
tileset/tilesetN_enum.txt
}}}
The tileset also needs to be added to the base game's mp/addon.lev, the
datasets should be called MULTI_CAM_N, MULTI_T2_CN, and MULTI_T3_CN, where
N is the tileset number; they should point to some sort of wrf file (for
example vidmemN.wrf) that will load the necessary terrain textures and
tertilescNhw for TERTILES (in fact TERTILES in the .wrf file is the only
way for the game to guess which tileset is being used).
See http://forums.wz2100.net/viewtopic.php?f=32&t=9695#p107861 for an
example of a map-mod that injects and uses tileset 4; it doesn't touch
addon.lev though, it needs to be patched separately (the exact patch is in
the same thread, but of course it's not to be applied unless the new
tileset actually appears).
--
Ticket URL: <http://developer.wz2100.net/ticket/3608>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project