Editor issue with SCWITP

Strategic Command WWII: War in the Pacific is a turn-based strategy game. It offers a comprehensive experience of the Pacific Theater, challenging you to achieve victory in one of history's greatest conflicts.
Post Reply
User avatar
Tanaka
Posts: 5118
Joined: Tue Apr 08, 2003 3:42 am
Location: USA

Editor issue with SCWITP

Post by Tanaka »

Hi guys I get this error when for example editing just the random combat odds to 0 and applying and then saving as a new scenario. I did not get this before new DLC nor do I get this in any other game in the series when I do this...
Attachments
Capture.JPG
Capture.JPG (46.13 KiB) Viewed 135 times
Image
User avatar
BillRunacre
Posts: 6586
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

Re: Editor issue with SCWITP

Post by BillRunacre »

Is this when editing one of the official campaigns, i.e. turning it into a mod?

If so, there is an issue with three scripts that appear to have become corrupted in each campaign.

I believe this only affects modding as you are doing.

Drop me an email with the campaign name and I'll send you the relevant scripts to paste over the ones there.

bill.runacre@furysoftware.com
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
User avatar
HansBolter
Posts: 7436
Joined: Thu Jul 06, 2006 12:30 pm
Location: United States

Re: Editor issue with SCWITP

Post by HansBolter »

I'll throw in another editor question.

How do I edit and or add resource values to a hex?

I can add ports and oil fields but I can't figure out how to assign a resource value to the them.
Hans

User avatar
CaesarAug
Posts: 453
Joined: Tue Jun 23, 2015 4:54 am

Re: Editor issue with SCWITP

Post by CaesarAug »

HansBolter wrote: Tue Jul 15, 2025 11:01 am I'll throw in another editor question.

How do I edit and or add resource values to a hex?

I can add ports and oil fields but I can't figure out how to assign a resource value to the them.
Resource values are automatically added once you save the adjustments and the scripts updated correctly.

By the way, I have reported the new 1.03.04 and DLC default scenario script issues.
User avatar
CaesarAug
Posts: 453
Joined: Tue Jun 23, 2015 4:54 am

Re: Editor issue with SCWITP

Post by CaesarAug »

BillRunacre wrote: Tue Jul 15, 2025 8:14 am Is this when editing one of the official campaigns, i.e. turning it into a mod?

If so, there is an issue with three scripts that appear to have become corrupted in each campaign.

I believe this only affects modding as you are doing.

Drop me an email with the campaign name and I'll send you the relevant scripts to paste over the ones there.

bill.runacre@furysoftware.com
With the latest 1.03.04 patch, the editor has an issue when exporting data values: the screen where you select which data to export is either sluggish or it won’t appear at all until you close the editor.

In this latter case, the lower right-hand corner of the select data screen eventually shows up in the upper left-hand corner of the computer screen, and the select all data button is at least visible in order to save the export.

But this has never happened before so it’s clearly not working as designed.
User avatar
HansBolter
Posts: 7436
Joined: Thu Jul 06, 2006 12:30 pm
Location: United States

Re: Editor issue with SCWITP

Post by HansBolter »

So what determines the value assigned to a resource?

Many existing ones are 5s, many are 8s, many are 10s and a few are 12s.

How can I know what value will be assigned to the resource I add to a hex?
Hans

User avatar
CaesarAug
Posts: 453
Joined: Tue Jun 23, 2015 4:54 am

Re: Editor issue with SCWITP

Post by CaesarAug »

Those values of 5, 8, 10, 12, correspond to predetermined game-default values, based on Major or Minor nations, and the resource type, i.e., capital, city, town, settlement, fortress type, major or minor port, and/or if a given resource is designated a Primary or Secondary Supply Centre, etc. The economic values per strength point can be modded in the game editor under Campaign/Edit Country Data/Edit Resource Data.

The details are the game manual wherever it discusses Supply.
User avatar
HansBolter
Posts: 7436
Joined: Thu Jul 06, 2006 12:30 pm
Location: United States

Re: Editor issue with SCWITP

Post by HansBolter »

Thank you.

Does that mean that after values are automatically assigned to any new resources I add, that I can then edit those values?
Hans

User avatar
Tanaka
Posts: 5118
Joined: Tue Apr 08, 2003 3:42 am
Location: USA

Re: Editor issue with SCWITP

Post by Tanaka »

BillRunacre wrote: Tue Jul 15, 2025 8:14 am Is this when editing one of the official campaigns, i.e. turning it into a mod?

If so, there is an issue with three scripts that appear to have become corrupted in each campaign.

I believe this only affects modding as you are doing.

Drop me an email with the campaign name and I'll send you the relevant scripts to paste over the ones there.

bill.runacre@furysoftware.com
Hi Bill yep that's it. No worries I can wait thanks!
Image
User avatar
CaesarAug
Posts: 453
Joined: Tue Jun 23, 2015 4:54 am

Re: Editor issue with SCWITP

Post by CaesarAug »

HansBolter wrote: Tue Jul 15, 2025 2:58 pm Thank you.

Does that mean that after values are automatically assigned to any new resources I add, that I can then edit those values?
Well, you can’t edit resource strength/supply points, they’re fixed at 5, 8, 10, 12, per resource type as mentioned above. For original country ownership, conquering countries will get less I believe. Best to check the manual.

As far as I know, you can only edit the economic values of resources per strength point under Edit Resource Data.

The economic values of resources are calculated for MPP collection on convoy routes and conquered territories, the latter of which are reduced because occupied territories do not produce the normal amount of MPPs for the occupier.
User avatar
Robert24
Posts: 304
Joined: Fri Jul 26, 2013 2:17 am

Re: Editor issue with SCWITP

Post by Robert24 »

Editor -> Campaign -> Country Data -> Edit Resource Values is the path.
Here you can modify the MPP value per display strength point, the max display strength, national morale value and scorched earth damage limits.
User avatar
CaesarAug
Posts: 453
Joined: Tue Jun 23, 2015 4:54 am

Re: Editor issue with SCWITP

Post by CaesarAug »

Robert24 wrote: Tue Jul 15, 2025 5:03 pm Editor -> Campaign -> Country Data -> Edit Resource Values is the path.
Here you can modify the MPP value per display strength point, the max display strength, national morale value and scorched earth damage limits.
But I think a player can only modify the maximum default strength points for units, not the maximum strength points for resources which are seemingly hard-coded to 5, 8, 10, 12.
User avatar
BillRunacre
Posts: 6586
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

Re: Editor issue with SCWITP

Post by BillRunacre »

CaesarAug wrote: Tue Jul 15, 2025 6:24 pm
Robert24 wrote: Tue Jul 15, 2025 5:03 pm Editor -> Campaign -> Country Data -> Edit Resource Values is the path.
Here you can modify the MPP value per display strength point, the max display strength, national morale value and scorched earth damage limits.
But I think a player can only modify the maximum default strength points for units, not the maximum strength points for resources which are seemingly hard-coded to 5, 8, 10, 12.
The maximum strength of resources can be modified in the area Robert specified (although the last location is Edit Resource Data rather than Edit Resource Values).

However, the underlying connection rules that denote the maximum strength of resources not connected to a Major's Capital, Primary or Industrial Center is hard coded.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
Post Reply

Return to “Strategic Command WWII: War in the Pacific”