"The battered marines took cover behind a broken down truck as countless enemy rifle rounds rained death above them. After having spent just a moment to regain their breath they looked towards their sergeant for further orders. The sergeant responded with a silent nod, something which filled the marines with dread, there was no hope and they were to make their last stand."
Weekly Trigger Exercise #2
This weeks trigger exercise is about creating a squad mechanic where the whole group of units behave as one entity. You can use any unit for the exercise from a classical marine squad to a swarm of scourge. While you can interpret the concept of a squad any way you wish I have listed a few possible features to help you get started.
The unit share any orders given.
The group goes into a specific shape whenever possible.
The whole unit shares a single health bar with units getting killed at specific intervals.
The squad fires at all units near a target unit.
Good luck! I am looking forward to seeing results!
lol I was thinking "terrain weekly....data weekly......How about trigger weekly!" and then I see this lol....
As for making them share HP, the trains in that one campagin mission do it somehow. The one where you got to stop X amount of trains and u fight the dominion.
I've been thinking of doing some kinda squad formation trigger work since open beta... but this actually gave me some slight incentive to just do it. xD
Sorry about the poor resolution, i got a shitty monitor.
Fraps stopped working on me in the middle, didn't get to capture the part where the units die sequentially with the global HP dropping.
Formation is loosely done (primary focus is a cohesive squad that acts and takes damage as one unit)
Formation readily changes shape when collision or interruptions occur
Everything leader unit does, all other squad units copy (Attack, Move, Patrol, etc)
Squad Leader is any unit that you click on at any given time. Changing lead is dynamic and instant.
Joint HP pool works by combining the max hp of all the spawned units.
HP bars of each unit reflects the total HP pool of the whole squad
Each unit in squad shares the same HP pool, and damage is done to the squad as a single entity.
Random unit dies within squad when the squad takes an amount of damage equal the maxHP of a single marine.
Boss bar up top is only to show the HP clearer
Some known issues
Auto attack could probably screw this whole system up
Drag-box selection must be disabled, because it starts dropping units out of the squad
An interesting side effect of the implementation is that I can continue to add units onto the squad post-initial-spawning, by clicking on them (temporarily making them squad leader). So as long as they are of the same unit type of your squad.
Hope you guys like it. Pretty easy and quick to implement yourself. I'll upload map tomorrow after i do some organizing in it.
I'm the creator of the Weekly Build the Trigger (named like that just to avoid reusing the WTE that is already used for terrain) and this kind of exercise needs much more time.
I tried to make a Total War-esque square formation. The squad has a leader that is selected when any clicking on any of the squad members. The squad gets in formation every time a move or a stop order is issued. When one of the members die, the next one takes his place when the next order is issued. If the leader dies the one next to him become the leader.
I something like this in Warcraft3. Give me a few hours.
After several hours I came up with the basic program. I'll tweak it up over the next several hours. Attached is what I have so far.
Click on a marine and type "form" to form a group of up to 32 nearby marines. The "Leader" Marine should enlarge to 125% of his size. You can have up to 24 different groups (maximum of 32 units each). Type "disband" while selecting the leader to disband the group.
I'll make it so that the leader dies last later on.
Onisagi, how did you get the "Point" that the move command was targeted at? The only current workaround is using a dummy unit to take the place of the leader, while the Leader is is instantly moved to its ordered location and hidden from view until the dummy unit arrives via the follow command.
NVM:
I figured that out. Use the Event "Unit Uses Ability" instead of "Unit Receives Order" then set your point variable to the location of the order.
1) Rename this to WGE: Weekly Galaxy Exercise. Will avoid confusions with 2 WTEs :).
2) Are we allowed to do small edits to units in the data editor? Eg, i would like to edit it slightly to have 1 larger selection ring rather than X small ones, and remove the health bars on most of the units (and increase the size on one of them).
Damn. I really like that huge squad of Zealots you got going tFighterPilot!
It reminds me alot of Kingdom Under Fire: Heroes (not the crappy second one that was a pure RPG). I just love that game so much. Good stuff!
EdwardSolomo; I like the fact that the leader is 125% larger then the rest, gives a nice clear visual of who the boss is! It could also be cool to model swap in a WarPig as the boss, that would be like turning it into table top Warhammer(the Leader of the Squad is always a little more distinguishable/special than the rest).
Those 2 together just give me a great idea. Too bad I won't be using them, hehe.
"The battered marines took cover behind a broken down truck as countless enemy rifle rounds rained death above them. After having spent just a moment to regain their breath they looked towards their sergeant for further orders. The sergeant responded with a silent nod, something which filled the marines with dread, there was no hope and they were to make their last stand."
Weekly Trigger Exercise #2
This weeks trigger exercise is about creating a squad mechanic where the whole group of units behave as one entity. You can use any unit for the exercise from a classical marine squad to a swarm of scourge. While you can interpret the concept of a squad any way you wish I have listed a few possible features to help you get started.
Good luck! I am looking forward to seeing results!
I have some ideas for this... Should prove to be a challenge.
I'm keen to give this ago, but a week seems a bit short. before I new it a week was up :/ also christmas build-up cutting my time short
Do we get any tips how we should start this process? :D Sorry, can we have another week, I did not see this till today.
In case of extension/new week goal.. I fully intend to participate.
EDIT::
This is the only part I am going to do. I think the rest would take way too long. I might do more later.
Sure I can extend it atleast another week.
@StatusQ3: Go
A tip would be to utilize arrays to get the unit stats and past positions. Play around a bit.
@Shawn91210: Go
Looks good. Any special reason they sometimes take a weird path towards their target?
shawn I love that :D. Its not so useful, but remind me of my army days. the marauders sure are trained well to do all those formations so fast :D
lol I was thinking "terrain weekly....data weekly......How about trigger weekly!" and then I see this lol....
As for making them share HP, the trains in that one campagin mission do it somehow. The one where you got to stop X amount of trains and u fight the dominion.
I have no idea.. It baffled me too while I was recording, but I was about to go to sleep so I decided to post it anyway.
Any tips on how to make them in formation?
@Keyeszx: Go
I didn't want to spend a lot of time on it, so I did it the extremely lazy way. The grid view helped a lot.
EDIT:: I'm just going to attach what I did.
I've been thinking of doing some kinda squad formation trigger work since open beta... but this actually gave me some slight incentive to just do it. xD
Sorry about the poor resolution, i got a shitty monitor.
Fraps stopped working on me in the middle, didn't get to capture the part where the units die sequentially with the global HP dropping.
Formation is loosely done (primary focus is a cohesive squad that acts and takes damage as one unit)
Joint HP pool works by combining the max hp of all the spawned units.
Some known issues
Hope you guys like it. Pretty easy and quick to implement yourself. I'll upload map tomorrow after i do some organizing in it.
A week may be not enough time, imo.
I'm the creator of the Weekly Build the Trigger (named like that just to avoid reusing the WTE that is already used for terrain) and this kind of exercise needs much more time.
For those of you that want to check the first attempt at this, visit http://forums.sc2mapster.com/development/triggers/14837-weekly-build-the-trigger-1-key-hero/ and give it a look. It's harder than this, unfortunately :S.
Starcraft Total War
I tried to make a Total War-esque square formation. The squad has a leader that is selected when any clicking on any of the squad members. The squad gets in formation every time a move or a stop order is issued. When one of the members die, the next one takes his place when the next order is issued. If the leader dies the one next to him become the leader.
Edit: Also video
@Twinmold20: Go
I something like this in Warcraft3. Give me a few hours.
After several hours I came up with the basic program. I'll tweak it up over the next several hours. Attached is what I have so far.
Click on a marine and type "form" to form a group of up to 32 nearby marines. The "Leader" Marine should enlarge to 125% of his size. You can have up to 24 different groups (maximum of 32 units each). Type "disband" while selecting the leader to disband the group.
I'll make it so that the leader dies last later on.
@onisagi: Go
Onisagi, how did you get the "Point" that the move command was targeted at? The only current workaround is using a dummy unit to take the place of the leader, while the Leader is is instantly moved to its ordered location and hidden from view until the dummy unit arrives via the follow command.
NVM: I figured that out. Use the Event "Unit Uses Ability" instead of "Unit Receives Order" then set your point variable to the location of the order.
1) Rename this to WGE: Weekly Galaxy Exercise. Will avoid confusions with 2 WTEs :). 2) Are we allowed to do small edits to units in the data editor? Eg, i would like to edit it slightly to have 1 larger selection ring rather than X small ones, and remove the health bars on most of the units (and increase the size on one of them).
Either way, i'm hard at work with mine :D
@EdwardSolomon: Go
Damn. I really like that huge squad of Zealots you got going tFighterPilot!
It reminds me alot of Kingdom Under Fire: Heroes (not the crappy second one that was a pure RPG). I just love that game so much. Good stuff!
EdwardSolomo; I like the fact that the leader is 125% larger then the rest, gives a nice clear visual of who the boss is! It could also be cool to model swap in a WarPig as the boss, that would be like turning it into table top Warhammer(the Leader of the Squad is always a little more distinguishable/special than the rest).
Those 2 together just give me a great idea. Too bad I won't be using them, hehe.
Is it possible to have it when you select one it selects all in the group?
@Keyeszx: Go
Event: Unit is Selected
Action: Select Unit Group