Page 1 of 1

editing the MDL files?

Posted: Wed Dec 22, 2010 1:27 am
by jack54
Hi All,

I would like to add new General portraits...( for existing Generic Generals)

I understand the graphic end but I'm not sure how to get them into the game

OneArmedMexican helped with my first attempt...

So how do you unpack the mdl and edit the portait line :confused:
also some have two numbers; edit both?

Thanks
Jack

Posted: Wed Dec 22, 2010 1:56 am
by Clovis
jack54 wrote:Hi All,

I would like to add new General portraits...( for existing Generic Generals)

I understand the graphic end but I'm not sure how to get them into the game

OneArmedMexican helped with my first attempt...

So how do you unpack the mdl and edit the portait line :confused:
also some have two numbers; edit both?

Thanks
Jack


no need to unpack.

Use a notepad; the files are just txt files.

There's a model by rank (1,2 or stars) for the same General, so you have to edit all.

Posted: Wed Dec 22, 2010 8:51 am
by PhilThib
Also if you want to "see" your changes in the game, after you have made them, you need to delete the file named Models.Cached which is in the Models folder.

FYI, in all AGE games, this file is created after first run of the game to quickly store all models data in a single quickly-read file, so as to speed up loading time...which means the data the game reads is in this file, and the mdl files are no longer read individually....so changes are not read if the cached file is there... when you remove it, it is recreated the next time you read the game, but with the mdl files data...which will then include your changes :thumbsup: Clear? :D

Posted: Thu Dec 23, 2010 3:05 am
by jack54
Thanks Clovis and Phil Thib, I got it now! :D

Awesome game and support!

My next worry is typo's ;)