Page 1 of 1
Unable to Switch Weapons
Posted: Tue Jul 14, 2009 1:59 pm
by Fierfek
Okay, so I have a unit with a shotgun and pistol. In the spawn menu, it only says pistol, but when I spawn, he starts with the shotgun. Then, when I switch to pistol, I can't switch back to shotgun.
Help?
Re: Unable to Switch Weapons
Posted: Tue Jul 14, 2009 3:36 pm
by AQT
One of the awards weapons glitch this is. Make sure your weapons do not inherit from a ClassParent.
Re: Unable to Switch Weapons
Posted: Tue Jul 14, 2009 3:39 pm
by Labj
Han Solo has the same trouble in the XBox
Re: Unable to Switch Weapons
Posted: Tue Jul 14, 2009 3:42 pm
by AQT
And the PC and probably other platforms too. This problem will only occur when you have/earn certain award weapons.
Re: Unable to Switch Weapons
Posted: Tue Jul 14, 2009 3:47 pm
by Fierfek
AQT wrote:One of the awards weapons glitch this is. Make sure your weapons do not inherit from a ClassParent.
Don't they need to inherit from the parent to function properly? How would I change that?
This is the award shotgun and jango's pistol.
Re: Unable to Switch Weapons
Posted: Tue Jul 14, 2009 4:12 pm
by Xavious
You can't set up the award shotgun like a normal weapon. If you do, you will only be able to use it if you have obtained the award shotgun in your game profile.
Re: Unable to Switch Weapons
Posted: Tue Jul 14, 2009 4:18 pm
by Fierfek
Xavious wrote:You can't set up the award shotgun like a normal weapon. If you do, you will only be able to use it if you have obtained the award shotgun in your game profile.
How do I make it a normal weapon, like how the precision pistols were made into jango's pistols? Do I need to delete this line in the award shotgun odf?
Re: Unable to Switch Weapons
Posted: Tue Jul 14, 2009 4:29 pm
by Xavious
Try it. I'm not entirely sure, because I've never really messed with the awards weapons.
Re: Unable to Switch Weapons
Posted: Tue Jul 14, 2009 4:56 pm
by AQT
Fierfek wrote:AQT wrote:One of the awards weapons glitch this is. Make sure your weapons do not inherit from a ClassParent.
Don't they need to inherit from the parent to function properly? How would I change that?
This is the award shotgun and jango's pistol.
Your weapon doesn't need to inherit from any ClassParent. As long as it has a ClassLabel and has all the necessary ODF parameters, it will work. Here's an example of a ClassParent-less weapon: