Page 2 of 2

Re: BREITENFELD 1631

Posted: Wed Oct 05, 2016 6:39 am
by rbodleyscott
edward77 wrote:Richard, The two versions of the impressive community scenario Marsaglia have exactly the same units and map but a different AI. However the units are at reduced levels (eg below average) for the player and increased levels (eg superior) for the AI. Obviously this is to make the game more challenging for the player but how do you change the level of a unit?
If you play at the highest difficulty level an adjustment is made automatically. Otherwise you would need to change the "Experience" and "Elan" Attribs for each unit in the scenario script in the CustomiseUnits() function.

If you give me more detail on what you are trying to achieve I can probably give you a code fragment to insert.

Re: BREITENFELD 1631

Posted: Wed Oct 05, 2016 11:48 am
by Paul59
edward77 wrote:Richard, The two versions of the impressive community scenario Marsaglia have exactly the same units and map but a different AI. However the units are at reduced levels (eg below average) for the player and increased levels (eg superior) for the AI. Obviously this is to make the game more challenging for the player but how do you change the level of a unit?
To achieve this I changed the "Experience" and "Elan" values (These are columns AS and AT) for each unit in the Squads.csv file. The values can range from 0 to 300, but roughly correspond to this;

Raw; 50 and 50
Average; 100 and 100
Superior; 200 and 200

Each scenario has it's own unique Squads.csv file, I altered the Experience and Elan values to make the scenarios challenging for the player. So for instance in the Savoyard scenario the Savoyard Garde du Corps have Experience and Elan values of 150, in the French player scenario those values have been changed to 200, making the unit a little more potent to play against.


Regards


Paul

Re: BREITENFELD 1631

Posted: Thu Oct 06, 2016 9:54 am
by edward77
Thanks Richard & Paul for info. Sorry to bother you again. I have the squads.csv file in front of me now. I have opened it with Office.org spreadsheet. The row numbers are down the left but cannot see any column identification. All the numbers with commas seem to be in the first column. Also if I click on the spreadsheet it reverses to white print on a black background

Re: BREITENFELD 1631

Posted: Fri Oct 07, 2016 7:01 am
by rbodleyscott
edward77 wrote:Thanks Richard & Paul for info. Sorry to bother you again. I have the squads.csv file in front of me now. I have opened it with Office.org spreadsheet. The row numbers are down the left but cannot see any column identification. All the numbers with commas seem to be in the first column. Also if I click on the spreadsheet it reverses to white print on a black background
I think you need to use a spreadsheet program that will display the correct formatting. You should not be seeing any commas.

Re: BREITENFELD 1631

Posted: Sat Oct 08, 2016 6:10 pm
by edward77
Dumbo me! Did not import it! Works fine now. Thanks for help. Have created a new scenario which works ok but there is no squad.csv file. Is this possibly linked to having side 0 on the wrong side of the map?

Re: BREITENFELD 1631

Posted: Sun Oct 09, 2016 6:01 am
by rbodleyscott
edward77 wrote:Dumbo me! Did not import it! Works fine now. Thanks for help. Have created a new scenario which works ok but there is no squad.csv file. Is this possibly linked to having side 0 on the wrong side of the map?
You need to put a copy of the squads.csv file from the main build (in \Data) into your custom campaign directory. (In the main directory of your campaign, not in a \Data subdirectory). Then you can edit the copy.

There is no problem having side0 on the "wrong" side of the map, except that you won't be able to use AI_Masterplan() because it won't work. AI_Masterplan() is commented out by default in SCENARIOTEMPLATE.BSF.

Re: BREITENFELD 1631

Posted: Thu Oct 13, 2016 2:28 pm
by edward77
Richard, Thanks to your help the new scenario as mentioned above is going pretty well now apart from getting the AI reinforcement messages to appear. I have three AI Groups 0-2 each of which appear in the scenario at the correct place and time but with no message. I have checked that the messages are in the TEXT9 file.

ie IDS_AUTO_REINF_0_BP0TEXT,"The Germans have now turned around and are marching to William`s aid.",
IDS_AUTO_REINF_1_BP0TEXT,"Dutch Cavalry are coming into action on the left wing.",
IDS_AUTO_REINF_2_BP0TEXT,"HRE Cavalry reinforcements have arrived.",

I have not used the advanced method.

Re: BREITENFELD 1631

Posted: Thu Oct 13, 2016 6:19 pm
by rbodleyscott
My memory of how the default reinforcements system works is hazy because I have never used it. I used scripted reinforcements in my scenarios. Perhaps someone who does use the editor method could answer your query (e.g. Odenathus or Paul59)

It may be that the messages are only reported to the player that is receiving the reinforcements.