RE: COG Mods (Full Version)

All Forums >> [Current Games From Matrix.] >> [Napoleonics] >> Crown of Glory



Message


ian77 -> RE: COG Mods (12/12/2005 7:35:17 AM)

All you should have changed were the first four lines with-1 values.

1,2, and 3 have other relationship settings and do not need to be changed if you just want to have the scenario start at peace. Getting rid of all relationship values will remove all wars, and alliances, and conquered provinces, and protectorates.

Ian




ian77 -> RE: COG Mods (12/12/2005 7:37:21 AM)

We both posted together... personally I just removed the first four lines altogether, but left in the 4 5 alliance.

Ian




Tanaka -> RE: COG Mods (12/12/2005 7:50:21 AM)

quote:

ORIGINAL: ian77

All you should have changed were the first four lines with-1 values.

1,2, and 3 have other relationship settings and do not need to be changed if you just want to have the scenario start at peace. Getting rid of all relationship values will remove all wars, and alliances, and conquered provinces, and protectorates.

Ian


Yep thats all I changed. I deleted the -1's and left them blank and the map went funky. But I put in zeros where the blanks were and it put the map back like it was...




Tanaka -> RE: COG Mods (12/12/2005 9:15:17 AM)

quote:

ORIGINAL: ian77

We both posted together... personally I just removed the first four lines altogether, but left in the 4 5 alliance.

Ian


by the way what changes the color of the map? everytime i insert one of these mods into a scenario it goes back to the old color. i like the new colors and want them back. how do i do this without changing anything else???




ian77 -> RE: COG Mods (12/12/2005 4:19:16 PM)


quote:

ORIGINAL: Tanaka


by the way what changes the color of the map? everytime insert a mod into a scenario it goes back to the old color. i like the new colors and want them back. how do i do this without changing anything else???


No idea...




ericbabe -> RE: COG Mods (12/13/2005 6:05:35 PM)

quote:

ORIGINAL: Tanaka
by the way what changes the color of the map? everytime insert a mod into a scenario it goes back to the old color. i like the new colors and want them back. how do i do this without changing anything else???


The color values are the red/green/blue numbers in the players.txt file.

The mini-map colors and unit colors are hard-coded into the game and so won't change with changes to players.txt, so if you change France to hot pink it'll still be blue on the minimap/units.





pixelpusher -> RE: COG Mods (12/13/2005 6:48:56 PM)

Just to clarify: If you wanted to change the color of the units in Strategic map, Hexwar, QuickCombat, etc. you'll have to edit the graphic files with photoshop. Some of these (the chits) would be easy to change, but the rest could be quite a bit more challenging... (but not impossible*.)

-px

*If anybody really wants to do this, let me know and I can sort of talk you through it.




Tanaka -> RE: COG Mods (12/14/2005 12:24:15 AM)

quote:

ORIGINAL: ericbabe

quote:

ORIGINAL: Tanaka
by the way what changes the color of the map? everytime insert a mod into a scenario it goes back to the old color. i like the new colors and want them back. how do i do this without changing anything else???


The color values are the red/green/blue numbers in the players.txt file.

The mini-map colors and unit colors are hard-coded into the game and so won't change with changes to players.txt, so if you change France to hot pink it'll still be blue on the minimap/units.




im a little confused. i looked at these numbers and most of them are 0. i looked at the old numbers and the new ones from the patch and they were the same. trying to just transfer the new numbers into an old mod with the old numbers so i can keep the mod changes and add the new colors but i dont see a difference....




alaric318 -> RE: New National Colors in 1.2.16... (12/16/2005 5:33:01 AM)

well, i just make install of 1.2.16, the new colors are really cool, i have make less changes in the "players2" file, so, for me has been easy to retain much of the old parameters and gained the new colors for my mod, i like old base morale for minors, maybe all of you know to do what i go to say...

open the "players2" file from patch 1.2.16 and drag with the mouse selecting to the last line on the eight(8) nation listed in the file (spain) it is a number, "17131" as shown in the picture, copy selection to clipboard, then open your "players2" modified and drag just to the same point, beware of do not select spaces, then paste clipboard and it's done, all you must do is mod again the main major nations as you want for your mod, in my case only few things, base morale, and corps, armies and fleets capacity, not much more, however, if you have modded very much the main nations this solution will be a bad one.


with best regards,

Murat30.

[image]local://upfiles/10322/ADF61B9C55224EBEA9C2ED917E872B8D.jpg[/image]




Tanaka -> RE: New National Colors in 1.2.16... (12/17/2005 12:48:49 AM)


