need help (tried searching) - timers?

02-25-2006, 08:06 PM
How do I put in a timer to countdown and when it ends, the Axis wins?

I know there's a timer in another map (forgot which one)... but how do I put it in mine?

I already tried searching this forum as well as mardymouse.

Thanks in advance! :)

02-25-2006, 08:55 PM
Just an interm answer until someone with a clue answers, but what I'd do is just dump the entities out of a map that does something you like. For timers, dod_nmramelle_b1 comes to mind, that has a timer and when time is up, one side wins. This looks like the entity that does that in nmramelle.

"origin" "100 376 168.876"
"cpm_timer_team" "2"
"cpm_use_timer" "1"
"cpm_group" "a"
"cpm_timer_length" "480"
"classname" "dod_control_point_master"
"OnAlliesWin" "bomb1,Explode,,0,-1"
"OnAlliesWin" "bomb2,Explode,,2,-1"
"OnAlliesWin" "bomb3,Explode,,4,-1"
"OnAlliesWin" "bomb4,Explode,,6,-1"

El Capitan
02-25-2006, 10:45 PM
In the dod_control_point_master entity you can set the timer, etc and all options in there.

Only problem is when the timer expires, if say Allies have capped one objective/flag and the other is uncapped....even though it says "axis win" it says "winning capture: <player name>" whoever capped the first flag for the allies.

Try it and you'll see what i mean!

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.