Page 1 of 1
Team spawns
Posted: Thu Jan 21, 2010 11:14 am
by Whispere
Hi,
I have new (next?) idea.
I need that in TDM players had their own spawns as in CTF. (they are not spawn in info_player deathmatch)
Thanks.
Re: Team spawns
Posted: Sun Jan 24, 2010 8:23 pm
by Whispere
I need that in TDM the players of red team spawn on red_ctf_spawn as in CTF mode and players of blue team spawn on blue_ctf_spawn.
Thx
Re: Team spawns
Posted: Sun Jan 24, 2010 9:01 pm
by ^misantropia^
Just to be sure, how would you describe your competence level as a C coder? More specifically, do you just need some pointers as to where to start hacking or are you looking for step-by-step instructions?
Re: Team spawns
Posted: Sun Jan 24, 2010 10:05 pm
by Whispere
I´m moderately advanced with coding, but in team models I want step by step instruction (is it faster

), but suffice me any advice. Here me suffice ,,where I start´´.
Thank for you time with my asks.
Re: Team spawns
Posted: Sun Jan 24, 2010 10:47 pm
by ^misantropia^
Good to know. The spawning thing is actually pretty simple: in ClientSpawn() in game/g_client.c, change this:
Code: Select all
} else if (g_gametype.integer >= GT_CTF ) {
To this:
Code: Select all
} else if (g_gametype.integer >= GT_TEAM ) {
I suppose this turned out to be step-by-step instructions after all but there you go.
Re: Team spawns
Posted: Mon Jan 25, 2010 11:42 am
by Whispere
Thanks.