Classic Mode - Code in GAMETYPE

Results 1 to 10 of 10
  1. #1
    RailGunZ Soon! megol is offline
    MemberRank
    Jun 2012 Join Date
    262Posts

    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) { 


  2. #2
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    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..

  3. #3
    RailGunZ Soon! megol is offline
    MemberRank
    Jun 2012 Join Date
    262Posts

    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

  4. #4
    Ecchi addicted adz28 is offline
    MemberRank
    Nov 2008 Join Date
    IkebukuroLocation
    524Posts

    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.

  5. #5
    RailGunZ Soon! megol is offline
    MemberRank
    Jun 2012 Join Date
    262Posts

    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.

  6. #6
    Ecchi addicted adz28 is offline
    MemberRank
    Nov 2008 Join Date
    IkebukuroLocation
    524Posts

    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"...

  7. #7
    Currently Stoned ! Ronny786 is offline
    MemberRank
    Dec 2011 Join Date
    Lost WorldLocation
    984Posts

    Re: Classic Mode - Code in GAMETYPE

    check zmycharacter.cpp for camera zooming.

  8. #8
    Praise the Sun! Solaire is offline
    MemberRank
    Dec 2007 Join Date
    Undead BurgLocation
    2,862Posts

    Re: Classic Mode - Code in GAMETYPE

    Quote Originally Posted by adz28 View Post
    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.

  9. #9
    RailGunZ Soon! megol is offline
    MemberRank
    Jun 2012 Join Date
    262Posts

    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.

  10. #10
    I'm retired, I'm already jorklenis2 is online now
    MemberRank
    Oct 2011 Join Date
    PanamáLocation
    883Posts

    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.



Advertisement