.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT > Campaigns, Scenarios & Maps
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old January 23rd, 2017, 05:32 AM
shahadi's Avatar

shahadi shahadi is offline
Captain
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 878
Thanks: 584
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Confused Scenario Files

Admittedly, I feel I should know the answer already, but I'm going to let it fly here: what is the purpose of the .dat and the .cmt scenario files. Further, what data is contained in the two files.

Additionally, what data is contained in the campaign .dat files?

=====
Reply With Quote
  #2  
Old January 23rd, 2017, 12:20 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: Scenario Files

The dat and CMT go together to make a save game or scenario etc. The CMT has the save game name in it, and as its a small file it is easier to iterate through for the save game/scenario names on user listings on the selection buttons. Its not a user-editable text file, attempts to manually edit the save file name can mess things up.

User campaign dat files hold scenarios, victory conditions, branch tables etc.

End users do not need to know the internal file details. use the supplied editors to do any editing required, or re-save a save game with a different name etc.

NB - for save games, if you do NOT specify a name, the CMT remains in a "blank" state - the game then saves the game with progressive turn number and the opponents shortened names if you saved it to a blank slot originally. The second you add a character - e.g. inadvertently hitting the keyboard - then it has a "proper" name and the incrementing will cease and the name will be frozen. To fix that, save a non-secure PBEM or other save into a new blank save slot and continue. Secure PBEM must use the same save slot.

cheers
Andy
Reply With Quote
The Following 3 Users Say Thank You to Mobhack For This Useful Post:
  #3  
Old February 21st, 2017, 11:48 AM
shahadi's Avatar

shahadi shahadi is offline
Captain
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 878
Thanks: 584
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Post Re: Scenario Files

Quote:
Originally Posted by Mobhack View Post
The dat and CMT go together to make a save game or scenario etc. The CMT has the save game name in it, and as its a small file it is easier to iterate through for the save game/scenario names on user listings on the selection buttons. Its not a user-editable text file, attempts to manually edit the save file name can mess things up.

User campaign dat files hold scenarios, victory conditions, branch tables etc.

End users do not need to know the internal file details. use the supplied editors to do any editing required, or re-save a save game with a different name etc.

NB - for save games, if you do NOT specify a name, the CMT remains in a "blank" state - the game then saves the game with progressive turn number and the opponents shortened names if you saved it to a blank slot originally. The second you add a character - e.g. inadvertently hitting the keyboard - then it has a "proper" name and the incrementing will cease and the name will be frozen. To fix that, save a non-secure PBEM or other save into a new blank save slot and continue. Secure PBEM must use the same save slot.

cheers
Andy
What I have been trying to do is make a campaign that uses the results of the previous battle, the map, and force disposition and location. Hmm...something akin to dynamic campaigns as the action follows from one scenario to another.

=====
Reply With Quote
  #4  
Old February 21st, 2017, 12:23 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: Scenario Files

The results you can use - since a campaign has branches for decisive victory through decisive loss. You can then do different things along each potential branch, such as issue less repair points etc.

The map you can re-use, but not any damage to it, nor any wrecked junk from previous battles. Nor can units be "left in the same place" as a previous battle. Each scenario stands on its own, only affected by the previous scenario's victory level. Scenarios are really meant to be separate battles, campaigns are not meant for round 2 of the fight at the OK Crossroads, round 3 2 hours later etc. (Everyone gets refuelled and rearmed, if they are in good shape for example, and if you use the same map all battlefield debris has been swept up, thus inferring a few days at least between scenarios).
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post:
  #5  
Old February 21st, 2017, 12:34 PM
shahadi's Avatar

shahadi shahadi is offline
Captain
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 878
Thanks: 584
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Post Re: Scenario Files

Quote:
Originally Posted by Mobhack View Post
The results you can use - since a campaign has branches for decisive victory through decisive loss. You can then do different things along each potential branch, such as issue less repair points etc.

The map you can re-use, but not any damage to it, nor any wrecked junk from previous battles. Nor can units be "left in the same place" as a previous battle. .
This is exactly what I've been trying to accomplish in Campaign. So, I've turned to scenario files using a utility to rename the files so as to continue the fight in another scenario.

=====
Reply With Quote
  #6  
Old February 21st, 2017, 12:59 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: Scenario Files

Well - if you are leaving "dead junk" by destroying it I presume, then remember to set the points to 0 for the "scenic wrecks" or the other side will be credited with the points value at totting up time.

I am not sure if such wrecks would add to the "force broken" status either, so you may want to renationalise them to a non playing team too. That also may help in the points totting up at end game as well.
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post:
  #7  
Old February 21st, 2017, 01:02 PM
shahadi's Avatar

shahadi shahadi is offline
Captain
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 878
Thanks: 584
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Thumbs up Re: Scenario Files

Quote:
Originally Posted by Mobhack View Post
Well - if you are leaving "dead junk" by destroying it I presume, then remember to set the points to 0 for the "scenic wrecks" or the other side will be credited with the points value at totting up time.

I am not sure if such wrecks would add to the "force broken" status either, so you may want to renationalise them to a non playing team too. That also may help in the points totting up at end game as well.
Got it. Good stuff...I had not thought of the "dead junk" points.

=====
Reply With Quote
  #8  
Old February 21st, 2017, 02:26 PM
shahadi's Avatar

shahadi shahadi is offline
Captain
 
Join Date: Nov 2010
Location: I ain't in Kansas anymore, just north of where Dorothy clicked her heels is where you'll find me.
Posts: 878
Thanks: 584
Thanked 277 Times in 191 Posts
shahadi is on a distinguished road
Confused Re: Scenario Files

I am beginning to see how this would work from one scenario to another. But to make it happen from player to player is another thing.

So, the results of a player's first scenario are carried over to the subsequent scenario is the difficult part, and the part I am trying to wrestle with. So each subsequent scenario is a product of the player's preceding play. 10 guy playing the scenario would result in ten different subsequent scenarios.

=====
Reply With Quote
  #9  
Old February 21st, 2017, 04:18 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: Scenario Files

And the only way you could do that is to have them manually send the end game files to you to manually edit for them.

So it would work in one of those collaborative sessions that some folk like to play, with a "game master" type setting up subsequent scenarios.

It wont work in any sort of automated manner since the game just isn't designed that way.
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post:
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 12:24 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.