@Stitch074
U also need to edit the unit in milkshape like when dismounting a knight u need to remove it's lance from the model.![]()
@Stitch074
U also need to edit the unit in milkshape like when dismounting a knight u need to remove it's lance from the model.![]()
Hi, I'm looking to create a mounted unit from a spearman unit - should I follow this process but do the opposite?
Utúlie'n aurë! Aiya Eldalie ar Atanatári, Utúlie'n auré!
Here you go.
Pretty much do the opposite but it's a bit different.
Are you familiar with milkshape?
Nah it's not complicated if you do exactly and know what you are doing there.
Anyways read this post and co-relate it with this tutorial here and if you don't get it at all and find it complicating than i will tell you stepwise in detail.![]()
Thanks Ishan - may come back begging for help at the weekend when I get to sit down and have a go!
+Rep
Utúlie'n aurë! Aiya Eldalie ar Atanatári, Utúlie'n auré!
Hello everyone!!!
I have tried to dismount Archontopoulai but unfortunately it doesn't work for me so far.
Below are the original files and changes i've made to export_descr_unit and battle_models.modeldb
If someone can help please and point me my mistakes?
original
14 archontopoulai
1 3
60 unit_models/_Units/byzantine_roster/archontopoulai_lod0.mesh 121
60 unit_models/_Units/byzantine_roster/archontopoulai_lod1.mesh 1225
60 unit_models/_Units/byzantine_roster/archontopoulai_lod2.mesh 6400
1
9 byzantium
66 unit_models/_Units/byzantine_roster/textures/archontopouli.texture
71 unit_models/_Units/byzantine_roster/textures/archontopouli_norm.texture
66 unit_sprites/byzantium_sprites/byzantium_archontopoulai_sprite.spr
1
9 byzantium
88 unit_models/_Units/byzantine_roster/AttachmentSets/DG_final greek_byzantium_diff.texture
88 unit_models/_Units/byzantine_roster/AttachmentSets/DG_final greek_byzantium_norm.texture 0
1 5 Horse
13 MTW2_HR_Spear
13 MTW2_HR_Sword 2
21 MTW2_HR_Lance_Primary
14 fs_test_shield 2
18 MTW2_Sword_Primary
14 fs_test_shield 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
changed
25 dismounted_archontopoulai
1 3
71 unit_models/_Units/byzantine_roster/dismounted_archontopoulai_lod0.mesh 121
71 unit_models/_Units/byzantine_roster/dismounted_archontopoulai_lod1.mesh 1225
71 unit_models/_Units/byzantine_roster/dismounted_archontopoulai_lod2.mesh 6400
1
9 byzantium
66 unit_models/_Units/byzantine_roster/textures/archontopouli.texture
71 unit_models/_Units/byzantine_roster/textures/archontopouli_norm.texture
77 unit_sprites/byzantium_sprites/byzantium_dismounted_archontopoulai_sprite.spr
1
9 byzantium
88 unit_models/_Units/byzantine_roster/AttachmentSets/DG_final greek_byzantium_diff.texture
88 unit_models/_Units/byzantine_roster/AttachmentSets/DG_final greek_byzantium_norm.texture 0
1
4 None
14 MTW2_Swordsman 0
2
18 MTW2_Sword_Primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
original
type Archontopoulai
dictionary Archontopoulai ; Archontopoulai, urban pro / militia
category cavalry
class heavy
voice_type Heavy
banner faction main_cavalry
banner holy crusade_cavalry
soldier Archontopoulai, 24, 0, 1
officer byzantine_unit_officer
officer byzantium_cavalry_flag
mount barded horse
mount_effect elephant -4, camel -4
attributes sea_faring, hide_forest, can_withdraw
move_speed_mod 0.95
formation 2, 4.4, 3, 6, 3, square
stat_health 1, 2
stat_pri 4, 8, no, 0, 0, melee, melee_blade, piercing, spear, 90, 1
stat_pri_attr no
stat_sec 5, 5, no, 0, 0, melee, melee_blade, piercing, sword, 75, 1
stat_sec_attr no
stat_pri_armour 14, 1, 3, metal ; heavy mail + lamellar
stat_sec_armour 0, 0, flesh
stat_heat 12
stat_ground -1, -1, -4, -2
stat_mental 12, impetuous, untrained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 935, 115, 120, 95, 820, 4, 190 ; training time 1 + 1 mounted -1 untrained = 1
armour_ug_levels 19, 23, 23
armour_ug_models Archontopoulai, Archontopoulai, Archontopoulai
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 15
changed
type Dismounted Archontopoulai
dictionary Dismounted_Archontopoulai ; Dismounted Archontopoulai, urban pro / militia
category infantry
class heavy
voice_type Heavy
banner faction main_spear
banner holy crusade
soldier Dismounted_Archontopoulai, 40, 0, 1.5
officer byzantine_unit_officer
officer byzantium_infantry_flag
attributes sea_faring, hide_forest, very_hardy, can_withdraw, free_upkeep_unit
formation 1.2, 0, 2.4, 2.4, 4, square
stat_health 1, 3
stat_pri 20, 10, no, 0, 0, melee, melee_blade, piercing, sword, 0, 1.9
stat_pri_attr no
stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
stat_sec_attr no
stat_pri_armour 10, 5, 5, metal ;
stat_sec_armour 0, 0, flesh
stat_heat 1
stat_ground 4, 1, 4, 4
stat_mental 20, disciplined, highly_trained, lock_morale
stat_charge_dist 20
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 925, 50, 90, 70, 925, 4, 150
armour_ug_levels 7, 9, 11
armour_ug_models Dismounted_Archontopoulai, Dismounted_Archontopoulai, Dismounted_Archontopoulai
ownership byzantium
era 0 byzantium
era 1 byzantium
era 2 byzantium
recruit_priority_offset 15
"For Our Part.. We Dreamed of Something Great.."
Could we have a log error report please?
Did you add a set of meshes to the model.db? if yes, you need to add a number to the top!
If you didn't add a set of meshes and modified another model, then you need to remove the old model from the edu.
I have just modified the original ''Archontopoulai'' both in export_descr_unit and battle_models.modeldb
by the exactly way as you can see above.
Maybe some error in the lines???
"For Our Part.. We Dreamed of Something Great.."
00:46:31.116 [system.rpt] [always] CPU: SSE2
00:46:31.116 [system.rpt] [always] ==== system log start, build date: Feb 25 2008 version development ===
00:46:31.116 [system.io] [always] mounted pack packs/data_0.pack
00:46:31.116 [system.io] [always] mounted pack packs/data_1.pack
00:46:31.116 [system.io] [always] mounted pack packs/data_2.pack
00:46:31.126 [system.io] [always] mounted pack packs/data_3.pack
00:46:31.126 [system.io] [always] mounted pack packs/data_4.pack
00:46:31.126 [system.io] [always] mounted pack packs/localized.pack
00:46:33.945 [script.err] [error] Script Error in mods/SS6.3/data/descr_rebel_factions.txt, at line 1184, column 21
rebel unit type 'Armenians of Celicia' not available to faction type 'Armenian_Rebels' (see unit ownership)
00:46:34.010 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_buildings.txt, at line 1178, column 40
Unknown unit type specified: Archontopoulai
"For Our Part.. We Dreamed of Something Great.."
Thank you for your fast responces!!!!
I will try that and see what happens....
"For Our Part.. We Dreamed of Something Great.."
Back again.. I did all that said, but instead of removing archontopoulai from export_descr_unit
i have change it to dismounted archontopoulai.
Before my game crashed at start. Now it crashes when i enter into custom battle.
This is my system.log
01:49:01.050 [system.rpt] [always] CPU: SSE2
01:49:01.060 [system.rpt] [always] ==== system log start, build date: Feb 25 2008 version development ===
01:49:01.060 [system.io] [always] mounted pack packs/data_0.pack
01:49:01.060 [system.io] [always] mounted pack packs/data_1.pack
01:49:01.060 [system.io] [always] mounted pack packs/data_2.pack
01:49:01.060 [system.io] [always] mounted pack packs/data_3.pack
01:49:01.060 [system.io] [always] mounted pack packs/data_4.pack
01:49:01.060 [system.io] [always] mounted pack packs/localized.pack
01:49:07.764 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_buildings.txt, at line 10150, column 205
unit(Merchant Cavalry Militia) does not match up to the ownership for faction(sweden)
01:49:07.765 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_buildings.txt, at line 10171, column 205
unit(Merchant Cavalry Militia) does not match up to the ownership for faction(sweden)
01:49:07.766 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_buildings.txt, at line 10197, column 205
unit(Merchant Cavalry Militia) does not match up to the ownership for faction(sweden)
01:49:07.770 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_buildings.txt, at line 10298, column 116
unit(Hashishim Mercenaries) does not match up to the ownership for faction(moors)
01:49:07.771 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_buildings.txt, at line 10314, column 114
unit(Hashishim Mercenaries) does not match up to the ownership for faction(moors)
01:49:07.772 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_buildings.txt, at line 10334, column 116
unit(Hashishim Mercenaries) does not match up to the ownership for faction(moors)
01:49:07.815 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1616, column 52
Building level name hansa not found as a level in building database
01:49:07.815 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1627, column 52
Building level name hansa not found as a level in building database
01:49:07.815 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1637, column 48
Building level name hansa not found as a level in building database
01:49:07.815 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1679, column 53
Building level name hansa not found as a level in building database
01:49:07.815 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1690, column 50
Building level name hansa not found as a level in building database
01:49:07.815 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1701, column 53
Building level name hansa not found as a level in building database
01:49:07.815 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1712, column 53
Building level name hansa not found as a level in building database
01:49:07.816 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1722, column 53
Building level name hansa not found as a level in building database
01:49:07.816 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1733, column 53
Building level name hansa not found as a level in building database
01:49:07.816 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1796, column 41
Building level name guild_hanseatic_guild not found as a level in building database
01:49:07.816 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1808, column 39
Building level name hansa not found as a level in building database
01:49:07.816 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1819, column 39
Building level name hansa not found as a level in building database
01:49:07.816 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1829, column 39
Building level name hansa not found as a level in building database
01:49:07.816 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1839, column 39
Building level name hansa not found as a level in building database
01:49:07.816 [script.err] [error] Script Error in mods/SS6.3/data/export_descr_guilds.txt, at line 1849, column 40
Building level name hansa not found as a level in building database
01:49:58.190 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
"For Our Part.. We Dreamed of Something Great.."
you have alot of errors there! are you patched to kingdoms 1.5?
did ss play fine before you tried adding this new unit?
have you added the new dismounted_archontopoulai meshes to the correct unit models folder?
have you added the new sprite to the correct unit sprites folder?
change your log settings to trace in the .cfg file, compress the log and add as an attatchment please
Yes i am patched to 1.5
Yes everything worked fine before the change
No i haven't added the units folder neither the sprites cause i think it has to do only with the descriptions in the units card in the battle map. (or not?)
I can't understand, how to change my log settings????
"For Our Part.. We Dreamed of Something Great.."
So all you've done is add dismounted to the model.db, but not added any new sprites or textures?
In the main SS folder, before data, there will be a .cfg, open it with notepad and change error to trace.
it should look something like this:
Code:[log] to = logs/M2TW.system.log.txt level = * trace
Ok, just before doing that, i must say that i did not know that i had to change something in the units models folder.
So i renamed them to ''dismounted'' in the unit_models\_units\byzantine_roster and in the unit_sprites\byzantium_sprites and as i can see it works ok friend!
The thing is that i dont have sword in hand but spear instead.
Last edited by Eldorien88; October 12, 2011 at 07:26 PM.
"For Our Part.. We Dreamed of Something Great.."
Excellent, i am glad to hear you are ok now!
I believe the sword/spear are the "attachmentsets", you could try changing these to a similar byzantine unit that already wields a sword and there is probably another tutorial for this type of thing around.
OK then, a very big THANKS to you for your patience to all of my questions..
Your responces were very enlightening!!!![]()
+rep
"For Our Part.. We Dreamed of Something Great.."