Heavy Sniper (Full Version)

All Forums >> [New Releases from Matrix Games] >> Close Combat Series >> Close Combat - Cross of Iron >> Cross of Iron Modding



Message


Napalm_Knight_49 -> Heavy Sniper (11/22/2011 8:47:01 PM)

I'd like to add/change the AT rifle teams to be a "Heavy Sniper" team, what would I need to change to make a team that's anti-personnel only?




SteveMcClaire -> RE: Heavy Sniper (11/23/2011 4:41:09 PM)

First off, I would strongly recommend you make a copy of the original file(s) before changing anything, just in case. :)

I would suggest getting QClone (google for it), an older community-created utility program for editing older Close Combat data files.  The Cross of Iron files should be editable using the CC3 settings in QClone.

The file you'll need to edit for this is weapons.txt in the Close Combat III\Data\Base directory.  The columns you'll want to change are the 7th and 8th columns of data (counting the left most column - the weapon name - as 1).  You will want these to read 0 and 1 respectively (the same as for weapons like rifles).





Napalm_Knight_49 -> RE: Heavy Sniper (11/23/2011 5:47:29 PM)

Ok thanks, How would I go about adding them as a separate team?




SteveMcClaire -> RE: Heavy Sniper (11/24/2011 7:19:58 PM)

This is a bit more complicated -- you need to add a new entry to weapon.txt, the soldier.txt, and the RUTeams.txt.  You will definitely want a tool (like QClone) that shows you the meaning of the various data columns while doing this. I would definitely create a backup of your original weapons.txt / soldiers.txt / RUTeams.txt, so you can go back to them easily if you make a mistake.

First you need to copy the whole row for the AT rifle you want to modify in weapons.txt and add it to the end of the file, updating the weapon class for the new entry to the next highest value.  Edit this weapon so the target types are as described above.

Then you need to create a copy of the AT rifle soldier in soldiers.txt, add that to the end of the file, and update the soldier class to the next highest value.  Then update the soldier's weapon so that the weapon class that used to indicate the original AT rifle now has the value of the new entry you added to weapon.txt.

Finally you need to create a copy of the AT rifle team in RUTeams.txt, add this to the end of the file, update the team class so it is the next available value in the file, and then edit the soldier list for the team so that it indicates the soldier class of the new soldier you just added to soldier.txt, rather than the old value of the original AT rifle soldier.





Napalm_Knight_49 -> RE: Heavy Sniper (11/24/2011 7:29:01 PM)

Thanks for the info




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.953125