building makes units build faster

MqsTout

Warlord
Joined
Mar 30, 2002
Messages
211
Location
Pittsburgh
I can't seem to find a way to make a unit build faster if you have a certain building. There's the domain build faster for drydock/airport, but there appears to be no more specific way. Does anyone have any suggestions? (XML only.)

I dislike how I can't spread religion very effectively after scientific method because I can no longer build monasteries (especially when those monasteries are destroyed on capture because they're a cultural building, and random events sometimes destroy them). Forcing a switch to organized religion is pretty silly, too.

So, I've removed the monastery prerequisite for missionaries. I, however, would like missionaries to build faster in cities with the requisite monastery. (I already figured out how to make missionaries build faster in organized religion.)
 
unfortunately it cannot be done with XML only.

Fireaxis only provided us with a DomainProductionModifier.......i.e. land or sea

it would be fantastic if someone would modify the SDK and schema for buildings which included something like a UnitClassProductionModifier or a UnitCombatTypeProductionModifier

that would be sweet
 
Well i'm looking into a way to increase military production via a building, and i have seen other tags, hang on...

Nope, nothing that specific.

HOWEVER Unit Info's File, just reduce the cost of missionaries: (Pretty postive thats the correct part)

Code:
<UnitInfo>
			<Class>UNITCLASS_JEWISH_MISSIONARY</Class>
			<Type>UNIT_JEWISH_MISSIONARY</Type>
			<UniqueNames/>
			<Special>SPECIALUNIT_PEOPLE</Special>
			<Capture>NONE</Capture>
			<Combat>NONE</Combat>
			<Domain>DOMAIN_LAND</Domain>
			<DefaultUnitAI>UNITAI_MISSIONARY</DefaultUnitAI>
			<Invisible>NONE</Invisible>
			<SeeInvisible>NONE</SeeInvisible>
			<Description>TXT_KEY_UNIT_JEWISH_MISSIONARY</Description>
			<Civilopedia>TXT_KEY_CONCEPT_RELIGION_PEDIA</Civilopedia>
			<Strategy>TXT_KEY_UNIT_JEWISH_MISSIONARY_STRATEGY</Strategy>
			<Advisor>ADVISOR_RELIGION</Advisor>
			<bAnimal>0</bAnimal>
			<bFood>0</bFood>
			<bNoBadGoodies>0</bNoBadGoodies>
			<bOnlyDefensive>0</bOnlyDefensive>
			<bNoCapture>0</bNoCapture>
			<bQuickCombat>0</bQuickCombat>
			<bRivalTerritory>0</bRivalTerritory>
			<bMilitaryHappiness>0</bMilitaryHappiness>
			<bMilitarySupport>0</bMilitarySupport>
			<bMilitaryProduction>0</bMilitaryProduction>
			<bPillage>0</bPillage>
			<bSpy>0</bSpy>
			<bSabotage>0</bSabotage>
			<bDestroy>0</bDestroy>
			<bStealPlans>0</bStealPlans>
			<bInvestigate>0</bInvestigate>
			<bCounterSpy>0</bCounterSpy>
			<bFound>0</bFound>
			<bGoldenAge>0</bGoldenAge>
			<bInvisible>0</bInvisible>
			<bFirstStrikeImmune>0</bFirstStrikeImmune>
			<bNoDefensiveBonus>0</bNoDefensiveBonus>
			<bIgnoreBuildingDefense>0</bIgnoreBuildingDefense>
			<bCanMoveImpassable>0</bCanMoveImpassable>
			<bCanMoveAllTerrain>0</bCanMoveAllTerrain>
			<bFlatMovementCost>0</bFlatMovementCost>
			<bIgnoreTerrainCost>0</bIgnoreTerrainCost>
			<bNukeImmune>0</bNukeImmune>
			<bPrereqBonuses>0</bPrereqBonuses>
			<bPrereqReligion>0</bPrereqReligion>
			<bMechanized>0</bMechanized>
			<bSuicide>0</bSuicide>
			<bHiddenNationality>0</bHiddenNationality>
			<bAlwaysHostile>0</bAlwaysHostile>
			<UnitClassUpgrades/>
			<UnitClassTargets/>
			<UnitCombatTargets/>
			<UnitClassDefenders/>
			<UnitCombatDefenders/>
			<FlankingStrikes/>
			<UnitAIs/>
			<NotUnitAIs/>
			<Builds/>
			<ReligionSpreads>
				<ReligionSpread>
					<ReligionType>RELIGION_JUDAISM</ReligionType>
					<iReligionSpread>40</iReligionSpread>
				</ReligionSpread>
			</ReligionSpreads>
			<CorporationSpreads/>
			<GreatPeoples/>
			<Buildings/>
			<ForceBuildings/>
			<HolyCity>NONE</HolyCity>
			<ReligionType>NONE</ReligionType>
			<StateReligion>NONE</StateReligion>
			<PrereqReligion>RELIGION_JUDAISM</PrereqReligion>
			<PrereqCorporation>NONE</PrereqCorporation>
			<PrereqBuilding>BUILDING_JEWISH_MONASTERY</PrereqBuilding>
			<PrereqTech>NONE</PrereqTech>
			<TechTypes/>
			<BonusType>NONE</BonusType>
			<PrereqBonuses/>
			<ProductionTraits/>
			<Flavors/>
			<iAIWeight>0</iAIWeight>
			[COLOR="Red"]<iCost>40</iCost>[/COLOR]
			<iHurryCostModifier>0</iHurryCostModifier>
			<iAdvancedStartCost>-1</iAdvancedStartCost>
			<iAdvancedStartCostIncrease>0</iAdvancedStartCostIncrease>
			<iMinAreaSize>-1</iMinAreaSize>
			<iMoves>2</iMoves>
			<bNoRevealMap>0</bNoRevealMap>
			<iAirRange>0</iAirRange>
			<iAirUnitCap>0</iAirUnitCap>
			<iDropRange>0</iDropRange>
			<iNukeRange>-1</iNukeRange>
			<iWorkRate>0</iWorkRate>
			<iBaseDiscover>0</iBaseDiscover>
			<iDiscoverMultiplier>0</iDiscoverMultiplier>
			<iBaseHurry>0</iBaseHurry>
			<iHurryMultiplier>0</iHurryMultiplier>
			<iBaseTrade>0</iBaseTrade>
			<iTradeMultiplier>0</iTradeMultiplier>
			<iGreatWorkCulture>0</iGreatWorkCulture>
			<iEspionagePoints>0</iEspionagePoints>
			<TerrainImpassables/>
			<FeatureImpassables/>
			<TerrainPassableTechs/>
			<FeaturePassableTechs/>
			<iCombat>0</iCombat>
			<iCombatLimit>0</iCombatLimit>
			<iAirCombat>0</iAirCombat>
			<iAirCombatLimit>0</iAirCombatLimit>
			<iXPValueAttack>0</iXPValueAttack>
			<iXPValueDefense>0</iXPValueDefense>
			<iFirstStrikes>0</iFirstStrikes>
			<iChanceFirstStrikes>0</iChanceFirstStrikes>
			<iInterceptionProbability>0</iInterceptionProbability>
			<iEvasionProbability>0</iEvasionProbability>
			<iWithdrawalProb>0</iWithdrawalProb>
			<iCollateralDamage>0</iCollateralDamage>
			<iCollateralDamageLimit>0</iCollateralDamageLimit>
			<iCollateralDamageMaxUnits>0</iCollateralDamageMaxUnits>
			<iCityAttack>0</iCityAttack>
			<iCityDefense>0</iCityDefense>
			<iAnimalCombat>0</iAnimalCombat>
			<iHillsAttack>0</iHillsAttack>
			<iHillsDefense>0</iHillsDefense>
			<TerrainNatives/>
			<FeatureNatives/>
			<TerrainAttacks/>
			<TerrainDefenses/>
			<FeatureAttacks/>
			<FeatureDefenses/>
			<UnitClassAttackMods/>
			<UnitClassDefenseMods/>
			<UnitCombatMods/>
			<UnitCombatCollateralImmunes/>
			<DomainMods/>
			<BonusProductionModifiers/>
			<iBombRate>0</iBombRate>
			<iBombardRate>0</iBombardRate>
			<SpecialCargo>NONE</SpecialCargo>
			<DomainCargo>NONE</DomainCargo>
			<iCargo>0</iCargo>
			<iConscription>0</iConscription>
			<iCultureGarrison>0</iCultureGarrison>
			<iExtraCost>0</iExtraCost>
			<iAsset>2</iAsset>
			<iPower>0</iPower>
			<UnitMeshGroups>
				<iGroupSize>1</iGroupSize>
				<fMaxSpeed>1.75</fMaxSpeed>
				<fPadTime>1</fPadTime>
				<iMeleeWaveSize>1</iMeleeWaveSize>
				<iRangedWaveSize>0</iRangedWaveSize>
				<UnitMeshGroup>
					<iRequired>1</iRequired>
					<EarlyArtDefineTag>ART_DEF_UNIT_JEWISH_MISSIONARY</EarlyArtDefineTag>
				</UnitMeshGroup>
			</UnitMeshGroups>
			<FormationType>FORMATION_TYPE_DEFAULT</FormationType>
			<HotKey/>
			<bAltDown>0</bAltDown>
			<bShiftDown>0</bShiftDown>
			<bCtrlDown>0</bCtrlDown>
			<iHotKeyPriority>0</iHotKeyPriority>
			<FreePromotions/>
			<LeaderPromotion>NONE</LeaderPromotion>
			<iLeaderExperience>0</iLeaderExperience>
		</UnitInfo>
 