quote:

ORIGINAL: Murat30

well, i just make install of 1.2.16, the new colors are really cool, i have make less changes in the "players2" file, so, for me has been easy to retain much of the old parameters and gained the new colors for my mod, i like old base morale for minors, maybe all of you know to do what i go to say...

open the "players2" file from patch 1.2.16 and drag with the mouse selecting to the last line on the eight(8) nation listed in the file (spain) it is a number, "17131" as shown in the picture, copy selection to clipboard, then open your "players2" modified and drag just to the same point, beware of do not select spaces, then paste clipboard and it's done, all you must do is mod again the main major nations as you want for your mod, in my case only few things, base morale, and corps, armies and fleets capacity, not much more, however, if you have modded very much the main nations this solution will be a bad one.


with best regards,

Murat30.

[image]local://upfiles/10322/ADF61B9C55224EBEA9C2ED917E872B8D.jpg[/image]


so you cant just copy and paste just the new map color code into your mod???




alaric318 -> RE: New National Colors in 1.2.16... (12/17/2005 2:47:19 AM)

greetings, for me, the given solution is ok, as i have make few changes in the file ("players2"), and like more the minors base morale in the original "players2", to change only the color and no other parameter in the file you must identify, in the file, where are the numbers that fits with the main index, as are differential between space occupied by the numbers and the main index, so, it cannot be readed as it fits in the wordpad, i will give the best example for it, in the "players2" file, the "0s" below the main index field "blue" do not give reference to it, because the index and the numbers do not fits, at the end of the file you will see fields without number below them, well, color fields in the main index come just after "max unit strength" field (always 10000) but numbers do not fit just below "red" "green" "blue" (fields 8,9 and 10 in the main index) so, the numbers to be edited to change color are positions 8, 9 and 10 in each "player" (just after the "10000"), note, also that some "players" given the lenght of the name begin numerical fields in different rows from others, hope all this help...

with regards,

Murat30.

[image]local://upfiles/10322/BB5A0D3EA56442C188FB5349C4B64BAE.gif[/image]




nepomuceno -> RE: COG Mods (12/19/2005 2:02:45 AM)

Hi all!!!!!!!!

I´have any question[&:] What´s the code number of the different units in the textbox "Start2"......for example

Ships are they "6"
Hv Ships are they "14"
Frigates "31"
Infantry "3"

I´have interested of the code numbers of the infantry and cavalry units.

Thanks to all[:)]




alaric318 -> RE: COG Mods (12/19/2005 5:27:30 AM)

greetings, take care about "master" file in the main /data subfolder, there you can find all unit types listed,

with my best regards,

Murat30.




nepomuceno -> RE: COG Mods (12/19/2005 2:14:08 PM)

Thanks a lot Murat!!!!!

I´dont Know this.

Regards!!!!!!

Are you Spanish???????? i´m spanish.




ericbabe -> RE: COG Mods (12/19/2005 9:45:37 PM)

Tanaka,

If you open players2.txt in a spreadsheet program, there should be columns labeled:

NAME2
Adjective
Leader
HomeProv
BASEMORALE
MaxContainer0--armies
MaxContainer1--corps
MaxContainer2--fleets
MaxContainer3--cities
MaxUnitStr
Red
Green
Blue
etc....

Under {Red, Green, Blue} France should have the values 153,161,222; Britain should have 236,125,123; and so forth.

There are Red,Green,Blue columns under the EuProv2.txt file, but these do not have anything to do with player color.

If your players2.txt file has zeroes under the Red, Green, Blue columns for players, then I think there is a problem with that file.




malthaussen -> RE: COG Mods (1/11/2006 10:14:30 PM)

Is adding leaders or units simply a matter of inserting another line in the commandr/players2 files, or are there other files that need to be modified?

-- Mal




alaric318 -> RE: COG Mods (1/12/2006 5:02:33 AM)

cheers, my friend, for adding units you must take care about "Start2" File, also, to mod leaders the file you must change is named "commndr", the best way to start a mod is to make a scenario folder under /CoG/Scenarios/ and name it say, /Custom_S adding the _S makes the game identify this folder as a scenario, copy here all the files from the scenario you want to start to mod, also the game uses another files for determine the name of new commanders that "spawn" after a battle, located in the /CoG/Data/ folder and named "CmdName1" to "CmdName8" one for each of the major powers, additionaly, to identify the unit type in "Start2" files in each scenario you must refer to "Master" file in the /CoG/Data/ folder. hope this help,

and with my best regards,

Murat30.




