Third Zoom level

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

Third Zoom level

Post by BiteNibbleChomp »

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
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: Third Zoom level

Post by BiteNibbleChomp »

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
Ryan O'Shea - Developer - Strategic Command American Civil War
McGuba
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1572
Joined: Thu Mar 15, 2012 7:34 pm

Re: Third Zoom level

Post by McGuba »

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...
:wink:
ImageImage
slitherine.com/forum/viewtopic.php?f=147&t=47985
slitherine.com/forum/viewtopic.php?f=147&t=36969
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Third Zoom level

Post by BiteNibbleChomp »

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...
:wink:
That should be it (looking at some of the files!)

However, where is it meant to go? :(

- BNC
Ryan O'Shea - Developer - Strategic Command American Civil War
McGuba
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1572
Joined: Thu Mar 15, 2012 7:34 pm

Re: Third Zoom level

Post by McGuba »

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.
ImageImage
slitherine.com/forum/viewtopic.php?f=147&t=47985
slitherine.com/forum/viewtopic.php?f=147&t=36969
BiteNibbleChomp
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3231
Joined: Mon Jul 01, 2013 6:35 am

Re: Third Zoom level

Post by BiteNibbleChomp »

McGuba 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.
Well, you got me with the joke :lol:

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
Post Reply

Return to “Panzer Corps : Scenario Design”