End of Game "Scoring" ??

Let's talk about Gettysburg! Put your questions and comments here.
JohnVW
Reactions:
Posts: 316
Joined: Tue Nov 12, 2013 2:48 am

End of Game "Scoring" ??

Post by JohnVW »

quick question: how does the scoring work, and can it be edited?

asking because i've played several games recently (one just this morning), and the final scoring just doesn't make sense...(this was a custom scenario game, so if that scoring needs to be adjusted just let me know how):

- Union suffers a "Defeat", although the 3 US Corps scores were 4771, 5432, 2665 and the 3 CSA Corps scores were -2824, -3493 and -4453 ....total casualties US 11,650 and CSA 19,317 (CSA started with about 12,000+ more troops)
- how can that be a US defeat? (smile)
User avatar
RebBugler
Reactions:
Posts: 4252
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: End of Game "Scoring" ??

Post by RebBugler »

Our pre-release MP testing never showed a backwards scoring display like you report here. All I can think of is that your custom scenario somehow altered the correct ending displays. Furthermore, I don't think much can be done modding wise to change victory reports in MP play, but I could be wrong.

Apologies for the long response time, I was waiting for someone that had better answers than I. :unsure:
Last edited by RebBugler on Thu May 29, 2014 7:58 pm, edited 1 time in total.
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
JohnVW
Reactions:
Posts: 316
Joined: Tue Nov 12, 2013 2:48 am

Re: End of Game "Scoring" ??

Post by JohnVW »

- what I used to create the scenario was the scenario editor posted here (and love it)
- there isn't any option in that program for "victory conditions", or "victory points"...so I just assumed the game's scoring format would still be in place
- attached is the file created in that program (called "screen text") that seems to at least ref "victory conditions" (one of these files is created for each scenario)
- what file in the actual SOW games generates the final scoring, and how's that computed?

thanks!
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

User avatar
RebBugler
Reactions:
Posts: 4252
Joined: Sun Aug 03, 2008 12:51 am
Location: Ouachita Mountains, Arkansas

Re: End of Game "Scoring" ??

Post by RebBugler »

Pretty sure this facet of the game is hard-coded. I'll have to leave these and any other questions regarding this area to someone better advised.
Bugles & Flags Gettysburg - Toolbar, Flags, Scenarios, and More...
Jim
Reactions:
Posts: 1082
Joined: Tue Nov 27, 2007 8:53 am

Re: End of Game "Scoring" ??

Post by Jim »

Victory conditions are set in the file: scenario.ini

It has been a while but I think that for MP, this file is in /work/scenarios. Look for this file with the time and date to match your game. If you built an MP scenario from an in game scenario, it might have picked up the victory conditions along the way. Let us know if you find the right file.

-Jim
"My God, if we've not got a cool brain and a big one too, to manage this affair, the nation is ruined forever." Unknown private, 14th Vermont, 2 July 1863
JohnVW
Reactions:
Posts: 316
Joined: Tue Nov 12, 2013 2:48 am

Re: End of Game "Scoring" ??

Post by JohnVW »

thanks jim...i'd found that before, but wasn't sure how to "edit it" (just for particular scenario)...here's the file from one I created today...(see below)...can you explain what I need to change to adjust the victory conditions (maj defeat, defeat, draw, victory, maj victory)?

then I can adjust the file based on my OBJ pts, etc. !!
User avatar
Little Powell
Reactions:
Posts: 4884
Joined: Thu Sep 18, 2008 10:25 am

Re: End of Game "Scoring" ??

Post by Little Powell »

In MP, the victory conditions are hard coded (no scores are defined in the scenario.ini like they are in single player). The game determines if it was a Major Victory, Minor, Defeat, etc. based on the score. The side with the highest score always wins. All you really set in the scenario.ini for MP are the screens and articles that are displayed when the battle ends, and a few other things like the end time. See the sample scenario.ini below for example (it is from one of the Brandy Station MP scenarios)

[Init]
type=mp
map=Brandy
Weather=0
StrategicAI=1
StartTime=10:30:00

[Rank]
CMDLVL1=0
CMDLVL2=0
CMDLVL3=0
CMDLVL4=0
CMDLVL5=0
CMDLVL6=0

