Results 1 to 12 of 12

Thread: Adding phalanx characteristics to sword units?

  1. #1
    Member Member Intranetusa's Avatar
    Join Date
    Jan 2007
    Location
    Maryland, USA
    Posts
    1,247

    Default Adding phalanx characteristics to sword units?

    Is it possible to add the phalanx characteristic to units with two weapons (spear and sword?)?

    I wish to add them to Massilian hoplites and other hoplite units with 2 weapons. However, I do not want to turn them into a sarrissa...I just want them to form a tight classical phalanx formation like the phalanx mod made by TW Fanatic.
    "Science without religion is lame. Religion without science is blind...but there is one thing that science cannot accept - and that is a personal God who meddles in the affairs of his creation."
    -Albert Einstein




  2. #2
    EB Support Guy Senior Member XSamatan's Avatar
    Join Date
    Mar 2008
    Posts
    1,820

    Default Re: Adding phalanx characteristics to sword units?

    I am not that sure, maybe try and error the following until an experienced modder can say something more detailed:

    In your EB\sp game edu backup there is a file named "export_descr_units.txt"

    Make a backup.

    search for "Massiliotes Hoplitai"

    There is the unit, in the line "formation" there are 4 values separated with commas (not points!!), the first two should be the values for soldier spacing (in metres) side to side, then front to back for close formation. adjust these as your will. I do not know if this change is savegame compatible...

    If you want to give the unit the phalanx attribute, add after "square" in the same line ", phalanx".

    Actually I do not know if this could interfere with the "ligh_spear attribute".

    Hope I could help out.

    XSamatan

    To your first question: It is possible, look at the phalanx units in EB, they all got two weapons, one spear+sword/axe
    Last edited by XSamatan; 09-30-2009 at 22:03.

    1.2 fixes - Updated regularly. Latest news from 2009-02-01.
    EB FAQ --- Tech help important thread list --- Frequent issues and solutions

  3. #3
    Member Member Intranetusa's Avatar
    Join Date
    Jan 2007
    Location
    Maryland, USA
    Posts
    1,247

    Default Re: Adding phalanx characteristics to sword units?

    I see.

    Yes you're right- the main question is would it work with the "short spear" attribute.

    So far all the phalanx and sarrissa phalanx units have either short pike or long pike attribute.
    Last edited by Intranetusa; 09-30-2009 at 22:43.
    "Science without religion is lame. Religion without science is blind...but there is one thing that science cannot accept - and that is a personal God who meddles in the affairs of his creation."
    -Albert Einstein




  4. #4
    EB Support Guy Senior Member XSamatan's Avatar
    Join Date
    Mar 2008
    Posts
    1,820

    Default Re: Adding phalanx characteristics to sword units?

    If you make a good backup, then I would just try...but inform please over the result!

    XSamatan

    1.2 fixes - Updated regularly. Latest news from 2009-02-01.
    EB FAQ --- Tech help important thread list --- Frequent issues and solutions

  5. #5
    Wielder of a pointy-thing Member Olimpian's Avatar
    Join Date
    Jul 2007
    Location
    not far from Sarmizegetusa
    Posts
    198

    Default Re: Adding phalanx characteristics to sword units?

    I've given Iphik. Hoplitai the phalanx ability with spear as thei primary weapon and they work like the hoplites in vanilla - phalanx with shorter spears than phalangitai.

  6. #6
    Member Member Intranetusa's Avatar
    Join Date
    Jan 2007
    Location
    Maryland, USA
    Posts
    1,247

    Default Re: Adding phalanx characteristics to sword units?

    Quote Originally Posted by Olimpian View Post
    I've given Iphik. Hoplitai the phalanx ability with spear as thei primary weapon and they work like the hoplites in vanilla - phalanx with shorter spears than phalangitai.
    Sarrissa phalanx or classical phalanx like TW fanatic's mod?

    I'm trying to avoid the sarrissa formation for "classical hoplites." But if the Iphikratous Hoplitai unit uses the sarrissa like the phalangites, then I can just add the sarrissa trait to it.

    (By sarrissa, I mean their pikes prevent the enemy from getting close in a frontal attack...TW's classical hoplite mod somewhat resembles a sarrissa, but the spears are held overhanded and they fight like regular spearmen)

    Do you have any screenshots? I'm currently editing my descr unit file and want to see what they would look like...
    Thanks
    Last edited by Intranetusa; 10-01-2009 at 22:01.
    "Science without religion is lame. Religion without science is blind...but there is one thing that science cannot accept - and that is a personal God who meddles in the affairs of his creation."
    -Albert Einstein




  7. #7
    Wielder of a pointy-thing Member Olimpian's Avatar
    Join Date
    Jul 2007
    Location
    not far from Sarmizegetusa
    Posts
    198

    Default Re: Adding phalanx characteristics to sword units?

    Quote Originally Posted by Intranetusa View Post
    Sarrissa phalanx or classical phalanx like TW fanatic's mod?

    I'm trying to avoid the sarrissa formation for "classical hoplites." But if the Iphikratous Hoplitai unit uses the sarrissa like the phalangites, then I can just add the sarrissa trait to it.

    (By sarrissa, I mean their pikes prevent the enemy from getting close in a frontal attack...TW's classical hoplite mod somewhat resembles a sarrissa, but the spears are held overhanded and they fight like regular spearmen)

    Do you have any screenshots? I'm currently editing my descr unit file and want to see what they would look like...
    Thanks
    Here ya go:





    Phalangitai vs Iphik. (notice longer spears for phalangitai)



    Iphik. vs Hoplitai with TWFanatic's mod (longer spears for Iphik.)




    Also, phalangitai have the first 5(?) ranks fighting, Iphik 3 and Hoplitai 2.

  8. #8
    Member Member Intranetusa's Avatar
    Join Date
    Jan 2007
    Location
    Maryland, USA
    Posts
    1,247

    Default Re: Adding phalanx characteristics to sword units?

    Awesome!

    Can you post an example of the text in your desc units for the Phalangitai vs Iphik?

    I'mma change it right away since it seems to be exactly what I wanted.

    Thanks
    "Science without religion is lame. Religion without science is blind...but there is one thing that science cannot accept - and that is a personal God who meddles in the affairs of his creation."
    -Albert Einstein




  9. #9
    Wielder of a pointy-thing Member Olimpian's Avatar
    Join Date
    Jul 2007
    Location
    not far from Sarmizegetusa
    Posts
    198

    Default Re: Adding phalanx characteristics to sword units?

    Quote Originally Posted by Intranetusa View Post
    Awesome!

    Can you post an example of the text in your desc units for the Phalangitai vs Iphik?

    I'mma change it right away since it seems to be exactly what I wanted.

    Thanks
    Phalangitai:

    ;169
    type hellenistic infantry heavy pezhetairoi
    dictionary hellenistic_infantry_heavy_pezhetairoi ; Pezhetairoi
    category infantry
    class spearmen
    voice_type Light_1
    soldier hellenistic_infantry_pezhetairoi_koinonphalangitai, 60, 0, 1.4
    officer ebofficer_hellenic_officer
    officer ebofficer_hellenic_standardbearer
    mount_effect elephant -1
    attributes sea_faring, hide_forest, hardy
    formation 1.1, 1, 2.2, 2, 6, square, phalanx
    stat_health 1, 1
    stat_pri 17, 0, no, 0, 0, melee, simple, piercing, spear, 0 ,0.14
    stat_pri_attr long_pike, spear
    stat_sec 8, 4, no, 0, 0, melee, simple, slashing, sword, 0 ,0.13
    stat_sec_attr no
    stat_pri_armour 8, 8, 5, leather
    stat_sec_armour 0, 0, flesh
    stat_heat 3
    stat_ground 0, 0, -5, -3
    stat_mental 13, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 2077, 519, 50, 80, 2077
    ownership romans_brutii, macedon, thrace, romans_julii, numidia, slave

    Iphikratous Hoplitai:

    ;155
    type greek infantry iphikratous hoplitai
    dictionary greek_infantry_iphikratous_hoplitai ; Iphikratous Hoplitai
    category infantry
    class spearmen
    voice_type General_1
    soldier hellenistic_infantry_iphikratoushoplitai_misthophoroihoplitai_indohellenikoihoplitai, 40, 0, 1.2
    officer ebofficer_hellenic_officer
    officer ebofficer_hellenic_standardbearer
    mount_effect elephant -1
    attributes sea_faring, hide_forest, can_sap, hardy
    formation 0.7, 1.2, 2, 2.4, 4, square, phalanx
    stat_health 1, 1
    stat_pri 14, 6, no, 0, 0, melee, simple, piercing, spear, 0 ,0.13
    stat_pri_attr spear
    stat_sec 10, 6, no, 0, 0, melee, simple, slashing, sword, 0 ,0.13
    stat_sec_attr no
    stat_pri_armour 8, 8, 3, leather
    stat_sec_armour 0, 0, flesh
    stat_heat 3
    stat_ground 0, 0, -1, -2
    stat_mental 11, normal, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 1275, 319, 50, 70, 1275
    ownership greek_cities, slave


    The bold part is what you have to add.

  10. #10
    Arrogant Ashigaru Moderator Ludens's Avatar
    Join Date
    Nov 2003
    Posts
    9,059
    Blog Entries
    1

    Lightbulb Re: Adding phalanx characteristics to sword units?

    I am moving this to the EB submod forum.
    Looking for a good read? Visit the Library!

  11. #11
    Member Member Intranetusa's Avatar
    Join Date
    Jan 2007
    Location
    Maryland, USA
    Posts
    1,247

    Default Re: Adding phalanx characteristics to sword units?

    thanks, so far it's working fine.

    Now my biggest challenge is to figure out whether to give units the sarrissa phalanx w/ the "phalanx attribute" or the classical phalanx with the "short pike" attribute


    I'm thinking giving "short_pike" to units with two weapons might result in some bugs, but I'll experiment...
    "Science without religion is lame. Religion without science is blind...but there is one thing that science cannot accept - and that is a personal God who meddles in the affairs of his creation."
    -Albert Einstein




  12. #12
    Member Member Intranetusa's Avatar
    Join Date
    Jan 2007
    Location
    Maryland, USA
    Posts
    1,247

    Default Re: Adding phalanx characteristics to sword units?

    my attempt to give the "short_pike" attribute to units with two weapons have ended in failure.
    I tried giving units such as the Baktrian noble hoplites the short pike attribute + spear attribute so they fight in a more cohesive formation.

    Unfortunately, this makes their spear weapons look ridiculously long and basically disables their 2ndary sword weapon.
    "Science without religion is lame. Religion without science is blind...but there is one thing that science cannot accept - and that is a personal God who meddles in the affairs of his creation."
    -Albert Einstein




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