ericbabe -> RE: COG Mods (1/13/2006 6:33:40 PM)

quote:

ORIGINAL: malthaussen
Is adding leaders or units simply a matter of inserting another line in the commandr/players2 files, or are there other files that need to be modified?
-- Mal


It should be sufficient to modify commandr.txt in order to add a commander unit.

To add a military unit or diplomat, you need to modify start2.txt. Many of these columns are self-explanatory. Some of the trickier ones are:

Child: used for putting units into container-type units. So, for instance, we have:
Grande_Armee, child=0... means this is a top-most unit.

III_Corps, child=1... means this is in Grande_Armee (tries to put it in the last child=0 unit that it came across).

Infantry division, child=2... means this is in III_Corps. If we had set child=1, would have put it into Grande_Armee instead.



PlayerID refers to the player number in players2.txt.


Name, use "x" to have the program give the unit the default name.


Type, refers to the unit's type in master.txt.


Location, refers to the province location in EuProv2.txt.


cityIndex is used for cities, which you probably won't need to change.


Note that, for commanders, we do read in all 200 commander mugshots that are found in the files Mug80x80.pcx and Mug60x60.pcx -- even the 100 or so that are currently unused blank templates at the end. This is to allow modders to add pictures to their commanders; simply put pictures of more commanders into these blank locations in the mugshot files, and then set the proper picture number in the commandr.txt file.


Hope this helps. Feel free to ask any other modding questions.




ericbabe -> RE: COG Mods (1/13/2006 6:38:18 PM)

quote:

ORIGINAL: Murat30
named "commndr", the best way to start a mod is to make a scenario folder under /CoG/Scenarios/ and name it say, /Custom_S adding the _S makes the game identify this folder as a scenario, copy here all


I agree. The best way to make a mod is to copy the files you change to a /CustomName_S folder in the Scenarios folder rather than modifying the /Data files in that location.

Unfortunately, a few files modders might want to change can't be implemented in scenario folders. The most important of these is probably master.txt, which allows players to set properties of units (cost, movement rates, etc.) For these you'll need to make the changes in /Data ... just be sure to keep a backup copy of the original somewhere. Look in the Scenarios folders to see which files can be changed in a scenario, and which cannot.





Eric




alaric318 -> RE: COG Mods (1/16/2006 4:00:53 AM)

Greetings, Eric, you have answered a question that i was wanting to make, i do have make changes in master.txt, keep a copy untouched in another computer, almost all my important data are in both computers, i was not know if i can or not put master.txt in the folder of a scenario, now i know that not, aside this, if you read soon this post, as i know you are very busy and find it ok, but i have another question, it is about the number of pieces, well, i have noticed already that the piece limit has been increased from our last posting as the game do not cause problems where before patching was causing, not capital problems however must to say, as the game can continue, but, what is the piece limit for now in 1.2.16 and 1.2.18? thanks in advance,

and with my best regards,

Murat30/Alaric31.




ericbabe -> RE: COG Mods (1/16/2006 4:30:08 PM)

The number of allowed pieces has been increased to 8000.





alaric318 -> RE: COG Mods (1/17/2006 1:33:53 AM)

[:)] greetings! :)

i'm very pleased to know that, it denotes your deep support to the game, thanks you very much, and thanks for the fast repply,

with my best regards,

Murat30.




malthaussen -> RE: COG Mods (1/19/2006 5:24:50 AM)

Some General modding notes:

Ground Units listed in the "start2" file that are not standard inf, art, or cav (ie, almost all units) will begin the game with the nation's default morale, and NOT with the morale you give them in the file. So you can't create a cool "Guard Lancer" unit with a morale of 9.5, or something.:( Regular units, however, will accept any morale rating you give them, so you could create a vanilla infantry unit with a huge morale (if you wanted to). Devs please take note: this ought to be fixed if possible.

The random units generated at the start of the game (due to power ratings?) begin with that selfsame default morale.

Any changes made to the Players2 file in the scenario folder will NOT take effect in the game. You must modify Players2 in the Data folder to make these changes (e.g., to change the nation's default morale or ruler's name).

Guard units can NOT be deployed at the start. Anyway, I got an error message when I attempted to do so, although it was possible to ignore it. The unit had no icon (thus the error message, I suppose), and default national morale.

-- Mal




ericbabe -> RE: COG Mods (1/19/2006 3:58:42 PM)

I'll test the players file. I'm fairly sure that the names of leaders change properly between scenarios, so at least some of the player data may be working.

Re guards, in the COG engine guard and militia are just infantry with a certain level of morale. Their entries in the master.txt file refer to their costs and some other properties, but when a guard/militia is created the unit is just an infantry. So when creating a guard/militia in the start2.txt file, simply use the index of a regular infantry, not the index given for a guard in master.txt (viz. 12). To make an infantry a militia or guard in start2.txt, simply give it the corresponding level of morale.

I'll have to look further into the claim that morale levels are not preserved for non-basic units; looking over the code I can't see any immediate reason why there would be a distinction. I'll run it through the debugger and see what I can come up with.




malthaussen -> RE: COG Mods (1/20/2006 10:46:32 AM)

I'll send ya the files if you want. When I change name or NML for Turkey (the country I'm using for the test), the changes only take effect if the players2 file is in the data folder. I would note that every scenario I have started has Napoleon as leader of the French, despite what it says in the players2 file of the scenario.

