Results 1 to 2 of 2

Thread: Questions on modding descr_formations.txt

  1. #1

    Default Questions on modding descr_formations.txt

    Ok, so I am working on modding Darth's formations for my own personal use. Here's an excerpt of the code for the first line of his quincunx formation.


    ; Screen of missile inf
    begin_block 0
    max_units 3
    unit_type missile infantry 0.9
    unit_type elephants 1.0
    unit_type heavy_chariots 1.0
    block_formation line
    block_relative_pos 0 0.0 0.0
    inter_unit_spacing 0.2
    priority 1.0
    end_block

    Questions :
    Where do I find the unit type? Some people said look in export_descr_units.txt but I cant find anything that matches "missile infantry." So I figured that missile and infantry might be from two different fields...any help?

    Here is the second line...

    ;; First line of infantry
    begin_block 1
    min_units 3
    unit_type light_pilum_infantry 0.9
    unit_type heavy_pilum_infantry 0.7
    unit_type heavy infantry 0.0
    ;unit_density close
    max_unit_width 20
    block_formation line
    block_relative_pos 0 0.0 -6.0
    inter_unit_spacing 25.0
    priority 1.0
    end_block

    Questions :
    Ok, again, how do I find what EB defines as "light_pilum_infantry."
    What's the purpose of heavy infantry 0.0?

    I'll come up with more questions later :)

  2. #2
    Member Member Oleo's Avatar
    Join Date
    Apr 2006
    Location
    Gelderland, NL
    Posts
    392

    Default Re: Questions on modding descr_formations.txt

    Quote Originally Posted by KarstenChu
    Where do I find the unit type? Some people said look in export_descr_units.txt but I cant find anything that matches "missile infantry." So I figured that missile and infantry might be from two different fields...any help?)

    In EDU infantry is a category, missile is a class.

    copypaste from the top of edu:

    ; category infantry, cavalry, siege, handler, ship or non_combatant
    ; class light, heavy, missile or spearmen


    My guess would be that light_pilum_infantry is all light infantry that carries a pilum. All units with pilum have pilum in stat_pri in EDU.
    EB member


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