I opened the file with notepad, but it appears to be unorganized, here it is
I opened the file with notepad, but it appears to be unorganized, here it is
+rep
Any idea in order to change avalable mercenaries units for elves ??
Hi, is there a way to sort of do this en masse? Basically I wish to do this in Broken crescent, and make all Muslim units available for all Muslim factions, all Christian units available for all Christian factions, and all Hindu units available for all Hindu factions.
I think that you are able to do that (I'm pretty sure, but still...)
http://www.twcenter.net/forums/showthread.php?t=74945 - adding units to rosters
http://www.twcenter.net/forums/showthread.php?t=424751 - adding units from another mod
These links may help.
"is there a way to sort of do this en masse?"
No, because you will have to keep changing battle_models_db. There is no automated way.
Last edited by k/t; December 14, 2012 at 02:00 PM.
Ok. Thanks.
data\unit_models
wow! just what i'm looking. Try it at once. Thks alot!![]()
Hi,
I can produce soldiers of others country's soldiers.my problem is:ı cant solve texture fault that produced some soldiers. I can solve texture fault about high elf's. But dark elf, khrone, kislev etc.. still have problem. They looks white. I guess problem is religion. What will I do about this subject?
I've tried to add pikemen to Genoa in Sicilian Vespers, but it crashes right when I start the game.
my EDU file:
type Pikemen
dictionary Pikemen ; Pikemen
category infantry
class spearmen
voice_type Light
banner faction main_spear
banner holy crusade
soldier Pikemen, 60, 0, 0.8
attributes sea_faring, hide_forest, can_withdraw, pike,
very_hardy
formation 1.2, 1.2, 2.4, 2.4, 8, phalanx, square
stat_health 1, 0
stat_pri 2, 3, no, 0, 0, melee, melee_blade, piercing, spear,
25, 0.9
;stat_pri_ex 0, 0, 0
stat_pri_attr spear, long_pike, spear_bonus_8, ap
stat_sec 0, 0, no, 0, 0, melee, melee_blade, piercing, sword,
25, 1 ; 2, 2
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 1, 5, 0, flesh
;stat_armour_ex 0, 5, 7, 0, 3, 0, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -2, 3, 2
stat_mental 5, normal, highly_trained
stat_charge_dist 40
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 490, 190, 85, 65, 240, 4, 60
armour_ug_levels 2, 3 ; took out first levels
armour_ug_models Pikemen, Pikemen_ug1, Pikemen_ug2
ownership france, milan
era 2 france, milan
;unit_info 9, 0, 3
recruit_priority_offset 0
Battles model files:
7 pikemen
1 4
51 unit_models/_Units/RN_Light_Lmail/pikemen_lod0.mesh 121
51 unit_models/_Units/RN_Light_Lmail/pikemen_lod1.mesh 900
51 unit_models/_Units/RN_Light_Lmail/pikemen_lod2.mesh 2500
51 unit_models/_Units/RN_Light_Lmail/pikemen_lod3.mesh 6400
2
6 france
72
unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_france.textu
re
72
unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.textu
re
38 unit_sprites/france_Pikemen_sprite.spr
5 milan
72
unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_france.textu
re
72
unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.textu
re
38 unit_sprites/france_Pikemen_sprite.
2
6 france
67 unit_models/AttachmentSets/Final European Light_france_diff.texture
67 unit_models/AttachmentSets/Final European Light_france_norm.texture
5 milan
67 unit_models/AttachmentSets/Final European Light_france_diff.texture
67 unit_models/AttachmentSets/Final European Light_france_norm.texture
0
1
4 None
9 MTW2_Pike
15 MTW2_Non_Shield 1
17 MTW2_Pike_primary 1
18 MTW2_Sword_Primary
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
11 pikemen_ug1
1 4
55 unit_models/_Units/RN_Light_Lmail/pikemen_ug1_lod0.mesh 121
55 unit_models/_Units/RN_Light_Lmail/pikemen_ug1_lod1.mesh 900
55 unit_models/_Units/RN_Light_Lmail/pikemen_ug1_lod2.mesh 2500
55 unit_models/_Units/RN_Light_Lmail/pikemen_ug1_lod3.mesh 6400
2
6 france
72
unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_france.textu
re
72
unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.textu
re
42 unit_sprites/france_Pikemen_ug1_sprite.spr
5 milan
72
unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_france.textu
re
72
unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.textu
re
42 unit_sprites/france_Pikemen_ug1_sprite.spr
2
6 france
67 unit_models/AttachmentSets/Final European Light_france_diff.texture
67 unit_models/AttachmentSets/Final European Light_france_norm.texture
5 milan
67 unit_models/AttachmentSets/Final European Light_france_diff.texture
67 unit_models/AttachmentSets/Final European Light_france_norm.texture
0
1
4 None
9 MTW2_Pike
15 MTW2_Non_Shield 1
17 MTW2_Pike_primary 1
18 MTW2_Sword_Primary
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
11 pikemen_ug2
1 4
57 unit_models/_Units/RN_Half_3Q_Plate/pikemen_ug2_lod0.mesh 121
57 unit_models/_Units/RN_Half_3Q_Plate/pikemen_ug2_lod1.mesh 900
57 unit_models/_Units/RN_Half_3Q_Plate/pikemen_ug2_lod2.mesh 2500
57 unit_models/_Units/RN_Half_3Q_Plate/pikemen_ug2_lod3.mesh 6400
2
6 france
76
unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_france.t
exture
76
unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.t
exture
42 unit_sprites/france_Pikemen_ug2_sprite.spr
5 milan
76
unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_france.t
exture
76
unit_models/_Units/RN_Half_3Q_Plate/textures/rn_half_3q_plate_normal.t
exture
42 unit_sprites/france_Pikemen_ug2_sprite.spr
2
6 france
67 unit_models/AttachmentSets/Final European Light_france_diff.texture
67 unit_models/AttachmentSets/Final European Light_france_norm.texture
5 milan
67 unit_models/AttachmentSets/Final European Light_france_diff.texture
67 unit_models/AttachmentSets/Final European Light_france_norm.texture
0
1
4 None
9 MTW2_Pike
15 MTW2_Non_Shield 1
17 MTW2_Pike_primary 1
18 MTW2_Sword_Primary
16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
I can't see what's wrong with them![]()
unit_models/_Units/RN_Light_Lmail/pikemen_lod0.mesh, unit_models/_Units/RN_Light_Lmail/pikemen_lod1.mesh, unit_models/_Units/RN_Light_Lmail/pikemen_lod2.mesh, unit_models/_Units/RN_Light_Lmail/pikemen_lod3.mesh... etc. transferred to the appropriate folders?
I don't think I messed with the mesh files, to where I have to move them?
Last edited by the new username; July 10, 2013 at 08:51 AM.
The entries look fine, I am assuming you had a working EDU and modeldb before you did the changes? And then you only added milan to the ownership and era 2 entry in the EDU?
In the modelDB you simply copied france's lines and substituted 6 france with 5 milan in the copy, and then increase the faction count number from 1 to 2.
The one thing I can't check is how you handled the spaces - each line in the modeldb requires a space at the end of the line.
Yes it worked, but what you are saying is, right after the end of an entrie I have to add a space?
Because I did that in the EDU, but i'm not sure of how would that work in the modeldb file.