I found that opening the file in Microsoft Word makes reading the text much easier.
I found that opening the file in Microsoft Word makes reading the text much easier.
anyone see anything wrong w/ this file for byzantine finatry for england.
byzantine_infantry 1 4 68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod0.mesh 121 68
unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod1.mesh 900 68
unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod2.mesh 2500 68
unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod3.mesh 6400 2 7 england 80
unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_byzantium.texture 77
unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_normal.texture 52
unit_sprites/byzantium_Byzantine_Infantry_sprite.spr 9 byzantium 80
unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_byzantium.texture 77
unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_normal.texture 52
unit_sprites/byzantium_Byzantine_Infantry_sprite.spr 2 7 england 61 unit_models/AttachmentSets/Final
Greek_byzantium_diff.texture 9 byzantium 61 unit_models/AttachmentSets/Final Greek_byzantium_diff.texture 61
unit_models/AttachmentSets/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 22 byzantine_infantry_ug1 1 3 72
unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_ug1_lod0.mesh 121 72
unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_ug1_lod1.mesh 1225 72
unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_ug1_lod2.mesh 6400 2 7 england 80
unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_byzantium.texture 77
unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_normal.texture 56
unit_sprites/byzantium_Byzantine_Infantry_ug1_sprite.spr 9 byzantium 80
unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_byzantium.texture 77
unit_models/_Units/ES_Greek_Greek_Heavy/textures/mtw2_es_greek_normal.texture 56
unit_sprites/byzantium_Byzantine_Infantry_ug1_sprite.spr 2 1 7 england 61 unit_models/AttachmentSets/Final
Greek_byzantium_diff.texture 61 unit_models/AttachmentSets/Final Greek_byzantium_norm.texture 0 1 4 None 14 MTW2_Swordsman 0
2 18 MTW2_Sword_Primary 14 fs_test_shield 0 16 9 byzantium 61 unit_models/AttachmentSets/Final Greek_byzantium_diff.texture
61 unit_models/AttachmentSets/Final Greek_byzantium_norm.texture 0 1 4 None 14 MTW2_Swordsman 0 2 18 MTW2_Sword_Primary 14
fs_test_shield 0 16
Larry you have this code in wrong format. You made key strokes in wrong place.
The string lenght number and string must be on same line!!!
You have:
byzantine_infantry 1 4 68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod0.mesh 121 68
unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod1.mesh 900 68
unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod2.mesh 2500 68
unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod3.mesh 6400 2 7 england 80
It must be:
(here must be string lenght number of "byzantine_infantry" it is 18) byzantine_infantry 1 4
68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod0.mesh 121
68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod1.mesh 900
68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod2.mesh 2500
68 unit_models/_Units/ES_Greek_Greek_Heavy/byzantine_infantry_lod3.mesh 6400
2
7 england
80 (next string, the texture link)
Last edited by kleemann; January 10, 2007 at 03:37 AM.
Trading tip: Load your mercants on your (crapy, cheap upkeep) unit and place that crapy unit on the valuable trade ressource. All will earn money on that single ressourecAND other merchants can't do anything! ha:ha
BUT it has bad side efect, if the unit rebel you will lose your merchants:hmmm:
How-to: edit battle_model.modeldb to add new animations and skins.
I have discovered that if you edit the battle_models in Medieval 2 Total War\data and have a have all the other changes in mymod\data it works well, recognising both changes. My question is, if I were to create a modification that would include the battle_models file, would they need to use the unpacker beforehand so that they can use my mod?
No, the battle_models is in Medieval 2 Total War\data whilst the rest of my modded stuff is in Medieval 2 Total War\mymod.
I can get battle_models working now due to adding a bit more text to the .bat file.
My point was that to use this as a mod for other people to download it wouldn't just be the mymod folder and since you also have the battle_models file which would save somewhere else. Which brings up the question, could someone who has not used the unpacker use the modified model_battles file? (assuming the .bat was there and the cfg file)
Can someone help me to get the cossack musketeers for the byzantines? I have this so far
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
18 cossack_musketeers
1 3
66 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_lod0.mesh 121
66 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_lod1.mesh 1225
66 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_lod2.mesh 6400
1
6 byzantium
77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_russia.texture
77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal.texture
49 unit_sprites/russia_Cossack_Musketeers_sprite.spr
1
6 byzantium
68 unit_models/AttachmentSets/Final European CB Gun_russia_diff.texture
68 unit_models/AttachmentSets/Final European CB Gun_russia_norm.texture 0
1
4 None
16 MTW2_Fast_Musket
20 MTW2_Non_Shield_Fast 1
19 MTW2_Musket_Primary 1
18 MTW2_Sword_Primary
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
22 cossack_musketeers_ug1 1 3
70 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_ug1_lod0.mesh 121
70 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_ug1_lod1.mesh 1225
70 unit_models/_Units/EE_Peasant_Leather/cossack_musketeers_ug1_lod2.mesh 6400
1
6 byzantium
77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_russia.texture
77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal.texture
53 unit_sprites/russia_Cossack_Musketeers_ug1_sprite.spr
1
6 byzantium
68 unit_models/AttachmentSets/Final European CB Gun_russia_diff.texture
68 unit_models/AttachmentSets/Final European CB Gun_russia_norm.texture 0
1
4 None
16 MTW2_Fast_Musket
20 MTW2_Non_Shield_Fast 1
19 MTW2_Musket_Primary 1
18 MTW2_Sword_Primary
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
I didn't check all your string lengths but right off
the bat the faction name byzantium is 9 characters
long so try changing all your
6 byzantium
faction entries to
9 byzantium
and see if the game loads.![]()
no, didnt work
I made some more study of the code and tested it. The best testing if you have mistakes in it is to just save and launch medieva2. If thare is mistake the medieval CTD. So easy to test?
13 norse_archers
1
4
60 unit_models/_Units/EN_Peasant_Padded/norse_archers_lod0.mesh 121
60 unit_models/_Units/EN_Peasant_Padded/norse_archers_lod1.mesh 900
60 unit_models/_Units/EN_Peasant_Padded/norse_archers_lod2.mesh 2500
60 unit_models/_Units/EN_Peasant_Padded/norse_archers_lod3.mesh 6400
1
7 denmark
79 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_denmark.texture
78 unit_models/_Units/EN_Peasant_Padded/textures/EN_Peasant_Padded_normal.texture
52 unit_sprites/denmark_Dummy_EN_Archers_ug1_sprite.spr
1
7 denmark
60 unit_models/AttachmentSets/Final Danish_denmark_diff.texture
60 unit_models/AttachmentSets/Final Danish_denmark_norm.texture 0
1
4 None
11 MTW2_Bowman
14 MTW2_Swordsman
2 (<-number of string lines to come)
19 MTW2_Bowman_Primary
14 fs_test_shield
2 (<-number of string lines to come)
18 MTW2_Sword_Primary
14 fs_test_shield
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
I Edit it in MS Word also, because you can use track changes and see all spaces ant strokes. I keep text files in CVS also (use Tortoise CVS, it is freeware), i can handle the versions now more easy and have the all history.
Trading tip: Load your mercants on your (crapy, cheap upkeep) unit and place that crapy unit on the valuable trade ressource. All will earn money on that single ressourecAND other merchants can't do anything! ha:ha
BUT it has bad side efect, if the unit rebel you will lose your merchants:hmmm:
How-to: edit battle_model.modeldb to add new animations and skins.
I still dont get how this file works can someone give me an example please. I'm adding units from HRE to Saxons. Such as most units. Lets used ballista for example I have invisible crew I want them have the HRE texture for saxons, how can I do this?
You will need to add saxon ballista crew to battle_model file.Easiest way to add them is to copy/paste HRE entry.Don't forget to edit the whole section - number of factions using this unit etc.
how do you create the neccsary .cfg file for "mymod", and what goes in it? do you just copy the medieval2.cfg and rename it or make a whole new one?
hey i need help here im trying to give englands colors to the lancers, i have this so far.
-0.090000004 0 0 -0.34999999 0.80000001 0.60000002 7 lancers 1 4 55 unit_models/_Units/LN_Gothic_RN_Plate/lancers_lod0.mesh 121 55 unit_models/_Units/LN_Gothic_RN_Plate/lancers_lod1.mesh 900 55 unit_models/_Units/LN_Gothic_RN_Plate/lancers_lod2.mesh 2500 55 unit_models/_Units/LN_Gothic_RN_Plate/lancers_lod3.mesh 6400 2 6 france 80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_france.texture 80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture 40 unit_sprites/france_Gendarmes_sprite.spr 7 england 80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_france.texture 80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture 40 unit_sprites/france_Gendarmes_sprite.spr 2 6 france 59 unit_models/AttachmentSets/Final Heater_france_diff.texture 59 unit_models/AttachmentSets/Final Heater_france_norm.texture 0 7 england 59 unit_models/AttachmentSets/Final Heater_france_diff.texture 59 unit_models/AttachmentSets/Final Heater_france_norm.texture 0 1 5 Horse 13 MTW2_HR_Lance 18 MTW2_HR_Non_Shield 1 21 MTW2_HR_Lance_Primary 1 18 MTW2_Sword_Primary 16
what do i need to change to give the lancers englands colors?
Last edited by misfitsfiend138; January 11, 2007 at 11:48 AM.
in here http://www.twcenter.net/forums/showthread.php?t=77362 is a post by me that might be able to help some people.
Change your edition to this:
Marked edits with red be careful and check if the files are there what you edit...Code:-0.090000004 0 0 -0.34999999 0.80000001 0.60000002 7 lancers 1 4 55 unit_models/_Units/LN_Gothic_RN_Plate/lancers_lod0.mesh 121 55 unit_models/_Units/LN_Gothic_RN_Plate/lancers_lod1.mesh 900 55 unit_models/_Units/LN_Gothic_RN_Plate/lancers_lod2.mesh 2500 55 unit_models/_Units/LN_Gothic_RN_Plate/lancers_lod3.mesh 6400 2 6 france 80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_france.texture 80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture 40 unit_sprites/france_Gendarmes_sprite.spr 7 england 81 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_england.texture 80 unit_models/_Units/LN_Gothic_RN_Plate/textures/LN_gothic_RN_plate_normal.texture 40 unit_sprites/france_Gendarmes_sprite.spr 2 6 france 59 unit_models/AttachmentSets/Final Heater_france_diff.texture 59 unit_models/AttachmentSets/Final Heater_france_norm.texture 0 7 england 60 unit_models/AttachmentSets/Final Heater_england_diff.texture 60 unit_models/AttachmentSets/Final Heater_england_norm.texture 0 1 5 Horse 13 MTW2_HR_Lance 18 MTW2_HR_Non_Shield 1 21 MTW2_HR_Lance_Primary 1 18 MTW2_Sword_Primary 16
To Zorgrath: Thanks for the link now i can finally make dismounted templar knights more easily...
Last edited by M3rcury15; January 11, 2007 at 03:31 PM.
Does anyone have an idea when we might get a more streamlined version of the Battle.model file?
I tryied to copy the dismounted conquistadors from the first page and paste it rigth to the needed file in mymod/dada/etc. the conquistadors are invisible. the unit cards show up right. but the troops are invisible, no shadows, or banners, nothing. has anyone else had this problem? i know my mod files are working but adding units has not. i also checked that this is not an ownership issue. help?