Thanks...
New gametype
New gametype
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...
Thanks...
-
^misantropia^
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: New gametype
Two options spring to mind:
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.
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.
Re: New gametype
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.
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.
-
^misantropia^
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: New gametype
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.
Re: New gametype
Before than I read your post I making on It. Now I can say - I have it.
Thanks for you time, which you spend on of my ideas.
Thanks for you time, which you spend on of my ideas.
Re: New gametype
How I do a round team deathmatch?