Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How did KoTK make spells that make patterns?
How did KoTK make spells that make patterns?
Jun 15 2018, 7:40 am
By: Nib-  

Jun 15 2018, 7:40 am Nib- Post #1



Does anyone have an idea about how the location triggering would work for the KOTK maps to create patterns with units. Like for example, in one of the maps, making a firebat would trigger the hero's location to create an X symbol with observers and then die instantly.



None.

Jun 15 2018, 12:18 pm NudeRaider Post #2

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

What's KOTK? Usually elaborate explosion patterns are created using mobile grids

like this:





Jun 16 2018, 11:06 pm Nib- Post #3



Quote from NudeRaider
What's KOTK? Usually elaborate explosion patterns are created using mobile grids

like this:


Not sure if it's the same.

https://www.youtube.com/watch?v=bhYhi9jxrrA
This is KoTK Knight of the King, a Korean map RPG style game.
54:40 - 55:20 is a good example of the pattern I'm trying to understand how it was triggered.



None.

Jun 16 2018, 11:33 pm NudeRaider Post #4

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

yup, the same.




Jun 18 2018, 1:15 am Nib- Post #5



Quote from NudeRaider
yup, the same.

Awesome! Any idea if you can clarify how this works. I read through the wiki, and I'm not sure if the triggers are messed up or I'm not understanding it correctly. So basically you're making at the bottom left of the map a grid system? Or do you center this on a unit and the location system follows accordingly?



None.

Jun 18 2018, 6:21 am NudeRaider Post #6

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

You center it on a unit. Then you create a grid with units like in the gif above (which is slowed down so you can see what's going on).
The units are your grid. So now you kill the units where you want an explosion effect to happen and you remove the ones where you don't. The trick is removing/killing them 1 by 1 in the right order.

This is where the gif helps to see how they are created and removed. Units are created in a counter-clockwise fashion. When you remove/kill/whatever them the leftmost is selected first. If there are multiple units with the same x coordinate, the unit with the highest unit ID (usually created last) will be selected first.




Jun 18 2018, 3:31 pm Dem0n Post #7

ᕕ( ᐛ )ᕗ

There's a lot more that goes into the spells than just mobile grids. They have huge spells such as 50+ tanks spawning on top of your unit. On top of that, all the spells instantly attack upon creation (well, upon being moved to your unit). They are super intricate and I'm not sure anyone around here fully understands how they work.




Jun 18 2018, 7:17 pm lil-Inferno Post #8

Just here for the pie

Quote from Dem0n
[...] all the spells instantly attack upon creation [...]
I'm 99% sure this is accomplished by ordering patrol before moving the units, making them attack instantly.




Jun 18 2018, 8:42 pm NudeRaider Post #9

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 Dem0n
There's a lot more that goes into the spells than just mobile grids. They have huge spells such as 50+ tanks spawning on top of your unit. On top of that, all the spells instantly attack upon creation (well, upon being moved to your unit). They are super intricate and I'm not sure anyone around here fully understands how they work.
certainly. That's just not the topic:
Quote from Nib-
[...]how the location triggering would work for the KOTK maps to create patterns with units. Like for example, [...] create an X symbol with observers and then die instantly.





Jun 20 2018, 4:23 am Nib- Post #10



Quote from NudeRaider
You center it on a unit. Then you create a grid with units like in the gif above (which is slowed down so you can see what's going on).
The units are your grid. So now you kill the units where you want an explosion effect to happen and you remove the ones where you don't. The trick is removing/killing them 1 by 1 in the right order.

This is where the gif helps to see how they are created and removed. Units are created in a counter-clockwise fashion. When you remove/kill/whatever them the leftmost is selected first. If there are multiple units with the same x coordinate, the unit with the highest unit ID (usually created last) will be selected first.


Not positive, but I don't believe there are any lings burrowed under the main heroes. Any idea on how they might be doing it?



None.

Jun 20 2018, 3:16 pm Dem0n Post #11

ᕕ( ᐛ )ᕗ

You don't need a burrowed ling to center the location. You can just center the location on top of the player's unit and then create the grid.




Jun 22 2018, 5:20 pm Sie_Sayoka Post #12



They are created using mobile grids and patrol order as stated in the thread, albeit scaled up versions of them. They are fairly easy to use once you understand how they work.

Mobile grids will always follow the same placement order as long as there isn't any units in the way (in most cases air) and as can be seen with the gif posted it spawns in a counter-clockwise direction. KotK uses much larger grids than the 3x3 example so you will have to take the placement order into account for that.

You can do all of this in a couple locations if you know your trigger ordering well.


In order to do patrol order well you have to consider 3 factors when timing the attack of the 'spells'.

1. Turning. Most units have to turn and face the target before they can enter an attack animation.
2. Weapon Angle. This is the angle that a weapon is allowed to fire at an enemy. Vultures have a very quick turn radius as well as a 180 degree weapon angle which is why they can be microed so well.
3. Attack Animation. Some units have to enter a 'ready' animation before they can fire, an example would be a marine raising its gun. The exception would be terran mech or air units.
3. Misc. Sometimes there are other factors that interfere with how fast a unit can spawn on creation. Examples would be moving units to a different location and lurkers.

You can view the weapon angles with EUD Editor 2.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06: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.
[06: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
[06: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?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06: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?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
[06:38 pm]
Vrael -- I need a go-to solution and someone who understands that Carpets are more than just decorative elements in my home.
Please log in to shout.


Members Online: Vrael, Roy, NudeRaider