I'm wondering how to add a custom strength multiplier to the randomly generated campaign.
I've copied the "2MPSRiseOfRome" folder into my documents and can get it to show up in the list of campaigns. However, I cannot figure out how to add a custom value for the strength multiplier. I tried creating a "CustomCampaigns" text file and adding the STRENGTHMULTIPLIER command, but it breaks the campaign. I also tried checking out the Wiki, but I wasn't able to figure anything out by using that.
I want to add a strength multiplier of 300 to a randomly generated campaign to play through because I like having larger mancount battles. Does anyone have any idea/advice on how to go about doing this?
Custom Strength Multiplier for Generic Campaigns
-
- Private First Class - Wehrmacht Inf
- Posts: 7
- Joined: Thu Jan 04, 2018 4:53 am
-
- Field of Glory 2
- Posts: 28284
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Custom Strength Multiplier for Generic Campaigns
1) Copy the file MultipartSkirmishTools.BSF from /Data/scripts in the main build to /Data/scripts in your cloned campaign
2) Remove the Read Only tag
3) Change line 2422 from SetCampaignVar("CampaignStrengthMultiplier", 100); to SetCampaignVar("CampaignStrengthMultiplier", 300);
2) Remove the Read Only tag
3) Change line 2422 from SetCampaignVar("CampaignStrengthMultiplier", 100); to SetCampaignVar("CampaignStrengthMultiplier", 300);
Richard Bodley Scott


-
- Private First Class - Wehrmacht Inf
- Posts: 7
- Joined: Thu Jan 04, 2018 4:53 am
Re: Custom Strength Multiplier for Generic Campaigns
Excellent, thank you! Everything is working!
-
- Private First Class - Wehrmacht Inf
- Posts: 7
- Joined: Thu Jan 04, 2018 4:53 am
Re: Custom Strength Multiplier for Generic Campaigns
Another question in a similar vein:
How do I modify the Strength Multiplier for Custom Battles?
I have a module I made in the editor and is able to be selected as a module on the custom battle screen, but I can't seem to figure out how to apply a strength modifier to it.
How do I modify the Strength Multiplier for Custom Battles?
I have a module I made in the editor and is able to be selected as a module on the custom battle screen, but I can't seem to figure out how to apply a strength modifier to it.
-
- Field of Glory 2
- Posts: 28284
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Custom Strength Multiplier for Generic Campaigns
If I recall correctly:IICptMillerII wrote: ↑Mon Sep 03, 2018 8:01 am Another question in a similar vein:
How do I modify the Strength Multiplier for Custom Battles?
I have a module I made in the editor and is able to be selected as a module on the custom battle screen, but I can't seem to figure out how to apply a strength modifier to it.
1) Copy the file Slith_RandomMap2.BSF from /Data/Battle/Scripts in the main build to /Data/scripts in your cloned campaign
2) Remove the Read Only tag
3) Change line 355 from SetUniversalVar("StrengthMultiplier", 100); to SetUniversalVar("StrengthMultiplier", 300); (or whatever)
Richard Bodley Scott


-
- Private First Class - Wehrmacht Inf
- Posts: 7
- Joined: Thu Jan 04, 2018 4:53 am
Re: Custom Strength Multiplier for Generic Campaigns
That did it, thanks!
Another quick question, is it possible to have a custom name for the players commander in chief in custom battles? If so, how?
Another quick question, is it possible to have a custom name for the players commander in chief in custom battles? If so, how?
-
- Field of Glory 2
- Posts: 28284
- Joined: Sun Dec 04, 2005 6:25 pm
Re: Custom Strength Multiplier for Generic Campaigns
NoIICptMillerII wrote: ↑Mon Sep 03, 2018 10:19 amAnother quick question, is it possible to have a custom name for the players commander in chief in custom battles?
Richard Bodley Scott


-
- Private First Class - Wehrmacht Inf
- Posts: 7
- Joined: Thu Jan 04, 2018 4:53 am
Re: Custom Strength Multiplier for Generic Campaigns
Ah ok. Thanks again for all your help, and for the game!