Ok. Thank you Tendency. That is sufficiently clear that I should be able to muddle my way through and add custom weapons to a serverperks server. I'll give it a try with an gun done in english first. You've saved me quite a bit of hassle.
Now I've got to get to downloading all the Russian guns, and making sure there's no version mismatches. I believe that Gartley's patch still doesn't work if you don't have all of the weapons in the collection at once. Still, that's a lot better than the standstill i was at before.
Cheers.
Not a problem. Lets take the weapon from Gartley. We can add the Colt 1911 by editing the ServerPerks.ini file. Note: The weapon placement(number) is relative to the WeaponCategories. 0=Melee;1=Pistols etc.
So below is a section from a default ServerPerks.ini file. We will add the Colt 1911 to the last line, under TraderInventory!
TraderInventory=4:KFMod.M4203Pickup
TraderInventory=4:KFMod.M7A3MPickup
TraderInventory=2:KFMod.KSGPickup
TraderInventory=1:KFMod.MK23Pickup
TraderInventory=1:KFMod.DualMK23Pickup
TraderInventory=4:KFMod.FNFAL_ACOG_Pickup
TraderInventory=1:WM1911Pistol.ColtPickup
WeaponCategories=Melee
WeaponCategories=Pistol
WeaponCategories=Shotgun
WeaponCategories=Sniper
WeaponCategories=Machine Gun
WeaponCategories=Explosive
WeaponCategories=Flame Thrower
Now you will have the Colt 1911 under the Pistols section in the trader menu.
Note: You will need to add the .U file to the ServerPackages in the KillingFloor.ini so that people joining your server will download the files needed. see below.
[Engine.GameEngine]
CacheSizeMegs=32
UseSound=True
VoIPAllowVAD=False
ServerActors=IpDrv.MasterServerUplink
ServerActors=UWeb.WebServer
ServerPackages=Core
ServerPackages=Engine
ServerPackages=Fire
ServerPackages=Editor
ServerPackages=IpDrv
ServerPackages=UWeb
ServerPackages=GamePlay
ServerPackages=UnrealGame
ServerPackages=XGame
ServerPackages=XInterface
ServerPackages=GUI2K4
ServerPackag es=xVoting
ServerPackages=WM1911Pistol
Then you are set. If you need anything, just ask,
Last edited:
Upvote
0