Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. GSC/ Need Help Removing guns from mp server on connect

GSC/ Need Help Removing guns from mp server on connect

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
5 Posts 3 Posters 139 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • xGurooundefined Offline
    xGurooundefined Offline
    xGuroo Contributor
    wrote on last edited by
    #1

    im looking for some help writing a gsc function that can recognize a banned weapon and remove it from the CAC loadout when their player spawns, i need this function to work in tdm/dom any help would be greatly appreciated

    JezuzLizardundefined 1 Reply Last reply
    0
    • Resxtundefined Offline
      Resxtundefined Offline
      Resxt Plutonium Staff
      wrote on last edited by
      #2

      I have this for bots. Not on PC rn so ping me and I'll send it when on PC

      1 Reply Last reply
      1
      • JezuzLizardundefined Offline
        JezuzLizardundefined Offline
        JezuzLizard Plutonium Staff
        replied to xGuroo on last edited by
        #3

        xGuroo https://github.com/xerxes-at/T6ServerConfigs/tree/master/localappdata/Plutonium/storage/t6/recipes/mp just use the new recipe system to easily restrict items/attachments

        You can also just edit your restrictions in a custom game and then use the command savedsr <name> in the console to save it to %localappdata%/storage/t6/recipes/mp.

        Then you load it by putting the recipe in your server's recipes/mp folder, and either put the dsr token followed by the dsr's name in the sv_maprotation when executing the config or by putting the dsr command with the dsr name as its argument in the gamesettings config.

        xGurooundefined 1 Reply Last reply
        0
        • xGurooundefined Offline
          xGurooundefined Offline
          xGuroo Contributor
          wrote on last edited by
          #4

          i was attempting this for xbox, seeing how universal gsc can go, just having trouble writing it i have my this list to give you an idea

          restrict()
          {
          level.WeaponRestrict= "riotshield_mp,usrpg_mp,smaw_mp,concussion_grenade_mp,willy_pete_mp,emp_grenade_mp,flash_grenade_mp,sticky_grenade_mp,bouncingbetty_mp,satchel_charge_mp,claymore_mp,killstreak_missile_swarm_mp,killstreak_dogs_mp,killstreak_emp_mp,killstreak_minigun_mp,killstreak_m32_mp";
          }

          1 Reply Last reply
          0
          • xGurooundefined Offline
            xGurooundefined Offline
            xGuroo Contributor
            replied to JezuzLizard on last edited by
            #5

            JezuzLizard i can load certain things and parts of code, but im not able to adjust core game mechanics without loading sometype of mod, on my jtag, thats why im focusing on trying to find help in gsc. i can load any gsc through my menu

            1 Reply Last reply
            0

            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate