Ah great, that was so much simpler than what i was trying to do, my thanks to everyone for all your help! :)
Ah great, that was so much simpler than what i was trying to do, my thanks to everyone for all your help! :)
The modelling swordsman? - slaughtered![]()
The textures legionary? - died randomly
The resource-and-region adding demon? - eviscerated![]()
The faction name editing man? - ran away in fear
The faction symbol editing woman? - with the help of Makanyane, devised a mod folder of deadly efficiency![]()
_____
The alpha-daemon of many unit card based things? - locked in a room
GAH! I have run into a problem, I have made a new legionary spearman unit, however the game crashes when one of them dies in melee combat, I really don't know what the problem is as the spartans i made previously work fine, and i did a test where i killed the spearmen from range, and that didn't cause a crash. I will post all the code i have used incase anyone spots an error or if there is something i have missed that i need to do.
descr_model_battle
type roman_legionary_spearman
skeleton fs_spearman ; combat spear
indiv_range 40
texture romans_julii, data/models_unit/textures/unit_roman_legionary_II_julii.tga
texture romans_brutii, data/models_unit/textures/unit_roman_legionary_II_brutii.tga
texture romans_scipii, data/models_unit/textures/unit_roman_legionary_II_scipii.tga
texture romans_senate, data/models_unit/textures/unit_roman_legionary_II_senate.tga
model_flexi_m data/models_unit/AAA_LEGIONARY_SPEARMAN.cas, 15
model_flexi_m data/models_unit/AAA_LEGIONARY_SPEARMAN.cas, 30
model_flexi_m data/models_unit/AAA_LEGIONARY_SPEARMAN.cas, 40
model_flexi data/models_unit/AAA_LEGIONARY_SPEARMAN.cas, max
model_sprite seleucid, 60.0, data/sprites/seleucid_roman_legionary_cohort_ii_sprite.spr
model_sprite romans_senate, 60.0, data/sprites/romans_senate_roman_legionary_cohort_ii_sprite.spr
model_sprite romans_scipii, 60.0, data/sprites/romans_scipii_roman_legionary_cohort_ii_sprite.spr
model_sprite romans_brutii, 60.0, data/sprites/romans_brutii_roman_legionary_cohort_ii_sprite.spr
model_sprite romans_julii, 60.0, data/sprites/romans_julii_roman_legionary_cohort_ii_sprite.spr
model_tri 400, 0.5f, 0.5f, 0.5f
export_descr_unit
type roman legionary spearman
dictionary roman_legionary_spearman ; Legionary Spearman Cohort
category infantry
class spearmen
voice_type Heavy_1
soldier roman_legionary_spearman, 40, 0, 1.3
officer roman_centurion
attributes sea_faring, hide_forest, can_sap, hardy
formation 1, 2, 2, 3, 4, square,
stat_health 1, 0
stat_pri 11, 15, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr ap
stat_sec 9, 11, no, 0, 0, melee, blade, piercing, sword, 25 ,1
stat_sec_attr ap
stat_pri_armour 7, 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 2, 850, 310, 70, 160, 1010
ownership romans julii,romans brutii,romans scipii,romans senate
export_descr_unit_enums
roman_legionary_spearman
roman_legionary_spearman_descr
roman_legionary_spearman_descr_short
export_units
¬----------------
{roman_legionary_spearman} Legionary Spearman Cohort
{roman_legionary_spearman_descr}
These Legionaries are trained with spears in order to assist their bladed comrades against cavalry attacks.
{roman_legionary_spearman_descr_short}
A great counterpart to the standard Legionary, able to fend off the most devastating of cavalry charges
¬----------------
CAS file, it is just called AAA_LEGIONARY_SPEARMAN
I think the problem lies with one of the death animations, although i have no idea how to go about fixing this. thanks
The modelling swordsman? - slaughtered![]()
The textures legionary? - died randomly
The resource-and-region adding demon? - eviscerated![]()
The faction name editing man? - ran away in fear
The faction symbol editing woman? - with the help of Makanyane, devised a mod folder of deadly efficiency![]()
_____
The alpha-daemon of many unit card based things? - locked in a room
it's probably not the dieing bit - its probably when it tries to switch to secondary weapon in melee, you've got primary and secondary weapon in EDU
but only one skeleton type in DMB - if you meant it to have primary and secondary weapons DMB should saystat_health 1, 0
stat_pri 11, 15, no, 0, 0, melee, blade, piercing, spear, 25 ,1
stat_pri_attr ap
stat_sec 9, 11, no, 0, 0, melee, blade, piercing, sword, 25 ,1
stat_sec_attr ap
or similarCode:skeleton fs_spearman, fs_swordsman
if its meant to only have spear then the bold line in EDU is wrong
what has the model actually got in terms of weapons now?
Not used mods before? Looking for something small and fun?!Download the:
AHHH! that would make sense :), he currently has the triarii spear as primary instead of the standard pila, pilum (?), and the standard gladius that comes with the legionary model, great, i will go and change that now, see if it works. THANKS!!!!!![]()
The modelling swordsman? - slaughtered![]()
The textures legionary? - died randomly
The resource-and-region adding demon? - eviscerated![]()
The faction name editing man? - ran away in fear
The faction symbol editing woman? - with the help of Makanyane, devised a mod folder of deadly efficiency![]()
_____
The alpha-daemon of many unit card based things? - locked in a room
Right, you guys have been more than helpful :), however i have run into yet another problem, although this is unrelated to the new units i have made. The Legionary First Cohort and Legionary First Early Cohort are the problem, i didnt know how to train them at all, until recently, then i found out that Rome was needed, well, i conquered Rome, and still couldnt train them, so i decided to look in the descr_buildings file, as i am getting used to all those things, and the "hidden_resource rome" wasn't on either of them, and rome wasnt listed as a hidden resource at the top of the file, so i added rome to the top of the file, and "and hidden_resource rome" after the cohorts, AND "rome" in the resources section of what each province contains, and i am still unable to train them. I really dont know what to do, as i have looked at the "adding resources" thread and followed everything that it said but to no avail. I dont know if its because the latest patch is needed or anything else, but i know i can count on you guys ;)
The modelling swordsman? - slaughtered![]()
The textures legionary? - died randomly
The resource-and-region adding demon? - eviscerated![]()
The faction name editing man? - ran away in fear
The faction symbol editing woman? - with the help of Makanyane, devised a mod folder of deadly efficiency![]()
_____
The alpha-daemon of many unit card based things? - locked in a room
in original file they have "and marian_reforms"
after them in EDB - does your version still have that?
if so see
http://www.twcenter.net/wiki/Marian_reforms
for details....
if it doesn't and its still not working... hmmm.. try maybe using a hidden resource with a name other than 'rome' I'm not sure if there is anything funny in hard code about that, but 'italy' as a resource has hardcoded stuff to do with the reforms and the Rome city/province name used to in early versions of RTW (map wouldn't load without them)
remember also if you added resources to descr_regions.txt you need to delete the map.rwm file for it to have any effect, and you'll also need to start a new campaign.
Not used mods before? Looking for something small and fun?!Download the:
Come to think of it, originally the "roman legionary first cohort i" and "roman legionary first cohort ii" weren't even included in the EDB, so I added them in, here is what it was like after I added them in, I think it is right. I checked this file as I searched for how to train them, i.e controlling Rome, and once I had Rome I couldn't, :(. So essentially, if I add the new resource in (rome) in order to train them, I have to restart my campaign for it to have any effect whatsoever?
(this is only the roman section, i haven't changed anything else except for adding "rome" to the hidden resource thing at the top: "hidden_resources sparta rome")
recruit "roman city militia" 0 requires factions { roman, }
recruit "roman hastati" 0 requires factions { roman, } and not marian_reforms
recruit "roman infantry auxillia" 0 requires factions { roman, } and marian_reforms
recruit "roman princeps" 0 requires factions { roman, } and not marian_reforms
recruit "roman legionary first cohort i" 0 requires factions { roman, } and marian_reforms and hidden_resource rome
recruit "roman triarii" 0 requires factions { roman, } and not marian_reforms
recruit "roman legionary first cohort ii" 0 requires factions { roman, } and marian_reforms and hidden_resource rome
recruit "roman praetorian cohort urban i" 0 requires factions { roman, } and marian_reforms
recruit "roman praetorian cohort i" 0 requires factions { roman, } and marian_reforms
recruit "roman legionary cohort ii" 0 requires factions { roman, } and marian_reforms
recruit "roman legionary cohort i" 0 requires factions { roman, } and marian_reforms
The modelling swordsman? - slaughtered![]()
The textures legionary? - died randomly
The resource-and-region adding demon? - eviscerated![]()
The faction name editing man? - ran away in fear
The faction symbol editing woman? - with the help of Makanyane, devised a mod folder of deadly efficiency![]()
_____
The alpha-daemon of many unit card based things? - locked in a room
Bookmarks