All right, so... I am trying to wrap my head around map scripting; I don't know the language the game files are written in (I've used LISP a bit) and trying to learn them is difficult because the files want to grab information from somewhere else - nothing is entirely contained within one script, making it hard to read. Knowing where the XML "TXT_KEY" type files are being hidden would be cool. I'm not looking to do anything spectacular, I just want to start by being able to tweak existing scripts and I've got a few goals I need a hand with. Thanks.
1. I'd like to add another option for map sizes designed to host 50% more civs and city states than huge (yeah, I'm insane) - I've already added the class to the xml files but the option won't show up in-game. How exactly do I go about this sort of thing for future reference?
2. I want a standalone function that will pull maps away from the northern and southern borders - basically, I want to avoid useless tracts of frozen land that block naval units. I need it to be flexible (distance based on a percentage of the map's height) and I need to be able to shoehorn it into any of the existing scripts that use the fractal generator without heavy modification. I intend to modify the height of the maps to account for the lost space, if anyone's curious. 5:4 aspect ratio seems to work well. [This probably should have been first, it's the one I'm most concerned with]
3. My main goal is to create a map somewhere between Continents and Small continents - I'm looking for 3-5 decent landmasses not joined by 'land bridges'. As far as I can tell, the 'grain' variable controls this to an extent in the fractal-based maps but it doesn't appear capable of being tweaked much between "2 continents" and "smattering of incoherent islands". Any thoughts on this would be appreciated.
1. I'd like to add another option for map sizes designed to host 50% more civs and city states than huge (yeah, I'm insane) - I've already added the class to the xml files but the option won't show up in-game. How exactly do I go about this sort of thing for future reference?
2. I want a standalone function that will pull maps away from the northern and southern borders - basically, I want to avoid useless tracts of frozen land that block naval units. I need it to be flexible (distance based on a percentage of the map's height) and I need to be able to shoehorn it into any of the existing scripts that use the fractal generator without heavy modification. I intend to modify the height of the maps to account for the lost space, if anyone's curious. 5:4 aspect ratio seems to work well. [This probably should have been first, it's the one I'm most concerned with]
3. My main goal is to create a map somewhere between Continents and Small continents - I'm looking for 3-5 decent landmasses not joined by 'land bridges'. As far as I can tell, the 'grain' variable controls this to an extent in the fractal-based maps but it doesn't appear capable of being tweaked much between "2 continents" and "smattering of incoherent islands". Any thoughts on this would be appreciated.