Stepan, if you are still here:
My battlemodels file doesn't read as neatly as yours - that is, everything is one line, and even when I unwrap it, it's till uneven. I am afraid to tinker with it, lest even a misplaced line corrupt the whole thing
Stepan, if you are still here:
My battlemodels file doesn't read as neatly as yours - that is, everything is one line, and even when I unwrap it, it's till uneven. I am afraid to tinker with it, lest even a misplaced line corrupt the whole thing
Here is an alternative: Creating a World – Formatted Campaign ModelDB files
Hi Stephan,
thanks for the great work. It still helps people like me 4 years after you've posted it. I just successfully added Forlorn Hope, Swiss Guard and Reiters to the Portuguese faction. I tried that before but didn't know how to do it. :-)
However, you should mention a few additional steps especially for beginners like me.
1. The necessity to change the config file, adding following lines:
[io]
file_first = true
This is probably the reason why many beginners have problems adding anything to their game.
2. If the unit has an armor upgrade, e.g., Reiters_UG1, one has to change that as well in the battle_models.modelbd file, otherwise the units will appear blank after the armor upgrade.
3. It's also helpful to mention that the attachments are also part of the battle_models.modelbd - especially for a beginner this is a bit confusing.
Hello
I have a question... i fallow your instructions about change unit faction and it works. BUT when i enter a game and start playing 4 example 'scots guard' (french unit to scotland faction) when i click at the unit .. on world map our in castle where i build them .. i have some poor guy whit a stick in his hand in picture.. i wonder did i miss anything .. so when i click on unit i rly see scots guard like when i play french?
Sry for bad eng
Found the problem by me self Need to go to data/ui/units_info copy from france scots guard to scotland folder but i did't do the same in folder data/ui/units. same procedure from france folder to scotland folder (name of the unit u want to play )
Aldo i would love to know about moding a bit more.. i would love to play heavy armored units for example perfect would be Dismounted Gothic Knight whit Long bow and small shield in his off hand, played by Scotland
If any 1 is willing to thry to do it send me file and explain how to integrate it in a game... i wona thry it
Greetings! i'm a starter here, first of all thank you guys for the hard work you've done so far!, i came across with the issue of having the unit i want to recruit for another faction gets the silver surfers instead of the faction colors, the unit i'm trying to recruit are the musketeers with the portuguese skins but no success so far, everything else is fine i have them with unit card/info set ownership but the problem is that when i try to use them in campaign/custom battles they still are silver, could anyone help me with my problem?
hi! ty for the quick response i have checked what you said and i have the units entry for the model, i even created new .mesh/.sprite by copy pasting and placed em under a new folder and i gave the direction to the new folder aswell on the mdb the game runs well so i dont think i have misplaced something but the unit still wears the silver skin instead of the portuguese one
will do that, thou i have just restored the originals in my frustration time but here they go
thats the mdb heres the edu10 musketeers 1 4
54 unit_models/_Units/RN_Light_Lmail/musketeers_lod0.mesh 121
54 unit_models/_Units/RN_Light_Lmail/musketeers_lod1.mesh 900
54 unit_models/_Units/RN_Light_Lmail/musketeers_lod2.mesh 2500
54 unit_models/_Units/RN_Light_Lmail/musketeers_lod3.mesh 6400
4
5 spain
71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_spain.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
40 unit_sprites/spain_Musketeers_sprite.spr
8 portugal
74 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_portugal.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
43 unit_sprites/portugal_Musketeers_sprite.spr
8 scotland
74 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_portugal.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
43 unit_sprites/portugal_Musketeers_sprite.spr
5 milan
71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_milan.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
40 unit_sprites/milan_Musketeers_sprite.spr
6 venice
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_venice.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
41 unit_sprites/venice_Musketeers_sprite.spr
4
5 spain
67 unit_models/AttachmentSets/Final European CB Gun_spain_diff.texture
67 unit_models/AttachmentSets/Final European CB Gun_spain_norm.texture 0
8 portugal
70 unit_models/AttachmentSets/Final European CB Gun_portugal_diff.texture
70 unit_models/AttachmentSets/Final European CB Gun_portugal_norm.texture 0
8 scotland
70 unit_models/AttachmentSets/Final European CB Gun_portugal_diff.texture
70 unit_models/AttachmentSets/Final European CB Gun_portugal_norm.texture 0
5 milan
67 unit_models/AttachmentSets/Final European CB Gun_milan_diff.texture
67 unit_models/AttachmentSets/Final European CB Gun_milan_norm.texture 0
6 venice
68 unit_models/AttachmentSets/Final European CB Gun_venice_diff.texture
68 unit_models/AttachmentSets/Final European CB Gun_venice_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
14 musketeers_ug1
1 4
58 unit_models/_Units/RN_Light_Lmail/musketeers_ug1_lod0.mesh 121
58 unit_models/_Units/RN_Light_Lmail/musketeers_ug1_lod1.mesh 900
58 unit_models/_Units/RN_Light_Lmail/musketeers_ug1_lod2.mesh 2500
58 unit_models/_Units/RN_Light_Lmail/musketeers_ug1_lod3.mesh 6400
4
5 spain
71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_spain.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
44 unit_sprites/spain_Musketeers_ug1_sprite.spr
8 portugal
74 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_portugal.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
47 unit_sprites/portugal_Musketeers_ug1_sprite.spr
8 scotland
74 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_portugal.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
47 unit_sprites/portugal_Musketeers_ug1_sprite.spr
5 milan
71 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_milan.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
44 unit_sprites/milan_Musketeers_ug1_sprite.spr
6 venice
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_venice.texture
72 unit_models/_Units/RN_Light_Lmail/textures/RN_Light_Lmail_normal.texture
45 unit_sprites/venice_Musketeers_ug1_sprite.spr
4
5 spain
67 unit_models/AttachmentSets/Final European CB Gun_spain_diff.texture
67 unit_models/AttachmentSets/Final European CB Gun_spain_norm.texture 0
8 portugal
70 unit_models/AttachmentSets/Final European CB Gun_portugal_diff.texture
70 unit_models/AttachmentSets/Final European CB Gun_portugal_norm.texture 0
8 scotland
70 unit_models/AttachmentSets/Final European CB Gun_portugal_diff.texture
70 unit_models/AttachmentSets/Final European CB Gun_portugal_norm.texture 0
5 milan
67 unit_models/AttachmentSets/Final European CB Gun_milan_diff.texture
67 unit_models/AttachmentSets/Final European CB Gun_milan_norm.texture 0
6 venice
68 unit_models/AttachmentSets/Final European CB Gun_venice_diff.texture
68 unit_models/AttachmentSets/Final European CB Gun_venice_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
type Musketeersdictionary Musketeers ; Musketeers
category infantry
class missile
voice_type Light
banner faction main_missile
banner holy crusade
soldier Musketeers, 48, 0, 0.8
attributes sea_faring, hide_forest, can_withdraw, gunpowder_unit, fire_by_rank,
start_not_skirmishing, gunmen
formation 1.2, 1.2, 2.4, 2.4, 3, square
stat_health 1, 0
stat_pri 14, 1, musket_bullet, 180, 20, missile, missile_gunpowder, piercing, none,
musket_shot_set, 25, 1
;stat_pri_ex 0, 0, 20
stat_pri_attr ap
stat_sec 6, 1, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 0, 3, 0, flesh
;stat_armour_ex 0, 5, 0, 0, 3, 0, 0, flesh
stat_sec_armour 0, 0, flesh
stat_heat 2
stat_ground 1, -2, 3, 2
stat_mental 3, normal, trained
stat_charge_dist 30
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 540, 150, 65, 50, 540, 4, 130
armour_ug_levels 0, 2
armour_ug_models Musketeers, Musketeers_ug1
ownership spain, portugal, milan, venice, scotland
era 2 spain, portugal, milan, venice, scotland
;unit_info 6, 14, 3
sorry i forgot to add the extra number for faction, already done it in case you wondered hehe thats my bad, thou that didnt help fix the problem they still appear in silver
Okay so I followed these instructions to the best of my ability and I have been at this all day. I wanted to add aum Silvan Shieldsword units to the silvan faction and I succeeded to some degree. I got them in custom battle and campaign but I noticed a problem. In campaign their models are seen perfectly if I do the create_unit cheat without adding the 9 9 9 for their attack buffs. Does anyone know what I may have missed? These units become crome looking if I give them extra attack points through the total war cheat engine.
In the EDU entry for your unit there is a line listing the battle models - it's called armour_ug_models, check post #193 which has two models in that line:
armour_ug_models Musketeers, Musketeers_ug1
Each of these needs a modelDB entry, see the other part of the post.
There are preformatted modeldb files for the grand campaign and the four kingdom campaigns - if you are using a non formatted, custom modeldb then you may have some difficulties. But in general you can add new entries at the bottom\end without a problem as long as you remember to update the model count number at the beginning.
When I modified my modeldb folder I copied pasted everything needed but I only changed the name of one saxons to mongols. In other words do I have to change "saxons_aum_silvan_shieldsword_sprite.spr2" to "mongols_aum etc." In regards to the EDU file I added mongols to the saxons ownership field and I thought thats all that was needed.