• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:20
CEST 17:20
KST 00:20
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9Maestros of the Game: Live Finals Preview (RO4)5
Community News
Weekly Cups (Oct 13-19): Clem Goes for Four0BSL Team A vs Koreans - Sat-Sun 16:00 CET6Weekly Cups (Oct 6-12): Four star herO85.0.15 Patch Balance Hotfix (2025-10-8)80Weekly Cups (Sept 29-Oct 5): MaxPax triples up3
StarCraft 2
General
The New Patch Killed Mech! Team Liquid Map Contest #21 - Presented by Monster Energy herO joins T1 Weekly Cups (Oct 13-19): Clem Goes for Four TL.net Map Contest #21: Voting
Tourneys
SC2's Safe House 2 - October 18 & 19 INu's Battles #13 - ByuN vs Zoun Tenacious Turtle Tussle Sparkling Tuna Cup - Weekly Open Tournament $1,200 WardiTV October (Oct 21st-31st)
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment Mutation # 493 Quick Killers
Brood War
General
BSL Season 21 BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ BW caster Sayle BSL Team A vs Koreans - Sat-Sun 16:00 CET
Tourneys
[ASL20] Semifinal B Azhi's Colosseum - Anonymous Tournament [Megathread] Daily Proleagues SC4ALL $1,500 Open Bracket LAN
Strategy
Current Meta BW - ajfirecracker Strategy & Training Relatively freeroll strategies Siegecraft - a new perspective
Other Games
General Games
Nintendo Switch Thread Path of Exile Stormgate/Frost Giant Megathread Dawn of War IV ZeroSpace Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Men's Fashion Thread Sex and weight loss
Fan Clubs
The herO Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Heroism of Pepe the Fro…
Peanutsc
Rocket League: Traits, Abili…
TrAiDoS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1705 users

[Q]Trigger to make workers mine?

Forum Index > Brood War Strategy
Post a Reply
1 2 Next All
Overlord
Profile Joined May 2003
Romania651 Posts
Last Edited: 2006-12-21 03:13:55
December 21 2006 02:46 GMT
#1
Hi!

I'm trying to make a map to test the effect of building placement on mining (like putting a supply or a pylon to correct workers' path).

I'm looking for a trigger to make all the workers at a certain location mine. Run AI Script at location, blah blah Area Town is not good, because they build pylons and so on. The Order trigger has only Patrol, Attack and Move.

I downloaded two extra editors for starcraft, but neither of them had what I was looking for.

Any tips?

Edit: Also if you have any data on the matter I'm reseatching that would be also appreciated
God is dead - Nietzsche ; Nietzsche is dead - God
roadrunner_sc
Profile Blog Joined April 2006
United States1220 Posts
December 21 2006 02:56 GMT
#2
There's a particular AI script for only mining, no building of any sort. I think it's available from the original editor.
Average Posts Per Week: 13.37
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
December 21 2006 03:18 GMT
#3
put location on ur cc/nexi/htch

run trigger like:

Condition:
Elapse time greater than 0

Action:
Run AI script at location (blah blah insane AI blah blah)
Perserve trigger
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
ShabZzoY!
Profile Joined July 2004
Great Britain760 Posts
December 21 2006 03:29 GMT
#4
You could try removing the ability to build
fusionsdf
Profile Blog Joined June 2006
Canada15390 Posts
December 21 2006 06:00 GMT
#5
On December 21 2006 12:18 evanthebouncy~ wrote:
put location on ur cc/nexi/htch

run trigger like:

Condition:
Elapse time greater than 0

Action:
Run AI script at location (blah blah insane AI blah blah)
Perserve trigger


They will build with insane ai as well I think
SKT_Best: "I actually chose Protoss because it was so hard for me to defeat Protoss as a Terran. When I first started Brood War, my main race was Terran."
Equinox_kr
Profile Blog Joined December 2006
United States7395 Posts
December 21 2006 09:50 GMT
#6
put whatever conditions you want ... make it "elapsed time is at least 0 seconds" if you want the AI to start immediately. your actions should be "run ai script at location" and make it "(race name) campaign area town" at "location" (should be covering the hatchery/cc/nexus). It should work, as long as you give the computer some peons to work with.
^-^
pheer
Profile Blog Joined July 2004
5391 Posts
Last Edited: 2006-12-21 12:14:46
December 21 2006 12:13 GMT
#7
^^ Do this, and then have another trigger, set resources for player: 0. Preserve trigger.

So they mine forever, and always have $0 and thus cannot build. [although, then there will only be 4 drones, but you can make a beacon somewhere else that gives 1 drone to that player at the location (preserve trigger) to set the number of drones in-game ]
Moderator
skyglow1
Profile Blog Joined April 2005
New Zealand3962 Posts
December 21 2006 12:17 GMT
#8
On December 21 2006 21:13 pheer wrote:
^^ Do this, and then have another trigger, set resources for player: 0. Preserve trigger.

