Quick Modding Questions Thread

What do I need to edit in the xml in order to make a unit spawn in your cities over time, a-la a great person? It should be noted that this unit can also be built normally, in case that affects things.
 
This in Unitinfos.xml I think affects the great people points and which people points it takes it from, however this will clash with the great person, I am not sure if you can make a new 'great person' from just xml changes

Spoiler :
Code:
			<GreatPeoples>
				<GreatPeople>
					<GreatPeopleType>SPECIALIST_GREAT_SPY</GreatPeopleType>
					<bGreatPeople>1</bGreatPeople>
				</GreatPeople>
			</GreatPeoples>
 
A unit's GreatPeoples specify what kind(s) of specialist it can become from settling in a city.

I seem to recall that buildings can put "great people" points towards any unit, not just great people. This is not a different pool, just the same one as the great people so instead of a Great Somebody-or-Other you can get a Tank or ICBM or whatever if the random number generator picks that (or if all the points in that city are for the unusual unit).

But just spawning units on some schedule is probably better handled via Python.
 
I thought somebody fixed it here
I didn't like the layout of the mainscreen. I would really prefer the civdescriptions instead of just some buttons.
 
@Lib.Spi't: I had looked at the <GreatPeople> tag, and yeah, it isn't what I want.

@God-Emperor: I haven't gotten into python yet, I can only do xml at this point, so I'll just go with the building thing.

Thank you both!

Edit: Now I have another question: Is it possible to make a building spawn free in every city you build? I can't seem to make it spawn in any city other than the first one.
 
Edit: Now I have another question: Is it possible to make a building spawn free in every city you build? I can't seem to make it spawn in any city other than the first one.

Can you use the FreeStartEra tag on the building? The documentation says you get the building free in all cities if you start in this era.
 
Bored, looking for artwork suitable for godzilla and king Kong or whatever big fat monster :D
 
Is there a guide to adding a civic column? I see lots of tutorials for creating new civics, but pretty much nothing about creating entire categories.
 
Thanks, found a dragon pack instead and changed the theme :D
 
Is there a guide to adding a civic column? I see lots of tutorials for creating new civics, but pretty much nothing about creating entire categories.

In the GameInfo folder there's a file called Civ4CivicOptionInfos that controls the categories for civics (legal, government, etc). Do you know enough about XML to figure out how to add one? If not just keep asking here :)
 
In the GameInfo folder there's a file called Civ4CivicOptionInfos that controls the categories for civics (legal, government, etc). Do you know enough about XML to figure out how to add one? If not just keep asking here :)

I found that and successfully created a new category days ago, in fact I already added a bunch of civics for it. The two possibilities now are that I either overlooked something else I should have done or the new column already is complete but the civics screen just doesn't depict it.
 
Because the dimensions for BTS screens are fixed.
Your newly added civic group is simply displayed out of the screen.
 
Because the dimensions for BTS screens are fixed.
Your newly added civic group is simply displayed out of the screen.

That's what I thought...

...

How do I fix it, if you don't mind?
 
Either edit CvCivicsScreen.py yourself to adjust values, or look for a scrollable one that can display unlimited civic groups.
 
Back
Top Bottom