Results 1 to 30 of 30

Thread: How to dismount (or mount) a unit

Threaded 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.

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