So they mine forever, and always have $0 and thus cannot build. [although, then there will only be 4 drones, but you can make a beacon somewhere else that gives 1 drone to that player at the location (preserve trigger) to set the number of drones in-game ]


But doesn't he want to measure the rate at which money is mined? Hes testing out building placements.
alffla
Profile Blog Joined November 2005
Hong Kong20321 Posts
December 21 2006 13:01 GMT
#9
ahh i guess theres no solution to this ;P

dont' be lazy and just click yourself heh
Graphicssavior[gm] : What is a “yawn” rape ;; Masumune - It was the year of the pig for those fucking defilers. Chill - A clinic you say? okum: SC without Korean yelling is like porn without sex. konamix: HAPPY BIRTHDAY MOMMY!
Blind
Profile Blog Joined December 2002
United States2528 Posts
December 21 2006 13:43 GMT
#10
How about do what Equinox described, but rather than constantly resetting the computer's resources to 0, make the cost of a pylon very high, like 9999. Then, they won't make pylons, but they can still make probes. I just realized that they will be stuck at 9 probes, unless you give them pylons.

This should hopefully work. The computers shouldn't send out probes to make pylons if they don't have enough. It shouldn't screw up their mining AI at all (as in, they can't make pylons when they try so they become confused and stop mining).
ArC_man
Profile Blog Joined August 2006
United States2798 Posts
December 21 2006 13:59 GMT
#11
I think you can regulate what buildings the computer can/can't build. You can set it so that they can only build pylons/depots. Not sure if it'll change the AI though.
Pro_Bono
Profile Joined May 2006
United States89 Posts
December 21 2006 14:39 GMT
#12
On December 21 2006 21:17 skyglow1 wrote:
Show nested quote +
On December 21 2006 21:13 pheer wrote:
^^ Do this, and then have another trigger, set resources for player: 0. Preserve trigger.

So they mine forever, and always have $0 and thus cannot build. [although, then there will only be 4 drones, but you can make a beacon somewhere else that gives 1 drone to that player at the location (preserve trigger) to set the number of drones in-game ]


But doesn't he want to measure the rate at which money is mined? Hes testing out building placements.


You can get around this by adding a scoreboard for minerals mined, and every 50 minerals mined simply add 50 to the scoreboard and remove it from the players minerals.
Stick that in your pipe and smoke it.
alffla
Profile Blog Joined November 2005
Hong Kong20321 Posts
December 21 2006 15:11 GMT
#13
oh oh or you could just disable all buildings except pylons / depots for the comps then yea that could work too yea o_O
Graphicssavior[gm] : What is a “yawn” rape ;; Masumune - It was the year of the pig for those fucking defilers. Chill - A clinic you say? okum: SC without Korean yelling is like porn without sex. konamix: HAPPY BIRTHDAY MOMMY!
Malongo
Profile Blog Joined November 2005
Chile3472 Posts
Last Edited: 2006-12-21 16:27:16
December 21 2006 16:22 GMT
#14
i got a solution: make a trigger player x controls 1 pilon at bla ---> kill all pilons for player x at there add 100 money. it works and is pretty simple and can keep all the other stuff normal

edit: preserve trigger
edit2: bla should be all terrain but the terrain you want to put your buildings for test, another option: use enemy construction and make them indestructible
Help me! im still improving my English. An eye for an eye makes the whole world blind. M. G.
Equinox_kr
Profile Blog Joined December 2006
United States7395 Posts
December 21 2006 20:17 GMT
#15
Well, since everybody seems to need clarification (nobody ever tried making a map with a crapload of triggers before?) ... if you want the computer to make Probes but not build Pylons, just disable it from their tech tree ... simple enough. If you WANT them to make more than 9 Probes, just create a 2x2 location and name it "pylon1" or whatever ... and go to triggers. make conditions "(computer player) commands at least 8/9 Probes" and actions "create 1 pylon at pylon1".

Hope this helps.
^-^
Equinox_kr
Profile Blog Joined December 2006
United States7395 Posts
December 21 2006 20:20 GMT
#16
On December 21 2006 22:43 Blind wrote:
How about do what Equinox described, but rather than constantly resetting the computer's resources to 0, make the cost of a pylon very high, like 9999. Then, they won't make pylons, but they can still make probes. I just realized that they will be stuck at 9 probes, unless you give them pylons.

This should hopefully work. The computers shouldn't send out probes to make pylons if they don't have enough. It shouldn't screw up their mining AI at all (as in, they can't make pylons when they try so they become confused and stop mining).


You can either make Pylons 9999 Minerals, but the fact is that the computer will mine with 9 Probes until it has 9999 or more minerals and then it'll build a Pylon, rendering your theory useless. Making the computer's resources constantly zero is the same as this, only it won't build workers.

