REGIONINCL MAX?

Place bug reports / questions here.

Moderators: Balthagor, Moderators

Post Reply
mrgenie
Brigadier Gen.
Posts: 923
Joined: Jul 08 2008

REGIONINCL MAX?

Post by mrgenie »

As I'm trying the new tools...

My son and I want to play a "extremely shattered" scenario.

All countries split up into regions..

But as I move along, I noticed all of the sudden regions are NOT visible/playable anymore.

So is there a limit of 254 lines in the REGIONINCL?

After that everything skipped?

Basically a 8bit int for the regions to be included.

Can you ask the programmer to change this to 16bit and recompile?

Thanks
[UI-MOD] All-In-One viewtopic.php?f=91&t=31906
mrgenie
Brigadier Gen.
Posts: 923
Joined: Jul 08 2008

Re: REGIONINCL MAX?

Post by mrgenie »

OK, so did some more..

223 regions is the MAX No matter what I change in the REGIONINCL .. I can only make 223 to work.

If I disable 5, it'll take the next 5 to get to 223 max again.

So must be hard coded in the game
[UI-MOD] All-In-One viewtopic.php?f=91&t=31906
User avatar
Balthagor
Supreme Ruler
Posts: 22082
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: REGIONINCL MAX?

Post by Balthagor »

The limit is 255 regions which includes colonies and "kept loyalty".

Changing this would be a massive amount of work, not something I'd be willing to put on our wishlist at this stage of development.
Chris Latour
BattleGoat Studios
chris@battlegoat.com
mrgenie
Brigadier Gen.
Posts: 923
Joined: Jul 08 2008

Re: REGIONINCL MAX?

Post by mrgenie »

Well if it's really a massive amount of work I agree it's not that important.

But an engine that can handle 8bit usually can handle 16bit as well.

And if by massive you mean, you have to go over the code to check on every single function/method/loop for a max_size usually
that's not programmed static but the max_size is defined once. But even if you have to change it on 500+ places throughout the code,
it's just a "search through all documents" for that variable and not something that should take longer than an hour.

At least I've changed many times in code the definition of a variable and worked through the whole code changing it every
single place in code that variable is being used.

To make sure I didn't miss out one I simply renamed the variable a little bit so the compiler would error on my if I missed one and
tell me I missed one.

Shouldn't be that "massive" I think.
[UI-MOD] All-In-One viewtopic.php?f=91&t=31906
mrgenie
Brigadier Gen.
Posts: 923
Joined: Jul 08 2008

Re: REGIONINCL MAX?

Post by mrgenie »

Balthagor wrote: Jul 12 2019 "kept loyalty"
in the cvp I only see
"loyalty"
and
"parentloyalty"

So what's the "kept loyalty" ?
[UI-MOD] All-In-One viewtopic.php?f=91&t=31906
User avatar
Balthagor
Supreme Ruler
Posts: 22082
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: REGIONINCL MAX?

Post by Balthagor »

I think it's referred to as Keep Region. Makes the territory of a merged region stay as loyal to the original region so it can still spawn partisans (See Kurdistan, Scotland or Quebec).
Chris Latour
BattleGoat Studios
chris@battlegoat.com
Post Reply

Return to “Issues and Support”