View Full Version : help with modding gypsy wagons


kenken244
Jul 10, 2007, 02:30 PM
while i was playing as the blasperaphs i decided i wanted to change the effects of gypsy wagons. so i put this into civ4buildinginfos.xml

<BuildingClass>BUILDINGCLASS_GYPSY_CAMP</BuildingClass>
<Type>BUILDING_GYPSY_CAMP</Type>
<SpecialBuildingType>NONE</SpecialBuildingType>
<Description>TXT_KEY_BUILDING_GYPSY_CAMP</Description>
<Civilopedia>TXT_KEY_BUILDING_PLACEHOLDER_PEDIA</Civilopedia>
<Strategy></Strategy>
<Advisor>ADVISOR_CULTURE</Advisor>
<ArtDefineTag>ART_DEF_BUILDING_CARNIVAL</ArtDefineTag>
<MovieDefineTag>NONE</MovieDefineTag>
<HolyCity>NONE</HolyCity>
<ReligionType>NONE</ReligionType>
<StateReligion>NONE</StateReligion>
<PrereqReligion>NONE</PrereqReligion>
<GlobalReligionCommerce>NONE</GlobalReligionCommerce>
<VictoryPrereq>NONE</VictoryPrereq>
<FreeStartEra>NONE</FreeStartEra>
<MaxStartEra>NONE</MaxStartEra>
<ObsoleteTech>NONE</ObsoleteTech>
<PrereqTech>NONE</PrereqTech>
<TechTypes>
</TechTypes>
<Bonus>NONE</Bonus>
<PrereqBonuses>
</PrereqBonuses>
<ProductionTraits>
</ProductionTraits>
<PowerBonus>NONE</PowerBonus>
<FreeBonus>NONE</FreeBonus>
<FreeBonus2>NONE</FreeBonus2>
<FreeBonus3>NONE</FreeBonus3>
<iNumFreeBonuses>0</iNumFreeBonuses>
<FreeBuilding>NONE</FreeBuilding>
<FreePromotion>NONE</FreePromotion>
<CivicOption>NONE</CivicOption>
<GreatPeopleUnitClass>NONE</GreatPeopleUnitClass>
<iGreatPeopleRateChange>-2</iGreatPeopleRateChange>
<bTeamShare>0</bTeamShare>
<bWater>0</bWater>
<bRiver>0</bRiver>
<bPower>0</bPower>
<bDirtyPower>0</bDirtyPower>
<bAreaCleanPower>0</bAreaCleanPower>
<bDiploVote>0</bDiploVote>
<bForceTeamVoteEligible>0</bForceTeamVoteEligible>
<bCapital>0</bCapital>
<bGovernmentCenter>0</bGovernmentCenter>
<bGoldenAge>0</bGoldenAge>
<bMapCentering>0</bMapCentering>
<bNoUnhappiness>0</bNoUnhappiness>
<bNoUnhealthyPopulation>0</bNoUnhealthyPopulation>
<bBuildingOnlyHealthy>0</bBuildingOnlyHealthy>
<bNeverCapture>0</bNeverCapture>
<bNukeImmune>0</bNukeImmune>
<bPrereqReligion>0</bPrereqReligion>
<bCenterInCity>0</bCenterInCity>
<iAIWeight>0</iAIWeight>
<iCost>-1</iCost>
<iHurryCostModifier>100</iHurryCostModifier>
<iMinAreaSize>-1</iMinAreaSize>
<iConquestProb>100</iConquestProb>
<iCitiesPrereq>0</iCitiesPrereq>
<iTeamsPrereq>0</iTeamsPrereq>
<iLevelPrereq>0</iLevelPrereq>
<iMinLatitude>0</iMinLatitude>
<iMaxLatitude>90</iMaxLatitude>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGlobalGreatPeopleRateModifier>0</iGlobalGreatPeopleRateModifier>
<iAnarchyModifier>0</iAnarchyModifier>
<iGlobalHurryModifier>0</iGlobalHurryModifier>
<iExperience>0</iExperience>
<iGlobalExperience>0</iGlobalExperience>
<iFoodKept>0</iFoodKept>
<iAirlift>0</iAirlift>
<iAirModifier>0</iAirModifier>
<iNukeModifier>0</iNukeModifier>
<iNukeExplosionRand>0</iNukeExplosionRand>
<iFreeSpecialist>0</iFreeSpecialist>
<iAreaFreeSpecialist>0</iAreaFreeSpecialist>
<iGlobalFreeSpecialist>0</iGlobalFreeSpecialist>
<iMaintenanceModifier>25</iMaintenanceModifier>
<iWarWearinessModifier>25</iWarWearinessModifier>
<iGlobalWarWearinessModifier>0</iGlobalWarWearinessModifier>
<iHealRateChange>0</iHealRateChange>
<iHealth>0</iHealth>
<iAreaHealth>0</iAreaHealth>
<iGlobalHealth>0</iGlobalHealth>
<iHappiness>-1</iHappiness>
<iAreaHappiness>0</iAreaHappiness>
<iGlobalHappiness>0</iGlobalHappiness>
<iStateReligionHappiness>0</iStateReligionHappiness>
<iWorkerSpeedModifier>0</iWorkerSpeedModifier>
<iMilitaryProductionModifier>0</iMilitaryProductionModifier>
<iSpaceProductionModifier>0</iSpaceProductionModifier>
<iGlobalSpaceProductionModifier>0</iGlobalSpaceProductionModifier>
<iTradeRoutes>0</iTradeRoutes>
<iCoastalTradeRoutes>0</iCoastalTradeRoutes>
<iGlobalTradeRoutes>0</iGlobalTradeRoutes>
<iTradeRouteModifier>0</iTradeRouteModifier>
<iGlobalPopulationChange>0</iGlobalPopulationChange>
<iFreeTechs>0</iFreeTechs>
<iDefense>0</iDefense>
<iAllCityDefense>0</iAllCityDefense>
<iAsset>0</iAsset>
<iPower>0</iPower>
<iSprawling>0</iSprawling>
<fVisibilityPriority>2</fVisibilityPriority>
<SeaPlotYieldChanges>
</SeaPlotYieldChanges>
<GlobalSeaPlotYieldChanges>
</GlobalSeaPlotYieldChanges>
<YieldChanges>
</YieldChanges>
<YieldModifiers>
</YieldModifiers>
<CommerceChanges>
</CommerceChanges>
<ObsoleteSafeCommerceChanges>
<iCommerce>-2</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>-5</iCommerce>
</ObsoleteSafeCommerceChanges>
<CommerceChangeDoubleTimes>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>1000</iCommerce>
</CommerceChangeDoubleTimes>
<CommerceModifiers>
</CommerceModifiers>
<GlobalCommerceModifiers>
</GlobalCommerceModifiers>
<SpecialistExtraCommerces>
</SpecialistExtraCommerces>
<StateReligionCommerces>
</StateReligionCommerces>
<CommerceHappinesses>
</CommerceHappinesses>
<ReligionChanges>
</ReligionChanges>
<SpecialistCounts>
</SpecialistCounts>
<FreeSpecialistCounts>
</FreeSpecialistCounts>
<CommerceFlexibles>
</CommerceFlexibles>
<CommerceChangeOriginalOwners>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>1</iCommerce>
</CommerceChangeOriginalOwners>
<ConstructSound></ConstructSound>
<BonusHealthChanges>
</BonusHealthChanges>
<BonusHappinessChanges>
</BonusHappinessChanges>
<BonusProductionModifiers>
</BonusProductionModifiers>
<UnitCombatFreeExperiences>
</UnitCombatFreeExperiences>
<DomainFreeExperiences>
</DomainFreeExperiences>
<DomainProductionModifiers>
</DomainProductionModifiers>
<BuildingHappinessChanges>
<BuildingHappinessChange>
<BuildingType>BUILDING_CARNIVAL</BuildingType>
<iHappinessChange>-1</iHappinessChange>
</BuildingHappinessChange>
</BuildingHappinessChanges>
<PrereqBuildingClasses>
</PrereqBuildingClasses>
<BuildingClassNeededs>
</BuildingClassNeededs>
<SpecialistYieldChanges>
</SpecialistYieldChanges>
<BonusYieldModifiers>
</BonusYieldModifiers>
<Flavors>
<Flavor>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<iFlavor>5</iFlavor>
</Flavor>
</Flavors>
<HotKey></HotKey>
<bAltDown>0</bAltDown>
<bShiftDown>0</bShiftDown>
<bCtrlDown>0</bCtrlDown>
<bGraphicalOnly>1</bGraphicalOnly>
<iHotKeyPriority>0</iHotKeyPriority>
</BuildingInfo>

the culture minus is working fine, but the general unhappyness neegative of minus 1 is not appearing. the matenence increase is not appearing. the great people minus is showing only -1

can anyone help me with this?

Kael
Jul 10, 2007, 02:41 PM
It shouldnt be BUILDINGCLASS_CARNIVAL it should be BUILDING_CARNIVAL. Thats probably why its decoding to a dwarven valut.

kenken244
Jul 10, 2007, 02:46 PM
well that fixes that problem. but the other things still arent working.

Kael
Jul 10, 2007, 02:49 PM
well that fixes that problem. but the other things still arent working.

The great people minus is probably being modified by your game speed, are you looking at on normal?

And you said that you want -2 general unhappiness but you have <iHappiness>-1</iHappiness> so it should only be -1.

kenken244
Jul 10, 2007, 02:52 PM
im playing on normal game speed and i had a typo while typng the post. i really only wanted a minus of 1 but even the minus of 1 isnt apeaaring

kenken244
Jul 10, 2007, 03:14 PM
the minus happiness from carnival isn causing any effect. its displayed when i mouse over the gypsy camp building but it dosnt do anyhting

EDIT: when loki caused unrest to occour in a city eveything was correct