Title: More than 10 units under player control in a single player campaign? Post by: cuthalion on June 09, 2015, 04:27:08 PM Hi,
Olly told me that Ghabry had found where maximum of deployed troops is stored for single player campaign. Offset 0x5CD99 in EngRel.exe I edited that value. It was 0Ah indeed (10 decimal). However after I increased it to 0B (11 decimal) I was still unable to deploy more than 10 troops in the campaign (game was restarted of course). Do I miss an important step? Title: Re: More than 10 units under player control in a single player campaign? Post by: Ghabry on June 09, 2015, 05:59:20 PM This value is in the code segment.
The Mod Selector only copies the data segment of engrel to prevent malicious changes to the program code. Title: Re: More than 10 units under player control in a single player campaign? Post by: cuthalion on June 09, 2015, 09:14:25 PM Aha,
so I have to edit original EngRel for that don't I? I will try it out tomorrow. P.S. It would be cool if this parameter were not global. Increasing it for my new campaign will shift the balance for all other campaigns including original one, if they are gathered in 1 pack. Ghabry could you read this one from mod or create a list of values that should be read from modded executable or from a text file (1 such file per mod)? |