Posted: Sat Apr 15, 2017 8:48 am Post subject: Soldier has ammo he can not fire
Hi Guys,
I created several new weapons in the weapons table, to be correct I added several explosive types from the LSA GoldJunoSword mod to Gateway to Caen, the Gammon Bomb, the "Haftmine", a Molotov cocktail and a "Geballte Ladung" (german grenade bundle).
I created several new soldiers who use any of these newly added explosives/grenades as secondary weapon like MP 40/Molotov or StG 44/Haftmine, I set the ammunition for the secondary weapons as 1 in column X of the soldier table (number of high explosive ammo clips for secondary weapon) but I allways get the error "Soldier 59, has ammo he can not fire, gun 2, ammo 1."
Soldier 59 is the first soldier who uses one of the newly added secondary weapons. Screenshot of the error attached to this post.
Posted: Sat Apr 15, 2017 11:30 am Post subject: Re: Soldier has ammo he can not fire
First thing is to check in Weapons.txt for what kind of ammunition your added weapon uses. - You see this in the blast size and min range, kill and blast ration coloumns.
A molotov for examnple would use the "Special" Ammuniton type as it is an inciendiary device. - So in Soldiers.txt it need its ammunition amount entered in the "Secondary Special" coloumn.
Posted: Mon Apr 17, 2017 8:48 am Post subject: Re: Soldier has ammo he can not fire
These popup messages in the new releases are a big help finding errors. Some of your data errors may not cause a crash and are therefore more difficult to find without the messages.
This message basically says that your soldier 59 has several weapons, of which the second weapon has ammo allotted that the weapon can not fire. So the weapon is not coded to fire AP type of ammo. Just remove the clips in the designated column: AP, ( = ammo 1) .
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
In August of 2004, Zappi, Homba, Bambam887, RedScorpion and MOOXE all pitched
in to create this Close Combat site. I would to thank all the people who have visited
and found this site to thier liking. I hope you had time to check out some
of the great Close Combat mods and our forums. I'd also like to thank
all the members of our volunteer staff that have helped over
the years, and all our users that contributed to this site!