Unit purchases - how to make them automatically rename?

A forum to discuss custom scenarios, campaigns and modding in general.

Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design

Post Reply
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Unit purchases - how to make them automatically rename?

Post by BiteNibbleChomp »

Is there any way to make a certain type of unit be purchased with a customised name by default?

For instance, say I decide to add a new extremely overpowered unit (think 20 Mause in 1) and want it to be purchased with the name "Giant Doom Unit" by default, and then the second one purchased to be called "Steel Crusher 2000". However If I then go and purchase a Tiger then the game will still generate the name "XXth Tiger I" for that unit.

I think I have seen somewhere a way of making the game generate battalion names to build the corps, but is there a way of assigning it to one specific unit type while the (1000) others alone?

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Unit purchases - how to make them automatically rename?

Post by BiteNibbleChomp »

Why you not replying? :cry:

I want purchased cities to be able to spawn with cool names rather than '403rd City'.

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Razz1
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 3308
Joined: Tue Jan 18, 2011 4:49 am
Location: USA

Re: Unit purchases - how to make them automatically rename?

Post by Razz1 »

What? buying a city?
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Unit purchases - how to make them automatically rename?

Post by BiteNibbleChomp »

The amount of infrastructre in Europe was significantly larger in 51 AD than in 280 BC. So I thought that buyable towns would be a good idea (I think that Battlefield Europe has a Strongpoint Construction Kit - it would work in a similar way).

The purchased cities work on the map as immobile recon units, providing 3-4 sight everywhere near them. And they will slightly increase the size of your army.

(If you haven't figured this out yet, It's for the Rome mod)

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Razz1
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 3308
Joined: Tue Jan 18, 2011 4:49 am
Location: USA

Re: Unit purchases - how to make them automatically rename?

Post by Razz1 »

Your best bet is to used the mod mentioned.
If I remember correctly it could have different names with different classes
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Unit purchases - how to make them automatically rename?

Post by BiteNibbleChomp »

Razz1 wrote:Your best bet is to used the mod mentioned.
If I remember correctly it could have different names with different classes
Well I tried... couldn't find it in the forum anywhere though.

Can anyone post up its link please?

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Hanny
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 26
Joined: Wed Apr 22, 2015 12:11 pm

Re: Unit purchases - how to make them automatically rename?

Post by Hanny »

I believe he refers to an online unit name generator, not a mod for the game.


viewtopic.php?f=121&t=31924
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Unit purchases - how to make them automatically rename?

Post by BiteNibbleChomp »

Hanny wrote:I believe he refers to an online unit name generator, not a mod for the game.


viewtopic.php?f=121&t=31924
Dissapointing... I was hoping there would be a way for the game to automate all that.

Thanks for trying though :cry:

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Hanny
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 26
Joined: Wed Apr 22, 2015 12:11 pm

Re: Unit purchases - how to make them automatically rename?

Post by Hanny »

Just a thought, but if its a new type of unit, dont you define its name in the first place?, when adding it to the file, and then the program gives it a number.
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Unit purchases - how to make them automatically rename?

Post by BiteNibbleChomp »

That's true, but I don't want every purchased city to have the same name. And making new names for every of 660 turns is really a waste of time.

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Hanny
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 26
Joined: Wed Apr 22, 2015 12:11 pm

Re: Unit purchases - how to make them automatically rename?

Post by Hanny »

Ok, then if you cant edit it so as to provide a custom name,then instead just have each city as a seperate unit with name, and purchase them, i assume its the player not the AI doing this, so you still get the right named city in the region you want, unless you hit the max number of slots of unit types, you should be ok i think.
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Unit purchases - how to make them automatically rename?

Post by BiteNibbleChomp »

Hanny wrote:Ok, then if you cant edit it so as to provide a custom name,then instead just have each city as a seperate unit with name, and purchase them, i assume its the player not the AI doing this, so you still get the right named city in the region you want, unless you hit the max number of slots of unit types, you should be ok i think.
Yes, I figured I'd have to do that. Anyway if you want to suggest so Roman-style names I could use, please PM me the list. I have a bunch at the moment but more are always welcome!

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Hanny
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 26
Joined: Wed Apr 22, 2015 12:11 pm

Re: Unit purchases - how to make them automatically rename?

Post by Hanny »

Im sure you have your own concept for this, but if you have a selection of custom cities, you can introduce an element of styles of cities, ie Legionary Fortress (Xanten on the Rhine, defended gateway to Germania), in game terms high defence low line of sight, Provincial oppodium, (Londinium in England, established to transfer grain to the continet and destroy commerce based in the english SW to Gaul,) high in Line of sight low in defence, add in spawning of tribal rebellions in hexes that the Empire has no line of sight and you as the player then have to think what type of city you want.

http://pelagios.dme.ait.ac.at/maps/greco-roman/# should give you plenty to use.

Lastly, i would go for a manipluar and cohort based Roman Army system, changing the core units available from when control of a city in Spain ( as it was in Spain the manover element of the cohort became the principle one, despite both staying in use for period. http://www.scribd.com/doc/29391428/Armi ... -to-146-BC
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Unit purchases - how to make them automatically rename?

Post by BiteNibbleChomp »

Seeing as I don't want to overcomplicate things, I have simply made cities 'sight beacons' - high LOS and no attack power. However as the game goes on they will become more important, increasing the core size etc.

That map is pretty cool though!

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Post Reply

Return to “Panzer Corps : Scenario Design”