Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Max map size?

 
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] >> Close Combat Series >> Close Combat: Wacht am Rhein >> Mods and Scenarios >> Max map size? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Max map size? - 11/22/2008 5:11:38 AM   
KWP

 

Posts: 132
Joined: 1/13/2001
Status: offline
The map text files have a listing for map width and height listed in number of tiles . What is the maximum height and width in pixels that the game will handle and how many pixels are in a tile? Is each tile 120 pixels as CC3,4 and 5?

< Message edited by KWP -- 11/22/2008 5:13:15 AM >
Post #: 1
RE: Max map size? - 11/22/2008 8:31:35 PM   
Andrew Williams


Posts: 6116
Joined: 1/8/2001
From: Australia
Status: offline
quote:

Is each tile 120 pixels as CC3,4 and 5?

Yes
quote:

What is the maximum height and width in pixels

nominally 3600 x 3600 but suggestions that 3840 x 3840 works

so 30 tiles maybe 32

Stock CC5 maps work in WaR, should be no recoding needed.

Most mods maps will work , may need recoding if they used a custom elements file.

CCMT maps work in WaR if reduced to the maximum size.

CC3 and 4 Maps work if run the rough the various "converters" available.

(in reply to KWP)
Post #: 2
RE: Max map size? - 11/22/2008 10:13:53 PM   
KWP

 

Posts: 132
Joined: 1/13/2001
Status: offline
I checked the tile sizes and it appears that the number of tiles listed in the Map.txt file is the number of elevation tiles (40x40 pixels).

The Andler.bgm is 2040x1680 (measured in pixels)

From the Andler.txt file:
10
Andler
51 X Max
42 Y Max

Using the following formulae:

Tiles (value of X Max) X 40 (Elevation Tile width in pixels) = .bgm width in pixels
51x40=2040 (the width of the Andler.bgm in pixels)

Tiles (value of Y Max) X 40 (Elevation Tile height in pixels) = .bgm height in pixels
42x40=1680 (the height of the Andler.bgm in pixels)

A few more questions:

Are the placements of the victory locations based on deployment tiles(120x120) or elevation tiles(40x40)?

What is the maximum length (in characters) of each side's breifing text contained in the .btd file?

Is the elements file used for coding the maps the same as the elements file from CCMT?

< Message edited by KWP -- 11/22/2008 10:17:02 PM >

(in reply to KWP)
Post #: 3
RE: Max map size? - 11/22/2008 10:34:25 PM   
squadleader_id


Posts: 302
Joined: 10/29/2006
Status: offline

quote:

ORIGINAL: KWP

A few more questions:

Are the placements of the victory locations based on deployment tiles(120x120) or elevation tiles(40x40)?



Just some additional info about VL editing.
FYI, you can still use the old tool BTDEdit for VL placements.
The BTDEdit generated BTDs are not compatible with CCWAR though...so you will need to convert the BTDs to CCWAR format using the latest version of RtBTool (thanks, Mafi!). Beats calculating the X,Y locations manually!


_____________________________


(in reply to KWP)
Post #: 4
RE: Max map size? - 11/22/2008 10:36:59 PM   
Andrew Williams


Posts: 6116
Joined: 1/8/2001
From: Australia
Status: offline
quote:

Are the placements of the victory locations based on deployment tiles(120x120) or elevation tiles(40x40)?


40x40

You can see that by opening a btd in exel or othe r spreadsheet program.

quote:

What is the maximum length (in characters) of each side's breifing text contained in the .btd file?


Not sure, but have had issues with some mods... it's slated for investigation.

quote:

Is the elements file used for coding the maps the same as the elements file from CCMT?


No

Is is expanded from MT though

The first 323 are the same
The 1st 158 are the same as CC5

That's why CC5 and CCMT maps will work without alteration in WaR


A WaR map won't work in CC5 or CCMT

But Will work in CC5 if you use WaR elements file,

And will work in MT if yu

1. Make it square
2. Use WaR elements file

So it is "Backwards" compatible but can be re-jigged fairly easily to be the reverse.

I'm playing 5 WaR maps in CCMT WWII mod "Peipers Odyssey"

< Message edited by Andrew Williams -- 11/22/2008 10:41:26 PM >

(in reply to KWP)
Post #: 5
RE: Max map size? - 11/22/2008 10:37:45 PM   
Andrew Williams


Posts: 6116
Joined: 1/8/2001
From: Australia
Status: offline
Thanks SQUID

That's handy to know

(in reply to Andrew Williams)
Post #: 6
RE: Max map size? - 11/22/2008 11:28:04 PM   
Nomada_Firefox

 

Posts: 1327
Joined: 11/12/2001
From: Spain
Status: offline
quote:

A WaR map won't work in CC5 or CCMT

