User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

NCP map modding

Wed Jul 23, 2008 6:05 pm

....Going after my first attempts to mod NCM map, see as regard:

http://www.ageod-forum.com/attachment.php?attachmentid=3526&d=1216828802

I experienced a mess of troubles when attempting a first aproach......

I tried editing Regions.ini file present in Aliases folder: here I replaced default region names with new ones...
For example, the original $Magdeburg = 474 command line was changed to [color="Red"]$Rosslau = 474[/color].
In the same way, I deleted 474Magdeburg.RGN file, (GameData/Regions folder) and edited in its place [color="red"]474Rosslau.RGN file[/color].


UID = 474
Name = [color="red"]Rosslau[/color]
Kind = 0
x = 5612
y = 3236
xc = 5735
yc = 3334
DisplayNb = 4
Coo0 = 5872|3324|0
Coo1 = 5716|3420|0
Coo2 = 5800|3412|0
Coo3 = 5784|3340|0
Bitmap = 474Rosslau.bmp
WinterBmp = Winter_474Rosslau.bmp
TerrainType = 0
SprFacing = 0
Adjacency0 = 2136
Adjacency1 = 2136
Adjacency2 = 2136
Adjacency3 = 545
Adjacency4 = 475
Adjacency5 = 475
Adjacency6 = 475
Adjacency7 = 475
Adjacency8 = 475
Adjacency9 = 475
Adjacency10 = 471
Adjacency11 = 471
Adjacency12 = 471
Adjacency13 = 472
Adjacency14 = 472
Adjacency15 = 472
Adjacency16 = 473
Adjacency17 = 473
Adjacency18 = 473
Adjacency19 = 473
Adjacency20 = 473
Adjacency21 = 473
Adjacency22 = 2136
Adjacency23 = 2136
JumpLink0 = 542|18
JumpLink1 = 539|24
JumpLink2 = 475|17
TransLink0 = 471|1
TransLink1 = 473|1
TransLink2 = 539|1
TransLink3 = 545|1
StraitBlock = 0
FixedSprite = 474
PolyMinX = 5612
PolyMinY = 3236
PolyMaxX = 5900
PolyMaxY = 3444
Poly0 = 5864|3392|0|
Poly1 = 5840|3412|0|
Poly2 = 5820|3428|0|
Poly3 = 5812|3440|0|
Poly4 = 5716|3436|0|
Poly5 = 5688|3436|0|
Poly6 = 5664|3408|0|
Poly7 = 5672|3388|0|
Poly8 = 5652|3368|0|
Poly9 = 5656|3332|0|
Poly10 = 5640|3320|0|
Poly11 = 5628|3292|0|
Poly12 = 5628|3256|0|
Poly13 = 5616|3240|0|
Poly14 = 5640|3240|0|
Poly15 = 5656|3252|0|
Poly16 = 5684|3260|0|
Poly17 = 5712|3284|0|
Poly18 = 5764|3280|0|
Poly19 = 5812|3308|0|
Poly20 = 5840|3308|0|
Poly21 = 5860|3300|0|
Poly22 = 5892|3296|0|
Poly23 = 5896|3340|0|
Triangle0 = 5628.000|3256.000|0.000|5616.000|3240.000|0.000|5640.000|3240.000|0.000|
Triangle1 = 5628.000|3256.000|0.000|5640.000|3240.000|0.000|5656.000|3252.000|0.000|
Triangle2 = 5656.000|3332.000|0.000|5640.000|3320.000|0.000|5628.000|3292.000|0.000|
Triangle3 = 5628.000|3292.000|0.000|5628.000|3256.000|0.000|5656.000|3252.000|0.000|
Triangle4 = 5688.000|3436.000|0.000|5664.000|3408.000|0.000|5672.000|3388.000|0.000|
Triangle5 = 5840.000|3308.000|0.000|5860.000|3300.000|0.000|5892.000|3296.000|0.000|
Triangle6 = 5864.000|3392.000|0.000|5840.000|3412.000|0.000|5820.000|3428.000|0.000|
Triangle7 = 5672.000|3388.000|0.000|5652.000|3368.000|0.000|5656.000|3332.000|0.000|
Triangle8 = 5628.000|3292.000|0.000|5656.000|3252.000|0.000|5684.000|3260.000|0.000|
Triangle9 = 5840.000|3308.000|0.000|5892.000|3296.000|0.000|5896.000|3340.000|0.000|
Triangle10 = 5716.000|3436.000|0.000|5688.000|3436.000|0.000|5672.000|3388.000|0.000|
Triangle11 = 5656.000|3332.000|0.000|5628.000|3292.000|0.000|5684.000|3260.000|0.000|
Triangle12 = 5656.000|3332.000|0.000|5684.000|3260.000|0.000|5712.000|3284.000|0.000|
Triangle13 = 5840.000|3308.000|0.000|5896.000|3340.000|0.000|5864.000|3392.000|0.000|
Triangle14 = 5812.000|3308.000|0.000|5840.000|3308.000|0.000|5864.000|3392.000|0.000|
Triangle15 = 5712.000|3284.000|0.000|5764.000|3280.000|0.000|5812.000|3308.000|0.000|
Triangle16 = 5820.000|3428.000|0.000|5812.000|3440.000|0.000|5716.000|3436.000|0.000|
Triangle17 = 5672.000|3388.000|0.000|5656.000|3332.000|0.000|5712.000|3284.000|0.000|
Triangle18 = 5812.000|3308.000|0.000|5864.000|3392.000|0.000|5820.000|3428.000|0.000|
Triangle19 = 5716.000|3436.000|0.000|5672.000|3388.000|0.000|5712.000|3284.000|0.000|
Triangle20 = 5812.000|3308.000|0.000|5820.000|3428.000|0.000|5716.000|3436.000|0.000|
Triangle21 = 5716.000|3436.000|0.000|5712.000|3284.000|0.000|5812.000|3308.000|0.000|


