Results 1 to 8 of 8

Thread: Grenade limiter

  1. #1

    Default Grenade limiter

    hello, and thank you for being part of this community ..
    I ask for help, we have a Breaktrough server and I need to know how to enable or disable the grenades within the game.
    I can limit the weapons by means of DMFlags or some limiter, but in the case of the grenades, and only the grenades, we still can not find the way to do it.
    Would someone help me? Thank you very much

  2. #2
    Senior Member Ancient Order's Avatar
    Join Date
    Aug 2015
    Location
    Paris, Fr.
    Posts
    256

    Default

    They must be removed both from the weapon (additional items) tiks and from the grenades tiks (maybe in the base.txt, cant remember) for a pair of them that have min amo to 1.

  3. #3

    Default

    On tik file of the grenades change this command to the number of grenades you whant:

    Code:
    dmstartammo 3

  4. #4
    Senior Member Ancient Order's Avatar
    Join Date
    Aug 2015
    Location
    Paris, Fr.
    Posts
    256

    Default

    ....to the number of grenades you whant:...
    as this is for BT, you have to clean out all main weapon tiks from

    // Additional DM Loadout
    dm additionalstartammo "grenade" 4
    dm additionalstartammo "smokegrenade" 2
    dm startitem "items/binoculars.tik"

    // Additional DM Realism Loadout
    dmrealism additionalstartammo "grenade" 4
    dmrealism additionalstartammo "smokegrenade" 2
    dmrealism startitem "items/binoculars.tik"

  5. #5

    Default

    thanks for the rapid answer..
    so, if i wanna disable (in game) the grenades? or enable them?

  6. #6

    Default

    Quote Originally Posted by mxxmadero View Post
    thanks for the rapid answer..
    so, if i wanna disable (in game) the grenades? or enable them?
    For disable them you need to create a script to remove them from the players, for enable you need nothing

  7. #7
    Senior Member Ancient Order's Avatar
    Join Date
    Aug 2015
    Location
    Paris, Fr.
    Posts
    256

    Default

    No script needed, just use the realism properties to let nades on and normal properties to get none. Then turn sv_realism on/off in console according to your will.


    // Additional DM Loadout
    dm additionalstartammo "grenade" 0
    dm additionalstartammo "smokegrenade" 0


    // Additional DM Realism Loadout
    dmrealism additionalstartammo "grenade" 4
    dmrealism additionalstartammo "smokegrenade" 2

  8. #8

    Default

    Quote Originally Posted by Ancient Order View Post
    No script needed, just use the realism properties to let nades on and normal properties to get none. Then turn sv_realism on/off in console according to your will.
    if you use the realism cvar will afect every weapon not just the nades.

    With a script is just the nades.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •