Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 40

Thread: DAC3 initialisation tutorial (for DAC beginners)

  1. #21
    Quote Originally Posted by DMarkwick View Post
    It's not something basic like you copy & pasted the zone trigger, but didn't double-check the zone name is it?
    Nope, But I checked several times lol. Either trigger will function only if it's triggered first. I have the following

    1st trigger

    Named: z1
    blurfor
    Once
    Present
    Condition field: this
    Activation field: fun = ["z1",[1,0,0],[3,3,20,6],[],[],[],[0,0,0,0,1]] spawn DAC_Zone




    2nd Trigger

    Named z2
    blurfor
    Once
    Present
    Condition field: this
    Activation field: fun = ["z2",[1,0,0],[3,3,20,6],[],[],[],[0,0,0,0,1]] spawn DAC_Zone
    Task Force Knight Wing
    Arma 2 CO

    HTTP://KNIGHTWINGUNIT.COM

  2. #22
    Named z2
    Gamelogic
    Repeatedly
    Present
    Condition field: time > 1
    Activation field: fun = ["z2",[1,1,0],[3,3,20,6],[],[],[],[0,0,0,0,1]] spawn DAC_Zone

    The red 1 in the activation field will make the zone not spawn any units. Then use
    Code:
    [z2] call DAC_Activate
    in a trigger or something to activate the zone, you can also use
    Code:
    [z1] call DAC_Deactivate
    to turn off a zone, if you want to activate or deactivate multiple zones use [z1,z2,z3] DAC_Activate.

  3. #23
    Quote Originally Posted by zigzag View Post
    Named z2
    Gamelogic
    Repeatedly
    Present
    Condition field: time > 1
    Activation field: fun = ["z2",[1,1,0],[3,3,20,6],[],[],[],[0,0,0,0,1]] spawn DAC_Zone

    The red 1 in the activation field will make the zone not spawn any units. Then use
    Code:
    [z2] call DAC_Activate
    in a trigger or something to activate the zone, you can also use
    Code:
    [z1] call DAC_Deactivate
    to turn off a zone, if you want to activate or deactivate multiple zones use [z1,z2,z3] DAC_Activate.
    Ahh GOT IT ! Works like a charm ! Thanks sooo much !
    Last edited by strike0277; Dec 13 2010 at 14:54.

  4. #24
    Sergeant Major Mosh's Avatar
    Join Date
    Feb 17 2002
    Location
    St. Louis, Missouri - USA
    Posts
    1,605
    Thanks for this DMarkwick. I messed around with DAC awhile back and really got nowhere. I'll read this thread and give it another try.

    Windows 7 64-bit | AMD FX 8350 4.0 GHZ |
    GTX 570 (310.70) | 32 GB RAM
    OCZ Agility 3 120 GB SSD | OCZ Agility 2 120 GB SSD | OCZ Vertex Plus 60 GB SSD | Intel 80 GB SSD
    Logitech G500 G15 G930 | TrackIR 5 | Saitek X52 Pro + Pro Flight Rudder

  5. #25
    this is a great useful tut. one question, is it possible to halt all action/units until all waypoints and units are generated? for example if i have a bunch of normal blufor units attacking dac space how can i make everything wait until all dac processing is complete?

  6. #26
    Thank you very much for this tutorial DMarkwick ( And of course Silola and BIS for the tools they provided to make this happen )
    Yesterday I made my first mission with a “DAC zone” full of enemy infantry over Zargabad. I’ve played the mission a couple of times and its just awesome to play.
    It’s a bit scary to go into the city because you know there are enemies but you don’t know where and exactly how many, and every time you play the mission they are somewhere else.
    I just copy and paste the line ( null=[“z1”,[1,0,0].............. ) and changed some numbers with the help of your guide, and now I have a mission I can play multiple times and is never the same, so thank you very much.

  7. #27
    Captain DMarkwick's Avatar
    Join Date
    Mar 19 2006
    Location
    Lincolnshire, UK.
    Posts
    6,578
    Author of the Thread
    Quote Originally Posted by Parrotnut View Post
    Thank you very much for this tutorial DMarkwick ( And of course Silola and BIS for the tools they provided to make this happen )
    Yesterday I made my first mission with a “DAC zone” full of enemy infantry over Zargabad. I’ve played the mission a couple of times and its just awesome to play.
    It’s a bit scary to go into the city because you know there are enemies but you don’t know where and exactly how many, and every time you play the mission they are somewhere else.
    I just copy and paste the line ( null=[“z1”,[1,0,0].............. ) and changed some numbers with the help of your guide, and now I have a mission I can play multiple times and is never the same, so thank you very much.
    No problems, I'm glad it's helping people out.

    One of the things I like to do is increase the randomisation even more, by randomising how many groups will spawn. So the code snippet:
    Code:
    [10,1,10,5]
    will produce 10 patrols each time.

    But if you change it with the random command to look like this:
    Code:
    [(ceil (random 10)+8),1,10,5]
    Then you will get a random number of patrols, anything from 9 to 18.
    Fire And Smoke for ArmA2: JTD_FireAndSmoke v0.2

    For better future effects addons, please vote for this ticket.

  8. #28
    Quote Originally Posted by DMarkwick View Post
    One of the things I like to do is increase the randomisation even more, by randomising how many groups will spawn.
    I just tried what you suggested and it worked. I started the mission two times, the first time the DAC initialization screen said 12 Patrols ( or something like that ) and the next time it was 20 Patrols ( have some unarmored cars also ).
    Now I’ve to find a way to force myself not to look at the DAC initialization screen so I don’t know how many patrols there are.
    So, thanks again for the help

  9. #29
    First Sergeant
    Join Date
    Oct 30 2009
    Location
    Brisbane, Australia
    Posts
    980
    I started playing around with DAC3 yesterday, many thanks to Silola and DMarkWick. Thanks to the excellent documentation and this thread I was able to get some really nice things happening almost straight away.

    One thing I really like is to use DAC to spawn civilian vehicles which drive around/between towns. It really adds to the immersion and makes towns feel more alive. It's much less CPU intensive and more effective than the ambient civilian vehicles module.

    Next step is to move beyond the defaults and start defining my own units for islands like lingor.

    Thanks again to all involved with this.

  10. #30

    Insurgents

    Hi!

    I love DAC 3, but I'm having trouble playing with Russian Insurgents. (Unit config 6) They just kill each other at the start of the mission. My DAC trigger zone looks like this:

    fun=["z1",[1,0,0],[20,3,50,8],[],[3,1,10,10],[],[0,6,0,0]] spawn DAC_Zone;


    For 20 groups of infantry, 3 tanks.

    I also have a spawn camp which looks like this:

    fun=["z1_1",[3,0,0],[],[],[],[1,2,50,0,100,50],[0,6,0,0]] spawn DAC_Zone;

    Everything else works great.

    Anyone else has this problem or has a solution?

Page 3 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •