Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Computer player using spider mines
[SOLVED] Computer player using spider mines
This topic is locked. You can no longer write replies here.
Aug 8 2012, 11:49 am
By: GGmano  

Aug 8 2012, 11:49 am GGmano Post #1

Mr.Pete-Tong

Hi i want computer controlled vultures to lay spider mines i dont know if thats possibel. long ago ive made em lay mines by creating them via triggers, but that way is not how mines are layed normally. If i could get vultures to lay spider mines by an ai script would be nice.



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

Ill try do my best in making all youre watchers happy

The maps I made are tweaked into perfection and maximum strategy added

Aug 8 2012, 2:44 pm NudeRaider Post #2

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

You can't directly order them via trigger to lay mines.
You'll have to enable a certain AI script and not give the vultures in question orders. Only idle vultures will lay mines, so they also won't lay mines if enemies are near.
The AI script I found that makes them lay mines is "Expansion [race] Campaign Insane". But there might be others too. The problem with this script is that the vultures may go to Player 3's start location when they're idle and done laying mines.




Aug 8 2012, 5:27 pm staxx Post #3



Quote from NudeRaider
Only idle vultures will lay mines, so they also won't lay mines if enemies are near.

Not entirely true, theres a way to get them to lay mines if theyre being attacked under dark swarm.

I'm assuming this is what you were referring to GG as this happened on desert strike (cant remember which version maybe beta updated or silver 2012?)



None.

Aug 8 2012, 10:06 pm GGmano Post #4

Mr.Pete-Tong

Quote from staxx
Quote from NudeRaider
Only idle vultures will lay mines, so they also won't lay mines if enemies are near.

Not entirely true, theres a way to get them to lay mines if theyre being attacked under dark swarm.

I'm assuming this is what you were referring to GG as this happened on desert strike (cant remember which version maybe beta updated or silver 2012?)

Yeah was on desert strike GG version i made em lay mines via triggers (just created mines via trigger when defillers came near vultures) but that seemed kinda stupid since mines was placed randomly weird spots well in some way and also mines was only made on occasion of defillers made by other team. What i want is a ai script that makes em lay mines like nuderaider is saying.

Quote from NudeRaider
You can't directly order them via trigger to lay mines.
You'll have to enable a certain AI script and not give the vultures in question orders. Only idle vultures will lay mines, so they also won't lay mines if enemies are near.
The AI script I found that makes them lay mines is "Expansion [race] Campaign Insane". But there might be others too. The problem with this script is that the vultures may go to Player 3's start location when they're idle and done laying mines.

Yeah its something like that im looking for just if they only lay mines if idle i cant use that much, since its in a desert strike map i want em to lay mines. It would look kinda weird if vultures where the only unit that had no movement towards other teams temple. Are you sure they will only lay mines if idle? maybe anyone other knows a script that makes em use mines while beeing ordered?



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

Ill try do my best in making all youre watchers happy

The maps I made are tweaked into perfection and maximum strategy added

Aug 8 2012, 10:20 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 GGmano
Yeah its something like that im looking for just if they only lay mines if idle i cant use that much, since its in a desert strike map i want em to lay mines. It would look kinda weird if vultures where the only unit that had no movement towards other teams temple. Are you sure they will only lay mines if idle? maybe anyone other knows a script that makes em use mines while beeing ordered?
Yeah I'm sure. Other AI scripts are likely to behave similarly, but I can't be sure, of course.

In my classic Desert Strike versions I move the vultures to the battlefield, give them like 20 seconds time to lay their mines and then order them. Works pretty well as with the speed upgrade they catch up with marines at about the middle of the battlefield.




Aug 9 2012, 10:23 am GGmano Post #6

Mr.Pete-Tong

Quote from NudeRaider
Quote from GGmano
Yeah its something like that im looking for just if they only lay mines if idle i cant use that much, since its in a desert strike map i want em to lay mines. It would look kinda weird if vultures where the only unit that had no movement towards other teams temple. Are you sure they will only lay mines if idle? maybe anyone other knows a script that makes em use mines while beeing ordered?
Yeah I'm sure. Other AI scripts are likely to behave similarly, but I can't be sure, of course.

In my classic Desert Strike versions I move the vultures to the battlefield, give them like 20 seconds time to lay their mines and then order them. Works pretty well as with the speed upgrade they catch up with marines at about the middle of the battlefield.

Wouldnt they then only lay mines behind teams own temple? Maybe if i combine location with send unit order to junkyard, so that as soon as vulture gets near enemy their order is send to junkyard and they could they become idle for a short period of time



A Legendary Map Maker, Player. Apparently im more than intresting to observe Irl

Ill try do my best in making all youre watchers happy

The maps I made are tweaked into perfection and maximum strategy added

Aug 9 2012, 10:49 am 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

Correct, they only use mines defensively in my DS.

If you find a way to make them use mines offensively be sure to let us know!




Aug 9 2012, 10:54 am Lanthanide Post #8



This thread really needs to be stickied: http://www.staredit.net/topic/13823/
Quote
Spider Mines
  • Hits 3 randomizers; one for region, one for X, one for Y. Places a mine within a 256x256 box-pixel radius of an "owned" region's center. The best way to make the AI "own" a region is to run an AI script at the location and place a buildings owned by the computer player in the region.




None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: C(a)HeK, Zergy