Quick Modding Questions Thread

kiwitt

Road to War Modder
Joined
Jan 11, 2006
Messages
5,599
Location
Auckland, NZ (GMT+12)
This may be a good place to post quick questions for "Newbie Modders" - Similar to one here for Newbie Players

To MODS: If this is a good idea can you make it a sticky.
 
If I remove it from the Specialistinfo file, does that mean that a "General" will no longer be able to settle in a city.
 
Which values in the Unitinfos files are used for planes versus ships and planes versus ground units?
 
Take a look in the CIV4UnitInfos.xml:

for example BOMBER

Code:
<DomainMods>
				<DomainMod>
					<DomainType>DOMAIN_SEA</DomainType>
					<iDomainMod>-50</iDomainMod>
				</DomainMod>
			</DomainMods>

you can see the domain of the unit <Domain>DOMAIN_AIR</Domain>
 
I saw these modifiers, but what value does it modify.
 
Which strength value ?

iAirCombat
iCombat
iBombRate
 
Is it possible to modify the Transport to be stronger on defense than on offense by using TerrainDefenses in UnitInfos.xml and specifying Ocean as the terrain?
 
In bomber's case, atleast iAirCombat. It seems to change also the iCombat, but I'm not so sure about the iBombRate. Someone please correct me if I'm wrong.
I understood iAirCombat is versus Air. I do not know if this is used versus ground or sea.
 
Can the width of the technology boxes in the Technology Advisor window be increased?
 
Can the width of the technology boxes in the Technology Advisor window be increased?

Yes, it's all controlled in CvTechChooser.py in the python folder. See the tech tree link in my sig for RoM's tech tree, it's very different.
 
Yes, it's all controlled in CvTechChooser.py in the python folder. See the tech tree link in my sig for RoM's tech tree, it's very different.

Thanks, I guess I just wanted _one_ box made wider - that looks tougher to do. I think I'll just move Ivory obsolescence to another tech.
 
MinorNationStatus= the setting to determine if a civ is a minor nation in relation to diplomacy. Valid values are 0 (full power civ) or 1 (minor nation civ that won't do diplomacy with anyone).

Can I use the above parameter, to create multiple non-playable minor nations and not have to go through the lengthy process of adding a whole new playable civ.

i.e. can I leave these lines out of the WBS file.

LeaderType= the leader settings to use for this civ. These values are defined in CIV4LeaderHeadInfos.xml. EG: LeaderType=LEADER_ELIZABETH.
CivType= the civilization to use for this player. These values are defined in CIV4CivilizationInfos.xml. EG: CivType=CIVILIZATION_ENGLAND.

I would like to add minor nations like

1) Irish Rebels, Gaza Rebels, Jewish Rebels, Muslim Rebels, African Rebels, Egyptian Rebels, Libyan Rebels, Switzerland, who occupy only one or two cities at most.

and then others minor nations like

2) Portugal, Persia, Arabia, Iraq,

Which may occupy more terroritory and cities.

The major nations can then attack them at their leisure, without any diplomacy
 
Yes, it's all controlled in CvTechChooser.py in the python folder. See the tech tree link in my sig for RoM's tech tree, it's very different.

its really easy to do. All it is is changing two numbers from 27 to whatever you want (multiples of 3). It works best at 33 or 36 I'd say.
 
Have sucessfully added my first whole new Civ "Switzerland" to my mod :D
 
When do the art tags take effect? Like MiddleArtDefineTag and LateArtDefineTag?
 
Top Bottom