Total War: WARHAMMER

Total War: WARHAMMER

GCCM Main [Updated for Norsca patch]
 This topic has been pinned, so it's probably important
Zoidberg  [developer] 11 Jul, 2017 @ 11:28pm
Coding Info - FYI
Coding Info

The GCCM mod is coded, based on a combination of text and a reference overlay map of the campaign map. The reference overlay map, which can be seen in the pictures section, is a coloured overlay version of the campaign map that has different colours for each settlement area. In the text based coding, we assign battle maps that the game will load based on these colours. Within each settlement area, different types of battle maps commands exists, allowing multiple battle maps to be loaded for a single settlement area. The most prominent commands used are the "unfortified" and "fortified" types, which occurs when a settlement is attacked or defended within a settlement area. "Unfortified" occurs if the settlement does not have walls (The lack of a small green wall icon in the campaign map) and it is here that the mod overwrites CA's standard map (a land battle without any hints of settlements) and provides one of our custom maps designed to be a minor settlement. The "Fortified" type is linked to any settlement with a green icon of a wall on the campaign map (either native to some mayor settlements or gained through a wall upgrade in the building chain). Here we, like the unfortified , overwrite CA's standard siege map and assign a custom siege map instead. This means that each settlement can have a unique unwalled and walled settlement battle map associated with it("unfortified/fortified"). We furthermore use race specific terms in the coding, which means that a settlement can have a unwalled and walled settlement battle map times the different races that are able to hold it.

This results in a settlement like Helmgart, which can exist as unfortified or fortified versions with Empire/Bretonia/Vampires as possible owners, to have (2*3) 6 potential maps that can be loaded according to the given circumstances when fighting for the settlement. The idea of the mod is therefore to create these maps and assign them accordingly. The number of settlements times "unfortified/fortified" and possible owners is above 1000, why this project is very much a work in progress mod, that will succeed or fail based on an active community around map making. We have currently above 100 maps we use in the mod, why some maps are reused as placeholder maps.