@ M3rcury15
do you happen to have the mounted/ dismounted feudal knight code ? I keep missing parts.
@ M3rcury15
do you happen to have the mounted/ dismounted feudal knight code ? I keep missing parts.
@glitch
Do you want the modeldb code with russia modded in? I think it
would be something like this:
I just copied england's entry and changed the faction name to russia,Code:25 dismounted_feudal_knights 1 4 69 unit_models/_Units/EN_Lmail_Hmail/dismounted_feudal_knights_lod0.mesh 121 69 unit_models/_Units/EN_Lmail_Hmail/dismounted_feudal_knights_lod1.mesh 900 69 unit_models/_Units/EN_Lmail_Hmail/dismounted_feudal_knights_lod2.mesh 2500 69 unit_models/_Units/EN_Lmail_Hmail/dismounted_feudal_knights_lod3.mesh 6400 12 6 russia 73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_england.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 57 unit_sprites/england_Dismounted_Feudal_Knights_sprite.spr 7 england 73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_england.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 57 unit_sprites/england_Dismounted_Feudal_Knights_sprite.spr 8 scotland 74 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_scotland.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 58 unit_sprites/scotland_Dismounted_Feudal_Knights_sprite.spr 6 france 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_france.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 56 unit_sprites/france_Dismounted_Feudal_Knights_sprite.spr 3 hre 69 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_hre.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 53 unit_sprites/hre_Dismounted_Feudal_Knights_sprite.spr 7 denmark 73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_denmark.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 57 unit_sprites/denmark_Dismounted_Feudal_Knights_sprite.spr 5 spain 71 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_spain.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 55 unit_sprites/spain_Dismounted_Feudal_Knights_sprite.spr 8 portugal 74 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_portugal.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 58 unit_sprites/portugal_Dismounted_Feudal_Knights_sprite.spr 5 milan 71 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_milan.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 55 unit_sprites/milan_Dismounted_Feudal_Knights_sprite.spr 6 venice 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_venice.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 56 unit_sprites/venice_Dismounted_Feudal_Knights_sprite.spr 12 papal_states 78 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_papal_states.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 62 unit_sprites/papal_states_Dismounted_Feudal_Knights_sprite.spr 7 hungary 73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_hungary.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 57 unit_sprites/hungary_Dismounted_Feudal_Knights_sprite.spr 12 6 russia 60 unit_models/AttachmentSets/Final Heater_england_diff.texture 60 unit_models/AttachmentSets/Final Heater_england_norm.texture 0 7 england 60 unit_models/AttachmentSets/Final Heater_england_diff.texture 60 unit_models/AttachmentSets/Final Heater_england_norm.texture 0 8 scotland 61 unit_models/AttachmentSets/Final Heater_scotland_diff.texture 61 unit_models/AttachmentSets/Final Heater_scotland_norm.texture 0 6 france 59 unit_models/AttachmentSets/Final Heater_france_diff.texture 59 unit_models/AttachmentSets/Final Heater_france_norm.texture 0 3 hre 56 unit_models/AttachmentSets/Final Heater_hre_diff.texture 56 unit_models/AttachmentSets/Final Heater_hre_norm.texture 0 7 denmark 60 unit_models/AttachmentSets/Final Heater_denmark_diff.texture 60 unit_models/AttachmentSets/Final Heater_denmark_norm.texture 0 5 spain 58 unit_models/AttachmentSets/Final Heater_spain_diff.texture 58 unit_models/AttachmentSets/Final Heater_spain_norm.texture 0 8 portugal 61 unit_models/AttachmentSets/Final Heater_portugal_diff.texture 61 unit_models/AttachmentSets/Final Heater_portugal_norm.texture 0 5 milan 58 unit_models/AttachmentSets/Final Heater_milan_diff.texture 58 unit_models/AttachmentSets/Final Heater_milan_norm.texture 0 6 venice 59 unit_models/AttachmentSets/Final Heater_venice_diff.texture 59 unit_models/AttachmentSets/Final Heater_venice_norm.texture 0 12 papal_states 65 unit_models/AttachmentSets/Final Heater_papal_states_diff.texture 65 unit_models/AttachmentSets/Final Heater_papal_states_norm.texture 0 7 hungary 60 unit_models/AttachmentSets/Final Heater_hungary_diff.texture 60 unit_models/AttachmentSets/Final Heater_hungary_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
and changed the character count from 7 to 6 (england to russia).
I also changed the faction count from 11 to 12 because a new
entry has been added. All the changes are highlighted in blue.
Does this help?
how bout this?
Code:-0.090000004 0 0 -0.34999999 0.80000001 0.60000002 12 norse_axemen 1 4 56 unit_models/_Units/LN_Lmail_Hmail/norse_axemen_lod0.mesh 121 56 unit_models/_Units/LN_Lmail_Hmail/norse_axemen_lod1.mesh 900 56 unit_models/_Units/LN_Lmail_Hmail/norse_axemen_lod2.mesh 2500 56 unit_models/_Units/LN_Lmail_Hmail/norse_axemen_lod3.mesh 6400 2 7 denmark 73 unit_models/_Units/LN_Lmail_Hmail/textures/LN_Lmail_Hmail_denmark.texture 72 unit_models/_Units/LN_Lmail_Hmail/textures/LN_Lmail_Hmail_normal.texture 44 unit_sprites/denmark_Norse_Axemen_sprite.spr 7 england 73 unit_models/_Units/LN_Lmail_Hmail/textures/LN_Lmail_Hmail_england.texture 72 unit_models/_Units/LN_Lmail_Hmail/textures/LN_Lmail_Hmail_normal.texture 44 unit_sprites/denmark_Norse_Axemen_sprite.spr 2 7 denmark 60 unit_models/AttachmentSets/Final Danish_denmark_diff.texture 60 unit_models/AttachmentSets/Final Danish_denmark_norm.texture 0 7 england 60 unit_models/AttachmentSets/Final Danish_england_diff.texture 60 unit_models/AttachmentSets/Final Danish_england_norm.texture 0 1 4 None 11 MTW2_2H_Axe 0 2 19 MTW2_2H_Axe_primary 14 fs_test_shield 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 16 norse_axemen_ug1 1 3 66 unit_models/_Units/LN_3QPlate_HalfPlate/norse_axemen_ug1_lod0.mesh 121 66 unit_models/_Units/LN_3QPlate_HalfPlate/norse_axemen_ug1_lod1.mesh 1225 66 unit_models/_Units/LN_3QPlate_HalfPlate/norse_axemen_ug1_lod2.mesh 6400 2 7 denmark 82 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_denmark.texture 81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_normal.texture 48 unit_sprites/denmark_Norse_Axemen_ug1_sprite.spr 7 england 82 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_england.texture 81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_normal.texture 48 unit_sprites/denmark_Norse_Axemen_ug1_sprite.spr 2 7 denmark 60 unit_models/AttachmentSets/Final Danish_denmark_diff.texture 60 unit_models/AttachmentSets/Final Danish_denmark_norm.texture 0 7 england 60 unit_models/AttachmentSets/Final Danish_denmark_diff.texture 60 unit_models/AttachmentSets/Final Danish_denmark_norm.texture 0 1 4 None 11 MTW2_2H_Axe 0 2 19 MTW2_2H_Axe_primary 14 fs_test_shield 0 16
This should work, the clothing should change to England but the shield is still Denmark's
This is the 2nd mongol unit I add and it's still the same.
I think that there is some "bug" in the game that prevents the mongol captains(or maybe there're others too) to appear after you gave that unit to some other faction.
@m3rcury, it worked. the reason it didnt work in the first place was because i didnt put a double space in 2 places. thanx for ur help
@m3rcury : I don't think my problem is because of export_descr_buildings, but could u give me the link though ? coz I can't find it
what is very weird is that nobody seems to have this problem ...
@knightErrant
thanks mate, owe you my soul.
edit*
i've successfully added both mounted/dismounted feudal knights but can I give the knights the appropriate colors ? the horses have the rights colors but not the knights themseleves.
i attempted to what was suggested on the first page but it crashed when trying to load the custom battle, this is what I did: blue is what I changed.
6 russia 73 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_russia.texture 72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 46 unit_sprites/england_Feudal_Knights_sprite.spr
Last edited by glitch; February 17, 2007 at 06:54 PM.
Hey guys.
I have created a new faction.."ireland" and have put alot of units available for them..I managed to succeed in doing so..the game ran..no errors popped up..the only thing that I have not done was make the unit cards to be seen..so every unit shows a peasant
Anyway..the game ran smoothly...then around the 18th turn..it said that the normans are the richest in the world??? whats that about???
then...two moves later the game crashes?? it freezes up..I check the error log..it shows nothing..just an unexpected error and had to shut down.
I try to play the campaign again..and now it freezes and wont allow me to do anything..so I have press CTRL-ALT-DEL..and the screen is still black so I have to press M and DEL and then iam back to desktop...can anyone explain this???
ive spent hours and hours on this and it is fully working..but now this odd event has taken place and nothing I do will change anything??
@glitch
When you changed england to russia in that line the character
count has to be reduced by 1 from 73 to 72. I've created a
syntax checker for my version 2 of the formatted modeldb file
that would catch these character count errors before you get
the black screen of torment. Check out this thread:
http://forums.totalwar.org/vb/showthread.php?t=79455
Let me know if the syntax checker proves useful.
@ KnightErrant
BLESSED IS THE!
I got the colors right for units themselves.
I was just wondering if it's possible to get the same colors and design on the unit cards and unit info page as well without using photoshop (which I don't have), I only need it for dismounted feudal knights, I just used france's feudal knights for russia, the colors are similar enough.
@glitch
Excellent, my friend! Hmm, I've heard people talk about a program
called gimp which is free. Do a google for it and see if it does .tga
file formats. If so, that might be a good way to edit your unit cards to
what you want without having to buy Photoshop.
Edit: Just did a site search myself. It looks like it does have a plug-in for .tga
formats but boy is that hard to find. Their on-line documentation isn't very
well organized.
Last edited by KnightErrant; February 18, 2007 at 01:42 PM.
I'm trying to test creating a sergeant spearmen unit for the crusader factions. yet while I do not CTD, the unit I create is totally invisible. I assume this means a problem with the meshes, but I do not understand as they are the sergeant spearmen meshes. Is it perhaps that the mesh does not link with the skin, which is the crusader knight skins? Maybe I need to get 3dsmax or GIMP and set the skin to the model?
26 hospitaller_foot_sergeants
1 4
61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod0.mesh 121
61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod1.mesh 900
61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod2.mesh 2500
61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod3.mesh 6400
1
6 sicily
77 unit_models/_Units/EN_Lmail_Hmail/textures/en_lmail_hmail_hospitaller.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/en_smail_smail_normal.texture
52 unit_sprites/sicily_Dummy_EN_Spearmen_ug2_sprite.spr
1
6 sicily
57 unit_models/AttachmentSets/Final Kite_sicily_diff.texture
57 unit_models/AttachmentSets/Final Kite_sicily_norm.texture 0
1
4 None
10 MTW2_Spear 0
2
18 MTW2_Spear_primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
(I ended up using the same normal texture as the one in burrek's k&k, but I dont think thats it)
Last edited by Ahiga; February 19, 2007 at 08:21 AM.
hay there I did every thing you said but the broken lances I added to sicily do not show up in the recruitment que how can i fix this? and I am using the mod road to jerusulem and my MTW2 is still version 1.0
Please i have problem with that "glass" units. (there no show up their skins)
unit funcion great but without skins it sux
I add spearmen to milan.
thanks for help.
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
11 ee_spearmen
1 3
59 unit_models/_Units/EE_Peasant_Leather/ee_spearmen_lod0.mesh 121
59 unit_models/_Units/EE_Peasant_Leather/ee_spearmen_lod1.mesh 1225
59 unit_models/_Units/EE_Peasant_Leather/ee_spearmen_lod2.mesh 6400
3
6 poland
77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_poland.texture
77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal.texture
46 unit_sprites/poland_EE_Peasants_ug1_sprite.spr
6 milan
77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_poland.texture
77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal.texture
46 unit_sprites/poland_EE_Peasants_ug1_sprite.spr
6 russia
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
46 unit_sprites/russia_EE_Peasants_ug1_sprite.spr
3
6 poland
59 unit_models/AttachmentSets/Final Slavic_poland_diff.texture
59 unit_models/AttachmentSets/Final Slavic_poland_norm.texture 0
6 milan
59 unit_models/AttachmentSets/Final Slavic_poland_diff.texture
59 unit_models/AttachmentSets/Final Slavic_poland_norm.texture 0
6 russia
59 unit_models/AttachmentSets/Final Slavic_russia_diff.texture
59 unit_models/AttachmentSets/Final Slavic_russia_norm.texture 0
1
4 None
10 MTW2_Spear 0
2
18 MTW2_Spear_primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
15 ee_spearmen_ug1
1 4
59 unit_models/_Units/EN_Lmail_Hmail/ee_spearmen_ug1_lod0.mesh 121
59 unit_models/_Units/EN_Lmail_Hmail/ee_spearmen_ug1_lod1.mesh 900
59 unit_models/_Units/EN_Lmail_Hmail/ee_spearmen_ug1_lod2.mesh 2500
59 unit_models/_Units/EN_Lmail_Hmail/ee_spearmen_ug1_lod3.mesh 6400
3
6 poland
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_poland.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture
51 unit_sprites/poland_EE_Spear_Militia_ug2_sprite.spr
6 milan
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_poland.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture
51 unit_sprites/poland_EE_Spear_Militia_ug2_sprite.spr
6 russia
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_russia.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture
51 unit_sprites/russia_EE_Spear_Militia_ug2_sprite.spr
2
6 poland
59 unit_models/AttachmentSets/Final Slavic_poland_diff.texture
59 unit_models/AttachmentSets/Final Slavic_poland_norm.texture 0
6 russia
59 unit_models/AttachmentSets/Final Slavic_russia_diff.texture
59 unit_models/AttachmentSets/Final Slavic_russia_norm.texture 0
1
4 None
10 MTW2_Spear 0
2
18 MTW2_Spear_primary
14 fs_test_shield 0
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
15 ee_spearmen_ug2
1 4
59 unit_models/_Units/EN_Lmail_Hmail/ee_spearmen_ug2_lod0.mesh 121
59 unit_models/_Units/EN_Lmail_Hmail/ee_spearmen_ug2_lod1.mesh 900
59 unit_models/_Units/EN_Lmail_Hmail/ee_spearmen_ug2_lod2.mesh 2500
59 unit_models/_Units/EN_Lmail_Hmail/ee_spearmen_ug2_lod3.mesh 6400
3
6 poland
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_poland.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture
46 unit_sprites/poland_EE_Spearmen_ug2_sprite.spr
6 milan
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_poland.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture
46 unit_sprites/poland_EE_Spearmen_ug2_sprite.spr
6 russia
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_russia.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture
46 unit_sprites/russia_EE_Spearmen_ug2_sprite.spr
2
6 poland
59 unit_models/AttachmentSets/Final Slavic_poland_diff.texture
59 unit_models/AttachmentSets/Final Slavic_poland_norm.texture 0
6 russia
59 unit_models/AttachmentSets/Final Slavic_russia_diff.texture
59 unit_models/AttachmentSets/Final Slavic_russia_norm.texture 0
1
4 None
10 MTW2_Spear 0
2
18 MTW2_Spear_primary
14 fs_test_shield 0
EDIT - Ok i make it. I make many errors. 6 miland and that must be 5 milan etc.
Last edited by AliAS; February 20, 2007 at 01:50 PM.
Under the patronage and bound to the service of the
artist formerly known as Squeakus Maximus
Stoic Pantheist of S.I.N
@ahiga
This may be too late but
The red texture doesn't exist, it's en_lmail_hmail_normal.texture like26 hospitaller_foot_sergeants
1 4
61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod0.mesh 121
61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod1.mesh 900
61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod2.mesh 2500
61 unit_models/_Units/EN_Lmail_Hmail/armored_sergeants_lod3.mesh 6400
1
6 sicily
77 unit_models/_Units/EN_Lmail_Hmail/textures/en_lmail_hmail_hospitaller.texture
72 unit_models/_Units/EN_Lmail_Hmail/textures/en_smail_smail_normal.texture
52 unit_sprites/sicily_Dummy_EN_Spearmen_ug2_sprite.spr
1
6 sicily
the line above.
Thanks again KnightErrant for helping these people, you know much about modeldb(of course you made it more easy to edit) It's good to have a helper here when i am away(I am having school problems and can't come to PC so often like old days)
Keep up the good work KnightErrant