Results 1 to 30 of 30

Thread: How to dismount (or mount) a unit

  1. #1

    Default How to dismount (or mount) a unit

    Modding Resource Header
    Title: How to dismount (or mount) a unit, formerly Dismounting Units
    Posted by: The_Ferret

    Modding area: Units (unit stats)
    Required programmes: Notepad (or other text editor)
    Optional tools: Caligula unit editor

    Hardcoded limits: none
    Summary: This tutorial explains how to edit an existing unit so that it no longer rides a horse (or vica versa). It does not allow dismounting in-game, only before the game starts.
    __________________________________________________


    I know all the highflying modders probably already know this but, for the newbs (we were all one once) here is a way to dismount units.

    Open export_descr_unit and delete the 'mount' line of your selected cavalry unit. Then change the line- type: Cavalry -to- type: Infantry

    Now save. Now open Decr_model_battle- delete the lines highlighted in bold (cataphracts are our example here)-

    type east_heavy_cataphract
    skeleton fs_hc_spearman, fs_hc_swordsman
    indiv_range 40
    texture seleucid, data/models_unit/textures/unit_east_heavy_cataphract_seleucid.tga
    texture parthia, data/models_unit/textures/unit_east_heavy_cataphract_parthia.tga
    texture armenia, data/models_unit/textures/unit_east_heavy_cataphract_armenia.tga
    model_flexi data/models_unit/unit_east_heavy_cataphract_400.CAS, 8
    model_flexi data/models_unit/unit_east_heavy_cataphract_300.cas, 15
    model_flexi data/models_unit/unit_east_heavy_cataphract_200.cas, 30
    model_flexi data/models_unit/unit_east_heavy_cataphract_100.cas, 40
    model_flexi data/models_unit/unit_east_heavy_cataphract_70.cas, max
    model_sprite armenia, 60.0, data/sprites/armenia_east_heavy_cataphract_sprite.spr
    model_sprite parthia, 60.0, data/sprites/parthia_east_heavy_cataphract_sprite.spr
    model_sprite seleucid, 60.0, data/sprites/seleucid_east_heavy_cataphract_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f

    almost done.

    Now change the words

    fs_hc_spearman, fs_hc_swordsman

    to

    fs_spearman, fs_swordsman

    Done, you now have Cataphract Infantry.

    Note: its best to copy/paste the text section you are about to edit so you have both the mounted and dismounted version available as separate units.
    if using this method change the name of the unit in descr_model_battle and change the soldier line in export_descr_unit to match.

    To mount a unit, do the opposite. So add a 'mount' line to export_descr_unit, change the type to cavalry, and change the words to fs_hc_spearman, fs_hc_swordsman in descr_model_battle. - Myrddraal
    Last edited by Myrddraal; 07-26-2005 at 10:26.

  2. #2

    Default Re: Dismounting Units

    oh darn, so there's no way to actually dismount during a siege, you have to actually modify the actual default type? rats.

  3. #3
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Dismounting Units

    Unfortunatly yes.

  4. #4
    Eliminated Faction Heir Member Laridus Konivaich's Avatar
    Join Date
    Mar 2005
    Location
    Playing with swords
    Posts
    1,224

    Default Re: Dismounting Units

    Does the process work the same in reverse, in order to mount units that are not originally that way? Or rather, what would I have to do to make, for example, hoplites, into a cavalry unit?

    Thanks,

    Prince Laridus Konivaich
    Map designer for the Age of Hellas Mod: Age of Hellas Forum

    "I vote for closed."
    Two posts later:
    "Argh...I forgot that I actually have to close topics in order for them to close." ~Big King Sanctaphrax link

  5. #5

    Default Re: Dismounting Units

    do the same thing vice versa (btw ferret got that from me, *gloats* :p)

  6. #6

    Default Re: Dismounting Units

    partly from you...

  7. #7

    Default Re: Dismounting Units

    Is this the way if I want to change my Roman Generals (in RTR 5.41) from spearman to heavy cav ?

    Cheers
    Say: O unbelievers, I serve not what you serve, nor do you serve what I serve, nor shall I serve what you are serving, nor shall you be serving what I serve.
    To you your religion, and to me my religion.

  8. #8

    Default Re: Dismounting Units

    Never played RTR 5.4.1 but I think the principle is the same to change spearmen to heavy cav.

  9. #9

    Unhappy Re: How to dismount (or mount) a unit

    I tried it buyt didn't work . Or maybe I have to start a new campaign for it to take effect..

    Hmm.. But will try again..
    Say: O unbelievers, I serve not what you serve, nor do you serve what I serve, nor shall I serve what you are serving, nor shall you be serving what I serve.
    To you your religion, and to me my religion.

  10. #10

    Default Re: How to dismount (or mount) a unit

    How do i do this in BI?

    i want to dismount the armoured camel rider. What shall i remove?
    iv done everything in the export edu so it just this momentum left.

    ---------------------------------------


    type armoured_camel_riders

    skeleton fs_hc_spearman
    indiv_range 40
    ;texture bi/data/models_unit/textures/BI_unit_armoured_camel_riders.tga

    model_flexi bi/data/models_unit/BI_unit_armoured_camel_riders_lod1.cas, 15
    model_flexi bi/data/models_unit/BI_unit_armoured_camel_riders_lod2.cas, 30
    model_flexi bi/data/models_unit/BI_unit_armoured_camel_riders_lod3.cas, 40
    model_flexi bi/data/models_unit/BI_unit_armoured_camel_riders_lod4.cas, max
    ;model_sprite 60.0, data/sprites/romans_julii_roman_peasant_sprite.spr

    model_sprite 60.0, bi/data/sprites/armoured_camel_riders_sprite.spr

  11. #11
    Proud Knight of the AMC Member RTW King's Avatar
    Join Date
    Jul 2005
    Location
    Dal Riada, Scotland
    Posts
    327

    Default Re: How to dismount (or mount) a unit

    Yeah I've had problems mounting units in BI and I'm completely stuck. I could do it perfectly in RTW why is BI different?
    Join the AMC. Down with rappers!

  12. #12

    Default Re: How to dismount (or mount) a unit

    So this means I can have mouted besckers, sweet
    God bless America
    :unitedstates

  13. #13

    Default Re: How to dismount (or mount) a unit

    Hey RTW King. What is the AMC? And why are you against rappers?

    diBorgia

  14. #14

    Default Re: How to dismount (or mount) a unit

    thanks for this very helpful info...

    But I have a problem with this conversion.

    I choose them in custom battle, they march and attack very well, however, when the fight begins it gives error..

    Is there any way to handle with this problem..?

    thanks in advance..

  15. #15
    General of Carthage Member Hannibalbarc's Avatar
    Join Date
    Jan 2008
    Location
    Plundering Rome
    Posts
    159

    Default Re: How to dismount (or mount) a unit

    I followed the instructions and tried to mount armored hoplites, but for some reason the game won't even start. heres the codes, please tell me if I did something wrong.

    type greek_armoured_cavalry
    skeleton fs_hc_spearman, fs_hc_swordsman ; combat spear
    indiv_range 40
    texture greek_cities, data/models_unit/textures/unit_greek_elite_hoplite_greek.tga
    model_flexi data/models_unit/unit_greek_hoplite_elite_high.cas, 15
    model_flexi data/models_unit/unit_greek_hoplite_elite_med.cas, 30
    model_flexi data/models_unit/unit_greek_hoplite_elite_low.cas, 40
    model_flexi data/models_unit/unit_greek_hoplite_elite_lowest.cas, max
    model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f




    type greek hoplite elite
    dictionary greek_hoplite_elite ; Armoured Hoplites
    category cavalry
    class heavy
    voice_type Heavy_1
    soldier greek_armoured_cavalry, 27, 0, 1
    mount heavy horse
    mount_effect elephant -8, camel -4
    attributes sea_faring, hide_forest, hardy
    formation 1.5, 4, 3, 6, 4, square, wedge
    stat_health 1, 0
    stat_pri 9, 9, no, 0, 0, melee, simple, piercing, spear, 25 ,1
    stat_pri_attr no
    stat_sec 11, 5, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 11, 6, 5, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 2
    stat_ground 2, 0, 0, 0
    stat_mental 8, normal, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 640, 210, 70, 100, 640
    ownership greek_cities
    Ten soldiers wisely led will beat a hundred without a head- Euripides

  16. #16

    Default Re: How to dismount (or mount) a unit

    What does show_err report?

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  17. #17
    General of Carthage Member Hannibalbarc's Avatar
    Join Date
    Jan 2008
    Location
    Plundering Rome
    Posts
    159

    Default Re: How to dismount (or mount) a unit

    It doesn't do anything, is it because I copied the code so that I have both armored hoplites and the cavalry?
    Ten soldiers wisely led will beat a hundred without a head- Euripides

  18. #18

    Default Re: How to dismount (or mount) a unit

    should the mount be heavy_horse?
    Those who would give up essential liberties for a perceived sense of security deserve neither liberty nor security--Benjamin Franklin

  19. #19
    General of Carthage Member Hannibalbarc's Avatar
    Join Date
    Jan 2008
    Location
    Plundering Rome
    Posts
    159

    Default Re: How to dismount (or mount) a unit

    Well all the other heavy cavalry have heavy horse, not heavy_horse.
    Ten soldiers wisely led will beat a hundred without a head- Euripides

  20. #20

    Default Re: How to dismount (or mount) a unit

    Have you changed the units ID? Units must have different "type" names... I think that "greek hoplite elite" is the exact name of Armoured Hoplites... But show_err should give you a message in this case.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  21. #21
    General of Carthage Member Hannibalbarc's Avatar
    Join Date
    Jan 2008
    Location
    Plundering Rome
    Posts
    159

    Default Re: How to dismount (or mount) a unit

    Nope, no message.
    Ten soldiers wisely led will beat a hundred without a head- Euripides

  22. #22
    General of Carthage Member Hannibalbarc's Avatar
    Join Date
    Jan 2008
    Location
    Plundering Rome
    Posts
    159

    Default Re: How to dismount (or mount) a unit

    Thanks for your help guys, I'll just experiment some more.
    Ten soldiers wisely led will beat a hundred without a head- Euripides

  23. #23
    Senior Member Senior Member Ibn-Khaldun's Avatar
    Join Date
    Aug 2007
    Location
    Estonia
    Posts
    5,489
    Blog Entries
    4

    Default Re: How to dismount (or mount) a unit

    Now .. does that mean that I can mount my standard bearers and use them as cavalry officers??

  24. #24

    Default Re: How to dismount (or mount) a unit

    You would need a new skeleton for a mounted standard bearer, since vanilla has none.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  25. #25
    Notepad user Member Red Spot's Avatar
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    491

    Default Re: How to dismount (or mount) a unit

    just use the cavalry-sword skeleton/animations after you've slightly adjusted the pivot of the standard .. it works and looks just fine ...

    like;
    Code:
    type				roman_cavalry_standard2
    skeleton			fs_dagger
    skeleton_horse		fs_hc_swordsman	
    skeleton_elephant	fs_forest_elephant_rider
    skeleton_chariot	fs_chariot_sword
    skeleton_camel		fs_hc_swordsman
    indiv_range			40
    texture				romans_julii, data/models_unit/textures/roman_standard2_julii.tga
    texture				romans_brutii, data/models_unit/textures/roman_standard2_brutii.tga
    texture				romans_scipii, data/models_unit/textures/roman_standard2_scipii.tga
    texture				romans_senate, data/models_unit/textures/roman_standard2_senate.tga
    model_flexi_m			data/models_unit/roman_standard_cavalry.cas, 8
    model_flexi_m			data/models_unit/roman_standard_cavalry.cas, 15
    model_flexi_m			data/models_unit/roman_standard_cavalry.cas, 30
    model_flexi_m			data/models_unit/roman_standard_cavalry.cas, 40
    model_flexi			data/models_unit/roman_standard_cavalry.cas, max
    model_sprite		60.0, data/sprites/romans_julii_roman_triarii_sprite.spr
    model_tri			400, 0.5f, 0.5f, 0.5
    Though this standard can again not be used by regular infantry as it would almost hold the standard as if its about to use it for combat ...


    G

  26. #26
    The Scourge of Rome Member Spartan198's Avatar
    Join Date
    Aug 2007
    Location
    THIS... IS... CALIFORNIA!!! *boot*
    Posts
    1,319

    Default Re: How to dismount (or mount) a unit

    Quote Originally Posted by Hannibalbarc
    It doesn't do anything, is it because I copied the code so that I have both armored hoplites and the cavalry?
    I'm pretty sure that's your problem. I edited my files to give Macedonian Cavalry to the Greeks,but when I asked Horseman (he guided me through it) about simply making a double entry with one renamed "Greek Heavy Cavalry",he told me no go.

    Or are we both wrong on that? I'd love to have both Armored and Spartan Hoplite Cavalry.
    Last edited by Spartan198; 02-22-2008 at 15:34.
    My Greek Cavalry submod for RS 1.6a: http://www.twcenter.net/forums/showthread.php?t=368881

    For Calvin and TosaInu, in a better place together, modding TW without the hassle of hardcoded limits. We miss you.

  27. #27

    Default Re: How to dismount (or mount) a unit

    Okay. I've managed to dismount british dragoons from N2TW. but i want to turn them into a grenadier unit with muskets... but when i give them the primary and secondary weapon command lines so they can shoot and melee, they dont have muskets. instead.. they shoot musketballs from their swords. Is there a tutorial on changing the type of weapon a unit carries or would i have to remodel the unit entirely just so he can carry a musket
    "I kill without compunction, and remember all my killings. Treason must be scotched by fair means or foul before it overwhealms me. The Oak trees of insurrection grow from the acorns of treachery" Harald Hardraade

  28. #28

    Default Re: How to dismount (or mount) a unit

    If the model currently has no musket (and I think dragoons didn't carry) then you will need a new model (or edit this one if you can).

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  29. #29

    Default Re: How to dismount (or mount) a unit

    hi, i've have some sort of a problem when i try to mount triarii, the game starts everything is ok exept that there's no unit card and name an what i noticed during a battle was that the werent sitting on the horse but kind of hanging through it.

    and is it possible to mount a scorpion to an elephant?
    thnx

  30. #30
    Member Member CocaCola'97's Avatar
    Join Date
    Jun 2010
    Location
    Hungary
    Posts
    53

    Default Re: How to dismount (or mount) a unit

    1. unit card and name lacks, because you've changed the type name in EDU.

    2. i think they aren't sitting on the horse because you've given them a wrong (infantry) skeleton. Change it to cavalry (for triarii i think it's fs_hc_spearmen)

    3. i think you cannot mount a scorpion, but try it...
    Shi-Zroi Total War!!!!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO