Code:
type aor gaul swordsmen
dictionary rtr_aor_gaul_swordsmen
category infantry
class heavy
voice_type Heavy_1
soldier aor_gaul_swordsmen, 40, 0, 1.2
mount_effect horse -2, camel -2,
attributes sea_faring,hide_improved_forest,mercenary_unit,hardy,no_custom,warcry
formation 2.2, 2.2, 4.4, 4.4, 8,square
stat_health 1, 0
stat_pri 12, 8, no, 0, 0, melee, simple, piercing, sword, 0 , 0.3
stat_pri_attr no
stat_sec 0, 18, no, 0, 0, no, no, no, none, 25 , 1
stat_sec_attr no
stat_pri_armour 0, 13, 5, leather
stat_sec_armour 0, 0, flesh
stat_heat 5
stat_ground 0, 0, 0, 0
stat_mental 12, low, untrained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 351, 119, 78, 84, 288
ownership germans, spain, scythia, britons, dacia, carthaginian, eastern, egyptian, greek, roman, slave
Removing that red part would make the unit available in custom battles. You need to remove the comma in front of it too if the atribute is in the middle of the rest so that it keeps the general aspect it had before.