Before The Dawn
Chieftain
I have another post her asking for som help. I could have posted this in that one. But the it would dissapear without anyone reading it and this post isn't exactly the same as the first one even if it seams so. That post can be removed by a Moderator if they wishes. But please don't merge this one with the other one.
Does any one have a good Tutorial on how you make map scripts??
One for each of the 3 types(Fractral, MultilayerdFractal and Hinted)
preferably.
If there is diffrence between map scripting in Civ 4, Warlords and BTS please point them out.
Or maby some one could make one???
I've tried reading trough some map scripts (planetgenerator, perfectworld and afew more). But I have a hard time understanding how to remove/add som of the code to suite me and my game playing.
For instance How do I make my units to start on seperate plots(scaterd)?
How do I remove, Jungle, Ice, snow and Desert? Or atleast implement an option to remove all 3 or just 2 or just 1 or none of them?
I don't want to change stuff in the XML files.
I would like to have an option to have bonuses on XX% of plots(All plots, 99%, 75% 50%, 23% of plots and so on)
If you can help but only with one or to things and post the code here pleas include what to import and from where. Example from Perfect World:
It's vital that the import things are included if they doesn't exist in
A question: What is
??? is it the python map? is it a file somewher? I haven't found a file with that name..
Thanks in advance if you can help
And sorry for the new post!
Does any one have a good Tutorial on how you make map scripts??
One for each of the 3 types(Fractral, MultilayerdFractal and Hinted)
preferably.
If there is diffrence between map scripting in Civ 4, Warlords and BTS please point them out.
Or maby some one could make one???
I've tried reading trough some map scripts (planetgenerator, perfectworld and afew more). But I have a hard time understanding how to remove/add som of the code to suite me and my game playing.
For instance How do I make my units to start on seperate plots(scaterd)?
How do I remove, Jungle, Ice, snow and Desert? Or atleast implement an option to remove all 3 or just 2 or just 1 or none of them?
I don't want to change stuff in the XML files.
I would like to have an option to have bonuses on XX% of plots(All plots, 99%, 75% 50%, 23% of plots and so on)
If you can help but only with one or to things and post the code here pleas include what to import and from where. Example from Perfect World:
Code:
from CvPythonExtensions import *
import CvUtil
import CvMapGeneratorUtil
from array import array
from random import random,randint,seed
import math
import sys
import operator
import time
Code:
import CvUtil
import CvMapGeneratorUtil
Code:
from CvPythonExtensions import *
Thanks in advance if you can help
And sorry for the new post!