Soldier has ammo he can not fire
Select messages from
# through # Forum FAQ
[/[Print]\]

Close Combat Series -> Modding Workshop

#1: Soldier has ammo he can not fire Author: Riddler PostPosted: Sat Apr 15, 2017 8:48 am
    —
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.

Can someone help me?



Unbenannt.PNG
 Description:
 Filesize:  10.3 KB
 Viewed:  2906 Time(s)

Unbenannt.PNG



#2: Re: Soldier has ammo he can not fire Author: ScnelleMeyer PostPosted: Sat Apr 15, 2017 11:30 am
    —
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.

#3: Re: Soldier has ammo he can not fire Author: mick_xe5 PostPosted: Sat Apr 15, 2017 12:10 pm
    —
Or refer to the GJS/LSA Soldiers file for which type of secondary ammo to use (Molotov = column AA; Hafthohladung = column Y)

#4: Re: Soldier has ammo he can not fire Author: PeteLocation: Nijmegen, Netherlands PostPosted: Mon Apr 17, 2017 8:48 am
    —
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) .



Close Combat Series -> Modding Workshop


output generated using printer-friendly topic mod. All times are GMT

Page 1 of 1