But Will work in CC5 if you use WaR elements file,

And if you change the elements file and terrain files, what happens?

(in reply to Andrew Williams)
Post #: 7
RE: Max map size? - 11/23/2008 12:41:46 AM   
squadleader_id


Posts: 302
Joined: 10/29/2006
Status: offline
AFAIK, as long as you convert CC5 elements.adb to CCWAR format elements.txt...the CC5 map will work in CCWAR without recoding.
As for terrain files...I'm using a CC5 custom terrain file (copied directly from my CC5 mod) without problems...is the WAR terrain file (maybe more slots?) different to CC5, BTW?


< Message edited by squadleader_id -- 11/23/2008 12:44:28 AM >

(in reply to Nomada_Firefox)
Post #: 8
RE: Max map size? - 11/23/2008 1:08:58 AM   
KWP

 

Posts: 132
Joined: 1/13/2001
Status: offline
The VL "to South Eifel" contained in the Andler.btd has an X,Y value of 16,6. This victory level is a short distance from the right edge of the map.

X=16x120=1920
Y=6x120=720

It appears that the co-ordinates for this VL are 1920,720

The Andler.bgm is 2040x1680

2040-120=1920

Do the calculated co-ordinates correspond with the placement of the top left corner of the VL graphic?

Does the tile numbering scheme begin with 0? (ie tile 0,0 being the top left 120x120 area of the .bgm)

Is there a WaRelements.txt availbale for DL somewhere that will work in 5CC?

< Message edited by KWP -- 11/23/2008 1:10:34 AM >

(in reply to Andrew Williams)
Post #: 9
RE: Max map size? - 11/23/2008 2:27:07 AM   
Andrew Williams


Posts: 6116
Joined: 1/8/2001
From: Australia
Status: offline
start at Zero, yes

Attached 5cc and 3c Elements

Attachment (1)

(in reply to KWP)
Post #: 10
RE: Max map size? - 11/23/2008 4:42:51 AM   
KWP

 

Posts: 132
Joined: 1/13/2001
Status: offline
Thank you!

Next question:

In the campaign.txt file there is a line that allows you to set the 'home' direction (friendly rear that way. 0 = N, 1 = NE, 2 = E, 3 = SE, 4 = S, 5 = SW, 6 = W, 7 = NW).

Does this setting also determine the deployment area of an attacking unit when a user creates a custom battle?

(in reply to Andrew Williams)
Post #: 11
RE: Max map size? - 11/23/2008 5:10:16 AM   
Andrew Williams


Posts: 6116
Joined: 1/8/2001
From: Australia
Status: offline
No

deployment is random in single battles


We looked at whether we should add extra coding to determine deployment areas etc...

But decided on going for Randomness to increase replayability of each map/battle supplied.

As you know entry could come from anywhere depending on the preceding Strat moves.

< Message edited by Andrew Williams -- 11/23/2008 5:14:36 AM >

(in reply to KWP)
Post #: 12
RE: Max map size? - 11/23/2008 5:50:14 AM   
Andrew Williams


Posts: 6116
Joined: 1/8/2001
From: Australia
Status: offline
A note on 3C and 5CC

I've tested both.

5CC can handle the enlarged elements file without any problems.

3C can do everything but cannot produce a LOS file.

LOS must be created with 5CC.

Step by step scientific testing has shown   3c can only out put LOS when coded with elements numbered under 263, this is the Muddy stream element.   Any map coded with muddy stream or a higher numbered element will not be able to have a LOS created with 3C... use 5CC to output the LOS file.



(in reply to Andrew Williams)
Post #: 13
RE: Max map size? - 11/23/2008 8:25:00 AM   
Neil N

 

Posts: 740
Joined: 8/24/2004
Status: offline
quote:

What is the maximum length (in characters) of each side's breifing text contained in the .btd file?


I looked at this, and while I don't have an exact count, it seems that briefings can be pretty large. The Omaha briefings are very large and fit.

Couple of things to note after I did some looking at the giant BO briefings.

1. If you have paragraph breaks, the first paragraph will be the allied briefing and the second paragraph will be the axis briefing. Any text after the second paragraph will not show up.

Here is an example of a giant Omaha briefing that works ok. Percee is 4041 characters (including spaces) and shows ok

< Message edited by Neil N -- 11/23/2008 5:54:17 PM >

(in reply to KWP)
Post #: 14
RE: Max map size? - 11/23/2008 2:33:38 PM   
KWP

 

Posts: 132
Joined: 1/13/2001
Status: offline
Getting a lot of good info in this thread.

Thanks to all!

Do you know of any other prohibited characters?

(in reply to Neil N)
Post #: 15
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Close Combat Series >> Close Combat: Wacht am Rhein >> Mods and Scenarios >> Max map size? 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

0.734