I did that same with the other 3 regions I was renaming/shifting.....473Magdeburg, 529Burg, 539Wittenberge.

Of course, also Campaing files as Setup and Cities files were modded accordingly.
Finally I renamed Graphic region files, too.

[color="red"]When I went testing the mod I experienced the longer error report ever fo far.[/color]



Then, I succeded with my second modding strategy......
Here I did not put hands over Regions.ini file or renamed RGN files.
I simply picked up RGN files for the regions I wanted to rename, opened any of such files and just changed the name=##### command line.

Here the example for 474Madgeburg.RGN file: in my Mod Madgeburg was renamed to [color="red"]Rosslau[/color]!!!!

UID = 474
Name = [color="red"]Rosslau[/color]
Kind = 0
x = 5612
y = 3236
xc = 5735
yc = 3334
DisplayNb = 4
Coo0 = 5872|3324|0
Coo1 = 5716|3420|0
Coo2 = 5800|3412|0
Coo3 = 5784|3340|0
Bitmap = 474Magdeburg.bmp
WinterBmp = Winter_474Magdeburg.bmp
TerrainType = 0
SprFacing = 0
Adjacency0 = 2136
Adjacency1 = 2136
Adjacency2 = 2136
Adjacency3 = 545
Adjacency4 = 475
Adjacency5 = 475
Adjacency6 = 475
Adjacency7 = 475
Adjacency8 = 475
Adjacency9 = 475
Adjacency10 = 471
Adjacency11 = 471
Adjacency12 = 471
Adjacency13 = 472
Adjacency14 = 472
Adjacency15 = 472
Adjacency16 = 473
Adjacency17 = 473
Adjacency18 = 473
Adjacency19 = 473
Adjacency20 = 473
Adjacency21 = 473
Adjacency22 = 2136
Adjacency23 = 2136
JumpLink0 = 542|18
JumpLink1 = 539|24
JumpLink2 = 475|17
TransLink0 = 471|1
TransLink1 = 473|1
TransLink2 = 539|1
TransLink3 = 545|1
StraitBlock = 0
FixedSprite = 474
PolyMinX = 5612
PolyMinY = 3236
PolyMaxX = 5900
PolyMaxY = 3444
Poly0 = 5864|3392|0|
Poly1 = 5840|3412|0|
Poly2 = 5820|3428|0|
Poly3 = 5812|3440|0|
Poly4 = 5716|3436|0|
Poly5 = 5688|3436|0|
Poly6 = 5664|3408|0|
Poly7 = 5672|3388|0|
Poly8 = 5652|3368|0|
Poly9 = 5656|3332|0|
Poly10 = 5640|3320|0|
Poly11 = 5628|3292|0|
Poly12 = 5628|3256|0|
Poly13 = 5616|3240|0|
Poly14 = 5640|3240|0|
Poly15 = 5656|3252|0|
Poly16 = 5684|3260|0|
Poly17 = 5712|3284|0|
Poly18 = 5764|3280|0|
Poly19 = 5812|3308|0|
Poly20 = 5840|3308|0|
Poly21 = 5860|3300|0|
Poly22 = 5892|3296|0|
Poly23 = 5896|3340|0|
Triangle0 = 5628.000|3256.000|0.000|5616.000|3240.000|0.000|5640.000|3240.000|0.000|
Triangle1 = 5628.000|3256.000|0.000|5640.000|3240.000|0.000|5656.000|3252.000|0.000|
Triangle2 = 5656.000|3332.000|0.000|5640.000|3320.000|0.000|5628.000|3292.000|0.000|
Triangle3 = 5628.000|3292.000|0.000|5628.000|3256.000|0.000|5656.000|3252.000|0.000|
Triangle4 = 5688.000|3436.000|0.000|5664.000|3408.000|0.000|5672.000|3388.000|0.000|
Triangle5 = 5840.000|3308.000|0.000|5860.000|3300.000|0.000|5892.000|3296.000|0.000|
Triangle6 = 5864.000|3392.000|0.000|5840.000|3412.000|0.000|5820.000|3428.000|0.000|
Triangle7 = 5672.000|3388.000|0.000|5652.000|3368.000|0.000|5656.000|3332.000|0.000|
Triangle8 = 5628.000|3292.000|0.000|5656.000|3252.000|0.000|5684.000|3260.000|0.000|
Triangle9 = 5840.000|3308.000|0.000|5892.000|3296.000|0.000|5896.000|3340.000|0.000|
Triangle10 = 5716.000|3436.000|0.000|5688.000|3436.000|0.000|5672.000|3388.000|0.000|
Triangle11 = 5656.000|3332.000|0.000|5628.000|3292.000|0.000|5684.000|3260.000|0.000|
Triangle12 = 5656.000|3332.000|0.000|5684.000|3260.000|0.000|5712.000|3284.000|0.000|
Triangle13 = 5840.000|3308.000|0.000|5896.000|3340.000|0.000|5864.000|3392.000|0.000|
Triangle14 = 5812.000|3308.000|0.000|5840.000|3308.000|0.000|5864.000|3392.000|0.000|
Triangle15 = 5712.000|3284.000|0.000|5764.000|3280.000|0.000|5812.000|3308.000|0.000|
Triangle16 = 5820.000|3428.000|0.000|5812.000|3440.000|0.000|5716.000|3436.000|0.000|
Triangle17 = 5672.000|3388.000|0.000|5656.000|3332.000|0.000|5712.000|3284.000|0.000|
Triangle18 = 5812.000|3308.000|0.000|5864.000|3392.000|0.000|5820.000|3428.000|0.000|
Triangle19 = 5716.000|3436.000|0.000|5672.000|3388.000|0.000|5712.000|3284.000|0.000|
Triangle20 = 5812.000|3308.000|0.000|5820.000|3428.000|0.000|5716.000|3436.000|0.000|
Triangle21 = 5716.000|3436.000|0.000|5712.000|3284.000|0.000|5812.000|3308.000|0.000|


