07-05-2008, 10:32 PM | #1 |
Join Date: Mar 2008
Posts Rated Helpful 0 Times
|
need more help
I am nearing completion of a concmap i have been working on but theres 2 things i need to do before its playable
1) how do you add concbags? 2)the lua script to make it blue team only with class limits of scout medic soldier and demoman only, (needless to say soldier and demo have quad) to be more specific i have no clue at all about the lua files i dont know how to create them, script them or anything of the sort |
|
07-05-2008, 10:44 PM | #2 |
Fortress Forever Staff
Join Date: Sep 2007
Class/Position: O: Scout Affiliations: {NFO} - New Family Order Posts Rated Helpful 0 Times
|
Moved to appropriate area and this should help:
http://www.fortress-forever.com/foru...ad.php?t=11105 |
|
07-06-2008, 09:30 PM | #3 |
internet user
Fortress Forever Staff
Join Date: Jun 2007
Posts Rated Helpful 42 Times
|
Conc only bags?
Code:
concpack = genericbackpack:new({ gren2 = 4, respawntime = 5, model = "models/items/backpack/backpack.mdl", materializesound = "Item.Materialize", touchsound = "Backpack.Touch" }) For teams, try this startup Code:
function startup() SetPlayerLimit( Team.kBlue, 0 ) SetPlayerLimit( Team.kRed, -1 ) SetPlayerLimit( Team.kYellow, -1 ) SetPlayerLimit( Team.kGreen, -1 ) local team = GetTeam( Team.kBlue ) team:SetClassLimit( Player.kScout, 0 ) team:SetClassLimit( Player.kSniper, -1 ) team:SetClassLimit( Player.kSoldier, 0 ) team:SetClassLimit( Player.kDemoman, 0 ) team:SetClassLimit( Player.kMedic, 0 ) team:SetClassLimit( Player.kHwguy, -1 ) team:SetClassLimit( Player.kPyro, -1 ) team:SetClassLimit( Player.kSpy, -1 ) team:SetClassLimit( Player.kEngineer, -1 ) team:SetClassLimit( Player.kCivilian, -1 ) end Oops, or you can use the stuff in base_conc
__________________
9:17 PM - DEXTER: can you teach me how to play o 9:17 PM - squeek.: you jump a lot 9:18 PM - squeek.: and do sweet moves 8:55 PM - FDA: fart in you fridge and blame it on wild animals |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|