Creating UPL File

From Tripwire Interactive Wiki
Jump to navigation Jump to search

UPL Overview

A .upl file is needed to add a new playable character to Killing Floor. The upl file is a configuration file that tells the character what content to use. Do not leave any spaces between variables, everything should be in () and seperated by commas. Check another working UPL as an example for yours.

UPL Location:The UPL files go in the Killing Floor System Folder. For example G:\KillingFloor\System\Shadow_Ferret.upl

File Name:The UPL file should be named whatever you want your characters name to be in the character selection menu. You cannot have spaces, use _ instead.

UPL Settings

Default Name: ​This should be identical to the file name. If your file name is Shadow_Ferret.upl your default name would be DefaultName="Shadow_Ferret"

Race: Leftover from UT, just leave it to whatever is default or copied from another KF upl.

Mesh: Skeletal Mesh reference <PackageName.MeshName> Set to whatever skeletal mesh you want this character to use.

Species: The code class for the species of the character. <CodePackageName.CodeClass> The species contains references to the gore limbs and first person arms and needs to be made by a coder.

BodySkin: The texture reference of the character. <TexturePackageName.Group(if you have a group).MaterialName> This can be a texture, combiner, shader, etc. Set it to what you want to show up in game.

FaceSkin: I belive this is left over from UT, I just duplicate the bodyskin for the face skin. This may be needed if you have the face on a 2nd material ID.

Portrait: The portrait image that shows up in the profile or character selection screen if you own the character.

LockedPortrait: The portrait image that shows up in the profile or character selection screen if you DO NOT own the character.

Text: Leave blank, should just look like Text=""

Sex: ​Set to male if your character is male, set to female if your character is female

Accuracy: Bot AI Variables, do not change from default value taken from another KF UPL

Aggressiveness: Bot AI Variables, do not change from default value taken from another KF UPL

StrafingAbility: Bot AI Variables, do not change from default value taken from another KF UPL

CombatStyle: Bot AI Variables, do not change from default value taken from another KF UPL

Tactics: Bot AI Variables, do not change from default value taken from another KF UPL

FavoriteWeapon: Bot AI Variables, do not change from default value taken from another KF UPL​

Ragdoll: Set to the name of the karma ragdoll. All KF characters use the same ragdoll so your setting should be Ragdoll=British_Soldier1

Skeleton: Sets the skeleton name. I don't believe we use this setting, leave to what you find in other KF UPL's KFSoldiers.Soldier

Menu: Leave to the default value you see in other KF UPL's Menu="SP"

BotUse: Bot AI Variables, do not change from default value taken from another KF UPL

VoiceClassName: Code Class for Voice Pack. <CodePackageName.CodeClass> Sets the name of the voice pack for the DLC character to use.