1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

UE3 - UT3 How to change TeamGame to Round Based game?

Discussion in 'Programming' started by Gleedo, Mar 28, 2009.

  1. Gleedo

    Gleedo New Member

    Joined:
    Jan 23, 2008
    Messages:
    64
    Likes Received:
    0
    Hi

    I want to turn my gametype (which extends UTTeamGame) to be round based.

    So I might want to play 10 rounds of 2 minutes.

    Each round can end before 2 minutes if either team has been completely killed.

    I have looked at BattleModes BattleTeamArena code which does this, but Im struggling to identify the areas of code that I need to implement.

    Can anyone shed some light on what needs changing to do this? :eek:

    Thanks :)
     
  2. Squirt

    Squirt New Member

    Joined:
    Jul 30, 2000
    Messages:
    12
    Likes Received:
    0
    Do a search for "roundover" in utgame.uc

    you'll see that calling EndRound(Actor); will end your round and put your game class into the roundover state. For that state you can have a timer that restarts the round after a countdown.
    For more examples, have a look at game classes like UTDeathmatch etc.

    Hope this helps :)

    -Squizmek
     

Share This Page