THIS IS ABOUT ADDING UNITS TO THE GAME. king louise asurbanipals
this is the method i added them by.
WERE GOING TO BE ADDING 2 UNITS, ROMAN CATAPHRACTS AND SELEUCID LEGIONAIRES. les start
FIRSTLY WE ARE GOING TO ADD A NEW ENTRY IN EDU (EXPORT DESCR UNITS) for catapracts paste this in
type roman heavy cataphract
dictionary roman_heavy_cataphract ; roman cataphracts
category cavalry
class heavy
voice_type Heavy_1
soldier roman_heavy_cataphract, 27, 0, 1
mount horse cataphract
mount_effect elephant -8, camel -4
attributes sea_faring, hide_forest
formation 1.2, 4, 2.4, 6, 3, square, wedge
stat_health 1, 0
stat_pri 10, 9, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr no
stat_sec 9, 6, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_sec_attr ap
stat_pri_armour 18, 5, 0, metal
stat_sec_armour 0, 1, flesh
stat_heat 3
stat_ground 0, 1, -6, -1
stat_mental 8, normal, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 2, 940, 190, 100, 150, 940
ownership roman
i copied the east, heavy cataphract and changed a couple of lines
EAST HEAVY CATAPHRACT TO roman heavy cataphracts and again with underscores.
next change the soldier type,(TELLS THE GAME WHICH UNIT TO REFERENCE IN DESCR MODEL BATTLE
THE MOUNT LINE TELLS THE GAME WHAT MOUNT THE UNIT WILL SIT ON
YOU CAN HAVE IT TO WHATEVER U WANT IT TO
FOR SELEUCID SWORDSMEN I COPIED THE ROMAN COHORTS AND CHANGED A FEW LINES
look at the stat pri and stat sec
type seleucid early legionary
dictionary seleucid_early_legionary ; seleucid heavy swordsman
category infantry
class heavy
voice_type Heavy_1
soldier seleucid_early_legionary, 60, 0, 1.3
officer greek_standard
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 2, 2, 3, 4, square,
stat_health 1, 0
stat_pri 11, 3, no, 0, 0, melee, simple, piercing, sword, 25 ,1
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
stat_sec_attr no
stat_pri_armour 9, 5, 5, metal
stat_sec_armour 0, 1, flesh
stat_heat 4
stat_ground 2, 0, 0, 0
stat_mental 10, disciplined, highly_trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 610, 210, 70, 100, 610
ownership seleucid
ONCE AGAIN I EDITED A FEW LINES. AND REMOVED THE TESTUDO (IT'LL LOOK WEIRD)
Next descr model battle, first cataphracts. call the type Roman heavy cataphract (we said this file will come up again in the soldier line in edu)
COPY THIS IN THE ROMAN SECTION OF DMB AT THE BOTTOM
Model flexi is the model used for the soldier and the texture is wrapped around the model flexi
type roman_heavy_cataphract
skeleton fs_hc_spearman, fs_hc_swordsman
indiv_range 40
;texture roman, data/models_unit/textures/cataphract.tga
model_flexi data/models_unit/roman_cataphract_high.cas, 15
model_flexi data/models_unit/roman_cataphract_med.cas, 30
model_flexi data/models_unit/roman_cataphract_low.cas, 40
model_flexi data/models_unit/roman_cataphract_lowest.cas, max
model_sprite roman, 60.0,data/sprites/seleucid_east_heavy_cataphract_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
I COPIED THE SAME cas FILE 4 TIMES AND CHANGED THE NAMES TO HIGH MED LOW LOWEST AND THE SAME WITH THE SELEUCID SWORDSMEN
Since kla didnt supply any sprite models i chose the one that most looked like the roman cataphract, the seleucid sprite.
i changed the word seleucid at the front of the sprite to roman (tells the game which sprite to assign to each model same with textures it is used for units using multiple textures.
Next ill talk about the skeleton it is the list of animations
FS_HC spearman is the primary animations for the primary weapon (lance)
hc means fs horse mounted spearmen
fs hc swordsman is the same just mounted swordsman animation.
indiv range is what point the unit will be viewed, i assigned these 2 animations because i saw them in the picture kla provided
for seleucid type this
type seleucid_early_legionary
skeleton fs_swordsman
indiv_range 40
texture seleucid, data/models_unit/textures/seleucid_legionary_1.tga
model_flexi data/models_unit/seleucid_early_legionary_high.cas, 15
model_flexi data/models_unit/seleucid_early_legionary_med.cas, 30
model_flexi data/models_unit/seleucid_early_legionary_low.cas, 40
model_flexi data/models_unit/seleucid_early_legionary_lowest.cas, max
model_sprite romans_scipii, 60.0, data/sprites/seleucid_roman_hastati_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
make a texture folder in models unit (the game isnt stupid itll find it dont worry)
i chose the hastati scippi model because it looked the most like the unit and i wont get it confused.
since of a report of these units throwing their swords i only assigned it a sword animation.
Next export units (data/text/export units
contains the description for every units short and long, unfourtanetly the good king didnt give us text to write so i used my own
roman
(put a tab then type the unit name otherwise it will be called unlocalized placement text (dosent aim to be historically accurate)
¬----------------
{roman_heavy_cataphract} Roman Cataphracts
{roman_heavy_cataphract_descr}
Elite\nDisciplined\nHardy\nCan Form Wedge\n\nthese horsemen are copies of the parthian cataphract after witnessing their effiency and armour at carrhae the romans joined the many nations using cataphracts in the ancient world .they are dedicated and praised as the elite of heavy cavalry. Cataphract means heavily armoured and this is no different. they carry a 3 ft lance and a sword for hand to hand combat their superior weaponry and heavy armour.historically these heavy horsemen were but were kept in the army for their superior skills. most generals usually charged cataphracts straight into the enemy and there was a high chance they will rout. Everything about them is heavy heavy armour, heavy weaponry and heavy cost
{roman_heavy_cataphract_descr_short}
these heavy cavalrymen can easily rip through flanks and will match with most elite cavalrymen
¬----------------
{seleucid_early_legionary} Seleucid heavy swordsmen
{seleucid_early_legionary_descr}
Superior\nHardy\nSapping Ability\n\nThese heavy infantry are reliable, good and experienced they are as good as the roman legionnaire, this and the silver shields are the best copies of the roman legions abroad their perfectly carved armour allows manouverability and good sword use the only thing that is missing is the lack of pila for these legionaires. when they are experienced enough they either join the silver shield phalanx regiment or the silver shield legionaires. overall these men are good for holding the enemy in place and their charge is efficient.
{seleucid_early_legionary_descr_short}
Superior and effective. match the roman legions and greek armoured hoplites.
Next unit cards
MAKE A FOLDER CALLED UI IN IT PUT TWO FOLDERS UNITS AND UNIT INFO. LIKE I SAID THE GAME WILL FIND IT. IN BOTH PUT SELEUCID AND ROMANS_SCIPPI ROMANS_BRUTII ROMANS_JULII.
NEXT TAKE THE UNIT INFO CARD AND CALL IT roman_heavy_cataphract INFO (INFO IS IN CAPITALS) FOR SELEUCID DO THE SAME MAKE SURE IT MATCHES THE DICTIONARY LINE IN EXPORT DESCR UNITS.
FOR UNIT SMALL CARDS WRITE #roman_heavy_cataphract. good same for seleucid remember to put # in the front
Export descr unit emus
just do this
roman_heavy_cataphract
roman_heavy_cataphract_descr
roman_heavy_cataphract_descr_short.
same for seleucid swordsmen. make sure matches dictionary line.
unit roman cataphract
[IMG][/IMG]
seleucid swordsmen
MAKING IT RECRUITABLE.
ILL TALK ABOUT THIS NEXT TIME
IF YOU FOUND THIS HELPFUL PRESS 1 IF NOT PRESS 0 (HOW DO YOU POST PICS)







Reply With Quote





