objectives


01-31-2004, 04:20 PM
Well another prob...

I got 2 objectives. When the game begins, the axis already "owns" these obj. But each time Im trying to play and you are spawning, you'll hear the music and the Axis have won. Just before that, you'll see the 2 objective icons flashing from open, to the axis flag. But thats ok, cause the Axis "owns" those points from the beginning. But what is wrong then. I dunno.
So help plz...

Craftos
02-01-2004, 08:28 AM
I assume that ther is time for Allies to cap these obj. So you should set time and other properties in info_doddetect entity and use game_counter for example for counting goals.
You should post more detailed scenario.

02-01-2004, 08:37 AM
Yeah I thougt It was kinda vague...
But how can I use the game_counter, cause I've tryed it already but it doesnt work.

VoodooChild
02-26-2004, 05:32 AM
Dont know if you ever figured it out. Its really simple.

The problem is most common. Ive had it myself.

Lets just say axis own all the flags by default, and your game thinks they win, rounds starts over and over. Not good.

Ok so you want allies to win when they cap the flags, axis to be normal as they START in possesion of the flags

Edit/make your "control_point_master" entity to these parameters

Name: your choice of name
Target: blank n/a
Time between points gives (seconds): your choice
Target when allies capture: (example) allies_win**
Target when axis capture: blank n/a
Master: your choice of name
Group Name: your choice of name


**"allies_win target:

Make a new entity called "dod_score_ent"

Edit your "dod_score_ent" entity with to these parameters:

Name: allies_win
Target: blank n/a
For team: allies
End Game?: No


leave/edit others if you wish

Need a .Rmf Example??? Lemme know

VoodooChild

KlaymenDK
02-26-2004, 07:27 AM
Or, you can just put in one extra flag, and put that in the Allied spawn, outside of Axis reach.

Saves you all the axis-shouldn't-be-able-to-win-by-capturing-all-flags hacking. You still gotta handle timeout for the Axis victory, though.

:D

greenhorn
02-26-2004, 08:16 AM
You should use a control_point_master and score_ent like Voodoo said, and then just put in a dod_round_timer to trigger a differrent score_ent for the axis. This way you can assign team points for a round victory, etc

VoodooChild
02-26-2004, 06:16 PM
...exactly greenhorn.

DO NOT USE THE BUILT IN TIMER ON THE INFO_DODDETECT!!!! Use a dod_round_timer!!

For your "target" use the score_entity of your choice (allies_win, axis_win) to determine who wins when the timer expires.

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.