phalzyr
Warlord
First my map so you can see waht I am asking...right click savetargetas...
http://209.174.48.134/downloads/David_Hub.py
I altered the hub map to have more choices, like plains/desert percent and ice percent in both hub and player regions. I also made the Solid option more solid (perfect square) and left slightly solid soemwhere in between it and pressed. I was going to have the option to completely have no land bridges which I ahd working first but it stopped working before I made any changes...
Is it just me or is their python map generation code a bit glitchy?... Her is some thing I done:
1. First tried to put an if around the lan bridge creation code since it does nothing more than make ocean plots into land plots it should be simply bypassed..... Locks up at initialization
2. Though I didn't see any relevant code in the for loop I decided to move my if statement to the actuall line that makes it LAND..... Map with only land....
4. OK... Lets just go back to orginal and just simply change LAND to OCEAN so no matter what you pick it';; create ocean instead of land plots....LOCK UP at init...
5. Interesting...OK so that code is very very picky I'll just alter the spoke values so it only draws small distances.... LOCK up at init... OK only in center area.... LOCK up at init...
6. Several other things that ended up in either land only maps or lock up at init...
anyone else play with the public maps any? I also had other portions of the code not like simple if, even if they didn't change much...And YES I worded my ifs correctly and all...and tested before and after change so I made sure it worked before change making a 4 plot land bridge for my NONE option...
ARRRGG Anyone have any thoughts?
http://209.174.48.134/downloads/David_Hub.py
I altered the hub map to have more choices, like plains/desert percent and ice percent in both hub and player regions. I also made the Solid option more solid (perfect square) and left slightly solid soemwhere in between it and pressed. I was going to have the option to completely have no land bridges which I ahd working first but it stopped working before I made any changes...
Is it just me or is their python map generation code a bit glitchy?... Her is some thing I done:
1. First tried to put an if around the lan bridge creation code since it does nothing more than make ocean plots into land plots it should be simply bypassed..... Locks up at initialization
2. Though I didn't see any relevant code in the for loop I decided to move my if statement to the actuall line that makes it LAND..... Map with only land....
Code:
3. Change the if to say LAND ELSE OCEAN.... Locks up at init...
if myvalue <= 3:
self.wholeworldPlotTypes[i] = PlotTypes.PLOT_LAND
else:
self.wholeworldPlotTypes[i] = PlotTypes.PLOT_OCEAN
and I tried the opposit order...
if myvalue == 4:
self.wholeworldPlotTypes[i] = PlotTypes.PLOT_OCEAN
else:
self.wholeworldPlotTypes[i] = PlotTypes.PLOT_LAND
4. OK... Lets just go back to orginal and just simply change LAND to OCEAN so no matter what you pick it';; create ocean instead of land plots....LOCK UP at init...
5. Interesting...OK so that code is very very picky I'll just alter the spoke values so it only draws small distances.... LOCK up at init... OK only in center area.... LOCK up at init...
6. Several other things that ended up in either land only maps or lock up at init...
anyone else play with the public maps any? I also had other portions of the code not like simple if, even if they didn't change much...And YES I worded my ifs correctly and all...and tested before and after change so I made sure it worked before change making a 4 plot land bridge for my NONE option...
ARRRGG Anyone have any thoughts?