If you're looking to test out only how they mine minerals, you can make a Pylon cost 1 vespene. Then they REALLY can't build a Pylon. But if you're looking to see how they mine both minerals and vespene, just try the thing I mentioned in the last post.
^-^
PePe QuiCoSE
Profile Blog Joined March 2006
Argentina1204 Posts
December 21 2006 22:04 GMT
#17
Maybe you could give them enough pylons to have 200/200 supply and disable the rest of the tech tree. Don't really know, my map making career lasted less than a day.
wXs.Havok
Profile Joined October 2006
Argentina529 Posts
December 21 2006 22:46 GMT
#18
there's an AI. Its called <Race> Base Campo or Area or something like that.

They might build some supply depots from time to time, to get some more scvs. but it doesnt happen much (its not like they build constantly).
Read this and you`re gay
Equinox_kr
Profile Blog Joined December 2006
United States7395 Posts
December 22 2006 02:14 GMT
#19
You can also make the AI Insane, not "Area Town". You have to disable the tech tree as well, though. It should work ... not sure - just a theory.
^-^
Blind
Profile Blog Joined December 2002
United States2528 Posts
December 22 2006 02:19 GMT
#20
On December 22 2006 05:20 Equinox_kr wrote:
Show nested quote +
On December 21 2006 22:43 Blind wrote:
How about do what Equinox described, but rather than constantly resetting the computer's resources to 0, make the cost of a pylon very high, like 9999. Then, they won't make pylons, but they can still make probes. I just realized that they will be stuck at 9 probes, unless you give them pylons.

This should hopefully work. The computers shouldn't send out probes to make pylons if they don't have enough. It shouldn't screw up their mining AI at all (as in, they can't make pylons when they try so they become confused and stop mining).


You can either make Pylons 9999 Minerals, but the fact is that the computer will mine with 9 Probes until it has 9999 or more minerals and then it'll build a Pylon, rendering your theory useless. Making the computer's resources constantly zero is the same as this, only it won't build workers.

If you're looking to test out only how they mine minerals, you can make a Pylon cost 1 vespene. Then they REALLY can't build a Pylon. But if you're looking to see how they mine both minerals and vespene, just try the thing I mentioned in the last post.
Yes, I knew this, but I (reasonably, I hope) assumed that whatever he was doing, he wouldn't have to wait until minerals reach so high. If so, then just make the pylons cost more if possible.

And he can have the computer get more than 9 probes if he gives them pylons, which I stated in my post.
1 2 Next All
Please log in or register to reply.
Live Events Refresh
Next event in 40m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 302
sas.Sziky 32
StarCraft: Brood War
Britney 46217
Calm 10576
Hyuk 5060
Bisu 2943
Horang2 2369
Sea 2303
GuemChi 2019
Flash 1445
Jaedong 1336
Larva 689
[ Show more ]
Soma 666
EffOrt 649
Mong 456
Light 416
Mini 324
Snow 278
actioN 250
Soulkey 215
Hyun 177
hero 145
Pusan 116
TY 96
JYJ73
Barracks 64
ggaemo 59
Sea.KH 49
Killer 47
Mind 46
sorry 37
Rush 33
Aegong 27
ToSsGirL 23
Terrorterran 22
Noble 20
scan(afreeca) 19
soO 18
SilentControl 14
Movie 14
Sacsri 13
Rock 11
Bale 10
yabsab 7
Shine 7
HiyA 7
Dota 2
Gorgc6926
qojqva4035
Dendi1297
420jenkins395
XaKoH 389
canceldota30
BananaSlamJamma24
Counter-Strike
byalli471
markeloff201
edward54
FunKaTv 23
Heroes of the Storm
Khaldor195
Other Games
singsing2507
hiko1308
B2W.Neo954
Hui .416
Sick349
Lowko347
FrodaN221
Liquid`VortiX193
ceh9159
ArmadaUGS101
KnowMe77
XcaliburYe70
Mew2King64
Trikslyr28
trigger4
Organizations
Counter-Strike
PGL580
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• poizon28 26
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2989
League of Legends
• Nemesis8690
Upcoming Events
Monday Night Weeklies
40m
Replay Cast
7h 40m
WardiTV Invitational
19h 40m
WardiTV Invitational
23h 10m
PiGosaur Monday
1d 8h
Replay Cast
1d 18h
Tenacious Turtle Tussle
2 days
The PondCast
2 days
OSC
2 days
WardiTV Invitational
3 days
[ Show More ]
Online Event
4 days
RSL Revival
4 days
RSL Revival
4 days
WardiTV Invitational
4 days
Afreeca Starleague
5 days
Snow vs Soma
Sparkling Tuna Cup
5 days
WardiTV Invitational
5 days
CrankTV Team League
5 days
RSL Revival
6 days
Wardi Open
6 days
CrankTV Team League
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
C-Race Season 1
IPSL Winter 2025-26
EC S1
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual

Upcoming

SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
BSL 21 Non-Korean Championship
RSL Offline Finals
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
CranK Gathers Season 2: SC II Pro Teams
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.