• 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 Error After Compiling

im added this ammo in my S.perks but i have a error:

Code:
Importing Defaults for V94LLIPickup
KFFServerPerksP.V94LLIPickup: Unknown property in defaults:      showMesh=Skelet
alMesh'V94LLI_A.V94LLI_3rd'
Code:
class V94LLIPickup extends KFWeaponPickup;

defaultproperties
{
     Weight=14.000000
     cost=6000
     BuyClipSize=5
     AmmoCost=300
     PowerValue=100
     SpeedValue=15
     RangeValue=100
     Description="Is a Russian large calibre semi-automatic sniper rifle chambered for the 12.7 x 108 mm round. The rifle is capable of engaging manpower at a distance of up to 1800 m and combat materiel at range up to 2500 m."
     ItemName="V-94 Volga"
     ItemShortName="V-94 Volga"
     AmmoItemName="Bullets 12,7x108mm(B32)"
     showMesh=SkeletalMesh'V94LLI_A.V94LLI_3rd'
     CorrespondingPerkIndex=2
     EquipmentCategoryID=2
     InventoryType=Class'V94LLImut.V94LLI'
     PickupMessage="You got the V-94 Volga"
     PickupSound=Sound'V94LLI_A.V94LLI_Snd.V94LLI_pickup'
     PickupForce="AssaultRiflePickup"
     StaticMesh=StaticMesh'V94LLI_A.V94LLI_st'
     DrawScale=1.5
     CollisionRadius=30.000000
     CollisionHeight=5.000000
}
 
Last edited:
im added this ammo in my S.perks but i have a error:

Code:
Importing Defaults for V94LLIPickup
KFFServerPerksP.V94LLIPickup: Unknown property in defaults:      showMesh=Skelet
alMesh'V94LLI_A.V94LLI_3rd'
Code:
class V94LLIPickup extends KFWeaponPickup;

defaultproperties
{
     Weight=14.000000
     cost=6000
     BuyClipSize=5
     AmmoCost=300
     PowerValue=100
     SpeedValue=15
     RangeValue=100
     Description="Is a Russian large calibre semi-automatic sniper rifle chambered for the 12.7 x 108 mm round. The rifle is capable of engaging manpower at a distance of up to 1800 m and combat materiel at range up to 2500 m."
     ItemName="V-94 Volga"
     ItemShortName="V-94 Volga"
     AmmoItemName="Bullets 12,7x108mm(B32)"
     showMesh=SkeletalMesh'V94LLI_A.V94LLI_3rd'
     CorrespondingPerkIndex=2
     EquipmentCategoryID=2
     InventoryType=Class'V94LLImut.V94LLI'
     PickupMessage="You got the V-94 Volga"
     PickupSound=Sound'V94LLI_A.V94LLI_Snd.V94LLI_pickup'
     PickupForce="AssaultRiflePickup"
     StaticMesh=StaticMesh'V94LLI_A.V94LLI_st'
     DrawScale=1.5
     CollisionRadius=30.000000
     CollisionHeight=5.000000
}

Rename showMesh on Mesh.
 
Upvote 0