As regard Fortresses, Cities, Depots placement, all that has been managed at Campaign Setup and Cities file level.

IT'S TO BE EVIDENCED THAT HERE REGIONS RETAIN THEIR ORIGINAL DEFAULT NAME!!!!!!

For example I placed [color="red"]Magdeburg[/color] over older and default NCP installation Uelzen region.
In 473Uelzen.RGN file I just edited "[color="red"]Name = Magdeburg[/color]" command line.....

So to have a depot into the new [color="red"]Magdeburg[/color] location a worked setup file:

F13 [color="red"]Dépôt de Magdebourg[/color] Depot 4 NULL NULL NULL $Uelzen 0 0
F13 NULL ChangeSupply 1000|500|0 NULL NULL NULL $Uelzen NULL NULL

NOTE THE REGION NAME I EDITED IS ANYWAY $Uelzen, even if it figures out as Magdeburg on map.

The same is true when placing forces:

C13 Magdeburg Korps Group LAND NULL NULL 0 $Uelzen 0 0
Magdeburg Korps has been edit to $Uelzen within Setup files, but it will figure out in [color="red"]Magdeburg[/color] on the map, when the campaign is started.


Same observetions as regard Cities file:

473 Uelzen $Major_Road $Developed Area_Braunschweig Theater_Germany C13 100 55 F13 100 [color="red"]Magdeburg 8[/color] 2 1 0 5 1 0 0 2 3 [color="red"]Magdeburg 2[/color] $csiWestEurope

Uelzen is the reference region encoded, (it will be only on map renamed to Magdeburg)
Because of this reason, both [color="red"]Magdeburg level 8 city[/color], both Magdeburg the level two Depot have to be encoded along 473 Uelzen command line.


I please anybody, more experienced to comment and to clarify if other way of modding the map are recommended!

Thanks in advance

JastaV

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Wed Jul 23, 2008 6:43 pm

Trust a scarred warrior: :niark:

[color="Red"]DO NOT MESS WITH REGION NAMES[/color]

