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!
[highlight](User was permabanned for this post ("Dumb" - garry))[/highlight]
You have autism.
[QUOTE=TehBigCheese;18646750]You have autism.[/QUOTE]
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.
[QUOTE=TehBigCheese;18646935]Megabump deserves mega-insult.[/QUOTE]
Surely typing "BUMP" doesn't warrent an insult?
[editline]08:11PM[/editline]
[QUOTE=garry;3667241]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][/QUOTE]
Garry! *bows* :D
Sorry, you need to Log In to post a reply to this thread.