Creating Species Script

From Tripwire Interactive Wiki
Jump to navigation Jump to 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;

    DetachedArmClass = class'SeveredArmSteampunkBerserker'
    DetachedLegClass = class'SeveredLegSteampunkBerserker'