I setup in the sdk_gamerules.cpp and shareddefs.h my teams I also changed LINK_ENTITY_TO_CLASS to match my teams.
I am sort of stuck now.
I see in player.cpp which is client side ? Does the spawning.
sdk_player.cpp does not have EntSelectSpawnPoint()
EntSelectSpawnPoint() in player.cpp seems to control where the players
spawn.
eg: info_player_start || info_player_deathmatch
I need info_player_team1 || info_player_team2
Now should I modify the player.cpp or override the EntSelectSpawnPoint in
sdk_player.cpp / .h
I also have in the FGD file
@PointClass base(Angles) studio("models/editor/playerstart.mdl") =
info_player_team1 :
"This entity marks the start point for team1."@PointClass base(Angles) studio("models/editor/playerstart.mdl") =
info_player_team2 :
"This entity marks the start point for team2"
I use the sdk_vehicles map for testing btw. I change the info_player_start to info_player_team1
The part I am confused at I guess is where do I modify at? player.cpp ? or sdk_player? If I modify the player.cpp I would imagine I can find out what team was selected and then do the rest of the code.
Any advice?
Thanks in advance.
r00t 3:16 CQC Gaming www.cqc-gaming.com
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