I'm not sure what all of the convolutions are, but in addition to the errors you are already seeing [that I've seen also ;) ], you will seriously mess up any events or scenario setups that reference the region you change....

So, my not so humble opinion: don't go there! :) :niark:
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Wed Jul 23, 2008 9:38 pm

deleted

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Wed Jul 23, 2008 10:26 pm

Gray_Lensman wrote:lodilefty is correct... Don't mess with region names. It's a minor detail thing for the moment anyway. It's more important to work out the kinks to the scenarios.



I'm the first to put in evidence the risk and possible troubles from region names modding..... :siffle:

I had chance to play The Struggle of Nations 1813, mod ver. 1.04 with no troubles:
http://www.ageod-forum.com/showpost.php?p=94818&postcount=2
....That although the modding to region names. :niark:
But I'm aware that any other Campaigns,and for sure the default 1813 Struggle of Nations one will not work but regions are before restored to default.

Guess a better way to manage map modding is by working over Cities, Fortresses, Depots........All these are managed at campaign setup file level, (Setup.csv & Cities.csv).
Of course player will have to live some minor problem as a City, Fortress, Depot sometimes placed at a region not matching proper name structure name.
But at least a mess of serious potential troubles will be bypassed!!!!

Thank to you and Gray_Lensman for suggestions.......

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Wed Jul 23, 2008 11:23 pm

jastaV wrote:I'm the first to put in evidence the risk and possible troubles from region names modding..... :siffle:

I had chance to play The Struggle of Nations 1813, mod ver. 1.04 with no troubles:
http://www.ageod-forum.com/showpost.php?p=94818&postcount=2
....That although the modding to region names. :niark:
But I'm aware that any other Campaigns,and for sure the default 1813 Struggle of Nations one will not work but regions are before restored to default.

Guess a better way to manage map modding is by working over Cities, Fortresses, Depots........All these are managed at campaign setup file level, (Setup.csv & Cities.csv).
Of course player will have to live some minor problem as a City, Fortress, Depot sometimes placed at a region not matching proper name structure name.
But at least a mess of serious potential troubles will be bypassed!!!!

Thank to you and Gray_Lensman for suggestions.......


You can change the name of the structure [CityName: column 'L' in the city tab of the xls file, or column 'B' in the setup tab]. This is done often in WiA due to the long time span covered by scenarios [1630 to 1815]. Nothing in the engine references that data except what is displayed.

It's all about Regions [Name: column 'B' in the database].... they are almost literally the 'key'.
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]

[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]



[CENTER]Rules for new members[/CENTER]

[CENTER]Forum Rules[/CENTER]



[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

User avatar
Franciscus
Posts: 4571
Joined: Fri Apr 20, 2007 8:31 pm
Location: Portugal

Thu Jul 24, 2008 12:23 am

About this, I would like to add a few thoghts.
I see no problem at all in changing the "flavor" of a region - ie the map name of a region is changeable without any problems - provided the name of the file region (.rgn) is not changed. It is even possible to change other more fundamental characteristics, as ownership of a region, although for that a regeneration of the scn file is needed (that's what I did months ago with the Zamora region, btw)

Aryaman surely is doing major region changes in the NCP map for his Punic war mod. His advice would be, I think, helpful.

Gray_Lensman wrote:lodilefty is correct... Don't mess with region names. It's a minor detail thing for the moment anyway. It's more important to work out the kinks to the scenarios.


Funny, I seem to recall in AACW a certain fellow having spent countless hours in the last year correcting RR and map errors, with great acceptance by the community and devs... :niark:

Now, seriously, I do not feel that correcting the numerous map errors of NCP is minor. They have been pointed more than once, for months, some players even have provided corrections (yours truelly, for instance, as to the Portugal map), but still nothing is corrected :p leure:

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Thu Jul 24, 2008 2:14 am

deleted

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Thu Jul 24, 2008 4:12 am

deleted

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Thu Jul 24, 2008 5:01 am

deleted

User avatar
jastaV
AGEod Guard of Honor
Posts: 1159
Joined: Mon Apr 14, 2008 9:22 am

Thu Jul 24, 2008 9:50 am

It's CLEAR!

NO CHANGES TO REGIONS NAME!

FREE CHANGES TO REGION STRUCTURES!

Ageod users will have, as last resource, the chance to report map mistakes or suggest corrections to AGEOD TEAM.......authough any change to region names will enforce corrections to all scenery files for Official and 3rd party Campaigns.

User avatar
Gray_Lensman
Posts: 497
Joined: Mon Jun 18, 2007 4:04 am
Location: Who is John Galt?

Thu Jul 24, 2008 12:20 pm

deleted

Return to “NCP Mods”

Who is online

Users browsing this forum: No registered users and 18 guests