As for the special units and their starting morale, I've played around with this a lot (or even alot). Whether the Start2 file is in the data folder or the scenario folder, the morale will be the same as the country's morale in the Players2 file in the data folder. I suspect, actually, that non-standard units work differently in other ways in the game as well, but I haven't messed around with it enough to be sure. I'll keep you posted.:)

For grins and giggles, I tossed the players2 file out of the data folder to see if the startup would look in the scenario folder instead. No joy -- the game crashed on start. It did, however, generate an empty players2 file in the data folder, which was unexpected.:)

-- Mal




ericbabe -> RE: COG Mods (1/20/2006 4:37:46 PM)

I did find the bug that won't set the morale for units other than infantry, cavalry, artillery, and have fixed that.

Will look into why it's not using players2.txt from the Scenarios folders.





alaric318 -> RE: About Infantry Guards... (1/20/2006 9:59:02 PM)

greetings, please take care about put your guards the very first infantry units in the oob, for each nation (Order Of Battle), the "Start2.Txt file or otherwise this units may drain morale of infantry units idexed previously added on the "start2.txt", you can put cavalry and artillery units and then start to add regular infantry when finished in adding guards, but if you put infantry and then guards, the infantry units suffer the "drain morale" rule for build guards, i think all of it, the best way is to form a guards corps or army for wished nation and then add below regular infantry. i have one mod from mine to test if give some problems, but can´t make it public at least to when i have play a with it and being sure it do not give problems, i maybe will are interested if people have problems with make a backup of the standard /data folder and change it to a modded /data folder, cannot say at this moment if the game can work fine this way but going to test it sometime when i have time,

thanks to all for your time to read, and thanks to the developers for make and, at least for me, OUTSTANDING very good wargame,
there aren't other game for the genre with the scope of "Crown Of Glory", strategic and tactical level and every on turn based gameplay, and good napoleonic game too, if you make a comparison with the others games in the market about this "topic" or "genre" say as "imperial glory", at least for me, "CoG" is the best strategic-tactical-napoleonic wargame on the board for this time, hope to see the engine going to others theathers of operations,

with my best regards,

Murat30.




silber -> RE: COG Mods (1/25/2006 12:13:21 AM)

Is there any way to modify a saved game? Are there any data files which are read in at game load time vs. scenario start? (I was wondering if you could modify an ongoing 1792 game to reproduce French corps sizes etc.)




ericbabe -> RE: COG Mods (1/25/2006 4:54:29 PM)

quote:

ORIGINAL: silber
Is there any way to modify a saved game? Are there any data files which are read in at game load time vs. scenario start? (I was wondering if you could modify an ongoing 1792 game to reproduce French corps sizes etc.)


The save game files are just text files, but the format is fairly complicated. To edit the strengths of divisions, I'd recommend trying the following procedure:

1) Rename any division whose strength you wish to edit.
2) Save the game.
3) Edit the saved game in a good text editor (some versions of Notepad may not be able to handle the large file size.)
4) Search the save game for the names of any divisions you wish to edit.
5) The first three numbers after the name of a division are internal numbers used by the program (piece handles and similar.)
6) The fourth number is strength.
7) The fifth number is morale.
8) You should be able to edit the 4th and 5th numbers to change these properties.





BohemondAJE -> RE: COG Mods (2/2/2006 1:02:47 PM)

Hi,

I play whith France and I want to give Tyrolia, conquered from Austria, to Bavaria. It seems to be imposible by diplomatic actions so i decide to modify my save. I've tried to open it with notepad C++ but i didnt manage to find Tyrol. What kind of software may I use ?

Thx




Page: <<   < prev  1 [2] 3   next >   >>

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.921875