Log in

View Full Version : Late bodyguards



homefry
12-23-2007, 20:10
Is there a way to change my current campaign so that all of my current general's bodyguard changes to Late bodyguard units and any new generals become Late generals bodyguard?

pike master
12-23-2007, 20:18
on the general bodyguard edu do this.

on the mount replace barded horse with armored horse.

on the unit model line replace the general bodyguard models with the late general bodyguards models.

FactionHeir
12-23-2007, 20:33
That only makes them look like late BGs but not have the same strength (well, unless you edit their strengths to be identical...)

Still, doing the suggested will only change their abilities and looks on the battle map, but on the strat map they will still show as early bodyguards.

The function to normally upgrade BGs to Late BGs was never implemented and cannot be done sadly. However, you can put late BGs up for hire at buildings (mod EDB) and this creates proper late BGs with actual generals leading them. Their offspring however will return to early BGs.

pike master
12-24-2007, 01:54
type NE Bodyguard
dictionary NE_Bodyguard ; General's Bodyguard
category cavalry
class heavy
voice_type General
banner faction main_cavalry
banner holy crusade_cavalry
soldier NE_Late_Bodyguard, 16, 0, 1
mount armoured horse
mount_effect elephant -4, camel -4
attributes sea_faring, hide_forest, can_withdraw, general_unit, general_unit_upgrade
formation 2, 4.4, 3, 6, 2, square
stat_health 2, 0
stat_pri 11, 7, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr no
stat_sec 12, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 5, 5, 6, metal
;stat_armour_ex 7, 8, 0, 0, 5, 5, 5, metal
stat_sec_armour 0, 0, flesh
stat_heat 8
stat_ground 0, 0, 0, 2
stat_mental 11, normal, trained
stat_charge_dist 45
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 960, 250, 95, 225, 960, 1, 280
armour_ug_levels 3,4,5, 6
armour_ug_models NE_Bodyguard, NE_Bodyguard_ug1, NE_Late_Bodyguard, NE_Late_Bodyguard_ug1
ownership england, scotland, france, hre, denmark, poland, hungary
era 0 england, scotland, france, hre, denmark, poland, hungary
era 1 england, scotland, france, hre, denmark, poland, hungary
era 2 england, scotland, france, hre, denmark, poland, hungary
;unit_info 11, 0, 34
recruit_priority_offset 0


it works!

trust me!

just modify the edu like i have this one.

the mount armored horse has its own stats such as higher mass and better resistance to damage.

homefry
12-24-2007, 03:54
What exactly did you chage?

I would have to do this for NE, SE, Greek, etc. right?


I already see that there is already an NE Late Bodyguard entry in the file. What is this about?

pike master
12-24-2007, 08:27
the game will not recognize the late general bodyguard in recruiting etc. the only way to get all 4 upgrades properly is through this modification.

compare them side by side. the only changes are right there. no other modding in other areas necessary.

the rebels will have textures to go on for their generals bodyguards.

and as you upgrade your unit the armor will increase properly.

yes you will have to do it for each region of bodyguard.

if you choose you can use a barded horse depending on your taste. i chose the armored horse so your bodyguards will stand out easier early in the game.

the armored horse has higher mass stat so it will knock a few more men in the air or into the ground.

homefry
12-25-2007, 19:23
Thanks for your help.... I've compared the 2 and the red bold is what you have and blue bold is what I have (default)


type NE Bodyguard
dictionary NE_Bodyguard ; General's Bodyguard
category cavalry
class heavy
voice_type General
banner faction main_cavalry
banner holy crusade_cavalry
soldier NE_Late_Bodyguard, 16, 0, 1
mount armoured horse
mount barded hourse
mount_effect elephant -4, camel -4
attributes sea_faring, hide_forest, can_withdraw, general_unit, general_unit_upgrade
attributes sea_faring, hide_forest, very_hardy, can_withdraw, general_unit
formation 2, 4.4, 3, 6, 2, square
stat_health 2, 0
stat_pri 11, 7, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
stat_pri 13, 8, no, 0, 0, melee, melee_blade, piercing, spear, 25, 1
;stat_pri_ex 0, 0, 0
stat_pri_attr no
stat_sec 12, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
stat_sec 14, 4, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
;stat_sec_ex 0, 0, 0
stat_sec_attr no
stat_pri_armour 5, 5, 6, metal
stat_pri_armour 7, 5, 4, metal
;stat_armour_ex 7, 8, 0, 0, 5, 5, 5, metal
;stat_armour_ex 7, 8, 0, 0, 5, 4, 4, metal
stat_sec_armour 0, 0, flesh
stat_heat 8
stat_heat 5
stat_ground 0, 0, 0, 2
stat_ground 0, -2, -4, 0
stat_mental 11, normal, trained
stat_charge_dist 45
stat_fire_delay 0
stat_food 60, 300
stat_cost 1, 960, 250, 95, 225, 960, 1, 280
stat_cost 1, 820, 250, 120, 95, 820, 1, 200
armour_ug_levels 3,4,5, 6
armour_ug_levels 3, 4
armour_ug_models NE_Bodyguard, NE_Bodyguard_ug1, NE_Late_Bodyguard, NE_Late_Bodyguard_ug1
armour_ug_models NE_Bodyguard, NE_Bodyguard_ug1
ownership england, scotland, france, hre, denmark, poland, hungary
era 0 england, scotland, france, hre, denmark, poland, hungary
era 1 england, scotland, france, hre, denmark, poland, hungary
era 2 england, scotland, france, hre, denmark, poland, hungary
;unit_info 11, 0, 34
;unit_info 13, 0, 32
recruit_priority_offset 0


