I almost had this working:

I had a unit of Militia Hoplites and their code looked like this:


Spoiler Alert, click show to read: 
type greek hoplite militia
dictionary greek_hoplite_militia ; Militia Hoplites
category infantry
class spearmen
voice_type Light_1
soldier greek_hoplite_militia, 40, 0, 1
attributes sea_faring, hide_forest, can_sap
formation 1, 1, 2, 2, 5, square, phalanx
stat_health 1, 0
stat_pri 5, 2, no, 0, 0, melee, simple, piercing, spear, 25 ,1
stat_pri_attr spear, spear_bonus_8, short_pike
stat_sec 3, 1, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr no
stat_pri_armour 0, 3, 5, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 2, 0, 0, 0
stat_mental 4, normal, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 230, 100, 30, 40, 230
ownership greek, slave


But all of their spears are backwards due to the overhand animation I borrowed from some peltasts. And I heard that there's no way to fix the spears without changing the model UNLESS I hear otherwise.