I need to do new gametype as team deathmatch, I need only what files edit. I want duplicate TDM. One TDM for Zombie mod with some modifications and normal Team deathmatch.
Thanks...
1. Add a flag to level_locals_t in game/g_public.h, or
2. Add an enum to gametype_t in game/bg_public.h
Option 1 is probably the easiest (set gametype to TDM, then check if the zombie mod flag is set) because you don't have to check for side-effects, a drawback option 2 suffers from.
Ok, Do you know how on it? I need more information, I don´t want step by step tut, but I want more files, where I need edit.
For example: I want to do a new gametype as GT_TEAM with number of gametype.
Last edited by Whispere on Tue Feb 16, 2010 1:26 pm, edited 2 times in total.
Option 2, create a new gametype? You'll have to search the source for GT_TEAM and check if you need to add your own code. If the differences between regular TDM and your zombie mod aren't that big, I'd go with option 1.