Results 1 to 8 of 8

Thread: Changing Hoplitai AOR and skins for KH?

  1. #1
    Member Member Paltmull's Avatar
    Join Date
    Dec 2008
    Location
    Sweden
    Posts
    498

    Default Changing Hoplitai AOR and skins for KH?

    I'm doing some roleplaying with Koinon Hellenon and I'd like to know whether it's possible to expand the AOR for standard Hoplitai (only for KH if possible) to, say, Camulosadae. I'm quite a noob when it comes to these things, so please describe as detailed as possible.

    Also, is it possible to change the KH hoplitai skins:



    to, for example, those that Epeiros have?:



    Finally, will any of these changes be savegame compitable?
    Last edited by Paltmull; 06-29-2009 at 17:51. Reason: EDIT: Oops, maybe I should have put this in the technical help forum?

    Spoiler Alert, click show to read: 


  2. #2
    Symbasileus ton Rhomaioktonon Member Maion Maroneios's Avatar
    Join Date
    Jan 2008
    Location
    Heraklion, Crete, Greece
    Posts
    2,610

    Default Re: Changing Hoplitai AOR and skins for KH?

    Yes to everything.

    Maion
    ~Maion

  3. #3
    Member Member Paltmull's Avatar
    Join Date
    Dec 2008
    Location
    Sweden
    Posts
    498

    Default Re: Changing Hoplitai AOR and skins for KH?

    How? :)
    Last edited by Paltmull; 06-29-2009 at 18:02.

    Spoiler Alert, click show to read: 


  4. #4
    Ming the Merciless is my idol Senior Member Watchman's Avatar
    Join Date
    Aug 2004
    Location
    Helsinki, Finland
    Posts
    7,967

    Default Re: Changing Hoplitai AOR and skins for KH?

    Here's how to do the texture switch.
    1. find descr_model_battle.txt in the main EB "data" folder
    2. backup it
    3. open in suitable text editor (I use Notepad++)
    4. search for hellenistic_infantry_hoplitai_hellenikoi
    5. change these lines
    Code:
    type				hellenistic_infantry_hoplitai_hellenikoi
    skeleton			fs_o_f_spearman						    ; combat spear
    indiv_range			40
    texture				thrace, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hoplitai_sor_thrace.tga
    texture				greek_cities, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hoplitai_sor_greek.tga
    texture				macedon, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hoplitai_sor_macedon.tga
    ---
    
    model_sprite		thrace, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_hoplitai_thrace.spr
    model_sprite		greek_cities, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_hoplitai_greek.spr
    model_sprite		macedon, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_hoplitai_macedon.spr
    to this
    Code:
    type				hellenistic_infantry_hoplitai_hellenikoi
    skeleton			fs_o_f_spearman						    ; combat spear
    indiv_range			40
    texture				thrace, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hoplitai_sor_thrace.tga
    ;texture				greek_cities, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hoplitai_sor_greek.tga
    texture				greek_cities, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hoplitai_sor_thrace.tga
    texture				macedon, eb/data/models_unit/textures/hellenistic/ebhellenistic_infantry_hoplitai_sor_macedon.tga
    ---
    
    model_sprite		thrace, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_hoplitai_thrace.spr
    ;model_sprite		greek_cities, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_hoplitai_greek.spr
    model_sprite		greek_cities, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_hoplitai_thrace.spr
    model_sprite		macedon, 60.0, eb/data/sprites/hellenistic/ebsprite_hellenistic_infantry_hoplitai_macedon.spr
    or whatever unit texture and sprite you now prefer (for the record, ";" at the beginning of a line "comments it out" so the engine doesn't read it; this is a good way to keep the original value around for an easy "rollback" if you want to revert to the default)
    6. ????
    7. profit!

    Also modifying the recruitement areas is a pain and a half. Don't do it unless you really know what you're doing.
    "Let us remember that there are multiple theories of Intelligent Design. I and many others around the world are of the strong belief that the universe was created by a Flying Spaghetti Monster. --- Proof of the existence of the FSM, if needed, can be found in the recent uptick of global warming, earthquakes, hurricanes, and other natural disasters. Apparently His Pastaness is to be worshipped in full pirate regalia. The decline in worldwide pirate population over the past 200 years directly corresponds with the increase in global temperature. Here is a graph to illustrate the point."

    -Church of the Flying Spaghetti Monster

  5. #5
    Master of Hammer and Anvil. Member Julius Augustus's Avatar
    Join Date
    Jun 2009
    Location
    In the UP of Michigan, plotting ways to use hammer and anvil.
    Posts
    87

    Default Re: Changing Hoplitai AOR and skins for KH?

    Paltmull, Watchman got the skin change right on, but, unfortunately he is also right about it being too hard to mod AOR's. It takes forever, and is much too hard to explain on this forum. Sorry.
    The ranking of the Nations of the world.
    >>>All the rest.


    "Your turning violet, Violet!"
    Charlie and the Chocolate Factory

  6. #6
    Ming the Merciless is my idol Senior Member Watchman's Avatar
    Join Date
    Aug 2004
    Location
    Helsinki, Finland
    Posts
    7,967

    Default Re: Changing Hoplitai AOR and skins for KH?

    It's not that it were "too hard", but it gets quite complicated and onerous very fast if you're not just copy-pasting the hidden-resource combinations en block and moreover would be a truly epic pain to explain... and I for one can't be arsed to go into *that* much effort.
    Last edited by Watchman; 06-29-2009 at 18:35.
    "Let us remember that there are multiple theories of Intelligent Design. I and many others around the world are of the strong belief that the universe was created by a Flying Spaghetti Monster. --- Proof of the existence of the FSM, if needed, can be found in the recent uptick of global warming, earthquakes, hurricanes, and other natural disasters. Apparently His Pastaness is to be worshipped in full pirate regalia. The decline in worldwide pirate population over the past 200 years directly corresponds with the increase in global temperature. Here is a graph to illustrate the point."

    -Church of the Flying Spaghetti Monster

  7. #7
    Member Member Paltmull's Avatar
    Join Date
    Dec 2008
    Location
    Sweden
    Posts
    498

    Default Re: Changing Hoplitai AOR and skins for KH?

    It's working, thanks a lot :)

    Spoiler Alert, click show to read: 


  8. #8
    Master of Hammer and Anvil. Member Julius Augustus's Avatar
    Join Date
    Jun 2009
    Location
    In the UP of Michigan, plotting ways to use hammer and anvil.
    Posts
    87

    Default Re: Changing Hoplitai AOR and skins for KH?

    Quote Originally Posted by Watchman View Post
    moreover would be a truly epic pain to explain...
    That is what I meant by it being too hard.
    The ranking of the Nations of the world.
    >>>All the rest.


    "Your turning violet, Violet!"
    Charlie and the Chocolate Factory

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