Existing Map Modification Question...

This is where our experts try to teach you the very flexible modding system for our previous release - SOW Gettysburg and its add-ons. It's powerful, but dangerous. Post your tips and your questions.
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Existing Map Modification Question...

Post 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)
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
KG_Soldier
Reactions:
Posts: 1028
Joined: Thu Apr 15, 2010 6:43 am

Re: Existing Map Modification Question...

Post 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?
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Existing Map Modification Question...

Post 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
The only true logic is that, there is no true logic!
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re: Existing Map Modification Question...

Post by Jack ONeill »

DaV,

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

Jack B)
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re: Existing Map Modification Question...

Post 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?
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Existing Map Modification Question...

Post 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
The only true logic is that, there is no true logic!
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re: Existing Map Modification Question...

Post 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)
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re: Existing Map Modification Question...

Post 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)
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Jack ONeill
Reactions:
Posts: 1896
Joined: Mon Apr 28, 2008 10:49 pm

Re: Existing Map Modification Question...

Post 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)
American by birth, Californian by geography, Southerner by the Grace of God.

"Molon Labe"
Davinci
Reactions:
Posts: 3034
Joined: Wed Jul 02, 2008 12:53 pm

Re: Existing Map Modification Question...

Post 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
Attachments
4_PPT.rar
(2.25 KiB) Not downloaded yet
Last edited by Davinci on Fri Nov 18, 2011 11:58 am, edited 1 time in total.
Reason: Adding another question!
The only true logic is that, there is no true logic!
Post Reply