I've done a little RO modding in the past (silly BA64s, SVT Shotgun, etc.) so I decided to give KF modding a whirl. My first project (after learning that the Trader SFX are buried so deep in the code that a "Resident Evil 4 Merchant" mod would be impractical) is porting over the STG44 from RO. Nothing to release, mind you, just doing it for experience and kicks.
I've hit a snag, though. Using the Bullpup code as a starting point, I believe that I've got everything in working order... except for one thing. Observe the following line of code from BullpupPickup.uc :
StaticMesh=StaticMesh'KF_pickups_Trip.Bullpup_Pickup'
Innocent enough, right? My understanding is that this line tells UCC to look in the "StaticMeshes" folder for KF_pickups_Trip.usx . It then searches inside that for Bullpup_Pickup. However, when I do this:
StaticMesh=StaticMesh'WeaponPickupSM.Weapons.stg44'
I get the compiler error "unresolved reference". I know what you are thinking: "Silly Duckie, referencing a .usx file from RO in a different game!" The problem is that I copied WeaponPickupSM from RO's StaticMeshes folder. I still get the error.
Compounding this problem is that if I open up UnrealED / Killing Floor SDK, WeaponPickupSM doesn't appear in the Static Mesh browser. Yet I can open it from within the SDK without any issues and even browse around, check that stg44 exists in it, etc.
So, long story short: What's the gimmick stopping me from adding new Static Meshes, Sounds, Animations, whatever to their respective folders and having them recognized when referenced in code?
I've hit a snag, though. Using the Bullpup code as a starting point, I believe that I've got everything in working order... except for one thing. Observe the following line of code from BullpupPickup.uc :
StaticMesh=StaticMesh'KF_pickups_Trip.Bullpup_Pickup'
Innocent enough, right? My understanding is that this line tells UCC to look in the "StaticMeshes" folder for KF_pickups_Trip.usx . It then searches inside that for Bullpup_Pickup. However, when I do this:
StaticMesh=StaticMesh'WeaponPickupSM.Weapons.stg44'
I get the compiler error "unresolved reference". I know what you are thinking: "Silly Duckie, referencing a .usx file from RO in a different game!" The problem is that I copied WeaponPickupSM from RO's StaticMeshes folder. I still get the error.
Compounding this problem is that if I open up UnrealED / Killing Floor SDK, WeaponPickupSM doesn't appear in the Static Mesh browser. Yet I can open it from within the SDK without any issues and even browse around, check that stg44 exists in it, etc.
So, long story short: What's the gimmick stopping me from adding new Static Meshes, Sounds, Animations, whatever to their respective folders and having them recognized when referenced in code?