Rallying call for all interested: Colonisation of the Moon mod!

woodelf said:
It looks like all you did in the units file was the radar sentry, correct?

I didn't change anything in the art define units file other then importing your changes (and I think I just overwrote it).

In the actual UnitInfos.xml file, I made a number of little changes.

woodelf said:
The trouble is that XML errors almost always show up either loading up the mod or starting the game. I've never had a typing error or mismatched tag show up in game. Only ART_DEFINES_XXXX does that. I don't see anything off in the Unit file, but don't know enough about the interface file to debug it from work.

I tested the interfaces xml files already. It's fine.

woodelf said:
That's interesting. I don't remember ever having one born. I know others have played long enough to get them. How soon was this? And what type?

I have, but a prophet? How the hell did you get a prophet?

matthewv said:
it sounds like the error is originating from belizan's python stuff. The game is trying to get info for a building that doesn't exist. What changes were made to the builing infos XML file? the error could be coming from changes made to the building infos XML file.

*pulls hair* NO. The eBuilding thing is not only not a bug, but it's displaying information that says that it's working properly! Aahh!

I have already tested all my Python code, and it works fine, no CTDs. This is an XML problem.

woodelf said:
So far the only building additon I see is the WAR_FOOTING, but it looks fine.

That building is ancient :(. I tweaked every building you get access to directly from a tech. I removed several of the tag reflection buildings, and changed the tags of some of the other buildings.

woodelf said:
Belizan - can we add a message about the free Colony Pod? I love the addition of the AI attitude mod component.

Actually in that case I didn't add his component, I just stole his idea. What do you want the message to say? And by message I assume you mean some sort of popup?
 
A popup to tell you why it's here. Immigrants, another colony from Earth, something.

I didn't crash through the Isolation event. Maybe it was a Global Defines issue? Or the buttons I added later from the art folder?

Wierd.
 
woodelf said:
Night Geo.

I'd love to know what's going on. I'll keep playing my game and see what happens.


Couldn't resist, and played some more. I got the good old CTD when quitting the game... but I *really* need to tuck in after this.

woodelf said:
Observations -
Do we need more Colony Pods?
Pistolmen need to go.
Can we find something other than gold as our currency? Energy of some sort?
Having to deal with the artillery barrage every turn sucks.
Still too much food.

More cp's during colonization? I think not. Perhaps a last double influx of colonists/units when Isolation hits, but that should be it.

Or else change them to base security, and move stronger military units a bit further on the techtree like in the one I sent you.

Energy would be fine, but I reckon an Earthian currency would be used during colonization. Actually, the commerce should be changed to energy.

Yeah, it sucks. :( What's the underlying idea anyway? Ballistic projectile? Remember that a granate fired too fast on the moon simply goes in orbit.

Remove food from terrain completely. That's the solution. Let only the base(facilities) itself produce food till glasshouses can be build (and crop output increases with appropriate resources connected like water ice), and on top of colonists food could be imported from Earth.


Btw, did you have a change to check that splashscreen I sent you? It looks gorgeous in the infoscreens! :cool:
 
woodelf said:
A popup to tell you why it's here. Immigrants, another colony from Earth, something.

I didn't crash through the Isolation event. Maybe it was a Global Defines issue? Or the buttons I added later from the art folder?

Wierd.

Re: Popups.. Ok, I'll put it on my todo list.

I just played a few 100 turns with the GlobalDefines.xml file in, no problems.
 
Remove food from terrain completely. That's the solution

I don't know why your getting food from terrain. I had to work very hard in order to make so that terrain did not produce food. I had to work around a weird bug to do this. maybe the changes belizan made ruined my no food from terrain fix *ducks*(I have been accusing Belizan of a little to much lately when it is not necissarily his fault ;)). Is it maria basalt that is producing food?
 
matthewv said:
I don't know why your getting food from terrain. I had to work very hard in order to make so that terrain did not produce food. I had to work around a weird bug to do this. maybe the changes belizan made ruined my no food from terrain fix *ducks*(I have been accusing Belizan of a little to much lately when it is not necissarily his fault ;)). Is it maria basalt that is producing food?

No base terrain produces food, we just have a lot of resources which produce food, and easy access to food improvements.
 
matthewv said:
I don't know why your getting food from terrain. I had to work very hard in order to make so that terrain did not produce food. I had to work around a weird bug to do this. maybe the changes belizan made ruined my no food from terrain fix *ducks*(I have been accusing Belizan of a little to much lately when it is not necissarily his fault ;)). Is it maria basalt that is producing food?

My mistake, it is as Belizan said from resources.

Let me correct that: Resources in themself shouldn't give food! :mischief: Only improvements.
 
Has anyone crashed recently? What unit or promotion could be doing it? I was playing without barbs so no one was fighting, gaining xp, promoting. Maybe the AI is fighting barbs in your games and the problem lies in a promotion like Belizan said.
 
GeoModder said:
My mistake, it is as Belizan said from resources.

Let me correct that: Resources in themself shouldn't give food! :mischief: Only improvements.

Yeah, that makes sense. I guess a heap of nutrients laying around won't do you much good without the Algae farm. :p
 
woodelf said:
Has anyone crashed recently? What unit or promotion could be doing it? I was playing without barbs so no one was fighting, gaining xp, promoting. Maybe the AI is fighting barbs in your games and the problem lies in a promotion like Belizan said.

Wait a sec, could it be this new code on which the number of promotions is stacked when a unit receives sufficient XP's? Something the AI can't handle?
 
That last game last night I didn't crash during the game, only when shutting down Civ4. (Exit to main menu-->exit to desktop). And I played with Barbs off.
 
Do you have time to play with barbs on right now? Or better yet give yourself a unit from WB, make some barbs in WB, and kick their arse! Maybe see what promotion is causing the problem, if it's that...

What new code about stacked promotions? Did I not read something again!
 
Next time you test the mod, go with a no-promoted unit on a wreckage popping tour, and hope it stumbles on a wreckage which gives XP. Check the XP stats then under the unit. It will show 3 numbers instead of 2. Once all the XP is used on promotions, it switches back to the normal outlook. (XP spent sofar, and next XP cap for promotion)
 
I hadn't noticed that. Maybe Belizan can shed some light on it. I built just about every 1st era unit and didn't crash. I didn't have many promotions and didn't have the barbs. Not sure what else to do...
 
GeoModder said:
Next time you test the mod, go with a no-promoted unit on a wreckage popping tour, and hope it stumbles on a wreckage which gives XP. Check the XP stats then under the unit. It will show 3 numbers instead of 2. Once all the XP is used on promotions, it switches back to the normal outlook. (XP spent sofar, and next XP cap for promotion)

Oh, that's a plot list enhancement feature. Not sure at this moment what it does.
 
There were a few things I didn't clean up that may cause you some confusion while trying to debug. I still haven't taken out all of those debugging statements--and maybe I should, but for the moment, let me put up this. Everything here I know works, you can stack it on top of any recent working version. (This has none of my XML changes)

Edit: I removed the messages in this version.
 

Attachments

Back
Top Bottom