Results 1 to 8 of 8

Thread: Question: changing the spear of phalanx

  1. #1
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Question: changing the spear of phalanx

    No matter what kind of weapon I use as primary weapon, if the unit has phalanx, it uses the long spear. Is there any way to modify the look of this spear? It appears to override any primary weapon the unit has.

  2. #2
    Thread killer Member Rodion Romanovich's Avatar
    Join Date
    Mar 2005
    Location
    The dark side
    Posts
    5,383

    Default Re: Question: changing the spear of phalanx

    Have you checked how the spear warband and greek hoplites are described in export_descr_unit.txt or whatever the file is called?
    Under construction...

    "In countries like Iran, Saudi Arabia and Norway, there is no separation of church and state." - HoreTore

  3. #3
    Eliminated Faction Heir Member Laridus Konivaich's Avatar
    Join Date
    Mar 2005
    Location
    Playing with swords
    Posts
    1,224

    Default Re: Question: changing the spear of phalanx

    Check the header in export_descr_units.txt, it gives the possible attributes. For phalanx units there are: short_pike spear long_pike and very_long_pike, I believe. Anyway, this give the unit different lengths of spears - the default that most phalanx units use is spear
    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

  4. #4
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: Question: changing the spear of phalanx

    Yea, I know about that.
    I'd like to change the graphic, not just the length of the spear. For instance, giving them a very long trident instead of the default spear. Is this possible or limited by the engine?

    Thanks for the help!

  5. #5
    Eliminated Faction Heir Member Laridus Konivaich's Avatar
    Join Date
    Mar 2005
    Location
    Playing with swords
    Posts
    1,224

    Default Re: Question: changing the spear of phalanx

    Giving them a different shaped weapon, such as a trident, would require changing the model in 3dsmax
    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

  6. #6

    Default Re: Question: changing the spear of phalanx

    The phalanx unita use an external .cas file for the spear model (data/models/weapon_hoplite_pike_high.cas and low).
    The primary weapon model part (from the unit's .cas file) is shown under some circumstances when not used (sometimes on the walls and outside the battle area when marching. Inside the battle area and on the ground (not on the walls) you see the external weapon model. You can edit that model (it worked for me). The texture is used for 2 models - the high poly model and the low poly model for the longer distances.

  7. #7
    The Dark Knight Member wlesmana's Avatar
    Join Date
    Jan 2005
    Location
    Indonesia
    Posts
    602

    Default Re: Question: changing the spear of phalanx

    Aaah, got it. Thanks, LAca.
    Damn, it's a bit of a hassle now since if I edit the .cas of file ALL phalanx would get it :/

  8. #8

    Default Re: Question: changing the spear of phalanx

    Unfortunately...
    I really dont understand why they had to do it this way...

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