Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Question  (Read 1964 times)

0 Members and 1 Guest are viewing this topic.

Offline FreeKill

  • *
  • *
  • +7% chance to make useful post
  • FreeKill is working their way up.FreeKill is working their way up.FreeKill is working their way up.
    • Youtube Channel
Question
« on: July 23, 2011, 01:40:26 AM »
What do you guys know about the weapon_category.txt?

Offline Counter-Life™

  • *
  • *
  • +17% chance to make useful post
  • Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!
    • Youtube Channel
Re: Question
« Reply #1 on: July 23, 2011, 07:45:27 PM »
weapon_category.txt is an SMOD script used to restrict the type and/or number of weapons the player can carry at one time. You might for instance restrict the player to carrying only one primary weapon (rifle, shotgun, RPG) and one secondary (SMG, pistol, crowbar) in a style similar to Ghost Recon.(From SMOD Wiki) you need to activate "weapon_limitcategory 0" to "weapon_limitcategory 1" to enable the feature!

"Billy Mays is epic"    \\OMG Just an example
        {
        "weapon_svd"{}
        "weapon_kar98"{}
        "weapon_crossbow"{}
        }

for more Infos: http://smod.wikidot.com/script:weapon-category

Offline FreeKill

  • *
  • *
  • +7% chance to make useful post
  • FreeKill is working their way up.FreeKill is working their way up.FreeKill is working their way up.
    • Youtube Channel
Re: Question
« Reply #2 on: July 24, 2011, 09:30:22 AM »
Thanks, Does anyone know of a general randomization script for weapons?

Offline Counter-Life™

  • *
  • *
  • +17% chance to make useful post
  • Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!Counter-Life™ is a rising star!
    • Youtube Channel
Re: Question
« Reply #3 on: July 24, 2011, 11:13:15 AM »

Offline FreeKill

  • *
  • *
  • +7% chance to make useful post
  • FreeKill is working their way up.FreeKill is working their way up.FreeKill is working their way up.
    • Youtube Channel
Re: Question
« Reply #4 on: July 24, 2011, 11:51:40 AM »
Thanks.

Offline BIZ

  • 32-Bit Hobo
  • *
  • *
  • +0% chance to make useful post
  • BIZ hides in shadows.
    • BSNOOCH.COM
Re: Question
« Reply #5 on: July 25, 2011, 12:44:36 PM »
Thanks, Does anyone know of a general randomization script for weapons?

http://www.bsnooch.com/forums/index.php?topic=66.0