Results 1 to 30 of 30

Thread: How to dismount (or mount) a unit

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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...

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