Anyone willing to look over my mod to tell me how the hell a civilization that hasn't even reached the Medieval Era is able to have a unit that HAS <PrereqTech>TECH_BIOLOGY</PrereqTech> in it's code and does NOT have a <GoodyHutUpgradeUnitClass>????</GoodyHutUpgradeUnitClass> tag?
This is the units code:
I'd offer up the save game but I have multiple other mod's active and both DLC's so that would be worthless. It anoys the hell out of em though i thought i had this mod pretty polished (Medical Corps) and then i run into this 100+ turns into a marathon game.
Oh here is the unit that upgrade to a combat medic it might help more incase it something broken with it letting it upgrade sooner for some reason.
This is the units code:
Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 10/16/2010 8:51:57 PM -->
<!-- edited with notepad v5.1 -->
<GameData>
<UnitClasses>
<Row>
<Type>UNITCLASS_COMBAT_MEDIC</Type>
<Description>TXT_KEY_UNIT_COMBAT_MEDIC</Description>
<DefaultUnit>UNIT_COMBAT_MEDIC</DefaultUnit>
<MaxPlayerInstances>5</MaxPlayerInstances>
</Row>
</UnitClasses>
<Units>
<Row>
<Class>UNITCLASS_COMBAT_MEDIC</Class>
<Type>UNIT_COMBAT_MEDIC</Type>
<Cost>470</Cost>
<Moves>4</Moves>
<Capture>UNITCLASS_WORKER</Capture>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_GENERAL</DefaultUnitAI>
<Description>TXT_KEY_UNIT_COMBAT_MEDIC</Description>
<Civilopedia>TXT_KEY_CIV5_INDUSTRIAL_COMBAT_MEDIC_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_COMBAT_MEDIC_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_COMBAT_MEDIC</Help>
<AdvancedStartCost>40</AdvancedStartCost>
<WorkRate>100</WorkRate>
<CombatLimit>0</CombatLimit>
<UnitArtInfo>ART_DEF_UNIT_MECHANIZED_INFANTRY</UnitArtInfo>
<UnitFlagIconOffset>73</UnitFlagIconOffset>
<IconAtlas>UNIT_ATLAS_2</IconAtlas>
<PortraitIndex>26</PortraitIndex>
<MoveRate>WHEELED</MoveRate>
<PrereqTech>TECH_BIOLOGY</PrereqTech>
</Row>
</Units>
<Unit_ClassUpgrades>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<UnitClassType>UNITCLASS_MEDEVAC</UnitClassType>
</Row>
</Unit_ClassUpgrades>
<Language_en_US>
<Row Tag="TXT_KEY_CIV5_INDUSTRIAL_COMBAT_MEDIC_HEADING">
<Text>Combat Medic</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_INDUSTRIAL_COMBAT_MEDIC_STATBOX">
<Text>missing stats</Text>
</Row>
<Row Tag="TXT_KEY_UNIT_COMBAT_MEDIC">
<Text>Combat Medic</Text>
</Row>
<Row Tag="TXT_KEY_UNIT_HELP_COMBAT_MEDIC">
<Text>A Combat Medic heals units in its own tile for 3 as well as adjacent tiles for 2, constructs Healers Camps, and repairs pillaged improvements. Field Medic's take advantage of the newly introduced automobile more rapidly reach and trasport those in need even in the most difficult of terrain</Text>
</Row>
<Row Tag="TXT_KEY_UNIT_COMBAT_MEDIC_STRATEGY">
<Text>A Combat Medic cannot defend itself, so be sure to accompany it with a military unit when it is in dangerous territory.</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_INDUSTRIAL_COMBAT_MEDIC_TEXT">
<Text>Combat medics are trained military personnel who are responsible for providing first aid and frontline trauma care on the battlefield. They are also responsible for providing continuing medical care in the absence of a readily available medical facility, including care for disease and battle injury. Combat medics are normally co-located with the combat troops they serve in order to easily move with the troops and monitor ongoing health. In 1864, sixteen European states (referring to themselves as "High Contracting Parties"), adopted the First Geneva Convention to save lives, to alleviate the suffering of wounded and sick military personnel, and to protect trained medical personal as civilians, in the act of rendering aid.</Text>
</Row>
</Language_en_US>
<Unit_FreePromotions>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<PromotionType>PROMOTION_HEALER_AOE_II</PromotionType>
</Row>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<PromotionType>PROMOTION_IGNORE_TERRAIN_COST</PromotionType>
</Row>
</Unit_FreePromotions>
<Unit_Flavors>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<FlavorType>FLAVOR_TILE_IMPROVEMENT</FlavorType>
<Flavor>10</Flavor>
</Row>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<FlavorType>FLAVOR_INFRASTRUCTURE</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<FlavorType>FLAVOR_OFFENSE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<Flavor>6</Flavor>
</Row>
</Unit_Flavors>
<Unit_Builds>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<BuildType>BUILD_HEALERS_CAMP</BuildType>
</Row>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<BuildType>BUILD_REPAIR</BuildType>
</Row>
</Unit_Builds>
<Unit_AITypes>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<UnitAIType>UNITAI_GENERAL</UnitAIType>
</Row>
<Row>
<UnitType>UNIT_COMBAT_MEDIC</UnitType>
<UnitAIType>UNITAI_WORKER</UnitAIType>
</Row>
</Unit_AITypes>
<UnitGameplay2DScripts>
<Row UnitType="UNIT_COMBAT_MEDIC">
<SelectionSound>AS2D_SELECT_MECH_INFANTRY</SelectionSound>
<FirstSelectionSound>AS2D_BIRTH_MECH_INFANTRY</FirstSelectionSound>
</Row>
</UnitGameplay2DScripts>
</GameData>
I'd offer up the save game but I have multiple other mod's active and both DLC's so that would be worthless. It anoys the hell out of em though i thought i had this mod pretty polished (Medical Corps) and then i run into this 100+ turns into a marathon game.
Oh here is the unit that upgrade to a combat medic it might help more incase it something broken with it letting it upgrade sooner for some reason.
Spoiler :
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 10/16/2010 8:51:57 PM -->
<!-- edited with notepad v5.1 -->
<GameData>
<UnitClasses>
<Row>
<Type>UNITCLASS_SURGEON</Type>
<Description>TXT_KEY_UNIT_SURGEON</Description>
<DefaultUnit>UNIT_SURGEON</DefaultUnit>
<MaxPlayerInstances>5</MaxPlayerInstances>
</Row>
</UnitClasses>
<Units>
<Row>
<Class>UNITCLASS_SURGEON</Class>
<Type>UNIT_SURGEON</Type>
<Cost>260</Cost>
<Moves>3</Moves>
<Capture>UNITCLASS_WORKER</Capture>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_GENERAL</DefaultUnitAI>
<Description>TXT_KEY_UNIT_SURGEON</Description>
<Civilopedia>TXT_KEY_CIV5_RENAISSANCE_SURGEON_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_SURGEON_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_SURGEON</Help>
<AdvancedStartCost>30</AdvancedStartCost>
<WorkRate>100</WorkRate>
<CombatLimit>0</CombatLimit>
<UnitArtInfo>ART_DEF_UNIT_CAVALRY</UnitArtInfo>
<UnitFlagIconOffset>48</UnitFlagIconOffset>
<IconAtlas>UNIT_ATLAS_2</IconAtlas>
<PortraitIndex>5</PortraitIndex>
<MoveRate>QUADRUPED</MoveRate>
<PrereqTech>TECH_SCIENTIFIC_THEORY</PrereqTech>
</Row>
</Units>
<Unit_ClassUpgrades>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<UnitClassType>UNITCLASS_COMBAT_MEDIC</UnitClassType>
</Row>
</Unit_ClassUpgrades>
<Language_en_US>
<Row Tag="TXT_KEY_CIV5_RENAISSANCE_SURGEON_HEADING">
<Text>Surgeon</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_RENAISSANCE_SURGEON_STATBOX">
<Text>missing stats</Text>
</Row>
<Row Tag="TXT_KEY_UNIT_SURGEON">
<Text>Surgeon</Text>
</Row>
<Row Tag="TXT_KEY_UNIT_HELP_SURGEON">
<Text>A Surgeon heals units in its own tile for 3 as well as adjacent tiles for 1, constructs Healers Camps, and repairs pillaged improvements. Surgeon's use Ambulance wagons to more rapidly reach and trasport those in need.</Text>
</Row>
<Row Tag="TXT_KEY_UNIT_SURGEON_STRATEGY">
<Text>A Surgeon cannot defend itself, so be sure to accompany it with a military unit when it is in dangerous territory.</Text>
</Row>
<Row Tag="TXT_KEY_CIV5_RENAISSANCE_SURGEON_TEXT">
<Text>Ambulance wagons, or wagons especially designed for the transport of sick and wounded, had not been in use in the armies of the United States until a year or so before the outbreak of the War of the Rebellion. Transport carts, army wagons, ox teams, in fact anything that could be made available for the purpose, had been employed. In the War of Independence, in April, 1777, the Congress of the United States passed a bill "devising ways and means for preserving the health of the troops" which contained the following paragraph:(1) "That a suitable number of covered and other wagons, litters, and other necessaries for removing the sick and wounded, shall be supplied by the Quartermaster or Deputy Quartermaster General; and in case of their deficiency, by the Director or Deputy Director General."</Text>
</Row>
</Language_en_US>
<Unit_FreePromotions>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<PromotionType>PROMOTION_HEALER_AOE</PromotionType>
</Row>
</Unit_FreePromotions>
<Unit_Flavors>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<FlavorType>FLAVOR_TILE_IMPROVEMENT</FlavorType>
<Flavor>10</Flavor>
</Row>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<FlavorType>FLAVOR_INFRASTRUCTURE</FlavorType>
<Flavor>8</Flavor>
</Row>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<FlavorType>FLAVOR_OFFENSE</FlavorType>
<Flavor>6</Flavor>
</Row>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<FlavorType>FLAVOR_DEFENSE</FlavorType>
<Flavor>6</Flavor>
</Row>
</Unit_Flavors>
<Unit_Builds>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<BuildType>BUILD_HEALERS_CAMP</BuildType>
</Row>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<BuildType>BUILD_REPAIR</BuildType>
</Row>
</Unit_Builds>
<Unit_AITypes>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<UnitAIType>UNITAI_GENERAL</UnitAIType>
</Row>
<Row>
<UnitType>UNIT_SURGEON</UnitType>
<UnitAIType>UNITAI_WORKER</UnitAIType>
</Row>
</Unit_AITypes>
<UnitGameplay2DScripts>
<Row UnitType="UNIT_SURGEON">
<SelectionSound>AS2D_SELECT_WORKER</SelectionSound>
<FirstSelectionSound>AS2D_SELECT_WORKER</FirstSelectionSound>
</Row>
</UnitGameplay2DScripts>
</GameData>