User avatar
murat
Lieutenant
Posts: 126
Joined: Sat Mar 03, 2007 3:18 pm
Location: ITALY - NAPLES

modding prestige

Sun Oct 09, 2011 3:13 pm

I have modded the game including Argentina and Mexico, but this two countries have 0 level of prestige. Is it possible to change this level. Which file is moddable for changing prestige level?
Thank you
Murat

User avatar
Laruku
General of the Army
Posts: 619
Joined: Wed Feb 06, 2008 10:46 pm

Sun Oct 09, 2011 4:22 pm

It is in the 1850GC.scn under the faction. Compare with other countries, like UK or France and you'll find it. I have no time now to tell you exactly where it is, but it should be quite easy to find.

User avatar
murat
Lieutenant
Posts: 126
Joined: Sat Mar 03, 2007 3:18 pm
Location: ITALY - NAPLES

Sun Oct 09, 2011 5:23 pm

I do not understand which file is moddable. Help me, please.
I want play with Argentina, but this country has 0 level of prestige.

User avatar
Laruku
General of the Army
Posts: 619
Joined: Wed Feb 06, 2008 10:46 pm

Playing as Argentina

Sun Oct 09, 2011 8:14 pm

You can follow the steps to play almost any country with "my" mod PON-PAN.
Argentina is having this faction number: 1000043. You need to modify the file:

VGN/Scens/1850GC.scn

using a text editor.

Search for: 1000043
three times until you find something like this:

{Faction}
1000043
0
10
0
0
0
0
0
0
0
0
0
0
0
0
2401
0
1 <-- change that number to 0
0
0
0
150
30

By the way, the prestige issue is more difficult than I thought. I'll continue researching how to change it. But you can play with Argentina! :)

Image

User avatar
Laruku
General of the Army
Posts: 619
Joined: Wed Feb 06, 2008 10:46 pm

Sun Oct 09, 2011 8:25 pm

Well, I know where the prestige number is, but I'm not sure how to change for Argentina, because it is not a major.

UK: 1000 prestige points

1000001|4|0|9999|PH1|PH2|PH3&20|3|456|1000001|3|0|9999|PH1|PH2|PH3&21|4|456|1000001|3|0|9999|PH1|PH2|PH3&33|10|531|1000001|2|0|9999|PH1|PH2|PH3&38|10|531|1000001|3|0|9999|PH1|PH2|PH3&27|5|548|1000001|3|0|9999|PH1|PH2|PH3&35|3|550|1000001|3|0|9999|PH1|PH2|PH3&23|5|550|1000001|2|0|9999|PH1|PH2|PH3&22|3|547|1000001|3|0|9999|PH1|PH2|PH3&26|7|540|1000001|3|0|9999|PH1|PH2|PH3&22|3|545|1000001|3|0|9999|PH1|PH2|PH3&
10|110|7|[color="Red"]1000[/color]|0|500|1|2750|6|0|15|10|11|500|16|62|23|20|24|5|25|50|26|14|27|20|28|5|29|15|30|20|2|50|3|500|4|100|5|50|20|75|21|50|22|60|34|30|35|75|41|10|43|50|33|30|36|45|37|50|44|25|42|15|45|15|49|15|48|10|

FR: 800 prestige points

1000002|3|0|9999|PH1|PH2|PH3&33|6|531|1000002|2|0|9999|PH1|PH2|PH3&20|8|450|1000002|3|0|9999|PH1|PH2|PH3&22|3|449|1000002|3|0|9999|PH1|PH2|PH3&35|4|550|1000002|3|0|9999|PH1|PH2|PH3&38|4|550|1000002|3|0|9999|PH1|PH2|PH3&40|2|550|1000002|4|0|9999|PH1|PH2|PH3&
10|105|7|[color="Red"]800[/color]|0|750|1|1000|6|0|15|8|11|510|16|30|23|60|25|20|27|10|28|20|29|10|30|20|35|10|2|20|3|90|4|100|5|50|20|75|21|75|22|30|41|20|43|35|33|20|36|30|37|10|44|30|42|10|45|10|49|10|47|12|

Can you see the pattern? Now for Argentina:

1000043|3|0|9999|PH1|PH2|PH3&41|1|548|1000043|4|0|9999|PH1|PH2|PH3&
[color="Teal"]NULL[/color]
10|100|0|[color="Red"]300[/color]|1|300|6|0|15|3|11|100|16|30|2|5|3|10|4|10|5|5|20|9|21|9|22|5|23|30|27|30|25|14|43|5|36|10|37|3|44|5|42|3|45|5|30|5|41|2|

It should be 300 prestige points, but I am not able to activate it because of the NULL... Removing it causes crash to desktop. Further investigation is required. :cool:

User avatar
murat
Lieutenant
Posts: 126
Joined: Sat Mar 03, 2007 3:18 pm
Location: ITALY - NAPLES

Mon Oct 10, 2011 9:06 am

Thank you dear Laruku for your help.
I wait the news on the risolution of problem.
It is very interesting to play with latino-american countries.
murat

sagji
Lieutenant
Posts: 148
Joined: Sat Apr 03, 2010 6:33 pm

Mon Oct 10, 2011 10:39 am

There is another way.

Go into the scripts and edit script1850grc.ini

Down near the end are sections setting the victory conditions, there isn't one for Argentina. Find one for a suitably similar nation and copy it (every thing from the selectfaction to the autoraiseon inclusive) and change the objectives to somewhere suitable and the faction to $ARG.

Any other changes you have made to the .scn should also be done here - such as removing the SetFacUnselect = 1 from any faction you want to be playable such as Argentina.

now copy the script1850grc.ini to script.ini and start PON and while it is loading press F9 the text in the top right should change to edit mode on. When it finishes loading you should be at the map. Press the save button and exit. This has rebuilt the .scn file from the .ini. Now when you start a new campaign as Argentina it should have the correct prestige.

If you want to be more advanced you could create a new scenario - instead of editing the script1850grc.ini copy it to something else, and edit it as above but also change the scenName in the first line.
Then copy it to script.ini and build the .scn as above. You will also need to go into the events folder and copy the 1850 GC.sct file to correspond to the name you gave your scenario.

User avatar
murat
Lieutenant
Posts: 126
Joined: Sat Mar 03, 2007 3:18 pm
Location: ITALY - NAPLES

Mon Oct 10, 2011 1:54 pm

Thanks very much.
I'll try this way
murat

dafredette
Conscript
Posts: 13
Joined: Thu Oct 06, 2011 12:49 pm

Tue Oct 11, 2011 1:56 pm

Laruku wrote:Well, I know where the prestige number is, but I'm not sure how to change for Argentina, because it is not a major.

UK: 1000 prestige points

1000001|4|0|9999|PH1|PH2|PH3&20|3|456|1000001|3|0|9999|PH1|PH2|PH3&21|4|456|1000001|3|0|9999|PH1|PH2|PH3&33|10|531|1000001|2|0|9999|PH1|PH2|PH3&38|10|531|1000001|3|0|9999|PH1|PH2|PH3&27|5|548|1000001|3|0|9999|PH1|PH2|PH3&35|3|550|1000001|3|0|9999|PH1|PH2|PH3&23|5|550|1000001|2|0|9999|PH1|PH2|PH3&22|3|547|1000001|3|0|9999|PH1|PH2|PH3&26|7|540|1000001|3|0|9999|PH1|PH2|PH3&22|3|545|1000001|3|0|9999|PH1|PH2|PH3&
10|110|7|[color="Red"]1000[/color]|0|500|1|2750|6|0|15|10|11|500|16|62|23|20|24|5|25|50|26|14|27|20|28|5|29|15|30|20|2|50|3|500|4|100|5|50|20|75|21|50|22|60|34|30|35|75|41|10|43|50|33|30|36|45|37|50|44|25|42|15|45|15|49|15|48|10|

