Peng Qi
Emperor
I'm not sure why this code isn't working. Sorry for the questionspam! Learning on your own is hard. 
First of all, I followed the procedures in Kael's guide to create this code for a Scout upgrade:
I also made an ArtDefines file with the following:
Note I'm using a model from the Fall of Rome scenario, which is why the Flag and Atlas are goofy. I presumed these would work as-is because the unit loads normally into Nexus's Unit Viewer, but I'm a noob so half of my presumptions are stupid and this could be the problem.
Note this doesn't crash the game or anything, it just...doesn't seem to load properly. The unit doesn't appear in the tech tree, can't be built, and Scouts don't upgrade to it, despite me adding this code as well:
There's lots of other code I added, but I don't suspect it's the problem so I'm not going to include all of it.
Halp?
EDIT: Oh, and I of course have UpdateDatabase entries for both files. Neither are in the VFS; is that correct?

First of all, I followed the procedures in Kael's guide to create this code for a Scout upgrade:
Code:
<Row>
<Class>UNITCLASS_ADVENTURER</Class>
<Type>UNIT_ADVENTURER</Type>
<PrereqTech>TECH_METAL_CASTING</PrereqTech>
<Combat>10</Combat>
<Cost>100</Cost>
<Moves>2</Moves>
<CombatClass>UNITCOMBAT_RECON</CombatClass>
<Domain>DOMAIN_LAND</Domain>
<DefaultUnitAI>UNITAI_EXPLORE</DefaultUnitAI>
<Description>TXT_KEY_UNIT_ADVENTURER</Description>
<Civilopedia>TXT_KEY_CIV5_ANTIQUITY_SCOUT_TEXT</Civilopedia>
<Strategy>TXT_KEY_UNIT_SCOUT_STRATEGY</Strategy>
<Help>TXT_KEY_UNIT_HELP_ADVENTURER</Help>
<NoBadGoodies>true</NoBadGoodies>
<Pillage>true</Pillage>
<MilitarySupport>true</MilitarySupport>
<MilitaryProduction>true</MilitaryProduction>
<ObsoleteTech>TECH_SCIENTIFIC_THEORY</ObsoleteTech>
<GoodyHutUpgradeUnitClass>UNITCLASS_SWORDSMAN</GoodyHutUpgradeUnitClass>
<AdvancedStartCost>20</AdvancedStartCost>
<XPValueAttack>3</XPValueAttack>
<XPValueDefense>3</XPValueDefense>
<UnitArtInfo>ART_DEF_UNIT_ADVENTURER</UnitArtInfo>
<UnitFlagAtlas>EXPANSION_SCEN_UNIT_FLAG_ATLAS</UnitFlagAtlas>
<UnitFlagIconOffset>1</UnitFlagIconOffset>
<IconAtlas>EXPANSION_SCEN_UNIT_ATLAS</IconAtlas>
<PortraitIndex>1</PortraitIndex>
</Row>
Code:
<UnitArtInfos>
<UnitArtInfo>
<Type>ART_DEF_UNIT_ADVENTURER</Type>
<Formation>Barbarian</Formation>
<DamageStates>1</DamageStates>
<UnitMemberArt>
<MemberType>ART_DEF_UNIT_MEMBER_U_SAXON_HUSCARL</MemberType>
<MemberCount>6</MemberCount>
</UnitMemberArt>
</UnitArtInfo>
</UnitArtInfos>
Note this doesn't crash the game or anything, it just...doesn't seem to load properly. The unit doesn't appear in the tech tree, can't be built, and Scouts don't upgrade to it, despite me adding this code as well:
Code:
<Update>
<Where UnitType="UNIT_SCOUT"/>
<Set GoodyHutUpgradeUnitClass="UNITCLASS_ADVENTURER"/>
<Set ObsoleteTech="TECH_METAL_CASTING"/>
</Update>
<Update>
<Where UnitType="UNIT_PATHFINDER"/>
<Set GoodyHutUpgradeUnitClass="UNITCLASS_ADVENTURER"/>
<Set ObsoleteTech="TECH_METAL_CASTING"/>
</Update>
Halp?

EDIT: Oh, and I of course have UpdateDatabase entries for both files. Neither are in the VFS; is that correct?