PDA

View Full Version : Changing Hoplitai AOR and skins for KH?



Paltmull
06-29-2009, 17:49
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:

https://www.europabarbarorum.com/i/units/koinon-hellenon/kh_hoplitai.gif

to, for example, those that Epeiros have?:

https://www.europabarbarorum.com/i/units/epeiros/epe_hoplitai.gif

Finally, will any of these changes be savegame compitable?

Maion Maroneios
06-29-2009, 17:56
Yes to everything.

Maion

Paltmull
06-29-2009, 18:02
How? :)

Watchman
06-29-2009, 18:08
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
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
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.spror 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.

Julius Augustus
06-29-2009, 18:27
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.

Watchman
06-29-2009, 18:34
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. :sweatdrop:

Paltmull
06-29-2009, 18:47
It's working, thanks a lot :)

Julius Augustus
06-29-2009, 18:48
moreover would be a truly epic pain to explain...
That is what I meant by it being too hard.