I've been fooling around with custom Galactic Conquests, and I've been unable to do some things. I'm not sure if a few are possible, even, but I'm certain some of them are.
-- Change the planet/side/anything name.
How do I make custom localizations for a GC? It seems like a simple thing but I've failed at doing it.
-- Make or break connections between planets and stars after loading - is this possible?
-- In a similar vein, add or delete planets and stars after loading. Is that possible, too?
Well, some things you can't change through the localize tool, like era/mode names or descriptions. I was wondering if GC things also fell into that category, and if they don't, yes, I'm wondering about the path.
Well, this is a bump, but only because it didn't get answered, and I have the same questions and a few more, and I know that Mav (for one) now has the answers for (some of) them.
In addition to knowing how to correctly localize gc (I can't seem to change a thing...readdatafile core.lvl from the folder DOW...currently my test map...changed/added localizations for DOW, saved, munged, checked munged core.lvl for additions, they were present, but nothing changed ingame) I was also wondering if there are any editable files for setting up the names (such as "cor" and "star04", not localizations), number, and locations of the planets and stars (in other words, where's the file for the galaxy map, or is it hard coded?) As a hack I found that stars can be converted to planets, but then of course there's no planet model with them, leading to another question: how would I add planet models and such?
I hear rumors that the galaxy is actually a map (meaning that planets can be placed or moved in zeroedit?) and gc mode is actually started with the campaign script...I have yet to look into it.
Jaspo wrote:I know that Mav (for one) now has the answers for (some of) them.
yes he has, but he like keep his work only for hisself, dislike share, i could help you about fiodis question of how set custom side in selection screen, but about add/modify planets i discovered they are entities, because hex editing GC from him i discover lines about getentitymatrix etc where he add new planets, i didnt find more about that
Mav helped me out quite a bit. As for localizations, you have to create new planet entities in freeform_init and then make new localization keys for the names of those entities. The entity names need to be subbed into all the various tables in freeform_init and freeform_start.
New planet entities are created in this general manner:
CreateEntity(GetEntityClass("geo"), GetEntityMatrix("star04"), "abc");
where geo is the desired planet model, star04 is the desired location in the galaxy, and abc is the new entity.
if you want the planet to have a system model as well, repeat this step but with "_system" added to the end of "geo" and "abc".
The stock planets can also be replaced with different ones in a similar manner (then it would be GetEntityMatrix("geo"), for example, instead) and stock planets can even be relocated, though I think it's necessary to create placeholder entities to do it.