How do I make my own unlock?

How to make your own appearance unlock.

  1. Navigate to wos-renegadesquad-xxx/lua/wos/prs/role-sys/unlocks.
  2. Create a new file, or skip to the next step if you want to use a file that already exists in the folder.
  3. Add the below block of code and fill in the fields with your own content.
wOS.RenegadeSquad.Roles:RegisterUnlock({
    Name = "My Cool Appearance",
    Description = "Got that Gucci on my body, now she tryna pipe me, woo.",
    Type = WOS_PRS.UNLOCKS.APPEARANCE,
    Cost = 100,
    RequiredRoles = { "My Cool Role" },
    RequiredCerts = false,
    Model = "models/player/guccimane.mdl",
    BodyGroups = {
        [5] = 1,
    },
    PostModelLoaded = function( ply, model )
        
    end,
})
 

How to make your own kit unlock.

  1. Navigate to wos-renegadesquad-xxx/lua/wos/prs/role-sys/unlocks.
  2. Create a new file, or skip to the next step if you want to use a file that already exists in the folder.
  3. Add the below block of code and fill in the fields with your own content.
wOS.RenegadeSquad.Roles:RegisterUnlock({
    Name = "Boom Kit",
    Description = "For an extra boom to your zoom",
    Type = WOS_PRS.UNLOCKS.KIT,
    Cost = 100,
    RequiredRoles = { "Mingebag" },
    RequiredCerts = false,
    LoadoutKit = { "weapon_rpg", "weapon_flechettegun", "gmod_tool" }
})
 

How to make your own operator unlock.

  1. Navigate to wos-renegadesquad-xxx/lua/wos/prs/role-sys/unlocks.
  2. Create a new file, or skip to the next step if you want to use a file that already exists in the folder.
  3. Add the below block of code and fill in the fields with your own content.
wOS.RenegadeSquad.Roles:RegisterUnlock({
    Name = "Armor Upgrade",
    Description = "+10 Armor",
    Type = WOS_PRS.UNLOCKS.OPERATOR,
    Cost = 100,
    RequiredRoles = { "Mingebag" },
    RequiredCerts = false,
    OnSpawn = function( ply )
        ply:SetArmor( ply:Armor + 10 )
    end
})
 
  • RSS, Unlocks, Roles
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How do I create an allegiance?

How to make your own allegiance. 1) Navigate to the following directory:...

How do I create a role?

How to make your own role. Go to your roles folder:...

Installation and Configuration

Installing the ContentBefore you begin installing the addon you need to install the required...

How do I assign other people and myself certifications?

How to assign other people certifications: Hold c, and right-click a player. Click view...

How To Disable The WiltOS Chat Advertisement

How to disable the wOS chat advert Navigate to lua/wos/prs/config/general/sv_config.lua Find...