Hi,
I'm new to civ4 modding, and could do with a couple of pointers as to how to fiddle with the SDK to create the following effect. Any help would be appreciated!
Basically, I'd like for a city's cultural border radius to be limited by a combination of civics and techs. Adding a "imaxborderradiusmodifier" into the XML schemas and adjusting the C++ to pick them out should be no bother, but how do I actually use the limit to affect the plots in the game?
For example, everyone starts off with max radius 1. With the monarchy civic, you get +1, so you should then be able to control the usual 21-plot civ city radius. Then with the "nationalism" tech you get +2, so you should then be able to project borders (whilst under monarchy) a total of radius 4.
I'm guessing that I should be modifying something to do with how each plot calculates who owns it, but being new to the SDK, I'm not really sure where to look.
Cheers,
lth
I'm new to civ4 modding, and could do with a couple of pointers as to how to fiddle with the SDK to create the following effect. Any help would be appreciated!
Basically, I'd like for a city's cultural border radius to be limited by a combination of civics and techs. Adding a "imaxborderradiusmodifier" into the XML schemas and adjusting the C++ to pick them out should be no bother, but how do I actually use the limit to affect the plots in the game?
For example, everyone starts off with max radius 1. With the monarchy civic, you get +1, so you should then be able to control the usual 21-plot civ city radius. Then with the "nationalism" tech you get +2, so you should then be able to project borders (whilst under monarchy) a total of radius 4.
I'm guessing that I should be modifying something to do with how each plot calculates who owns it, but being new to the SDK, I'm not really sure where to look.
Cheers,
lth