Close Combat Panthers in the Fog Data Workbook
- SteveMcClaire
- Posts: 4338
- Joined: Mon Nov 19, 2007 9:31 pm
RE: Close Combat Panthers in the Fog Data Workbook
There is no limit on the number of rows you can have in weapons.txt.
Panthers in the Fog graphics use the alpha channel for transparency. One of the benefits of going to 32 bit graphics, as opposed to the old 16-bit where transparency required separate masks and a lot of pixel twiddling in code.
Steve
Panthers in the Fog graphics use the alpha channel for transparency. One of the benefits of going to 32 bit graphics, as opposed to the old 16-bit where transparency required separate masks and a lot of pixel twiddling in code.
Steve
-
- Posts: 1280
- Joined: Mon Nov 12, 2001 10:00 am
- Location: Spain
- Contact:
RE: Close Combat Panthers in the Fog Data Workbook
Thanks by the answer. I have one small question which perhaps you can answer. What is the reason from this error, I do not understand it.
Vehicle 6, has ammo it can not fire, mount 0, gun 0, ammo 3.
RE: Close Combat Panthers in the Fog Data Workbook
The error messages in the re-releases are very helpful for mod makers and tend to be pretty clear.
Vehicle 6 has ammo defined which it can not fire. Check mount # and gun # ammo.
Vehicle 6 has ammo defined which it can not fire. Check mount # and gun # ammo.
-
- Posts: 1280
- Joined: Mon Nov 12, 2001 10:00 am
- Location: Spain
- Contact:
RE: Close Combat Panthers in the Fog Data Workbook
Yes it can helps but I have checked and I do not see the problem.Vehicle 6, has ammo it can not fire, mount 0, gun 0, ammo 3.
Other question, how you copy the data from the workbook to the txt files. Just copy and paste? sorry but I have been out the CC game for years and I do not remember everything.[;)]
- SteveMcClaire
- Posts: 4338
- Joined: Mon Nov 19, 2007 9:31 pm
RE: Close Combat Panthers in the Fog Data Workbook
That error means that in vehicles.txt, vehicle class 6 has ammo assigned to one of it's weapons, and in weapons.txt that weapon has a fire mode of 'none' (meaning it cannot fire that type of ammo). In this case mount 0, gun 0 is the first hull weapon. Ammo type 3 is smoke ammo. Just set the smoke ammo column for that weapon to 0 (should be column 'N' in Excel).
And yes, I just cut & paste the data values out of Excel (don't forget the count of entries at the top) into a text file and save it.
Steve
And yes, I just cut & paste the data values out of Excel (don't forget the count of entries at the top) into a text file and save it.
Steve
-
- Posts: 1280
- Joined: Mon Nov 12, 2001 10:00 am
- Location: Spain
- Contact:
RE: Close Combat Panthers in the Fog Data Workbook
Thanks by the tip. It will help me a lot for fix the imported code.
I wait that my questions do not take you too many time from to work at Close Combat – The Bloody First. I have announced the game at all my sites, I wait that you publish one screenshot, even the main screen, just for a better show to the people. I hope this new game will attract to many new players, specially if we can make new maps and if we replace the 3D models, it would be awesome. Just imagine how many people can buy it if the game can be edited for other war or era.
Thanks. Regards.
I wait that my questions do not take you too many time from to work at Close Combat – The Bloody First. I have announced the game at all my sites, I wait that you publish one screenshot, even the main screen, just for a better show to the people. I hope this new game will attract to many new players, specially if we can make new maps and if we replace the 3D models, it would be awesome. Just imagine how many people can buy it if the game can be edited for other war or era.
Thanks. Regards.
-
- Posts: 88
- Joined: Fri Nov 28, 2008 12:41 pm
- Contact:
RE: Close Combat Panthers in the Fog Data Workbook
Are there any limits IN SOLDIERS.TXT max number 127??
In alteams/soldier list put RANGE 0-127 but in soldiers.txt put RANGE 0-32767
Thanks in advance steve and sorryformy english
In alteams/soldier list put RANGE 0-127 but in soldiers.txt put RANGE 0-32767
Thanks in advance steve and sorryformy english
heia safari!
- SteveMcClaire
- Posts: 4338
- Joined: Mon Nov 19, 2007 9:31 pm
RE: Close Combat Panthers in the Fog Data Workbook
Hi DAK_Legion,
The limit of entries in the soldiers file is 32768 entries (0 to 32767). The only data file with meaningful limit is the vehicles file (120).
Steve
The limit of entries in the soldiers file is 32768 entries (0 to 32767). The only data file with meaningful limit is the vehicles file (120).
Steve
-
- Posts: 88
- Joined: Fri Nov 28, 2008 12:41 pm
- Contact:
RE: Close Combat Panthers in the Fog Data Workbook
But the limit of 120 vehicles it´s very bad for this community steve:(
Make no sense have 30000 diferents soldiers and only 120 vehicles
It´s possible can change this limit?..maybe in a future patch???
Getaway to Caen also has this limit????
Thanks
Make no sense have 30000 diferents soldiers and only 120 vehicles
It´s possible can change this limit?..maybe in a future patch???
Getaway to Caen also has this limit????
Thanks
heia safari!
- SteveMcClaire
- Posts: 4338
- Joined: Mon Nov 19, 2007 9:31 pm
RE: Close Combat Panthers in the Fog Data Workbook
Yes, it will be changed. Gateway to Caen will have the change, as well as any future Panthers update.
Steve
Steve
-
- Posts: 88
- Joined: Fri Nov 28, 2008 12:41 pm
- Contact:
RE: Close Combat Panthers in the Fog Data Workbook
What should I edit to directly change amount of onmap units in battlegroups?
- SteveMcClaire
- Posts: 4338
- Joined: Mon Nov 19, 2007 9:31 pm
RE: Close Combat Panthers in the Fog Data Workbook
You can edit the Force Pools to add more companies to every battlegroup, and this will increase the number of unit slots they have available. The maximum number of units is still going to be 21, however.
Steve
Steve
RE: Close Combat Panthers in the Fog Data Workbook
What are the headers for the various parts of the soldier sprite that can be colored?
I lost my notes and forgot which code corresponds to what. The workbook doesn't have them either.
Can anyone help?
I lost my notes and forgot which code corresponds to what. The workbook doesn't have them either.
Can anyone help?
Hard-core Spectre
- SteveMcClaire
- Posts: 4338
- Joined: Mon Nov 19, 2007 9:31 pm
RE: Close Combat Panthers in the Fog Data Workbook
Hi Kanov,
I assume you mean the data columns in uniforms.txt? They are:
Unused, Jacket, Pants, Helmet, Belt, Boots, Weapon, Unused
The "Unused" entries are still in there due to the sprite pixel colors, which are mapped with 'Jacket' in the second slot rather than the first, and to round it out to 8 slots total. To get rid of them we'd need to re-do every soldier sprite.
Steve
I assume you mean the data columns in uniforms.txt? They are:
Unused, Jacket, Pants, Helmet, Belt, Boots, Weapon, Unused
The "Unused" entries are still in there due to the sprite pixel colors, which are mapped with 'Jacket' in the second slot rather than the first, and to round it out to 8 slots total. To get rid of them we'd need to re-do every soldier sprite.
Steve
RE: Close Combat Panthers in the Fog Data Workbook
Yes that's the info I was looking for thanks Steve.
Hard-core Spectre
RE: Close Combat Panthers in the Fog Data Workbook
Hi,
Any chance to use a comment char in the tab delimited files? like weapons, soldiers etc.
I ask for this because I want to add headers into the file itself, since I'm trying 3rd party programs to read CSV files to make modding easier but they don't have headers. Using the # at the top of the file crashes the game.
Thanks.
Any chance to use a comment char in the tab delimited files? like weapons, soldiers etc.
I ask for this because I want to add headers into the file itself, since I'm trying 3rd party programs to read CSV files to make modding easier but they don't have headers. Using the # at the top of the file crashes the game.
Thanks.
Hard-core Spectre
- SteveMcClaire
- Posts: 4338
- Joined: Mon Nov 19, 2007 9:31 pm
RE: Close Combat Panthers in the Fog Data Workbook
The old-style data files (elements, weapons, vehicles, soldiers, teams, bgroups, and fpools) do not support the # comment character. Sorry.
You can put comments (or whatever you want) at the END of these files though as the code stops reading the file after the indicated number of entries.
Steve
You can put comments (or whatever you want) at the END of these files though as the code stops reading the file after the indicated number of entries.
Steve
RE: Close Combat Panthers in the Fog Data Workbook
Yes I figured I could put comments at the end of the file. I sent a message to a programmer of one of those editors to see if he could implement the reading of the last line of a csv file as header. Yes I ask for many things but I do not know how to program!
Meanwhile I'm using Qclone as I find it easier and more friendly than modding in excel. The bad thing is that the name of the file supported are hardcoded and you have to rename some of the files to make it work.
If you want the modified cc3.ini for qclone to work with Pitf and some instructions go to http://www.closecombatseries.net/CCS/mo ... ic&t=10485. Still testing so if you encounter a problem please let me know.
Meanwhile I'm using Qclone as I find it easier and more friendly than modding in excel. The bad thing is that the name of the file supported are hardcoded and you have to rename some of the files to make it work.
If you want the modified cc3.ini for qclone to work with Pitf and some instructions go to http://www.closecombatseries.net/CCS/mo ... ic&t=10485. Still testing so if you encounter a problem please let me know.
Hard-core Spectre
- SteveMcClaire
- Posts: 4338
- Joined: Mon Nov 19, 2007 9:31 pm
RE: Close Combat Panthers in the Fog Data Workbook
QClone is a handy little program, though I haven't used it in ages. From what I remember it is pretty flexible, allowing you to define the number and names of all the columns. So it should be fine for that.
Steve
Steve