Mass attack?
Sep 25 2007, 6:58 am
By: Marsmallos  

Sep 25 2007, 6:58 am Marsmallos Post #1



Hi im a mapmaking noob, and i heard i need mass attack for my map...
What is that and what does it do?

Thanks in advance for any explanations... :)



None.

Sep 25 2007, 9:38 am Fisty Post #2



its a trigger.

I'll go make a map about it now and u can explore it



None.

Sep 25 2007, 9:44 am Fisty Post #3



Here we go

Attachments:
Demonstration.scm
Hits: 4 Size: 51.29kb



None.

Sep 25 2007, 12:48 pm Falkoner Post #4



Basically, the player gets beacons for each player, and when they go to that player's beacon with their civilian, all their units are ordered to attack to that player's base. So the trigger action would be Order.



None.

Sep 25 2007, 8:58 pm Marsmallos Post #5



Thanks for taking your time, but SCMdraft complains that there is an error when opening the map :(



None.

Sep 25 2007, 9:02 pm TricksOfDeath Post #6



Do you have sc running? If so... thats probably it since it cannot open a file that is being read by sc.



None.

Sep 25 2007, 9:47 pm Marsmallos Post #7



Nah i just clicked the link and opened the map wíthout running any other sc stuff



None.

Sep 25 2007, 10:51 pm JamaL Post #8



I'm going to display it in trigger form, although I hoped Falkoner said it so that you get it. If not, here you go..

Trigger
Players

  • Player 1
  • Conditions

  • Current Player brings at least 1 any unit to 'Beacon'. ( Beacon is where you will bring the civilian to mass. )
  • Actions

  • Issue order all any units owned by Player 1 at 'Anywhere' to 'Player #" ( The player is whoever you want to mass when the civilian is on that beacon. )
  • Preserve Trigger


  • EDIT: A lot of typos.. sorry.



    None.

    Sep 26 2007, 8:46 pm Marsmallos Post #9



    Hmm thanks!
    The trouble is that my map features heroes and later on custom units that youll have to micro wisely to be successfull, and youll be wanting to micro the mass units as well, so you dont mass em right into an enemies well placed Psi storm for example :P



    None.

    Sep 26 2007, 11:20 pm Fisty Post #10



    Lol scmdraft and it's recycling of strings...

    Oh and don't bother with it I took "mass" diferently, as in without the beacon. I suppose ur making a Helms Deepish map



    None.

    Sep 26 2007, 11:55 pm Money Post #11



    Yeah kinda like helms. It's not hard to make it so the heros don't mass.

    Trigger("Player 1"){
    Conditions:
    Bring("Player 1", "Terran Civilian", "Mass Red", At least, 1);

    Actions:
    Order("Player 1", "Zerg Zergling", "Anywhere", "Red Area", patrol);
    Order("Player 1", "Zerg Hydralisk", "Anywhere", "Red Area", patrol);
    Order("Player 1", "Zerg Ultralisk", "Anywhere", "Red Area", patrol);
    Preserve Trigger();
    }

    //-----------------------------------------------------------------//


    That way only your basic units mass. The above would be an example of a "sticky masser". As long as your civilian is one the beacon, your units will be ordered to attack. To make it not "sticky", add the following:

    Move Unit("Player 1", "Terran Civilian", All, "Mass Red", "Mass Return");


    That way it will only order attack once, and move your civilian back to the middle area. Also, use patrol, it works better than attack.



    None.

    Sep 28 2007, 8:19 am Fisty Post #12



    Quote from moneylover
    That way it will only order attack once, and move your civilian back to the middle area. Also, use patrol, it works better than attack.
    Use patrol? What are you on man? That makes them go back and forth (and they eventually mess up)



    None.

    Sep 28 2007, 9:36 am NudeRaider Post #13

    We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

    Quote from Deathman101
    Quote from moneylover
    That way it will only order attack once, and move your civilian back to the middle area. Also, use patrol, it works better than attack.
    Use patrol? What are you on man? That makes them go back and forth (and they eventually mess up)

    When you use attack order your units may pass the enemy without attacking until fired upon.
    Patrol order makes them "shoot on sight".

    You are right, if the target for the patrol order is somewhere where no enemies are they will return. Another mass order (civ on beacon) will "fix" that. But if u ask me I have seldomly seen units return. Usually they all die ;)

    Also you could add an extra trigger that tells every unit in the target area to patrol to target area. But that works only well without hypertriggers. Since attacking would become very sticky.

    Or you make two masser. One for patrol order, one for move order.

    So your choice. ;)




    Sep 28 2007, 4:03 pm ShizTheresABear Post #14



    When you use an attack trigger with a human player, they will attack on sight. For example, if you're playing a melee game and you order to attack at a certain position, they will fire when seeing an enemy.

    What NudeRaider is talking about is for a Computer player. When ordered to attack for a Computer, they will only attack units that attack them. If you use patrol for a Computer player, they will attack on sight, but will still move back and forth unless the order is changed at the destination.

    The trigger that moneylover said works perfectly fine, although you might want to have the Civilian (or whatever unit you're using to activate the mass attack) to be teleported (or Moved) to a nearby location so the player doesn't have to move on and off the beacon manually. Just saves energy.



    None.

    Sep 30 2007, 12:05 am Falkoner Post #15



    Of course, if the player wants to keep sending in troops it's annoying to keep having to move it onto the location.



    None.

    Options
      Back to forum
    Please log in to reply to this topic or to report it.
    Members in this topic: None.
    [06:24 pm]
    NudeRaider -- "War nie wirklich weg" 🎵
    [03:33 pm]
    O)FaRTy1billion[MM] -- o sen is back
    [01:53 am]
    Ultraviolet -- :lol:
    [2024-4-26. : 6:51 pm]
    Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
    [2024-4-26. : 6:50 pm]
    NudeRaider -- Vrael
    Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
    sounds like moisture control is often a pressing concern in your city
    [2024-4-26. : 6:50 pm]
    Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
    [2024-4-26. : 6:49 pm]
    Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
    [2024-4-26. : 6:48 pm]
    Vrael -- On this Topic, I could definitely use some Introductions.
    [2024-4-26. : 6:48 pm]
    Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
    [2024-4-26. : 6:47 pm]
    Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
    Please log in to shout.


    Members Online: Roy