Staredit Network

Staredit Network -> UMS Assistance -> Scarab Firing system
Report, edit, etc...Posted by Leviathan.nl on 2006-03-07 at 07:22:44
Well, I got an problem with it. I'm sorta making an RPG again, except this time I'm kinda aiming to finish it even if I run into an problem LoL tongue.gif

know mostly how to use triggers but 1 of the few things i haven't been able to figure out is how to create an scarab firing system. First I was doubting if it was possible so I figured I'll look for an map to see if some1 made it smile.gif Scarab D did it with the use of an dark swarm ofcourse was also my intention to do something like that. tho I've not been able to do it. I quit trying to make an scarab firing system an few months ago. but now I wanna try it again figured I'd better ask for some help smile.gif

my problem will prolly be that I'd have to create much more duplicate triggers to create the effect?

anyhows. hope some1 can take the time to explain it how i'd have to trigger this. I've been able to ''fire'' scarabs without the use of an dark swarm so with unloading an unit from an dropship your unit will shoot an scarab. but ofcourse they go wacky and I have no controle over what they attack if they attack anything at all. So I'm gonna need to find out how to implement this dark swarm firing system for scarabs.
Report, edit, etc...Posted by Kenoli on 2006-03-07 at 07:31:51
It should be pretty simple. You move a location to the Dark Swarm and order the Scarab move to it.
Is there a particular part of it that you don't understand?
Report, edit, etc...Posted by Leviathan.nl on 2006-03-07 at 07:43:20
well, let me say what i've tried so far

Created P12 for the scarab creation since placing scarabs will ofcourse dissapear. uhm tho P12 didn't want to listen to my setallianceto(p8, enemy); so i gave up on that very quick (yes i did set p12 to computer) and just created p7 for scarab creation. I then was ofcourse able to set p8 to enemy. but

I used this trigger:

for the locations:

Always
--
Move location P1 Dark swarm firing to unit dark swarm
preserve trigger

Always
--
Move location P1 Defiler to unit defiler
Preserve trigger

then for the scarab moving:
P1 brings atleast 1 dark swarm to anywhere
--
Give all protoss scarab owned by p7 at scarab creation to P1
Move all protoss scarab owned by p1 at scarab creation to P1 defiler
Remove all dark swarm for p1 at anywhere
(Then for the order i experimented with that an bit an month ago. i didn't use junkyard dog AI script or set generic command target.)
so my next was: issue order to all protoss scarab owned by p1 attack to P1 Dark swarm firing
Preserve trigger

Lemme guess i made an fairly simple mistake again. that i'm just not seeing LoL smile.gif happy.gif .

btw i did not get any scarabs.. that was the big problem actually else i could have played with the AI scripting etc an bit and found that out. i just didn't get any scarabs. 1 option is ofcourse that i can't use the give scarabs to P1? or isn't that it?

also for the record. i did use hyper triggers in this.
Report, edit, etc...Posted by Kenoli on 2006-03-07 at 08:46:22
QUOTE
Created P12 for the scarab creation since placing scarabs will ofcourse dissapear. uhm tho P12 didn't want to listen to my setallianceto(p8, enemy); so i gave up on that very quick (yes i did set p12 to computer) and just created p7 for scarab creation. I then was ofcourse able to set p8 to enemy. but
P12 can't run triggers, so it's impossible to change his allied status with other players.
P12 is always neutral, you can't set him to be a computer player.
And, since he's neutral and has no enemies, units owned by P12 can't attack.

In order to actually get scarabs you need to make reavers attack something. They have to come out of the reaver before you can move them.

You can't give scarabs unless you give the reaver. It's just like with Interceptors/Carriers.
Report, edit, etc...Posted by Leviathan.nl on 2006-03-07 at 09:59:39
I did that tho. put up an egg for p8-comp. for the reavers to attack.

edit: and I put up an map revealer and yes they where attacking. so it has to be something with the triggers i used to move the scarabs thats wrong.

ADDITION:
i think i know the problem, sc is not recognizing the triggers i used for the dark swarm. I think I need to change something about that so it recognizes that I cast an dark swarm.

ADDITION:
perhaps some1 can create an small unprotected test map for me to show how its done and send it to me? well anyways all help is welcome tongue.gif

ADDITION:
weee works just set the trigger instead of being p1 brings dark swarm to anywhere, to p12 brings dark swarm to anywhere.. knew it wasn't recognizing it because it was p1 the dark swarm is owned by p12. now all i gotta do is get controle over where that scarab explodes etc.
Report, edit, etc...Posted by fusioneko on 2006-03-07 at 10:47:13
how about this, somehow get it to reconize the dark swarm then drop a scarab (itll most likely attack at random) But in time im sure you could get it to attack at will if the user whos using it uses aiming im sure.. This is a useless post, so just dont mind me.
Report, edit, etc...Posted by Leviathan.nl on 2006-03-09 at 03:34:11
heh man all help is apreciated its the tought that counts right smile.gif well.. sorry but i'm not using that ;D I want it to look like the defiler actually shoots it and from what I understand you mean something else wink.gif moving the scarab instead of on the defiler location onto the dark swarm location smile.gif

I'm just gonna search topics now theres prolly been an question about scarab AI scripts before, how you actually get it to target the location you cast the dark swarm.. since my scarab just trys to go back to the target the reavers where firing on lol. and then explodes against an wall tongue.gif
Report, edit, etc...Posted by HeRtZ on 2006-03-09 at 03:47:07
Levia, Kenoli is right, HE IS NEVER WRONG!
Report, edit, etc...Posted by Wing-of-no-Wing on 2006-03-09 at 06:26:34
Use Set Generic Command Point and the AI script "Make these units patrol" (to generic command point). They are your friends!
Report, edit, etc...Posted by Leviathan.nl on 2006-03-09 at 07:50:38
I was using set generic command point and send units to patrol to upper left corner.

if you had read my msg you would have seen that wink.gif

what i forgot was an kill trigger. the scarabs just didn't die at the spot i wanted them to die, so i added an kill trigger for the location of the dark swarm. actually quite simple when you think about it and logic to just have to know it hehe

thnx allot tho kenoli, he send me his version of an scarab firing system map and with that I was able to understand the triggering completely ;D.

so for the record moderators etc, problem is solved smile.gif
Report, edit, etc...Posted by Wing-of-no-Wing on 2006-03-09 at 11:45:50
That's what I get for posting near the end of an all-night paper writing session, I guess. disgust.gif
Next Page (1)