Close Combat Panthers in the Fog Data Workbook

Post new mods and scenarios here.
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by SteveMcClaire »

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
Nomada_Firefox
Posts: 1280
Joined: Mon Nov 12, 2001 10:00 am
Location: Spain
Contact:

RE: Close Combat Panthers in the Fog Data Workbook

Post by Nomada_Firefox »

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.
Tejszd
Posts: 3467
Joined: Sat Nov 17, 2007 4:32 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by Tejszd »

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.
Nomada_Firefox
Posts: 1280
Joined: Mon Nov 12, 2001 10:00 am
Location: Spain
Contact:

RE: Close Combat Panthers in the Fog Data Workbook

Post by Nomada_Firefox »

Vehicle 6, has ammo it can not fire, mount 0, gun 0, ammo 3.
Yes it can helps but I have checked and I do not see the problem.

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.[;)]
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by SteveMcClaire »

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
Nomada_Firefox
Posts: 1280
Joined: Mon Nov 12, 2001 10:00 am
Location: Spain
Contact:

RE: Close Combat Panthers in the Fog Data Workbook

Post by Nomada_Firefox »

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.
DAK_Legion
Posts: 88
Joined: Fri Nov 28, 2008 12:41 pm
Contact:

RE: Close Combat Panthers in the Fog Data Workbook

Post by DAK_Legion »

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
heia safari!
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by SteveMcClaire »

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

DAK_Legion
Posts: 88
Joined: Fri Nov 28, 2008 12:41 pm
Contact:

RE: Close Combat Panthers in the Fog Data Workbook

Post by DAK_Legion »

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
heia safari!
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by SteveMcClaire »

Yes, it will be changed. Gateway to Caen will have the change, as well as any future Panthers update.

Steve
DAK_Legion
Posts: 88
Joined: Fri Nov 28, 2008 12:41 pm
Contact:

RE: Close Combat Panthers in the Fog Data Workbook

Post by DAK_Legion »

A great notice steve;)

THANKS!
heia safari!
demol
Posts: 8
Joined: Fri Feb 11, 2011 7:39 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by demol »

What should I edit to directly change amount of onmap units in battlegroups?
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by SteveMcClaire »

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
User avatar
Kanov
Posts: 350
Joined: Mon May 21, 2012 2:02 pm
Location: México

RE: Close Combat Panthers in the Fog Data Workbook

Post by Kanov »

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?
Hard-core Spectre
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by SteveMcClaire »

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
User avatar
Kanov
Posts: 350
Joined: Mon May 21, 2012 2:02 pm
Location: México

RE: Close Combat Panthers in the Fog Data Workbook

Post by Kanov »

Yes that's the info I was looking for thanks Steve.
Hard-core Spectre
User avatar
Kanov
Posts: 350
Joined: Mon May 21, 2012 2:02 pm
Location: México

RE: Close Combat Panthers in the Fog Data Workbook

Post by Kanov »

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.
Hard-core Spectre
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by SteveMcClaire »

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

User avatar
Kanov
Posts: 350
Joined: Mon May 21, 2012 2:02 pm
Location: México

RE: Close Combat Panthers in the Fog Data Workbook

Post by Kanov »

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.
Hard-core Spectre
User avatar
SteveMcClaire
Posts: 4338
Joined: Mon Nov 19, 2007 9:31 pm

RE: Close Combat Panthers in the Fog Data Workbook

Post by SteveMcClaire »

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
Post Reply

Return to “Mods and Scenarios”