01-10-2008, 03:17 PM | #1 |
Another
Join Date: Mar 2007
Posts Rated Helpful 0 Times
|
Player spawns and starts.
Im having some trouble getting the player starts to work. I do info_ff_teamspawn and name it redspawn but when I compiled it and go ingame, as soon as i hit choose team i choose the red team and it wont let me select any classes. it just shows up blank.
|
|
01-10-2008, 03:35 PM | #2 |
Fortress Forever Staff
Join Date: Mar 2007
Location: Baton Rouge
Class/Position: Spy Affiliations: -=DoM=- Posts Rated Helpful 0 Times
|
im not all that good with LUA, but im wondering if you added "base_ctf"(or whatever has the classes in it) under your "includes", or did you put the class limits in your lua?
__________________
-------------------------------FF_Rock2(WIP)------------------------------ ---------------------------FF_RedGiant(Released)------------------------- --------------------------FF_Fragzone_G(Released)------------------------ --------------------------FF_Civibash_G(Released)------------------------ -------------------FF_Conc_G1(WIP)-------------------- -------------------FF_Hollow_G(WIP)--------------------- |
|
01-10-2008, 06:11 PM | #3 |
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
|
Yeah...since 1.11 they changed it on the base.lua b/c people were able to pick the civi if they were quick enough. You need this part from the base_ctf.lua
Code:
function startup() -- set up team limits on each team SetPlayerLimit(Team.kBlue, 0) SetPlayerLimit(Team.kRed, 0) SetPlayerLimit(Team.kYellow, -1) SetPlayerLimit(Team.kGreen, -1) -- CTF maps generally don't have civilians, -- so override in map LUA file if you want 'em local team = GetTeam(Team.kBlue) team:SetClassLimit(Player.kCivilian, -1) team = GetTeam(Team.kRed) team:SetClassLimit(Player.kCivilian, -1) end
__________________
(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) | |
|
|