Page 1 of 2

Existing Map Modification Question...

Posted: Fri Nov 18, 2011 8:05 am
by Jack ONeill
All,

I have determined that the 2 Napoleanic Armies Gunship has built and I have added to will fit on the smaller, "normal" maps of Gettysburg. Barely, but they do. I know how to remove the fences and walls visually. My questions are - can the "obstacle effect" of the fences and walls be removed easily and if so, How?

Jack B)

Re: Existing Map Modification Question...

Posted: Fri Nov 18, 2011 8:09 am
by KG_Soldier
Garnier's random generated East Cavalry Field map doesn't have the fences and there are no barriers where they were.

Of course, he is magic, so I don't know if will let you use his spell. Perhaps if you offer an eye of newt?

Re: Existing Map Modification Question...

Posted: Fri Nov 18, 2011 9:05 am
by Davinci
I have determined that the 2 Napoleanic Armies Gunship has built and I have added to will fit on the smaller, "normal" maps of Gettysburg. Barely, but they do. I know how to remove the fences and walls visually. My questions are - can the "obstacle effect" of the fences and walls be removed easily and if so, How?
Jack , after you have turned off the houses, fences, etc…here is how this works!

The Maps are controlled by several files that are located in the Base \ Maps folder.

In order to get the game to load any amended Map \ Files requires that you place a Maps folder into a Mod .

Once the Map Folder is in a Mod – Open the SDK and copy the mapname.csv from the SDK into the Mod \ Maps – Folder .

Useful Information – each Map is controlled by five different files, but the only one that you need for this is the mapname.csv file.

Open up that file once you have it located in the Mod…and look for these lines…

IDS_MAP_Fence,75,-0.7,,1000,4,45,-10,0,,,,,,,,
IDS_MAP_Fence,76,0,25,1000,0,45,0,0,1,,
IDS_MAP_Wall,80,-0.7,1,1000,4,65,-8,0,1,1,,
IDS_MAP_Wall,81,0,,1000,0,65,0,0,,,,,,,,

Once, you have located those lines scroll down and find the line below this one. This line will treat all of the terrain as Open, no barriers.

IDS_MAP_Open,255,0,3600,1000,0,0,0,0,,,1,GFX_Tree_A_1,GFX_Tree_A_2,GFX_Tree_A_3,GFX_Tree_A_4,GFX_Tree_6

Basically, you would edit all of the lines pertaining to a fence, or a wall, probably a building also to act the same as IDS_Map_Open .

You do that by editing only the following Columns C through Q – for all of the lines that you do not want to have a barrier.

Clear as Mud!

davinci

Re: Existing Map Modification Question...

Posted: Fri Nov 18, 2011 10:49 am
by Jack ONeill
DaV,

Excellent! Knew I could count on you to come through. Will be busy screwing things up tomorrow. Thanks.

Jack B)

Re: Existing Map Modification Question...

Posted: Fri Nov 18, 2011 11:08 am
by Jack ONeill
All,

Well, as usual, I didn't throw in the specifics - The map I want to work on first is the PPT map.

DaV, there is no line below IDS_Map_Open,255, etc...... OR am I editing the line you are showing me? There is one above it a bit that has stonewalls listed, but I don't think thats the one you are talking about.

Jack B)

P.S. - what if I just change the movement rate to zero in the wall or fence line?

Re: Existing Map Modification Question...

Posted: Fri Nov 18, 2011 11:10 am
by Davinci
DaV,
Excellent! Knew I could count on you to come through. Will be busy screwing things up tomorrow. Thanks.
Jack B)
No Problem, if you run into any trouble \ problems, just post back here, and I'll see if I can help!

davinci

Re: Existing Map Modification Question...

Posted: Fri Nov 18, 2011 11:21 am
by Jack ONeill
DaV,

Changing the movement rate to zero makes the movement rate fine but I can't get the fences or walls to leave when I change the density rate to 0 or even ,, Not sure what to do at this point. Will keep fiddling about.

Jack B)

Re: Existing Map Modification Question...

Posted: Fri Nov 18, 2011 11:27 am
by Jack ONeill
Okay, duh...

Figured it out - edit the the lines with fences and walls to conform to the IDS_Map_Open,255,,,,,,that you posted. Will see if my poor old brain can handle it. :laugh:

Jack B)

Re: Existing Map Modification Question...

Posted: Fri Nov 18, 2011 11:39 am
by Jack ONeill
Okay, it sort of worked. Got rid of the walls but the fences are still there. Hmmmm... No matter what I change, they just won't leave. Are they hard-coded maybe?

Jack B)

Re: Existing Map Modification Question...

Posted: Fri Nov 18, 2011 11:54 am
by Davinci
Try this file before you get banned again , what will that be the third time this year!

EDIT Post

Jack - I use a different way of removing all of the objects in the game by loading Dummy Dat Files - but I thought that the default game had a way of removing the houses, and the fences?

Are you saying that the fences are not being removed, or are they removed but the game is still reading them?

davinci