• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Code Cannot change weapons on server

Deeival

Grizzled Veteran
Sep 4, 2006
674
1
Made a custom class with custom weapons:
Code:
...
PrimaryWeapons(0)=(Item=class'ROStuffDeeival.STG69Weapon',Amount=6,AssociatedAttachment=class'ROInventory.ROKar98AmmoPouch')  
PrimaryWeapons(1)=(Item=class'ROStuffDeeival.P09LugerWeapon',Amount=6,AssociatedAttachment=class'ROInventory.ROKar98AmmoPouch')
GivenItems(0)=none
Headgear(0)=class'ROInventory.ROGermanHat'
SecondaryWeapons(0)=(Item=None,Amount=0)
SecondaryWeapons(1)=(Item=None,Amount=0)
Grenades(0)=(Item=class'ROStuffDeeival.SuperF1GrenadeWeapon',Amount=2)
...

Now I run into the problem that I cannot change weapons on a server (I have to drop my primary weapon to get to the grenades). But the whole weapon switching works fine in practise mode.

Any idea where that bug is coming from?