Game stat file location(s)

Warplan is a World War 2 simulation engine. It is a balance of realism and playability incorporating the best from 50 years of World War 2 board wargaming.

Moderator: AlvaroSousa

Post Reply
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

Game stat file location(s)

Post by scout1 »

What file or files(s) contain the
- build costs per unit
- Scenario starting values for each major power
- Unit starting values
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

C:\Users\"your user name"\Documents\My Games\WarPlan\UserSavedData
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

it might be out of date.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

Re: Game stat file location(s)

Post by scout1 »

If they are out of date (which I believe they are in some cases) that suggests you're not drawing your data from these any longer ? Or are you adjusting them within the game code it self ?

See the country example below ... only a couple of items can be identified from the production screen .....
Attachments
Country Data.JPG
Country Data.JPG (545.34 KiB) Viewed 1136 times
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

I will take a look next patch.

But I didnt write any document that listed the countries and their production.

Scripts are what swap the production values of cities in Russia.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

I didn't write that Excel sheet BTW. I don't know who did.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

Re: Game stat file location(s)

Post by scout1 »

AlvaroSousa wrote: Mon Apr 25, 2022 1:08 pm I didn't write that Excel sheet BTW. I don't know who did.
Al, the game stats listed in the Excel spreadsheet is nothing more than the Countrydata.txt file you previously pointed me too relative to game/unit stats .... I imported it directly into Excel ... Sure, production values would be sweet, but I'm having issues lining up most of the data listed in this file with those in the game displays ... Not complaining ... I'm just trying to put together a planning spreadsheet file for various items, since I apparently suck at it ... which is why I originally asked for the data file locations .... The one I showed in the forum was one that I couldn't tie out hardly any of the items which is why I asked ..... should I be able to or are these different stats on a country basis ....
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

Re: Game stat file location(s)

Post by scout1 »

scout1 wrote: Tue Apr 26, 2022 12:27 am
AlvaroSousa wrote: Mon Apr 25, 2022 1:08 pm I didn't write that Excel sheet BTW. I don't know who did.
Al, the game stats listed in the Excel spreadsheet is nothing more than the Countrydata.txt file you previously pointed me too relative to game/unit stats .... I imported it directly into Excel ... Sure, production values would be sweet, but I'm having issues lining up most of the data listed in this file with those in the game displays ... Not complaining ... I'm just trying to put together a planning spreadsheet file for various items, since I apparently suck at it ... which is why I originally asked for the data file locations .... The one I showed in the forum was one that I couldn't tie out hardly any of the items which is why I asked ..... should I be able to or are these different stats on a country basis ....
So is there ANY external file that contains the starting values for a given scenario for resources/industry/support units/etc .... by country that I can tap into ? Or are these all imbedded into the game code itself ?
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

I will see what I can do in the next patch to make it updated.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

There is no set file. All of them are data input like the countryData.txt
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

Ok... I looked at it.

You can make a new one yourself.

Data -> Save Country Data to File

Takes all the values of a scenario and saves them to the file.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

Re: Game stat file location(s)

Post by scout1 »

AlvaroSousa wrote: Mon May 23, 2022 8:57 pm Ok... I looked at it.

You can make a new one yourself.

Data -> Save Country Data to File

Takes all the values of a scenario and saves them to the file.
Great ... where do I "data" from a pull down menu to find Save Country Data ?

Sorry if it is a simple question, just not sure where to access ....
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

wp.gif
wp.gif (355.38 KiB) Viewed 1028 times
C:\Users\"your user name"\Documents\My Games\WarPlan\UserSavedData\countryData.txt
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

Re: Game stat file location(s)

Post by scout1 »

AlvaroSousa wrote: Thu May 26, 2022 4:56 pm wp.gif

C:\Users\"your user name"\Documents\My Games\WarPlan\UserSavedData\countryData.txt
this looks to be generated from the editor ?
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

Yea
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
scout1
Posts: 3110
Joined: Mon Aug 23, 2004 11:26 pm
Location: South Bend, In

Re: Game stat file location(s)

Post by scout1 »

AlvaroSousa wrote: Thu May 26, 2022 4:56 pm wp.gif

C:\Users\"your user name"\Documents\My Games\WarPlan\UserSavedData\countryData.txt
Is the editor set up with a different resolution ? When I launch it, all txt is so darn small ....
User avatar
AlvaroSousa
Posts: 12108
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Game stat file location(s)

Post by AlvaroSousa »

I'm guessing you have a 4k monitor. The editor is just a fixed resolution. I used it to make the scenarios in 2560x1440. I never put in the font options because there was too much to adjust.

You could lower your resolution just to work on it.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Post Reply

Return to “WarPlan”