How badly would things break if I try to create a new domain for missionaries? Hmm. If I make them "AIR" domain, monestaries fast build AIR faster. It is impossible to get real air units without expiring monestaries. That's pretty hackish, though.
 
Code:
<?xml version="1.0"?>
<!-- edited with XMLSPY v2004 rel. 2 U (http://www.xmlspy.com) by Alex Mantzaris (Firaxis Games) -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Basic Infos -->
<Civ4DomainInfos xmlns="x-schema:CIV4BasicInfoSchema.xml">
	<DomainInfos>
		<DomainInfo>
			<Type>DOMAIN_SEA</Type>
			<Description>TXT_KEY_DOMAIN_SEA</Description>
		</DomainInfo>
		<DomainInfo>
			<Type>DOMAIN_AIR</Type>
			<Description>TXT_KEY_DOMAIN_AIR</Description>
		</DomainInfo>
		<DomainInfo>
			<Type>DOMAIN_LAND</Type>
			<Description>TXT_KEY_DOMAIN_LAND</Description>
		</DomainInfo>
		<DomainInfo>
			<Type>DOMAIN_IMMOBILE</Type>
			<Description>TXT_KEY_DOMAIN_IMMOBILE</Description>
		</DomainInfo>
	</DomainInfos>
</Civ4DomainInfos>

However thats probably linked to/from something else, probably Python/SDK.

You could make Monastaries DOMAIN AIR 50/100% production, and missionaries DOMAIN AIR, wether they would still function the same though i can't be sure.

It would be worth creating a new DOMAIN if it works, i'd defiantly be doing it :)
 
Back
Top Bottom