Author Topic: Development Sheet For Factions (Renewed and Edited)  (Read 66 times)

Offline Halokiller38

  • Director
  • Newbie
  • *****
  • Posts: 28
    • View Profile
Development Sheet For Factions (Renewed and Edited)
« on: June 28, 2012, 03:21:42 am »
Always make it look like this

local FACTION = {};

FACTION.useFullName = true;
FACTION.models = {
   female = {
      "models/humans/group34/female_01.mdl",
      "models/humans/group34/female_02.mdl",
      "models/humans/group34/female_03.mdl",
      "models/humans/group34/female_04.mdl",
      "models/humans/group34/female_06.mdl",
      "models/humans/group34/female_07.mdl",
      "models/humans/group35/female_01.mdl",
      "models/humans/group35/female_02.mdl",
      "models/humans/group35/female_03.mdl",
      "models/humans/group35/female_04.mdl",
      "models/humans/group35/female_06.mdl",
      "models/humans/group35/female_07.mdl"
   },
   male = {
      "models/humans/group34/male_01.mdl",
      "models/humans/group34/male_02.mdl",
      "models/humans/group34/male_03.mdl",
      "models/humans/group34/male_04.mdl",
      "models/humans/group34/male_05.mdl",
      "models/humans/group34/male_06.mdl",
      "models/humans/group34/male_07.mdl",
      "models/humans/group34/male_08.mdl",
      "models/humans/group34/male_09.mdl"
   };
};

FACTION_WASTELANDER = nexus.faction.Register(FACTION, "Wastelander");


local CLASS = {};

CLASS.color = Color(165, 155, 95, 255);
CLASS.factions = {FACTION_WASTELANDER};
CLASS.isDefault = true;
CLASS.description = "A survivor of the world's most catastrophic epidemic.";
CLASS.defaultPhysDesc = "Wearing dirty clothes and a small satchel";

CLASS_WASTELANDER = nexus.class.Register(CLASS, "Wastelander");




Code: [Select]
local FACTION = {};

FACTION.useFullName = true;
FACTION.models = {
female = {
"Model code"
},
male = {
"Model code"
};
};

FACTION_(All caps faction name) = nexus.faction.Register(FACTION, "(Name)");

Code: [Select]
local CLASS = {};

CLASS.color = Color(Colors);
CLASS.factions = {FACTION_(same as above)};
CLASS.isDefault = true;
CLASS.description = "Description.";
CLASS.defaultPhysDesc = "Default Physical Description";

CLASS_(All caps faction name) = nexus.class.Register(CLASS, "(Name)");

Share on Bluesky Share on Facebook