News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 28th Mar 2009, 12:42 PM   #1
Gleedo
Registered User
 
Join Date: Jan. 23rd, 2008
Posts: 64
Question How to change TeamGame to Round Based game?

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?

Thanks
__________________
UT3 Search & Destroy Modding
  • Interested in working on a new MOD?
  • Do you have a map that would suite S&D or would like to design for S&D?
  • Join us at www.ut3searchanddestroy.com
All help more than welcome
Gleedo is offline   Reply With Quote
Old 10th Apr 2009, 01:03 PM   #2
Squizmek
Modding Guru
 
Join Date: Mar. 31st, 2008
Posts: 10
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
Squizmek is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:14 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer