|
02-27-2008, 02:19 PM | #1 |
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Code:
function player_spawn( player_entity ) local player = CastToPlayer( player_entity ) player:RemoveAmmo( Ammo.kManCannon, 1 ) end |
|
02-27-2008, 02:53 PM | #2 |
Wiki Team
Fortress Forever Staff Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly Gametype: PAYLOAD Affiliations: DET- Posts Rated Helpful 19 Times
|
You also need to edit these to not give mancannon ammo:
Code:
----------------------------------------------------------------------------- -- Grenade Backpack ----------------------------------------------------------------------------- grenadebackpack = genericbackpack:new({ mancannons = 1, gren1 = 2, gren2 = 2, model = "models/items/backpack/backpack.mdl", materializesound = "Item.Materialize", respawntime = 30, touchsound = "Backpack.Touch", botgoaltype = Bot.kBackPack_Grenades }) function grenadebackpack:dropatspawn() return false end Code:
----------------------------------------------------------------------------- -- Capture Points ----------------------------------------------------------------------------- basecap = trigger_ff_script:new({ health = 100, armor = 300, grenades = 200, shells = 200, nails = 200, rockets = 200, cells = 200, detpacks = 1, mancannons = 1, gren1 = 4, gren2 = 4, item = "", team = 0, botgoaltype = Bot.kFlagCap, }) They are in the base_teamplay.lua.
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf (Beta) alchimy_b1 (Lua) base_payload_2015 (Models) props_trainyard |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|