Is it possible to add a third zoom level to the game (similar to the 25% zoom in the editor), and if so, how? And I don't mean just going into the strategic map either.
Reason being that in one of my new maps I want to add a HoI3-style feature where the country names come on the map to show where that country owns territory. As each letter would be no more than 1 hex big, and the map is around 100x100 hexes, Full strategic would make it too hard to read, whereas the current zoom out state would make only half of the name visible.
So, how do we add this extra zoom?
- BNC
Third Zoom level
Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design
-
BiteNibbleChomp
- Lieutenant-General - Do 217E

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

- Posts: 3231
- Joined: Mon Jul 01, 2013 6:35 am
Re: Third Zoom level
Has seriously no-one got any idea how to do this? I imagine a simple fix - like importing some code from the editor for the 25% zoom.
Someone?
- BNC
Someone?
- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Re: Third Zoom level
Yeah, sure, it is very simple:
D5 1F 44 EF 08 AF 00 00
7C 07 8B 70 0C 56 8B 30
5E C2 08 70 04 8B 52 CC
8B 44 24 08 8B 11 8B 52
However, it may not work...

D5 1F 44 EF 08 AF 00 00
7C 07 8B 70 0C 56 8B 30
5E C2 08 70 04 8B 52 CC
8B 44 24 08 8B 11 8B 52
However, it may not work...


slitherine.com/forum/viewtopic.php?f=147&t=47985
slitherine.com/forum/viewtopic.php?f=147&t=36969
-
BiteNibbleChomp
- Lieutenant-General - Do 217E

- Posts: 3231
- Joined: Mon Jul 01, 2013 6:35 am
Re: Third Zoom level
That should be it (looking at some of the files!)McGuba wrote:Yeah, sure, it is very simple:
D5 1F 44 EF 08 AF 00 00
7C 07 8B 70 0C 56 8B 30
5E C2 08 70 04 8B 52 CC
8B 44 24 08 8B 11 8B 52
However, it may not work...
![]()
However, where is it meant to go?
- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
Re: Third Zoom level
Sorry, I did not mean to mean to make fun of it, I thought it would be obvious that it was meant to be a joke. It is just a random set of hexadecimal numbers. If you take a look at any program you will see such numerical machine code. This is the language of computers. Programs are usally written in higher level languages or assembly, also called source code, which are then translated (compiled) to machine code.
So even if one has the programming knowledge it is nearly impossible to find the relevant data in the machine code and 'import some code from the editor for the 25% zoom', and even if one would find the needed strings, there would be the obvious question 'ok, but where is it meant to go?' It would be like breaking the Enigma code and sending back a reply message to Hermann. Or even harder.
As far as I am concerned, to add such a feature to the game one would need both some programming knowledge AND the source code of PzC.
So even if one has the programming knowledge it is nearly impossible to find the relevant data in the machine code and 'import some code from the editor for the 25% zoom', and even if one would find the needed strings, there would be the obvious question 'ok, but where is it meant to go?' It would be like breaking the Enigma code and sending back a reply message to Hermann. Or even harder.
As far as I am concerned, to add such a feature to the game one would need both some programming knowledge AND the source code of PzC.


slitherine.com/forum/viewtopic.php?f=147&t=47985
slitherine.com/forum/viewtopic.php?f=147&t=36969
-
BiteNibbleChomp
- Lieutenant-General - Do 217E

- Posts: 3231
- Joined: Mon Jul 01, 2013 6:35 am
Re: Third Zoom level
Well, you got me with the jokeMcGuba wrote:Sorry, I did not mean to mean to make fun of it, I thought it would be obvious that it was meant to be a joke. It is just a random set of hexadecimal numbers. If you take a look at any program you will see such numerical machine code. This is the language of computers. Programs are usally written in higher level languages or assembly, also called source code, which are then translated (compiled) to machine code.
So even if one has the programming knowledge it is nearly impossible to find the relevant data in the machine code and 'import some code from the editor for the 25% zoom', and even if one would find the needed strings, there would be the obvious question 'ok, but where is it meant to go?' It would be like breaking the Enigma code and sending back a reply message to Hermann. Or even harder.
As far as I am concerned, to add such a feature to the game one would need both some programming knowledge AND the source code of PzC.
Now, for your reply:
00101010 01001010 10010100
10100110 10101100 10101001
00101010 10010100 10100101
Anyway, I'll see if I can make the HoI3 feature work with the 50% zoom then.
- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
