Results 1 to 18 of 18

Thread: How do I add Grand Bombard & Canon to Byzantium

  1. #1
    Firebat11's Avatar Semisalis
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    465

    Default How do I add Grand Bombard & Canon to Byzantium

    I would like to add these two units to the Byzantine roster.

    I just need to know which files to edit.

    I want to edit this for use with Stainless Steel.

    Thank you.
    Last edited by Firebat11; July 30, 2007 at 03:26 PM.
    Co-Creator of Battle for the Baltic Mod for SS 6.1

  2. #2

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    I did the exact same thing, and with Stainless Steel.

    First, go in to EDU. Find "EE Grand Bombard" and put the word "byzantium after russia, like in the example below.

    Spoiler Alert, click show to read: 

    type EE Grand Bombard
    dictionary EE_Grand_Bombard ; Grand Bombard
    category siege
    class missile
    voice_type Heavy
    banner faction main_missile
    banner holy crusade
    soldier EE_Cannon_Crew, 16, 2, 1
    engine great_bombard
    attributes sea_faring, hardy, can_withdraw, gunpowder_unit, cannon, artillery, stakes, stakes
    formation 1.5, 1.5, 3, 3, 3, square
    stat_health 1, 0
    stat_pri 6, 3, no, 0, 0, melee, artillery_gunpowder, piercing, knife, 25, 1.8
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr no
    stat_sec 55, 3, grand_bombard_shot, 375, 30, siege_missile, artillery_gunpowder, blunt, none, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr ap, bp, area, launching
    stat_pri_armour 4, 4, 0, leather
    ;stat_armour_ex 4, 0, 0, 0, 4, 0, 0, leather
    stat_sec_armour 0, 0, flesh
    stat_heat 1
    stat_ground 0, 0, 0, 0
    stat_mental 5, disciplined, trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 730, 250, 90, 70, 730, 4, 180
    armour_ug_levels 1
    armour_ug_models EE_Cannon_Crew
    ownership russia, byzantium
    era 1 russia, byzantium
    ;unit_info 6, 0, 8


    Then open battle_models.modeldb and find "ee_cannon_crew". Replace everything from 14 ee_cannon_crew until (BUT DO NOT REPLACE) 15 ee_ribault_crew.

    Spoiler Alert, click show to read: 

    14 ee_cannon_crew
    1 3
    62 unit_models/_Units/EE_Peasant_Leather/ee_cannon_crew_lod0.mesh 121
    62 unit_models/_Units/EE_Peasant_Leather/ee_cannon_crew_lod1.mesh 1225
    62 unit_models/_Units/EE_Peasant_Leather/ee_cannon_crew_lod2.mesh 6400
    5
    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
    47 unit_sprites/poland_EE_Catapult_Crew_sprite.spr
    9 byzantium
    74 unit_models/_Units/Es_Peasant_padded/textures/es_Peasant_byzantium.texture
    75 unit_models/_Units/Es_Peasant_padded/textures/es_Peasant_normal_byz.texture
    47 unit_sprites/poland_EE_Catapult_Crew_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
    47 unit_sprites/russia_EE_Catapult_Crew_sprite.spr
    10 kievan_rus
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_kievan.texture
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal.texture
    47 unit_sprites/russia_EE_Catapult_Crew_sprite.spr
    7 hungary
    78 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_hungary.texture
    77 unit_models/_Units/EE_Peasant_Leather/textures/mtw2_EE_Peasant_normal.texture
    48 unit_sprites/hungary_EE_Catapult_Crew_sprite.spr
    5
    6 poland
    67 unit_models/AttachmentSets/Final European Light_poland_diff.texture
    67 unit_models/AttachmentSets/Final European Light_poland_norm.texture 0
    9 byzantium
    67 unit_models/AttachmentSets/Final European Light_russia_diff.texture
    67 unit_models/AttachmentSets/Final European Light_russia_norm.texture 0
    6 russia
    67 unit_models/AttachmentSets/Final European Light_russia_diff.texture
    67 unit_models/AttachmentSets/Final European Light_russia_norm.texture 0
    10 kievan_rus
    67 unit_models/AttachmentSets/Final European Light_russia_diff.texture
    67 unit_models/AttachmentSets/Final European Light_russia_norm.texture 0
    7 hungary
    68 unit_models/AttachmentSets/Final European Light_hungary_diff.texture
    68 unit_models/AttachmentSets/Final European Light_hungary_norm.texture 0
    1
    4 None
    16 MTW2_Crew_Cannon 0
    1
    18 MTW2_Knife_Primary 0
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002


    Now for UI. I have attached a file: #ee_grand_bombard.zip
    unzip the tga and put it in
    /stainless_steel_mod/data/ui/_units/byzantium folder.
    if you have SS 4.0 or
    /stainless_steel/data/ui/_units/byzantium
    if you have SS 3.2 (like me).

    That should be it! Reply if you have problems.

  3. #3
    Firebat11's Avatar Semisalis
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    465

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    well it sorta worked, the Grand Bombard works, but the people's texture are messed up.

    I ended up borrowing the textures for Russia. Although that isn't really historic, I'm more worried about getting them to work. If you come up with a solution for the Byzantine skin I would appreciate it. Thanks for your help.


    Shot at 2007-07-30
    Last edited by Firebat11; July 30, 2007 at 11:28 PM.
    Co-Creator of Battle for the Baltic Mod for SS 6.1

  4. #4

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    Quote Originally Posted by Firebat11 View Post
    well it sorta worked, the Grand Bombard works, but the people's texture are messed up.

    I ended up borrowing the textures for Russia. Although that isn't really historic, I'm more worried about getting them to work. If you come up with a solution for the Byzantine skin I would appreciate it. Thanks for your help.
    The thing is, the Byzantine textures are not meant to be stretched over the models over which they are being stretched. You will get some distortion if you use that texture. For a more historic angle, try using either the Hungarian, Slave, or Merc textures found in the same folder as the Russian texture:
    unit_models/_units/ee_peasant_leather/textures
    I mean, Hungary is closer than Russia!


    Remember that if you use the slave or merc textures you will have to have a proper character count of that line in battle_models.

    The most important part is that the cannons are working. Having characters look pretty is useless if you can't demolish enemy walls!

    _____________________________
    If I have helped you, remember to +rep!

  5. #5
    selenius4tsd's Avatar Happiness Is A Warm Gun
    Join Date
    Sep 2006
    Location
    CT, South Africa.
    Posts
    1,707

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    Moved to Text Editing and Scripting.
    Under the patronage of vikrant
    Patron of Ramtha, Alletun, finneys13, SirPaladin and GrnEyedDvl

  6. #6

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    You should be able to get by just using one of the crews from another Byzantine siege weapon and not hassle with changing the modeldb. This way, the models and textures will be correct. Copy and paste the cannon you want and make a brand new entry just for the Byzantines. Change the stuff in red and make the ownership for the new unit only Byzantium.

    For example:

    type Byzantine Grand Bombard
    dictionary EE_Grand_Bombard ; Grand Bombard
    category siege
    class missile
    voice_type Heavy
    banner faction main_missile
    banner holy crusade
    soldier EE_Cannon_Crew, 16, 2, 1
    engine great_bombard
    attributes sea_faring, hardy, can_withdraw, gunpowder_unit, cannon, artillery, stakes, stakes
    formation 1.5, 1.5, 3, 3, 3, square
    stat_health 1, 0
    stat_pri 6, 3, no, 0, 0, melee, artillery_gunpowder, piercing, knife, 25, 1.8
    ;stat_pri_ex 0, 0, 0
    stat_pri_attr no
    stat_sec 55, 3, grand_bombard_shot, 375, 30, siege_missile, artillery_gunpowder, blunt, none, 25, 1
    ;stat_sec_ex 0, 0, 0
    stat_sec_attr ap, bp, area, launching
    stat_pri_armour 4, 4, 0, leather
    ;stat_armour_ex 4, 0, 0, 0, 4, 0, 0, leather
    stat_sec_armour 0, 0, flesh
    stat_heat 1
    stat_ground 0, 0, 0, 0
    stat_mental 5, disciplined, trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 730, 250, 90, 70, 730, 4, 180
    armour_ug_levels 1
    armour_ug_models Greek_Catapult_Crew
    ownership byzantium
    era 1 byzantium
    ;unit_info 6, 0, 8

    You then need to add recruitment for the new units in export_descr_buildings.txt. Do a search for "grand bombard" or whatever other gun you need to add, and for every match, copy and paste the line, changing the name and faction to reflect your new cannon.

    For example:

    recruit_pool "Byzantine Grand Bombard" 1 0.4 3 0 requires factions { byzantium, }
    Last edited by Gundug; July 31, 2007 at 09:25 AM.
    Check out my Otherworld mod: A big fantasy map for Medieval 2, new playable factions and more! -Release 7 is now available-

  7. #7

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    Quote Originally Posted by Gundug View Post
    You should be able to get by just using one of the crews from another Byzantine siege weapon and not hassle with changing the modeldb. This way, the models and textures will be correct. Copy and paste the cannon you want and make a brand new entry just for the Byzantines. Change the stuff in red and make the ownership for the new unit only Byzantium.
    I didn't think of that, good call!

  8. #8
    Firebat11's Avatar Semisalis
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    465

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    Thanks I'll try that when I get home. I agree, I think it'll be easier that way.

    I'll let you know how it turns out. Thanks.
    Co-Creator of Battle for the Baltic Mod for SS 6.1

  9. #9
    Firebat11's Avatar Semisalis
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    465

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    I got the cannon to work as well.

    But I keep getting the "Peasant Default" unit card. I have made and placed a .tga in the right spot, but it's not working.

    Maybe a typo??
    Co-Creator of Battle for the Baltic Mod for SS 6.1

  10. #10
    Firebat11's Avatar Semisalis
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    465

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    nevermind, I figured it out. Everything is working now. Thank you very much!
    Co-Creator of Battle for the Baltic Mod for SS 6.1

  11. #11

    Icon7 Re: How do I add Grand Bombard & Canon to Byzantium

    Quote Originally Posted by Firebat11 View Post
    nevermind, I figured it out. Everything is working now. Thank you very much!
    Could you please tell the others of us just wondering what exactly you figured out about where to put that .tga?

  12. #12

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    Unit card .tgas go in the following folder
    data\ui\_units\faction\
    with "faction" being the faction to which you are adding the new unit. The files must be named exactly like they are in the dictionary (see EDU) and must have a pound sign in front of it.

    So for the Byzantine Grand Bombard it would look like this:
    data\ui\_units\byzantium\#ee_grand_bombard.tga

    For unit data, the .tgas go into
    \data\ui\unit_info\faction
    The filenames do not have a pound sign and have _info at the end. Thus:
    \data\ui\unit_info\byzantium\ee_grand_bombard_info.tga
    data\ui#ee_grand_bombard.tga

  13. #13
    ReD_OcToBeR's Avatar Senator
    Join Date
    Jan 2009
    Location
    The Great White North.
    Posts
    1,074

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    i know its been a few years since this topic was last typed in. Im doing the same thing except for i want Monster Bombards recruitable. I have edited the EDU and the Modeldb several times by reading other posts and i beleive ive got them right. I think my problem is in the EDB text that making me crash over and over. I can run the game with my edited modeldb after i reset my EDU and EDB to their orignials so i think the problem is in EDB cause EDU is too easy. I am running SS 6.1 with Byzantine roster overhaul.

    Would anyone have some input? Here's what i have in EDB. excuse the double highlighting of the 2nd picture from the first:










  14. #14
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    What does the log say, Red?

  15. #15
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,760
    Blog Entries
    3

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    In the future rather than taking screenshots just copy the content of the file and place it in code ([code][/code]) tags.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  16. #16

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    Hi all.

    I've tried ( today ) to add the Monster Bombard and Grand Bombard to Byzantium and I cant seem to be able to. I have no idea of modding and everyone seems to refer to something called "EDU" and by the way people talk about it, it must be important I looked to find out what EDU is with no success, so please excuse my ignorance because I did not make a thorough search for it.

    If anyone could help, or point me to a thread where I could learn more about it, I would appreciate it.

    Thanks a lot in advance.
    ThaniX

  17. #17
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,760
    Blog Entries
    3

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    EDU = export_descr_units.txt. There a tutorial on the edu in the tutorial section. I also believe there a tutorial or possibly even a mod which does exactly what you want.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  18. #18

    Default Re: How do I add Grand Bombard & Canon to Byzantium

    Thanks a lot for the answer. I was able to add the units to Byzantium and it works great

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •