Does anyone know where the script is that controls the round timer and how to remove it from my custom game type?
Announcement
Collapse
No announcement yet.
Removing the round timer...
Collapse
X
-
Oh cool. I see it now. I'm trying toaffect it through my custom game that extends xDeathmatch. I should be able to a ffect the timer by changing it through the default props, right? Well, for some reason it dosen't seem to work....
Do I have to extend another class directly from deathmatch or something?
Comment
-
Won't it be a little boring playing the same map for eternity? Players' scores will simply increase forever, so UT200x (you still haven't said which version you're developing for) may well have a cry when they get too high (the time the level has been running will continue to increase too, which will also cause a problem eventually).
Anywho, check out the following code:
Code:Taken from UnrealGame\Classes\DeathMatch: ========================================= /* CheckReady( ) If tournament game, make sure that there is a valid game winning criterion */ function CheckReady( ) { if( ( GoalScore == 0 ) && ( TimeLimit == 0 ) ) { TimeLimit = 20; RemainingTime = 60 * TimeLimit; } }
Comment
-
Sorry...it's for UT 2004. Yeah, I can see a major problem arising form having a round timer going on indefinetly. I using the UT engine to create a walkthrough of my apartment, so I want to have the thing exist as a mod that can just be opened an dnot cycle to another map. I'm gonna try what u suggested and see what happens.
Comment
Comment