Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Shift-click targeting system
Shift-click targeting system
Jul 29 2011, 7:39 pm
By: Jesusfreak  

Jul 29 2011, 7:39 pm Jesusfreak Post #1



There was a certain spellcasting system that I'm trying to remember, but I can't remember what it was called or how to trigger it.

From what I remember from the test map I used to have but can't find anymore, it had two air units, one traveling in a straight line on the bottom of the map, and another on the top of the map. When one reached the end of the line, it would be moved back to the start and start flying again. When the player queued an order with one of the air units (I forget which, or what the purpose of the second air unit was) with shift-click, the unit would then appear on the map (ie, where a unit was located) and start moving towards the spot the player told it to go to. When the air unit reached the point where the player shift-clicked, it would be moved back to where it was before and start patrolling the edge of the map again.
This is used for projectile spells, ie, a mage fires a fireball at something.


Does anyone know what I'm talking about?



None.

Jul 29 2011, 7:42 pm FoxWolf1 Post #2



Do you mean the Waypoint Casting System?



None.

Jul 29 2011, 7:58 pm Jesusfreak Post #3



Yes, that's perfect, thank you. I would have looked it up but I couldn't remember what it was called >_<.

EDIT: By the way, is it absolutely necessary to have the two units placed on the opposite ends of the map? I sort of forgot to factor this into the map I was drawing out and I don't want to have to redo the top portion of my map... :blush:



None.

Jul 29 2011, 8:12 pm Chia-Tyrant Post #4



You can place the two anywhere you want; the second is just to detect when you're clicking (using an inverted location to detect its movement).



None.

Jul 29 2011, 8:12 pm FoxWolf1 Post #5



It shouldn't be necessary to have a big space between them, so long as the stationary air unit doesn't get "caught" in the triggers for the moving one and visa versa. As I understand the system, the distance between the two units doesn't do anything other than prevent them from messing with one another.

EDIT: Bleh, Chia beat me to it >.<



None.

Jul 29 2011, 8:13 pm Jesusfreak Post #6



I recall it saying something about the air units trying to keep formation if they're too close together. How do I prevent that?



None.

Jul 29 2011, 10:50 pm Lethal_Illusion Post #7



Quote from Jesusfreak
I recall it saying something about the air units trying to keep formation if they're too close together. How do I prevent that?

I've actually been looking into unit formations recently. It seems units only move in formation when their destination is between/among them (that is, the destination is right of the leftmost unit, left of the rightmost unit, below the topmost unit, and above the bottom unit). To prevent formations, just have both wraiths above the playable map area. I made a proof-of-concept with the original Waypoint map attached.

Edit: It turns out I don't have enough global space to upload the map. I asked Psionic_Storm to upload it for me.

Post has been edited 1 time(s), last time on Jul 29 2011, 10:53 pm by Lethal_Illusion. Reason: Thanks Psi.



None.

Jul 29 2011, 10:53 pm Psionic_Storm Post #8



Quote from Lethal_Illusion
Quote from Jesusfreak
I recall it saying something about the air units trying to keep formation if they're too close together. How do I prevent that?

I've actually been looking into unit formations recently. It seems units only move in formation when their destination is between/among them (that is, the destination is right of the leftmost unit, left of the rightmost unit, below the topmost unit, and above the bottom unit). To prevent formations, just have both wraiths above the playable map area. I made a proof-of-concept with the original Waypoint map attached.

Edit: It turns out I don't have enough global space to upload the map. I asked Psionic_Storm to upload it for me.

Here it is.

Attachments:
Fireball Test v2.scm
Hits: 2 Size: 41.13kb



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[07:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[06:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[03:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1: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.
Please log in to shout.


Members Online: IlyaSnopchenko