Log in

View Full Version : Hoplite's main weapon



oldgiffer
05-18-2005, 17:08
Is it possible to make the greek hoplites to use sword and not spear/pikes?

I tried to change the skeleton in the descr_model_battle to fs_swordsman and changed the descr_export_units but now they'r just fighting with theyr spears as if they where swords..

LAca
05-18-2005, 20:55
The weapon geometry in the 3d model file for the spear is marked primary weapon and secondary weapon for the sword. You can rename them if u edit the 3d file (.cas). And in descr_model_battle.txt the 2 consecutive skeletons reference the primary and secondary weapon geomatry (i want to say that if the skeleton line is fs_swordsman, fs_spearman the primary weapon will have the swords anims and the secondary the spears anims).

In the export_descr_unit.txt file you see that are 2 sets of references, for primary and secondary weapon. The game doesnt know that the character is holding a spear or sword, only displays the 3d model part called primary
weapon or secondary weapon depending on the case.
It seems to me that you removed the secondary weapon and phalanx capability in the export_descr_unit.txt. In this case the game shows the geometry named primary weapon - the damage and animation is that of a sword, but it isnt pretty looking - here looks like the spear.
So, here you must edit the .cas to remove the spear's 3d model, and rename the sword model from secondary to primary weapon.