I notice some things that doesn't make sense....

1. The default attributes has one more attribute - very_hardy. I assume you forgot to put this in the modified late bodyguard file. This attribute seems very positive.

2. The default primary stats appear to be better than your modified version...13/8 vs 11/7. Any idea why?

3. I'm not sure what stat sec is, but again the default is better than the modified. 14/4 vs 12/3

4. Can you explain these lines?

stat_pri_armour 5, 5, 6, metal
stat_pri_armour 7, 5, 4, metal
;stat_armour_ex 7, 8, 0, 0, 5, 5, 5, metal
;stat_armour_ex 7, 8, 0, 0, 5, 4, 4, metal
stat_heat 8
stat_heat 5
stat_ground 0, 0, 0, 2
stat_ground 0, -2, -4, 0
;unit_info 11, 0, 34
;unit_info 13, 0, 32


5. And what does this do?

recruit_priority_offset 0



Thanks for all your help.



EDIT: BTW, if I want all current general's bodyguards (and any new ones as well) to already have the late bodyguard models and upgrades, it seems that I would really have to change 3 items...

mount armoured horse
armour_ug_levels 5, 6
armour_ug_models NE_Late_Bodyguard, NE_Late_Bodyguard_ug1

Zajuts149
12-25-2007, 19:33
Can't you just give a building the attribute "upgrade_bodyguard 1" in the edb? Will not that fix the upgrade? I guess new units will still come out as the old type...

pike master
12-25-2007, 19:49
i basically used the original bodyguard edu and not the late bodyguards for the "scaffolding" for the modification. as for the smaller differences im not sure as it has been several months since i made the modification.



i have no idea what the general_unit_upgrade does as units upgrade anyways as long as you list the armour levels in the edu like i explained above. it might have something to do with unfinished game coding where they never finished the upgrade system for generals bodyguards so they would be spawned with the late generals bodyguard after a certian date.


the 3 numbers for the armor are the body armor, defence skill, shield


stat heat and stat ground are fatigue modifier in hot climate adn the ground is a modifier to slow movement in various terrains as well as increase fatigue on same.

all lines with the ; in front of them are not readable by the game and are made that way for a reason as it will cause the game to crash if they are made readable.



i just realized it the differences may have something to do with me using the retrofit mod and you may be using the vanilla grand campaign.

in that case use all of your original stats. only change the armor ug levels and armour ug models lines. and go with barded or armored horse depending on your preference

FactionHeir
12-26-2007, 00:55
Interesting workaround. Not perfect (can't be really), but very interesting. Well done.


Can't you just give a building the attribute "upgrade_bodyguard 1" in the edb? Will not that fix the upgrade? I guess new units will still come out as the old type...

That used to work in RTW. I tried for a long time to get late BGs to work as intended in M2TW (search modding forums if you don't believe me :grin:) but it never quite panned out. The buildings will say they upgrade your BGs to late and what not but it doesn't actually work. I just contented myself with hiring late BGs from buildings in the end.

homefry
12-26-2007, 04:09
I notice that there isn't a Late Greek (Byzantine) Bodyguard in the file.

I know they didn't exist into the late period, but I'm rewriting history.

Is there a late greek bodyguard model.

I just don't want to write Greek_Late_Bodyguard

pike master
12-26-2007, 16:22
i did forget to mention this.

if what you wanted was to have only late bodyguards it would be simpler to just change the name of the late bodyguards and delete the orginal bodyguard entry, which you can reinstate from your back up file at a later date.

the downside to this modification is that rebel generals will have no textures.

so the 4 model modification is considered the best that i know of.

also for the greek bodyguard. no there is not a late bodyguard for them however you can copy and paste the cataphracts upgraded model in place of the greek bodyguards model and you will have bodyguards with the covered face.