Quick Modding Questions Thread

how do you make a ai tournament (ai vs. Ai vs. ai)?
 
I want to do this:

oWUTJTJ.png


and this is .py file, what i must to change to expand this?
 

Attachments

self.HEADINGS_TOP = 0
self.HEADINGS_BOTTOM = 220
self.HEADINGS_LEFT = 0
self.HEADINGS_RIGHT = 260
self.HELP_TOP = 20
self.HELP_BOTTOM = 610
self.HELP_LEFT = 290
self.HELP_RIGHT = 950

try increasing this number...I say this with no specific understanding of this specific screen file, but I have played around with a few, and although the format is somewhat different, I think this may increase the size of the box...

Mostly this sort of thing involves lots of trial and errpor to find the specific bit of code you want!
 
Hmm... how do you add a new game option? :D
When I tried adding a new one to CIV4GameOptionInfos.xml...
If I add it to the top of the list, the new one appears but the last default BTS option "No Espionage" does not show up.
If I add it to the bottom of the list, then the new one doesn't show up.
 
In most dlls, adding a game option also requires compiling the dll after adding the option to the game options list in enums.h. AIAndy did some work to make it possible to only add to the GameOptionsInfos.xml file in C2C but I still add it to the enums as a matter of habit.
 
Ah sad then thanks :D
Don't wanna touch SDK just for simple mod comps.
 
Okay, I have a question, so here goes...
I've gotten into changing the default religions of civ IV. I got all the XML done, and even the buttons changed, and the movies, but the game still shows the old buddhism, christianity and such symbols in the cities. I found a TGA file with the old religions on it, but if I change that at all, the game crashes. Anyone know how?
 
Sweet! I did what you said, and Asaf's Game Font Editor is absolutely perfect. Thanks!
 
Except it crashed again...dang...
Assets/res/Fonts/ is the right folder, right?
 
Second time I was working with the originals. I'm going to try something real quick--one minute.
 
Darn it, now it's just rejecting the normal unedited game files. :cry:
 
All right...will get back to you on what happens.
 
Hi,

I would like to solve a problem I´m very curious about. My mod is working fine with the Mapscript smartmap.py. But when I try to use one of the standard-mapscripts (f.e. continents, maze) the initialization freezes and doesn´t finish.

What could be the reason for a behaviour like that? What could I do to isolate or identify the problem? I´ve really no clue.

Thank you for your help.
 
Then you slowly have to take everything out what you've edited (just be renaming the files, not by deleting them), and see at which point it doesn't crash anymore.

It seems to be crashing if I have a /res folder in there at all. Is that normal?
 
Back
Top Bottom