Talk:Creating Teams: Difference between revisions
(Implementing Tutorial) |
|||
Line 19: | Line 19: | ||
== Implementing Tutorial == | == Implementing Tutorial == | ||
i have tried on multiple occasions to get this working for the "Modify Half-life 2 multiplayer" base for my mod. and it inst playing ball. whenever it loads a map with 2 spawns defined as | i have tried on multiple occasions to get this working for the "Modify Half-life 2 multiplayer" base for my mod. and it inst playing ball. whenever it loads a map with 2 spawns defined as info_player _combine and info_player_rebels it just crashes. what on earth is wrong? when i create a map with info_player_start it works :S |
Revision as of 12:21, 16 June 2007
I get these error when compiling player.cpp
player.cpp
.\player.cpp(5673) : error C2065: 'TEAM_COMBINE' : undeclared identifier .\player.cpp(5673) : error C2227: left of '->GetNumPlayers' must point to class/struct/union/generic type .\player.cpp(5673) : error C2065: 'TEAM_REBELS' : undeclared identifier .\player.cpp(5673) : error C2227: left of '->GetNumPlayers' must point to class/struct/union/generic type Creating browse information file...
if I comment out the code thats from the tutorial it compiles without error.--Jadepanther 06:41, 10 Feb 2007 (PST)
- See this-
TEAM_COMBINE
andTEAM_REBELS
should NOT be defined here unless you are modding a from-scratch Source SDK. Here we are modding a deathmatch SDK, so the two teams have already been defined in an enum in hl2mpgamerules.h- If you're making a multiplayer mod, shouldn't you be using the deathmatch sdk? --Daedalus 21:18, 10 Feb 2007 (PST)
Implementing Tutorial
i have tried on multiple occasions to get this working for the "Modify Half-life 2 multiplayer" base for my mod. and it inst playing ball. whenever it loads a map with 2 spawns defined as info_player _combine and info_player_rebels it just crashes. what on earth is wrong? when i create a map with info_player_start it works :S