So this seems to occur in both 1.8 and 1.9 Beta. We can make a custom wanderer and apply the custom race but it doesn't actually seem to apply the race. When this is done with Troops and Lords npcs it works fine. for example:
This lord code will generate the Race of the character correctly adjusting her height and size to match the race parameters. However this:
Will generate the wanderer but not actually adjust to the race parameters. I know it doesn't because I used an already established NPC code from another wanderer and the NPCs match exactly which they shouldn't.
Side by Side
Next to custom lord.
You can see the differences between the Dwarf NPC and the wanderers. Hopefully this isn't anything to big.
XML:
<NPCCharacter id="lord_del_nar_1_2" name="{=DelNar12}Arüna Ragni" age="26" voice="curt" is_female="true" default_group="Infantry" is_hero="true" culture="Culture.deliborian" race="dwarf" occupation="Lord">
<face>
<BodyProperties version="4" age="22.6" weight="0.4882" build="1" key="000A380AC0002003095D8B98918C5D3D5543868AAFA069707441DA49897987A1000F760300A7B7A5000000000000000000000000000000000000000000041003" />
</face>
<skills>
<skill id="OneHanded" value="240" />
<skill id="Polearm" value="220" />
<skill id="Athletics" value="210" />
<skill id="Tactics" value="120" />
</skills>
<Traits>
<Trait id="Honor" value="+1" />
<Trait id="Calculating" value="+2" />
</Traits>
<Equipments>
<EquipmentRoster />
<EquipmentSet id="koa_deliborian_lady_equipment_set" />
<EquipmentSet id="koa_delibor_lady_equipment_set_civilian" civilian="true" />
</Equipments>
</NPCCharacter>
XML:
<NPCCharacter id="spc_wanderer_delibor_0" name="{=alalakw1}Carli Norkfin" voice="softspoken" age="21" default_group="Cavalry" is_female="true" race="dwarf" is_hero="false" culture="Culture.deliborian" occupation="Wanderer">
<face>
<BodyProperties version="4" age="14.77" weight="0.0448" build="0.9583" key="0020C40E400020066884814938577813578566A2CCD3A88A9E89C6B877A74A660C0E16C2065A9DB900000000000000000000000000000000000000003C043003" />
</face>
<Traits>
<Trait id="WandererEquipment" value="1" />
<Trait id="CavalryFightingSkills" value="5" />
<Trait id="WoodsScoutSkills" value="3" />
<Trait id="Surgeon" value="3" />
<Trait id="Mercy" value="1" />
<Trait id="Generosity" value="1" />
</Traits>
<Equipments>
<EquipmentSet id="koa_alantia_wanderer_0_equipment_set" />
<EquipmentSet id="koa_alantia_wanderer_0_equipment_set_civilian" civilian="true" />
</Equipments>
</NPCCharacter>
Side by Side
Next to custom lord.
You can see the differences between the Dwarf NPC and the wanderers. Hopefully this isn't anything to big.