Post: unlimited claymores
11-24-2015, 08:40 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); i seen this in zombie menus made, i have looked for dvars to change the limit of claymores you can place down/equipment placement limit but i cant find

does anyone know how to make it so you can place down more then 2 claymores/shockcharges/bouncing betties etc

is for multiplayer by the way.

would appreciate this thanks Smile
(adsbygoogle = window.adsbygoogle || []).push({});
11-25-2015, 01:51 AM #2
BullyWiiPlaza
Climbing up the ladder
Yes, I made it for example. The script is:
    allowUnlimitedClaymores()
{
level.claymores_max_per_player = 99999999;
}

This is for Zombies only and doesn't work on Multiplayer.

The following user thanked BullyWiiPlaza for this useful post:

DoraTheKiller97
11-25-2015, 02:45 AM #3
Originally posted by BullyWiiPlaza View Post
Yes, I made it for example. The script is:
    allowUnlimitedClaymores()
{
level.claymores_max_per_player = 99999999;
}

This is for Zombies only and doesn't work on Multiplayer.


do you know how i can get one to work for multiplayer
11-25-2015, 12:59 PM #4
BullyWiiPlaza
Climbing up the ladder
Originally posted by OfficialCoolJay View Post
do you know how i can get one to work for multiplayer

No but the following might be closely related to unlimited Claymores on Multiplayer.

maps\_detonategrenades.gsc:
    #define CLAYMORE_MAX_SPAWNED	5
claymore_detonation()
{
// Code omitted

if( level.claymores.size > CLAYMORE_MAX_SPAWNED )
{
level.claymores[0] Delete();
}

// Code omitted
}
This is copied and pasted from the original GSC so someone still has to write a test script and try it. Not sure how to redefine the macro
    CLAYMORE_MAX_SPAWNED
without editing the original GSC. Snail
11-25-2015, 01:02 PM #5
Procyon
Gym leader
currentoffhand=player getcurrentoffhand();
if(currentoffhand!="none")
player givemaxammo(currentoffhand);
11-25-2015, 01:06 PM #6
BullyWiiPlaza
Climbing up the ladder
Originally posted by Procyon View Post
currentoffhand=player getcurrentoffhand();
if(currentoffhand!="none")
player givemaxammo(currentoffhand);

Nitwit, it's about placing unlimited and not giving unlimited ammo. There is a limit to the amount of Claymores the game allows you to own at once before the oldest one automatically blows up. Obviously you also need unlimited ammo to properly take advantage of this but that wasn't the question here.

The following user thanked BullyWiiPlaza for this useful post:

OfficialCoolJay
11-25-2015, 04:07 PM #7
iiiCenTurY
Gym leader
Originally posted by Procyon View Post
currentoffhand=player getcurrentoffhand();
if(currentoffhand!="none")
player givemaxammo(currentoffhand);


can you even read?
12-01-2015, 08:31 AM #8
DoraTheKiller97
Treasure hunter
Originally posted by BullyWiiPlaza View Post
No but the following might be closely related to unlimited Claymores on Multiplayer.

maps\_detonategrenades.gsc:
    #define CLAYMORE_MAX_SPAWNED	5
claymore_detonation()
{
// Code omitted

if( level.claymores.size > CLAYMORE_MAX_SPAWNED )
{
level.claymores[0] Delete();
}

// Code omitted
}
This is copied and pasted from the original GSC so someone still has to write a test script and try it. Not sure how to redefine the macro
    CLAYMORE_MAX_SPAWNED
without editing the original GSC. Snail

Damn. Ive been wanting this code for a long time. Sometimes the game would glitch, and you'd be able to place unlimited c4/claymores/shock charges. Has this ever happened to you?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo