Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Casting with scarabs.
Casting with scarabs.
Mar 1 2009, 2:50 pm
By: djinni  

Mar 1 2009, 2:50 pm djinni Post #1



Basically i have the scarabs set up to shoot at an unkillable, blocked off building, and i use them for casting,

When they get in though, they go all in one direction, and never hurt anything.

ive never used em before, so dont really know how to makem attack right, can i get some guidance?



None.

Mar 1 2009, 2:56 pm Magicide Post #2

Sleeping wolves wake hungry.

Every time the scarabs get moved to the location you want them to attack from, use the "Set unit order to: Junkyard dog" action. This should cancel out the scarabs' previous target.




Mar 1 2009, 3:10 pm djinni Post #3



Doesnt seem to have an effect. i tried running in the scarabs before they moved, and after they moved. and both before and after, they still simply veer off to the left



None.

Mar 1 2009, 3:17 pm Magicide Post #4

Sleeping wolves wake hungry.

Are you sure you've made the trigger run for the owner of the scarabs?




Mar 1 2009, 3:19 pm djinni Post #5



Yea. the person casting, owns the scarabs, and its running in their cast trigger.



None.

Mar 1 2009, 3:25 pm Magicide Post #6

Sleeping wolves wake hungry.

Then I've no clue, it worked for me.




Mar 1 2009, 4:43 pm NudeRaider Post #7

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

The reavers shooting the scarabs must belong to a comp player. You can't apply AIs to humans.
The correct order is:
- shoot
- move
- apply AI

There are several AIs you can apply with different effects.
- Junkyard dog will make them spread out but unlikely to hit anything
- Random suicide mission will make it pick any enemy player and hit its nearest unit
- Strategic suicide mission will make it pick strategicly valuable targets (possibly too far away)
- First pick a target with Set generic command target, then run make these units patrol to send the scarabs to a specific place.

When memory serves correctly you can, after a small wait, give the shooting reaver (not the scarab!) to the player to prevent self splash. The scarab should still follow its previous orders/AIs.




Mar 1 2009, 5:19 pm djinni Post #8



Yeah that works. i only wished i could keep it to the specific player so he could get the exp, without me using triggers to transfer the exp.



None.

Mar 1 2009, 6:45 pm Pyro682 Post #9



Use a binary count off, and transfer the EXP of the computer to the player.
It'll be just like the player killed it. Watch out for splash on the Player's unit that is casting it though. It may be injured.

---------EDIT-------------------
Quote
without me using triggers to transfer the exp
Sorry, DIdn't read that. Why can't you use a trigger?



None.

Mar 1 2009, 8:17 pm JaFF Post #10



Quote from NudeRaider
- Junkyard dog will make them spread out but unlikely to hit anything
This is certainly not true. In my experience, they work perfectly. One reason for you saying that may be that you've used the Junkyard Dog AI on a large location moved over the scarabs. If that is the case, use a 1x1 or 2x2 tile location - they should be able to hit anything near them that is not within that location.



None.

Mar 1 2009, 10:21 pm djinni Post #11



Quote from Pyro682
Use a binary count off, and transfer the EXP of the computer to the player.
It'll be just like the player killed it. Watch out for splash on the Player's unit that is casting it though. It may be injured.

---------EDIT-------------------
Quote
without me using triggers to transfer the exp
Sorry, DIdn't read that. Why can't you use a trigger?
i can. i just didnt want to. i dont know what a binary countoff is though :E
i just took the experience that the reavers had, and gave it to the person who casted.



None.

Mar 1 2009, 11:06 pm NudeRaider Post #12

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 djinni
i can. i just didnt want to. i dont know what a binary countoff is though :E
i just took the experience that the reavers had, and gave it to the person who casted.
Binary countoff is a method to efficiently do that. The experienced is transferred in 1 trigger loop and with the least number of triggers possible. Read the wiki on how to do it.




Mar 12 2009, 7:00 pm FlashBeer Post #13



Quote from JaFF
Quote from NudeRaider
- Junkyard dog will make them spread out but unlikely to hit anything
This is certainly not true. In my experience, they work perfectly. One reason for you saying that may be that you've used the Junkyard Dog AI on a large location moved over the scarabs. If that is the case, use a 1x1 or 2x2 tile location - they should be able to hit anything near them that is not within that location.

Since Junkyard dog can be applied to human players, then I could have humans own the reavers from the start, so that they could get exp or upgrade scarabs, without ever giving to computers, right?

In the direct damage system, since I would be moving the scarabs directly onto target, eliminating wasted time and movement as much as possible, I could just center an inverted location onto the scarab and apply the AI that way.

I'm guessing that they would still hit the nearest target after selecting an enemy, using the same targeting process as Random Suicide Mission)

Is this all correct? Just want to make sure I have my facts straight.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
Please log in to shout.


Members Online: Roy