Results 1 to 7 of 7

Thread: Formations

  1. #1

    Default Formations

    How can I edit the phalanx formations to allow them, when dragged, to all form one line without gaps like the shield wall does?

  2. #2
    Basileos Leandros I's Avatar Writing is an art
    Join Date
    May 2005
    Location
    High up in the mountains, in my own fortress
    Posts
    7,597

    Default

    Somewhere along the text files, if it's possible...

    Why don't you try DarthFormations and Duke John's Formations?!
    Ja mata, TosaInu. Forever remembered.

    Total War Org - https://forums.totalwar.org/vb/

    Swords Made of Letters - 1938. The war is looming over France - and Alexandre Reythier does not have much time left to protect his country. A finished novel, published on TWC.

    Visit ROMANIA! A land of beauty and culture!

  3. #3

    Default

    I know it's SOMEWHERE along the text files, I want to find out WHERE.

  4. #4

    Default

    In the export_descr_unit

    type carthaginian sacred band infantry
    dictionary carthaginian_sacred_band ; Sacred Band
    category infantry
    class spearmen
    voice_type Heavy_1
    soldier greek_armoured_hoplite, 40, 0, 1.3
    officer carthaginian_standard
    attributes sea_faring, hide_forest, can_sap, hardy
    formation 1, 1, 2, 2, 5, square, phalanx
    stat_health 1, 0
    stat_pri 12, 8, no, 0, 0, melee, simple, piercing, spear, 25 ,1
    stat_pri_attr spear
    stat_sec 10, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 11, 7, 5, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 2, 1, 0, -1
    stat_mental 10, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 710, 270, 80, 110, 710
    ownership carthage

    In bold are the spaces between indivisual soldiers in units, the first two in closee formation, the second two in loose. The first number of each set is how far they front to back and the second side to side. just make the numbers smaller until you get what you like.

    Note This can be done for any unit in the game.

    Why don’t presidents fight the war?
    Why do they always send the poor?

  5. #5

    Default

    Won't that make it happen outside of phalanx formation as well?

    Doesn't matter as I prefer it this way, just a question.

  6. #6

    Default

    Dunno how its done for just Phalanx formation but the file you need is descr_formations:


    begin_formation simple_line

    general_order Group_Formation_Single_Line

    ;;; Only one slot main slot
    begin_block 0
    unit_type any 1.0
    block_formation line
    block_relative_pos 0 0.0 0.0
    inter_unit_spacing *1.0* (Change this to 0.5 and there will be no gaps)
    priority 1.0
    end_block

    end_formation


    This tells you that when you drag your units out in a single line there will be '1' gap between them, with a bit of experimenting i have found that making the figure 0.5 gets rid of all gaps. This will affect all units which i like as i hate having holes in my battle line...

    Hope this helps.

  7. #7

    Default

    Excelent, thanks very much.

Posting Permissions

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