• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

zed4444

Recruit
Aug 25, 2019
2
0
Hi
I wnted to edit the game constants JSON to make the number o pilots appearing in the hiring hall in each system random, between say 0-7 pilots per system, instead of being the same number every time.

I changed the line "pilotspersystem" : 6,

to "pilotspersystem" : 1-7

but that doesn't work.


I've tried a number of different things.

Does anybody have a solution to this?

Thanks in advance.
 
You won't be able to edit the JSONs to do this... it would require re-writing the underlying code. So unless you know how to program in C# or can convince someone who does that this is worth their time, you're out of luck.

Edit: Though to be fair, I haven't played around with those parameters at all, so while I'm pretty confident that I understand how programmers go about things, it's still possible that I'm way off. When there's a number in the file that controls that value directly, that's really all I expect it to do. If they never happened to experiment with randomly varying the number of pilots, then the code to make it random simply doesn't exist. Regardless, it might be a fairly simple change for someone who has made code changes before.
 
Last edited:
You won't be able to edit the JSONs to do this... it would require re-writing the underlying code. So unless you know how to program in C# or can convince someone who does that this is worth their time, you're out of luck.

Edit: Though to be fair, I haven't played around with those parameters at all, so while I'm pretty confident that I understand how programmers go about things, it's still possible that I'm way off. When there's a number in the file that controls that value directly, that's really all I expect it to do. If they never happened to experiment with randomly varying the number of pilots, then the code to make it random simply doesn't exist. Regardless, it might be a fairly simple change for someone who has made code changes before.
thanks anyway. I spent hours lookng on websites to find out how to do it but no luck.