Forums » Air Combat & Civil Aviation » DCS World » DCS: A-10C Warthog » DCS: A-10C Warthog - FAQs & References » DCS Mission Building Discussion - Flags, Group & Unit Names Active Topics You are not logged in. [Log In] [Register User]
Page 2 of 2 < 1 2
Topic Options
Rate This Topic
Hop to:
#3616002 - 07/29/12 02:04 PM Re: DCS Mission Building Discussion - Flags, Group & Unit Names [Re: Wrecking Crew]
Wrecking Crew Offline
Smooth Operator
Senior Member

Registered: 03/04/07
Posts: 3215
Loc: Colorado
mrskortch and I are presenting two methods for determining a mission's Won/Lost outcome.

In the Mission Editor, Mission Goals can be defined and these can be flag based and point based. mrskortch explains above, and might be used to score Red vs Blue missions.

My approach to Won/Lost has often been to use zones, often with a truth table like this -

Where the columns are zones and the one's represent if a zone is cleared. In this three-zone truth table, six different messages can be generated from lines 3-8 to provide information on which zones still need to be attacked (think Nuke Plant), where line 9 represents a mission won state.


I did edit my first post today to account for Client flags.

WC

PS. I appreciate mrskortch's input. Let's present as many different approaches to this stuff as we can. I will ask EinsteinEP to move this to the Reference forum.


Top
#3644673 - 09/15/12 07:38 AM Re: DCS Mission Building Discussion - Flags, Group & Unit Names [Re: Wrecking Crew]
eno75 Offline
Bullet / Missile Sponge
Member

Registered: 01/30/12
Posts: 1431
Loc: Alberta / BC, Canada
Okay guys- as I'm chipping away at my mission I've come into a bit of a problem with a few scenarios:


1) I'm trying to figure out how to set up a scenario where if an "insurgent" vehicle is destroyed while it is in a weapon hold condition- that a severe penalty or condition could occur... for example the mobilization of a daunting enemy force.

For example: I have randomized some of the "roadblocks" and incoming convoys to either both hold fire... return fire... or have weapons free conditions. If they're both "return fire" conditions- then as long as nobody fired... they wouldn't fire. My question is if an A-10 pilot goes in when there's a "return fire" ROE- will the group that is fired upon ONLY shoot back at the group that fired at it... or will it return fire at the whole coalition?

In cases where both units are essentially not firing at each other, the incoming unit reaches a waypoint where they hold for 15 minutes or so to "negotiate" a passage. If a trigger happy A-10 pilot comes in and opens fire during this process- basically the convoy would be destroyed or some other horrible thing would occur. Or local SAM missiles would activate over a 10-15 minute period... or something.



Well- that's a good start. Any feedback / ideas on how to implement?
_________________________
ENO
"Go Ugly Early."
SimHQ Firehouse Server Thread
LOF Firehouse Server Thread

Top

#3645227 - 09/16/12 11:01 AM Re: DCS Mission Building Discussion - Flags, Group & Unit Names [Re: Wrecking Crew]
Wrecking Crew Offline
Smooth Operator
Senior Member

Registered: 03/04/07
Posts: 3215
Loc: Colorado
Designate a flag(s) to indicate the insurgents' state - switch the flag(s) when you change the state. Use the flag in your logic to trigger the consequences.

WC

Top
#3685235 - 11/19/12 10:48 PM Re: DCS Mission Building Discussion - Flags, Group & Unit Names [Re: Wrecking Crew]
Wrecking Crew Offline
Smooth Operator
Senior Member

Registered: 03/04/07
Posts: 3215
Loc: Colorado
This is a summary of the flag scheme I use -

---

Five-digit flags

Red flags get a leading '1' through '4'
Red Main & Aircraft Groups: 1
Red Helicopter Groups: 2
Red Vehicle Groups: 3
Red Ship Groups: 4

Blue flags get a leading '5' through '8'
Blue Main & Aircraft Groups: 5
Blue Helicopter Groups: 6
Blue Vehicle Groups: 7
Blue Ship Groups: 8

Group numbers are the second & third digits.
Unit numbers are the fourth digit.

The State is the fifth digit:
0: Count (use for Flag Increment and Decrement)
1: Dead, or Lost
2: Alive, or Won
3: Attack
4: Broadcast; enables a repeating message with Condition = Time Since Flag (Flag x), and Action = Flag On (Flag x) & Message
5: Zone Clear or Occupied Friendly
6: Delay
7: Zone Invaded by Enemy
8: Zone Captured by Enemy
9: Deactivated vs Dead


crew

Top
#3784574 - 05/19/13 01:06 PM Re: DCS Mission Building Discussion - Flags, Group & Unit Names [Re: Wrecking Crew]
Wrecking Crew Offline
Smooth Operator
Senior Member

Registered: 03/04/07
Posts: 3215
Loc: Colorado
Bump.

I cleaned up the Flags guide and added a section on Point Flags - and more info on Zone flags.

https://docs.google.com/file/d/0BwHk38uryutrdE5IWjM2TU4wb0U/edit?usp=sharing

WC

Top
Page 2 of 2 < 1 2
Topic Options
Rate This Topic
Hop to:

Moderator:  EinsteinEP, Panther, RacerGT 
 

Forum Use Agreement | Privacy Statement
Copyright 1997-2013, SimHQ Inc. All Rights Reserved.