Weapon not showing up [Solved]
Moderator: Moderators
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Weapon not showing up [Solved]
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?
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: Weapon not showing up
Did you add the weapon to the unit? Not saying you didn't, but this is the only thing i can think of.
- ACEwithSPADES
- Command Sergeant Major

- Posts: 253
- Joined: Thu Jan 20, 2011 3:49 pm
- Projects :: Alzoc 3
- xbox live or psn: xundyingxace
- Location: Somewhere, but most likely where i am
Re: Weapon not showing up
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 
Last edited by ACEwithSPADES on Sun Feb 20, 2011 10:15 pm, edited 1 time in total.
- Firefang
- Major

- Posts: 518
- Joined: Mon Nov 15, 2010 8:55 pm
- Location: California
Re: Weapon not showing up
Did you check that all numbers (ammo, name, etc.) match up to the weapon number? And that everything is spelled right?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Weapon not showing up
It does have a class parent. I have checked multiple times for stupid mistakes and have found none.
- ACEwithSPADES
- Command Sergeant Major

- Posts: 253
- Joined: Thu Jan 20, 2011 3:49 pm
- Projects :: Alzoc 3
- xbox live or psn: xundyingxace
- Location: Somewhere, but most likely where i am
Re: Weapon not showing up
can u post the weps odf?
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Weapon not showing up
Odf:
Ordance:
Hidden/Spoiler:
Hidden/Spoiler:
- ACEwithSPADES
- Command Sergeant Major

- Posts: 253
- Joined: Thu Jan 20, 2011 3:49 pm
- Projects :: Alzoc 3
- xbox live or psn: xundyingxace
- Location: Somewhere, but most likely where i am
Re: Weapon not showing up
pretty sure the
MedalsTypeToUnlock = 4
ScoreForMedalsType = 9999
is supposed to be the same...
MedalsTypeToUnlock = 4
ScoreForMedalsType = 9999
is supposed to be the same...
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: Weapon not showing up
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.
ScoreForMedals type determines which award the weapon can earn. The type to lock and unlock codes determine which awards unlock or lock the weapon.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: Weapon not showing up
Thanks, setting them both to -1 made the weapon show up.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.
