Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Scarabs attacking independantly
Scarabs attacking independantly
Sep 26 2007, 11:53 am
By: NudeRaider  

Sep 26 2007, 11:53 am NudeRaider Post #1

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

Hi guys,

in my map I want that heros (like Marines, Goons, but Warbringer (Hero Reaver) too) can buy an item which activates a special attack.

This special attack should add some extra splash damage which doesn't hurt themselves (hurt allies would be ok).
In addition it should look and feel the coolest way possible. :}

OK, I've come to the conclusion that Scarabs would do that best. (Any other ideas?)
Lurkers are no option, since they are used elsewhere.

But now I need your help how to make the Scarabs attack. I already teleported them to the hero and ordered them to patrol to the enemy castle. But they pass all enemy units and try to move to the castle and explode before they can reach it. :blush:
I want them to attack the closest enemy unit or building.
How do I do that?

When using Scarabs I got another problem: Scarab damage is fixed to 6 + 4 per upgrade. Only the player controlling Warbringer Hero has an upgrade building for Scarab damage. So I could set every players upgrade damage to 50 resulting in 206 damage. But that would completely imbalance the Warbringer hero because every Player can choose his hero.
I could solve that by giving them to player 9 with 50 upgrades but then Scarabs would damage the hero they emerge from.
Any way to order the Scarabs to move a bit away and attack enemies then? (I don't use hypertriggers)

Any help or idea is appreciated. :unsure:




Sep 26 2007, 12:11 pm Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

@ attack units
solution 1:
junkyard ai script at hero position
solution 2:
send all units on random suizide missions

(requirements: you need a computer player allied with the player and unallied with the enemy)
(side effects: you can be damaged by the scrabs)
(special effect with solution 2: the scarabs move to the nearest unit, stop and attack still their lifetime is up. But they attack with a fast splash attack, much faster than every unit else... even dmg=0 can cause big damage)

solution 3:
move a reaver next to the hero (does not look nice)




Sep 26 2007, 1:40 pm Kenoli Post #3



Quote
I already teleported them to the hero and ordered them to patrol to the enemy castle.
The patrol AI script doesn't work on human players and the order action doesn't work on scarabs at all, so I can't imagine how.



None.

Sep 26 2007, 1:42 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

Quote from Ahli
@ attack units
solution 1:
junkyard ai script at hero position
(side effects: you can be damaged by the scrabs)
This side effect is what im trying to avoid

Quote from Ahli
solution 2:
send all units on random suizide missions
(requirements: you need a computer player allied with the player and unallied with the enemy)
I have 6 human players and 2 computer players already used. The comp players would meet the requirement, but if I send all units on random suicide missions it would spoil the rest of the game.

Quote from Ahli
(special effect with solution 2: the scarabs move to the nearest unit, stop and attack still their lifetime is up. But they attack with a fast splash attack, much faster than every unit else... even dmg=0 can cause big damage)
Since scarabs are not mine it would hurt me. Can I give the scarabs the player?

Quote from Ahli
solution 3:
move a reaver next to the hero (does not look nice)
Possible. But im looking for something better.




Sep 26 2007, 1:44 pm NudeRaider Post #5

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 Kenoli
Quote
I already teleported them to the hero and ordered them to patrol to the enemy castle.
The patrol AI script doesn't work on human players and the order action doesn't work on scarabs at all, so I can't imagine how.
Not patrol AI but order-action. But nvm, doesn't work either




Sep 26 2007, 7:14 pm Falkoner Post #6



Have the scarabs owned by a player that is not human, then set the generic command target (AI script) on where you want them to move, then use the AI Patrol to Upper Left Corner.



None.

Sep 26 2007, 10:49 pm Kenoli Post #7



Quote
Have the scarabs owned by a player that is not human, then set the generic command target (AI script) on where you want them to move, then use the AI Patrol to Upper Left Corner.
This can damage the user.



None.

Sep 27 2007, 2:05 am Falkoner Post #8



Well, then I see no way of doing it, since you can't give the human AIs.



None.

Sep 27 2007, 4:52 am blacklight28 Post #9



Whoah, whoah, whoah, whoah, whoah, whoah, whoah, you can make a scarab Junk Yard Dog? I tried it but the scarab got pwnt.



None.

Sep 27 2007, 12:15 pm NudeRaider Post #10

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

OK as I supposed every method has its drawbacks. What I want isnt possible that way.

Now I implemented the following:

I create infested at the hero, order them to move away a bit and then give them the patrol order.
They come back very rarely to hurt me. Most times they hit targets ahead of me. And if they DO come back then usually don't explode directly beneath me. And melee enemies are not a big problem for the hero anyway. ;)

So it's allright. Thanks for your help.




Sep 28 2007, 4:10 pm ShizTheresABear Post #11



Why not use a siege tank or something?



None.

Sep 28 2007, 5:28 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 ShizTheresABear
Why not use a siege tank or something?
Did you read everything?
Quote from NudeRaider
Quote from Ahli
solution 3:
move a reaver next to the hero (does not look nice)
Possible. But im looking for something better.





Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:46 am]
RIVE -- :wob:
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
Please log in to shout.


Members Online: Ultraviolet, Roy