dwfa
Jan 04, 2007, 12:32 PM
Hey all!!!
preamble (this is the same as a post in thread http://forums.civfanatics.com/showthread.php?t=169725)
After reading the great posts by Strand and RogerBacon (and others), I have created a new dll that allows a city with radius of three (3). I know others have done this, nothing new; but I could not get them to work (this works for warlords v208). This will be the first mod for me, and the second will be a mod to this one (a mod for a mod).
What I want to do is have the user specify what the radius is an XML config file (GameOptionsInfo most likely), then have the code determine how to initialize cities etc based upon this setting. It sucks that this is hard coded, should be able to specify this in a config file. I have the infrastructure in place to create either a 2 or 3 radius, working 4+, but I have used #ifdef for compile-time determine of which to create. When I learn how to get it from a config file it will be better.
If ne1 out there knows what class/methods to call to be able to do this, i.e. give me a push, I would appreciate any help ...
Here is the link (http://forums.civfanatics.com/uploads/107817/CvGameCoreDLL.zip) to download it .
be safe all
dwfa
preamble (this is the same as a post in thread http://forums.civfanatics.com/showthread.php?t=169725)
After reading the great posts by Strand and RogerBacon (and others), I have created a new dll that allows a city with radius of three (3). I know others have done this, nothing new; but I could not get them to work (this works for warlords v208). This will be the first mod for me, and the second will be a mod to this one (a mod for a mod).
What I want to do is have the user specify what the radius is an XML config file (GameOptionsInfo most likely), then have the code determine how to initialize cities etc based upon this setting. It sucks that this is hard coded, should be able to specify this in a config file. I have the infrastructure in place to create either a 2 or 3 radius, working 4+, but I have used #ifdef for compile-time determine of which to create. When I learn how to get it from a config file it will be better.
If ne1 out there knows what class/methods to call to be able to do this, i.e. give me a push, I would appreciate any help ...
Here is the link (http://forums.civfanatics.com/uploads/107817/CvGameCoreDLL.zip) to download it .
be safe all
dwfa