Gaming Zone > Killing Floor Mod
QUESTION ON KF3 STATIC MESHES...
poompoom500:
:( To 100GPing100,
I have a slight problem repacking the KFMod.u after I extracted them from KFMod20 version 3. I used console and typed ucc make KFMod -mod=KFMod20 and got several error messages. I manage to edit them all and make the thing to work. But one of the messages is below:
For the M10 Dualies Ammo Pickup --
--- Code: ---class M10DualiesAmmoPickup extends KFAmmoPickup;
defaultproperties
{
AmmoAmount=100
InventoryType=Class'KFmod.M10MacAmmo'
PickupMessage="M10 Ammo"
PickupForce="AssaultAmmoPickup"
DrawType=DT_StaticMesh
//StaticMesh=StaticMesh'KFNewMeshes1.Weapons.M10AmmoPickup'
StaticMesh=StaticMesh'WeaponStaticMesh.AssaultAmmoPickup'
}
--- End code ---
I had to use another static mesh because UCC won't accept KFNewMeshes1. Why is that?
And this goes for a few of the other weapons too.
Snipe34:
I think your problem is paths again.
Also look into your KFMod20.ini and check you have these lines under the heading: [CoreSystem] (I guess you should have unless you replaced my KFMod20.ini) :
Paths=../KFmod20/System/*.u
Paths=../KFmod20/Maps/*.ut2
Paths=../KFmod20/Textures/*.utx
Paths=../KFmod20/Sounds/*.uax
Paths=../KFmod20/StaticMeshes/*.usx
Paths=../KFmod20/Animations/*.ukx
Paths=../System/*.u
Paths=../Maps/*.ut2
Paths=../Textures/*.utx
Paths=../Sounds/*.uax
Paths=../StaticMeshes/*.usx
Paths=../Animations/*.ukx
And:
class M10DualiesAmmoPickup extends KFAmmoPickup;
#exec OBJ LOAD FILE=..\staticMeshes\KFNewMeshes1.usx < Add this line to your compile
defaultproperties
{
AmmoAmount=100
InventoryType=Class'KFmod.M10MacAmmo'
PickupMessage="M10 Ammo"
PickupForce="AssaultAmmoPickup"
DrawType=DT_StaticMesh
StaticMesh=StaticMesh'KFNewMeshes1.Weapons.M10AmmoPickup'
}
poompoom500:
:( To Snipe34,
Nope. That didn't work either. Error message says:
--- Code: ---ObjectProperty Engine.Actor.StaticMesh: unresolved reference to 'StaticMesh' KFNewMeshesi.Weapons.M10AmmoPickup' '
--- End code ---
Snipe34:
"unresolved reference" means it's not on the path; or, not in the file specificied; or, the file specified doesn't exist; or, the object is not in the file; or, the file specified is not on the path.
In other words, it cannot find the file.
You need to tell it where the file is.
This line tells it where the file is: StaticMesh=StaticMesh'KFNewMeshes1.Weapons.M10AmmoPickup'
That line was correct at the post of V3 beta. So you must have moved it. Put it back and it will work.
poompoom500:
:( To Snipe34,
I never changed anything in the M10DualiesAmmoPickup.uc file except the staticmesh line because it kept giving me that error message when I repack it (using ucc make). I had to replace it with another staticmesh. It won't take the KFNewMesh1 staticmesh.
Navigation
[0] Message Index
[#] Next page
Go to full version