FR: 800 prestige points

1000002|3|0|9999|PH1|PH2|PH3&33|6|531|1000002|2|0|9999|PH1|PH2|PH3&20|8|450|1000002|3|0|9999|PH1|PH2|PH3&22|3|449|1000002|3|0|9999|PH1|PH2|PH3&35|4|550|1000002|3|0|9999|PH1|PH2|PH3&38|4|550|1000002|3|0|9999|PH1|PH2|PH3&40|2|550|1000002|4|0|9999|PH1|PH2|PH3&
10|105|7|[color="Red"]800[/color]|0|750|1|1000|6|0|15|8|11|510|16|30|23|60|25|20|27|10|28|20|29|10|30|20|35|10|2|20|3|90|4|100|5|50|20|75|21|75|22|30|41|20|43|35|33|20|36|30|37|10|44|30|42|10|45|10|49|10|47|12|

Can you see the pattern? Now for Argentina:

1000043|3|0|9999|PH1|PH2|PH3&41|1|548|1000043|4|0|9999|PH1|PH2|PH3&
[color="Teal"]NULL[/color]
10|100|0|[color="Red"]300[/color]|1|300|6|0|15|3|11|100|16|30|2|5|3|10|4|10|5|5|20|9|21|9|22|5|23|30|27|30|25|14|43|5|36|10|37|3|44|5|42|3|45|5|30|5|41|2|

It should be 300 prestige points, but I am not able to activate it because of the NULL... Removing it causes crash to desktop. Further investigation is required. :cool:


Sorry, but your Argentina example is not correct. The line works in two number pattern. Example: |10|100| represents the National Will of 100 if it said |10|85| then the National Will would be 85. |0|300| represents Money of 300. Presetige is |7|, so prestige of |7|300| would be a prestige of 300. If the number is not present it defaults to 0.

So, other commonly used numbers are: |1| is Private Capitol your Argentine example has 300, |15| is diplomats (3 above), |11| is conscript (100 shown above), |16| is officers (30 shown above), |4| is supply (10 shown above), and |5| is ammo. NOTE: Order does not appear to matter, though usually |10| is listed first.

User avatar
Laruku
General of the Army
Posts: 619
Joined: Wed Feb 06, 2008 10:46 pm

Tue Oct 11, 2011 2:09 pm

dafredette wrote:Actually your Argentina example is not correct. The line works in two number pattern. Example: |10|100| represents the National Will of 100 if it said |10|85| then the National Will would be 85. |0|300| represents Money of 300. Presetige is |7|, so prestige of |7|300| would be a prestige of 300. If the number is not present it defaults to 0.

So, other commonly used numbers are: |1| is Private Capitol your Argentine example has 300, |15| is diplomats (3 above), |11| is conscript (100 shown above), |16| is officers (30 shown above), |4| is supply (10 shown above), and |5| is ammo. NOTE: Order does not appear to matter, though usually |10| is listed first.


Thank you very much. So changing the 0 to 7 I guess would activate the prestige. I'll check that later.

dafredette
Conscript
Posts: 13
Joined: Thu Oct 06, 2011 12:49 pm

Tue Oct 11, 2011 3:41 pm

Laruku wrote:Thank you very much. So changing the 0 to 7 I guess would activate the prestige. I'll check that later.


It would but your Money would default to 0. It is better to just edit the line like this: |10|100|0|300|1|300||6|0|7|300|15|3|11|100|16|30|....

The above line is National Will 100, Money 300, Private Capitol 300, (I forget what 6 is), 300 Pristige, 3 Diplomats, 100 Soldiers, and 30 Officers.

User avatar
murat
Lieutenant
Posts: 126
Joined: Sat Mar 03, 2007 3:18 pm
Location: ITALY - NAPLES

Tue Oct 11, 2011 10:37 pm

I played with Argentina, following the sagij instructions.
Thank you
Murat

Return to “PON Mods”

Who is online

Users browsing this forum: No registered users and 19 guests