[EndPlayerDie]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_TRAGEDY_
article=EndKilled

[EndMajWin]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_MAJOR_VICTORY_
article=EndMajorSuccess

[EndWin]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_VICTORY_
article=EndMinorSuccess

[EndTie]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_AN_INCONCLUSIVE_FIGHT_
article=EndDraw

[EndFail]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_DEFEAT_
article=EndMinorFail

[EndMajFail]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_MAJOR_DEFEAT_
article=EndMajorFail

[EndRouted]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_ROUTED_
article=EndMajorFail

[EndWonVP]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_WON_OBJECTIVES_
article=EndMajorSuccess

[EndLostVP]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_LOST_OBJECTIVES_
article=EndMajorFail

[EndRoutedEnemy]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_ENEMY_ROUTED_
article=EndMajorSuccess

[EndGiveUp]
screen=EndVar
headpict1=END_Header_Brandy.dds
headpict2=END_Body_Brandy.dds
headline=IDS_SHAME_
article=EndMajorFail
Last edited by Little Powell on Fri May 30, 2014 3:38 pm, edited 1 time in total.
JohnVW
Reactions:
Posts: 316
Joined: Tue Nov 12, 2013 2:48 am

Re: End of Game "Scoring" ??

Post by JohnVW »

- so, in an MP game disregard the "newspaper text report" and just go by the actual scores?

- when you say "MP", I assume you don't include a MP custom scenario? because many times we've played custom scenarios and the higher score can easily "lose" (defeat, major defeat)...plus, the program doesn't seem to factor in the points you get for OBJ's; the points get added to the commander, etc...but don't seem to factor into the final victory results...
JohnVW
Reactions:
Posts: 316
Joined: Tue Nov 12, 2013 2:48 am

Re: End of Game "Scoring" ??

Post by JohnVW »

this makes sense (that the scenario editor) messes with the end game scoring somehow...wonder if I just deleted the .ini file it creates if the game would then default back to the orig/correct scoring format?
JohnVW
Reactions:
Posts: 316
Joined: Tue Nov 12, 2013 2:48 am

Re: End of Game "Scoring" ??

Post by JohnVW »

here's the .ini file from a scenario I created yesterday...and i'm thinking that somehow the sections like

"headline=IDS_MAJOR_VICTORY_
article=EndMajorSuccess
grade=24000"

must mean something? AND what do the "lvl5grade=-10000...failgrade=-40000...lvl4grade=-15000" lines mean? are they the scoring parameters?


(my .ini file):

[endwonvp]
headline=IDS_WON_OBJECTIVES_
screen=End
article=EndMajorSuccess

[rank]

[endplayerdie]
screen=End
headline=IDS_TRAGEDY_
article=EndKilled

[endlostvp]
headline=IDS_LOST_OBJECTIVES_
article=EndMajorFail
screen=End

[endrouted]
article=EndMajorFail
headline=IDS_ROUTED_
screen=End

[init]
lvl1grade=-40000
carryover=0
lvl6grade=-5000
lvl3grade=-20000
map=PCL1
strategicai=1
lvl2grade=-30000
weather=0
starttime=08:00:00
lvl5grade=-10000
failgrade=-40000
lvl4grade=-15000
type=bp

[endmajfail]
grade=-20000
article=EndMajorFail
headline=IDS_MAJOR_DEFEAT_
screen=End

[endtie]
headline=IDS_AN_INCONCLUSIVE_FIGHT_
article=EndDraw
screen=End
grade=10000

[endfail]
screen=End
grade=-10000
headline=IDS_DEFEAT_
article=EndMinorFail

[endgiveup]
article=EndMajorFail
screen=End
headline=IDS_SHAME_

[endwin]
grade=20000
screen=End
headline=IDS_VICTORY_
article=EndMinorSuccess

[endmajwin]
headline=IDS_MAJOR_VICTORY_
article=EndMajorSuccess
grade=24000
screen=End

[endroutedenemy]
article=EndMajorSuccess
headline=IDS_CONFEDERATES_ROUTED_
screen=End
Last edited by JohnVW on Fri May 30, 2014 3:57 pm, edited 1 time in total.
Post Reply