Page 1 of 1
Weapon not showing up [Solved]
Posted: Sun Feb 20, 2011 8:55 pm
by Fiodis
One of my weapons isn't showing up in-game, but there are no messages whatsoever about it in the error log or munge log. The same unit has another custom weapon that works fine. The game does not crash - it's just as if I had never added the weapon in the first place. What could be wrong?
Re: Weapon not showing up
Posted: Sun Feb 20, 2011 9:00 pm
by 501st_commander
Did you add the weapon to the unit? Not saying you didn't, but this is the only thing i can think of.
Re: Weapon not showing up
Posted: Sun Feb 20, 2011 9:47 pm
by ACEwithSPADES
does it have a class parent(although if it didn't i think crash) but other then what commander said i can't think of anything else

Re: Weapon not showing up
Posted: Sun Feb 20, 2011 9:56 pm
by Firefang
Did you check that all numbers (ammo, name, etc.) match up to the weapon number? And that everything is spelled right?
Re: Weapon not showing up
Posted: Sun Feb 20, 2011 10:17 pm
by Fiodis
It does have a class parent. I have checked multiple times for stupid mistakes and have found none.
Re: Weapon not showing up
Posted: Sun Feb 20, 2011 10:20 pm
by ACEwithSPADES
can u post the weps odf?
Re: Weapon not showing up
Posted: Sun Feb 20, 2011 10:22 pm
by Fiodis
Re: Weapon not showing up
Posted: Sun Feb 20, 2011 10:26 pm
by ACEwithSPADES
pretty sure the
MedalsTypeToUnlock = 4
ScoreForMedalsType = 9999
is supposed to be the same...
Re: Weapon not showing up
Posted: Sun Feb 20, 2011 10:32 pm
by kinetosimpetus
Do you want the unit to always have the weapon? Then put both of those to -1.
ScoreForMedals type determines which award the weapon can earn. The type to lock and unlock codes determine which awards unlock or lock the weapon.
Re: Weapon not showing up
Posted: Mon Feb 21, 2011 1:44 pm
by Fiodis
kinetosimpetus wrote:Do you want the unit to always have the weapon? Then put both of those to -1.
ScoreForMedals type determines which award the weapon can earn. The type to lock and unlock codes determine which awards unlock or lock the weapon.
Thanks, setting them both to -1 made the weapon show up.