Creating Species Script

From Tripwire Interactive Wiki
Jump to: navigation, search

Species Script

You need a script file for your characters species. Create it with a text file then rename the file extension to .uc

The species script defines your species name, contains references to your 1st person arm texture, and defines references to your gore limb code class names you created in this step Creating Gore Limbs assets and script

Below is an example species class name

  • SteampunkBerserkerSpecies.uc
class SteampunkBerserkerSpecies extends CivilianSpecies;

defaultproperties
{
    SleeveTexture=Texture'KF_Weapons3_Trip_T.hands.First_Person_Sleeves_Beserke_Dr'
    DetachedArmClass = class'SeveredArmSteampunkBerserker'
    DetachedLegClass = class'SeveredLegSteampunkBerserker'
}