Page 1 of 1

Unit Internal ID Numbers

Posted: Sun Mar 02, 2008 1:35 am
by Nami Koshino
Is there anyway to access these outside of the combat screens?

RE: Unit Internal ID Numbers

Posted: Sun Mar 02, 2008 7:41 am
by GKar
I don't think so.

RE: Unit Internal ID Numbers

Posted: Sun Mar 02, 2008 6:46 pm
by Nami Koshino
That's kinda what I figured. Thanks! [:)]

RE: Unit Internal ID Numbers

Posted: Sun Mar 02, 2008 9:49 pm
by GKar
Out of curiosity, what do you want to do with them? [:)]

RE: Unit Internal ID Numbers

Posted: Mon Mar 03, 2008 2:54 am
by Nami Koshino
Just wanted a easy way to track a unit's game history and progress. Unless a unit has gained a veteran or elite star they're pretty much a generic bunch on the map screen. [8D]

RE: Unit Internal ID Numbers

Posted: Tue Mar 04, 2008 4:27 am
by WanderingHead
ORIGINAL: Nami Koshino
Is there anyway to access these outside of the combat screens?

I just recently put this feature in for myself for ease of debugging. If there is interest then I don't see why it couldn't become a permanent feature players could use.

The way I have it working now is that you select a unit then hit a particular button, "T" in my case because it was a test feature. A small window pops up with the ID. But I could make the key "u" (if it isn't used for anything else) provide a small dump of unit information. Unit ID, unit type, unit nationality, maybe a few other variables I can find that would be of interest.

It would only work for units you can select, i.e. the active player's units.

There is some funkiness for supplies. A group of 5 supplies is actually treated as one unit in the engine until it gets split up. But otherwise I think it would be OK.

RE: Unit Internal ID Numbers

Posted: Tue Mar 04, 2008 6:39 am
by WanderingHead
Something like this.

I implemented this for hitting the "v" key for "(v)iew unit". "u" is already taken for toggling supply visibility on the map.


Image

RE: Unit Internal ID Numbers

Posted: Wed Mar 05, 2008 2:10 am
by Nami Koshino
That's a great feature Wandering Head! I know it's just an unhistorical three digit number but at least it gives the units a separate identity of some sort. [:)] I'd love to see it in the game.

RE: Unit Internal ID Numbers

Posted: Mon Mar 24, 2008 12:54 am
by Torplexed
ORIGINAL: WanderingHead

Something like this.

I implemented this for hitting the "v" key for "(v)iew unit". "u" is already taken for toggling supply visibility on the map.


Image

Wonderful idea! I'd like to see that implemented in the game too.

RE: Unit Internal ID Numbers

Posted: Sat Apr 05, 2008 2:30 am
by wawawd
I think it would be cool to have the unit ID's. Even nicer would be the ability to name your units.

RE: Unit Internal ID Numbers

Posted: Fri Apr 25, 2008 4:06 am
by WanderingHead
ORIGINAL: wawawd
I think it would be cool to have the unit ID's. Even nicer would be the ability to name your units.

I might actually do that (I've seen the request several times), except that it would be a new datum to store in the save file. And hence it would break all old saves, which is something I've managed to avoid so far with the work-in-progress.