Classic Mode - Code in GAMETYPE
I want to address this type of code to a game and not a stage setting, as it should be?.
I want to transform this code as well as this vampire mode sends him to his type of game.
PHP Code:
if(ZGetGameClient()->GetMatchStageSetting()->GetStageSetting()->bClassic == true)
{
Code Vampire Mode
PHP Code:
if (strstr(ZGetGameClient()->GetStageName(), "[VAMP]") && pAttacker == ZGetGame()->m_pMyCharacter) {
Re: Classic Mode - Code in GAMETYPE
declare some shit in MBaseGametype.h
and change to (ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_CLASSIC)
(ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_VAMPIRE)
if you observe carefully , Classic mode is already declared as game mode. so its will be easy to just add above lines i gave..
Re: Classic Mode - Code in GAMETYPE
Seem to not understand me I want to send classic mode functions to this MMATCH_GAMETYPE_CLASSIC and MMATCH_GAMETYPE_CLASSIC_TEAM
Re: Classic Mode - Code in GAMETYPE
Instead of if(ZGetGameClient()->GetMatchStageSetting()->GetStageSetting()->bClassic == true), change it to if(ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_CLASSIC) After you're done declaring the gametype.
Re: Classic Mode - Code in GAMETYPE
Straight to the point, I have the classic game types but the camera mode character see nothing remains the same as was playing deathmatch.
I want my classic way to look like is not in a normal way.
Re: Classic Mode - Code in GAMETYPE
I really don't understand you.
And also your question was "How to made classic a gametype instead of a stage setting"...
Re: Classic Mode - Code in GAMETYPE
check zmycharacter.cpp for camera zooming.
Re: Classic Mode - Code in GAMETYPE
Quote:
Originally Posted by
adz28
I really don't understand you.
And also your question was "How to made classic a gametype instead of a stage setting"...
It appears he doesn't understand himself, all of this three posts in this thread are full of contradictions.
OT: Either make yourself clear or don't bother wasting other people's time.
Re: Classic Mode - Code in GAMETYPE
I want all the rules and classic modes to point to this type of game, not the "bClassic" because now I have Classic (Solo) and Classic (Team) to remove the UGG Source.
of
PHP Code:
if(ZGetGameClient()->GetMatchStageSetting()->GetStageSetting()->bClassic == true)
{
to the
PHP Code:
(ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_CLASSIC)
But as I write the code.
Re: Classic Mode - Code in GAMETYPE
Dear Megol the code you want to build it so right?.
PHP Code:
if (strstr(ZGetGame()->GetMatch()->GetMatchType() == MMATCH_GAMETYPE_CLASSIC) BClassic == ZGetGame()->m_pMyCharacter)
{
To operate the classic mode stage a kind of game, I think I understood.