coding for teamplay. Created 7 years ago2016-07-25 12:20:56 UTC by hfc hfc

Created 7 years ago2016-07-25 12:20:56 UTC by hfc hfc

Posted 7 years ago2016-07-25 12:20:56 UTC Post #330948
hi. i have some mod projects. i need to make a teamplay mod.

http://twhl.info/articulator.php?art=120

found this tutorial. it is helping me for most of my needs. but i want to make round style teamplay game not a team deathmatch. just like counter-strike. i need 3 things.
1-round style gameplay.
2-i need to code some team specific elements. for now i just need to make blood color different to each team for.
3-i want to implement tfc/cs like spectating.
how i can do them? what articles do i have to read or what things do i have to learn for doing this. can you help me. thanks alot. :)
Posted 7 years ago2016-07-25 15:26:09 UTC Post #330951
Posted 7 years ago2016-07-26 03:36:23 UTC Post #330960
You can download the Quake Team Fortress 2.5 Source code from here:
http://www.moddb.com/mods/team-fortress/downloads/team-fortress-25-source-code

Study the Teamplay elements in the code ( it's written in C not C++ ),
a lot of it was carried over into GoldSrc TFC. This should help you

As for blood color, when the Player chooses a team, set m_bloodColor
to whatever you like, assuming that you're using a CBasePlayer entity
for your player entities.
Posted 7 years ago2016-07-27 21:17:24 UTC Post #330991
thanks for the replies. i love that tuts. now gonna read the codes. i hope will be succeed sooner or later. :D
You must be logged in to post a response.