I'm trying to place all the assets(.uax,.utx,etc) into a single package(.u) for the purpose of decreasing the number of server packages. The file I'm trying to do this for is the LightningAR1. From what I've been able to find by adding what I have in red to GuitAR1.uc I should be able to get away with only the .u file, but I haven't been able to get it to appear in the shop after removing the files from their respective folders. Am I doing something wrong, or does this only work in certain cases like the Portal Turret?
Just wanted to add that the LightningAR is not mine I'm just using it as my example/test. All credit to original authors.
Code:
//=============================================================================
// Lightning AR-1
// The GuitAR-1
//=============================================================================
class GuitAR1 extends KFWeapon
config(user);
#exec OBJ LOAD FILE=KillingFloorWeapons.utx
#exec OBJ LOAD FILE=KillingFloorHUD.utx
#exec OBJ LOAD FILE=Inf_Weapons_Foley.uax
[COLOR=Red]#EXEC LOAD OBJ FILE="GuitarWep_A.ukx" Package="GuitarWep"
#EXEC LOAD OBJ FILE="GuitarWep_S.uax" Package="GuitarWep"
#EXEC LOAD OBJ FILE="GuitarWep_SM.usx" Package="GuitarWep"
#EXEC LOAD OBJ FILE="GuitarWep_T.utx" Package="GuitarWep"[/COLOR]