Matrix Games Forums

The fight for Armageddon begins! The Matrix Holiday sales are starting today! Warhammer - Weapons of WarFlashpoint Campaigns: Red Storm gets huge update and a Steam release!Battle Academy 2 opens up a new front!Flashpoint Campaigns Featured on weekly Streaming SessionFrontline: The Longest Day - New Screenshots!Deal of the Week: Hannibal Rome and CarthageFlashpoint Campaigns: Red Storm gets Players Edition!To End All Wars gets its first major patch!
Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

New Interface button

View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Decisive Campaigns: Case Blue >> Mods and Scenarios >> New Interface button Page: [1]
Message << Older Topic   Newer Topic >>
New Interface button - 9/12/2012 12:57:31 AM   

Posts: 878
Joined: 6/24/2008
Status: offline
Adding a new button to the front page of the game:

Open the file defaultmod.txt in the main folder, it will look like this:

Case Blue


1,7,-485,540,LOAD SAVED GAME,4,
1,7,-485,500,LOAD SCENARIO,3,dccbscenarios\
1,7,-227,610,CASE BLUE (FULL) ,1,dccbscenarios\campaign2.dc2
1,7,-227,500,CASE BLUE (SHORT),1,dccbscenarios\campaign2s.dc2
1,7,-227,650,URANUS (FULL),1,dccbscenarios\campaign3.dc2
1,7,-227,690,URANUS (SHORT),1,dccbscenarios\campaign3s.dc2
1,7,25,500,2ND KHARKOV,1,dccbscenarios\2ndkharkov.dc2
1,7,25,640,1ST PANZER ARMY,1,dccbscenarios\1stpanzer1.dc2
1,7,-485,580,IMPORT ZIP,15,
1,18,25,460,SMALL SCENARIOS,1,

Notice the number of items below the 21 is well, 21. Each one of those items is a button on the first screen when you load up the game, with information on what file to run if you click on it.

In my PBEM game, my friend Steve sends me the same file name everytime, which I dutifully dump in my savedgames folder. SO in order to run that file with the click of a button, I increment the 21 to a 22 (since I will now have 22 items) and add this line after the QUIT button:


This adds a button called STEVE which, when clicked, will load the saved game Steve@Joe.dc2. (not an email address )

For those curious, the 1, 7, represents the button...the 1, 18 is a label.

The -485 is the x coordinate of the button, and the 660 is the y coordinate. I just followed the buttons behind it by adding 40 to the y coordinate.

If you want to add a Mod, like Redmarkus' mod, you can do this:

1,7,-227,730,REDMARKUS,1,dccbscenarios\RedmarkusMod.dc2 which would put it after the URANUS (SHORT) button.

Just remember to change the 21 to the actual number of items in the list below it.

< Message edited by LiquidSky -- 9/12/2012 12:58:36 AM >


What's the sense of sending $2 million missiles to hit a $10 tent that's empty?

— President George W. Bush, Oval Office meeting, 13 September 2001.
Post #: 1
RE: New Interface button - 9/12/2012 4:55:15 PM   

Posts: 4122
Joined: 12/1/2007
From: 0.00
Status: offline
Wow - very good find!

Do you mean 'add a Mod', or 'add a Scenario' in your third line from the bottom?


Cyberpower tower PC
Intel Core i7-3930k CPU, 3.20GHz processor
2xNVIDIA GeForce GTX 680 graphics cards, each with 4095 MB
Realtek sound card
Dell 3007WFP (running at 2560x1600) 32 bit monitor
Windows 7 Professional 64-bit O

(in reply to LiquidSky)
Post #: 2
RE: New Interface button - 9/12/2012 8:52:34 PM   

Posts: 878
Joined: 6/24/2008
Status: offline

Bassically where REDMARKUS is the name of the button.
Its location is at -277,730 which puts it just under the URANUS(SHORT) button.
dccbscenarios\RedmarkusMod.dc2 is the folder\filename of the scenario you want the button to run. I invented the name, as I dont have yours (or Ritter's) mod yet.

If it is in a different folder (within the CaseBlue main folder) you would use it instead.... folder\name.dc2

You still have to put the file in the correct location..this is just a means of running it from the entry screen.


Oh, I see...yes, if the file is in the mods folder then you would use mods\NameOfModFile.dc2 instead of dccbscenarios....

if it is in a subfolder of could use mods\subfolder\NameOfModFile.dc2

and so on.

< Message edited by LiquidSky -- 9/12/2012 8:55:37 PM >


What's the sense of sending $2 million missiles to hit a $10 tent that's empty?

— President George W. Bush, Oval Office meeting, 13 September 2001.

(in reply to redmarkus4)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Decisive Campaigns: Case Blue >> Mods and Scenarios >> New Interface button Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI