junk yard dog
Jan 10 2009, 9:19 pm
By: Toothfariy  

Jan 10 2009, 9:19 pm Toothfariy Post #1



okay i set an ai script at "location" to junk yard dog, and every unit went completely bonkers!

i thought that junk yard dog made them just randomly run around, but most of the units spun in circles

i know on maps like dodge the rapist they use junk yard dog to make the units move around the area but they dont do what they did when itested it



None.

Jan 10 2009, 9:30 pm Biophysicist Post #2



stop spamming it and see what happens.

Post has been edited 2 time(s), last time on Jan 10 2009, 9:36 pm by NudeRaider. Reason: lol



None.

Jan 10 2009, 9:34 pm NudeRaider Post #3

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 Toothfariy
okay i set an ai script at "location" to junk yard dog, and every unit went completely bonkers!
Hyper triggers + preserved junkyard dog = bonkers ;)




Jan 10 2009, 9:35 pm Toothfariy Post #4



crap... then how do i do it?



None.

Jan 10 2009, 9:37 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 Toothfariy
crap... then how do i do it?
O.o remove any component on the left side of the equation. I'd go for preserve. :P




Jan 10 2009, 9:40 pm Biophysicist Post #6



Take out "preserve trigger"?



None.

Jan 10 2009, 9:43 pm Toothfariy Post #7



yeah the perserve did it

so i guess hypertrigs and perserved junkyard dog dont mix

1 more problem now tho, all computer units on the map are doing it

not just the the specified player 8

any way around this?



None.

Jan 10 2009, 9:48 pm NudeRaider Post #8

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

How did you "specify" P8? Syntax of AIs is <type> [location] and it's always executed for the trigger owner.
Run the trigger for P8 only.




Jan 10 2009, 9:51 pm Toothfariy Post #9



i am. i only checked player 8 as the trigger owner

my trigger is also very specific

i have some player 7 computers else where, not in the location where i set the junkyard dog
however player 7 is also moving along w/ player 8

so only player 8 has units at the location

also, i have another ai script problem

the beginning of my map i have some unit get automatically loaded into a transport at a location. now u can buy more units to load, but i want them to be loaded by themselves after that. now the trigger for the beginning is not preseved. its "create units" "move transport to location" "enter transport" and those are all the actions

so i guess does the enter transport script keep running?



None.

Jan 10 2009, 9:55 pm stickynote Post #10



Another way to do this while still suing preserve trigger is to add something to the conditions that you can control. For example, you could make it so that if a player brings a unit to some discreet location off the playable area, it will run the AI script. Then, once it does, you remove the unit, and create it there again when you need to run the AI again.



None.

Jan 10 2009, 9:56 pm Toothfariy Post #11



Quote from stickynote
Another way to do this while still suing preserve trigger is to add something to the conditions that you can control. For example, you could make it so that if a player brings a unit to some discreet location off the playable area, it will run the AI script. Then, once it does, you remove the unit, and create it there again when you need to run the AI again.

the problem isnt that, its that the units go insane and spin around as if they were chasing their tails



None.

Jan 10 2009, 10:04 pm stickynote Post #12



But you can have the remove unit action after you run the AI. Then they won't go "bonkers".



None.

Jan 10 2009, 10:06 pm Toothfariy Post #13



but while im running the script, i dont want them to be doing that

i want them to just run around randomly



None.

Jan 10 2009, 10:24 pm NudeRaider Post #14

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 transport AI, once executed affects only the units inside the specified location. They try to enter the nearest transport.
It's like an order. If they are inside you will have to reorder them if you want them to reenter at some later time.
If they couldn't enter for some reason they will go as close to the transport as they can and then are put on stop order.

For the junkyard there's no such thing like cross player behavior. It only runs for the player you checked.
Maybe what you describe has something to do with messing with disabled unit sprites? Try with units instead.




Jan 10 2009, 10:26 pm Toothfariy Post #15



yeah i got it figured out now

i had a perserve on my enter transport script

and i somehow made duplicate trigs for player 7 and 8



None.

Jan 11 2009, 12:59 am Falkoner Post #16



So is that all your problems solved, or are you still having trouble with something? If you wanted to keep sending the AI, you could just use a Death Count Timer to have a pause in between executions of the AI.



None.

Jan 11 2009, 1:05 am Toothfariy Post #17



Quote from Falkoner
So is that all your problems solved, or are you still having trouble with something? If you wanted to keep sending the AI, you could just use a Death Count Timer to have a pause in between executions of the AI.
yeah thats what i was planning on doing



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[06:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[06:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[02:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[02:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[08:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
[2026-7-15. : 2:19 am]
Symmetry -- NudeRaider
NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
[2026-7-14. : 11:43 pm]
Ultraviolet -- let's take each other's clothes off :teach:
[2026-7-14. : 11:03 pm]
Vrael -- :teach:
Please log in to shout.


Members Online: NudeRaider