AI Script 'Junk Yard Dog'

C

Coop

Guest
I'm trying to have units be there at start and Junk Yard Dog set at start.. okay that works fine. Now later on in the game more units are added and i run Junk Yard Dog again.. That works, but eventually the archons stop going.. and meet in the middle.. I tried doing..
-Always

-Run Ai script...
-Wait ###
-preserve trig.
doesnt work :(

HELP! yaR..
 
U

Unregistered

Guest
Going to need more info than that. Either post the map or take note when during the game there is a problem and find out which trigger it is for and work out from there.

From what you posted the only two possible problems could be that you don't have the command for all the right players. (i.e. player 1, player 2, force 1, etc.) Or the wait command might be messing things up if it is too long of a wait. Most likely you have another trigger that is causing all the guys to gather in the mid for some reason, the only problem now is finding out which trigger is the problem.
 
C

Coop

Guest
The map starts off with the 4 Archons (Units i want to set on Junk Yard Dog) placed on the map. My first trigger that has to do with this is:

Trigger located Under a Force of Players (5, 6, 7)

Condition:
- Always
Action:
- Execute AI script 'Set unit order To: Junk Yard Dog (Roam Around)' at Anywhere
- Wait 3000 milliseconds
- Preserve Trigger

Ok that gets them moving around. they keep going until the next level then i want to add 2 more archons and keep junk yard dog. My second trigger reads:

Located Under the Same Force:

Condition:
- 'Level2' is set
Action:
- Move all Protoss Archon for Player 5 at Anywhere to 'Center'
- Create 2 protoss archon at Center for Player 5
- Execute AI script 'Set unit order To: Junk Yard Dog (Roam Around)' at Anywhere

This is what happens.. the archons move to the center.. 2 more are created.. they roam for a couple mins maybe then eventually they all go to the middle and stop..GRR
 

Ilendil

Most Respected Former Admin
Reaction score
1
Unless getting the archons to go to the middle does anything special, just remove it.
 
L

Lightbulb

Guest
First off is the 'Junk Yard Dog' a renamed trigger or an action like 'set minerals,' 'kill units,' 'move units,' ect.? Because if it is some trigger that came with one of the hack edits then that might be the problem, because I don't have it on the regular SC Edit. It might be on Brood wars but I don't have it installed at the moment, so I can't check.

What is required for 'level2' to be set? If something is causing the 'level2' trigger to be set again then that would explain why they are all going back to the center. Also it might be that if you have a 'level3' trigger it might be kicking into effect too soon, which would make the units gather at the mid again. You might want to just get rid of the "Move all Protoss Archon for Player 5 at Anywhere to Center" command if you can. You could replace it with a kill all units for player _ command and just start with a new group plus 2 more.
 
C

Coop

Guest
Junk Yard Dog is an AI script in the special editors.. SCXE.. etc.

I'm pretty positive it is not the switch that is the problem. It may be just that the AI script isnt perfect..
I don't have a Level3 switch yet.
I could try that archon move thing, but i doubt it does anything.
 
L

Lightbulb

Guest
You could have the trigger like this

Condition

'Level2' is set


Action

Remove all any unit for player (whatever the archons are) at location (the entire area the archons can move on)

Wait 2000ms

Create _ archon for player _

Run AI Script 'Junk Yard Dog'


But like you said it could be the 'Junk yard dog' trigger, in which case just use the AI Script 'Random Suicide Missions.' While the archons might act stupid at times it might be the best thing there is to use. Never tried the 'strategic suicide missions' so it might work also.
 
C

Coop

Guest
That is basicly what i had excpet it removes the archons and replaces them. I will try it. I may try the random suicide missions.. and just keep sending them on these missions..
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top