Changing the amount ammo given to the tripmines?

Right now in GM_DM, when you pick up the tripmines, you only get 3 of them. How do you make it so you can get more when you get it?

The way the ammo works in GMDM was pretty much an after-thought but here

In

gamemodes\gmdm\entities\entities\gmdm_pickup\shared.lua (The spinning yellow cube)

[lua]PickupTypes[0] = { name=“gmdm_smg”,
nicename=“smg”,
ammogive=“Pistol”,
ammoamount=“128” }

PickupTypes[1] = { name=“gmdm_flamethrower”,
nicename=“flamethrower”,
ammogive=“SMG1”,
ammoamount=“25” }

PickupTypes[2] = { name=“gmdm_tripmine”,
nicename=“tripmine”,
customammo=“tripmine”,
ammoamount=3 }

PickupTypes[3] = { name=“gmdm_shotgun”,
nicename=“sh0tgun”,
ammogive=“buckshot”,
ammoamount=32 }

PickupTypes[4] = { name=“gmdm_egon”,
nicename=“egon”,
customammo=“egonenergy”,
ammoamount=50 }
[/lua]

Hmm, is the “nicename” field supposed to be the name that appears as the weapon name? I get the standard “#_” before each weapon name, but otherwise they’re the same name.

Bump!


(User was permabanned for this post ("Dumb" - garry))

You have autism.

Its out of order to say things like that to other people.

ON TOPIC: I have the same problem- I can’t restock my tripmine ammo.

Megabump deserves mega-insult.

Surely typing “BUMP” doesn’t warrent an insult?

[editline]08:11PM[/editline]

Garry! bows :smiley: