• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:11
CEST 14:11
KST 21:11
  • 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
RSL Season 1 - Final Week2[ASL19] Finals Recap: Standing Tall10HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Firefly given lifetime ban by ESIC following match-fixing investigation14$25,000 Streamerzone StarCraft Pro Series announced6Weekly Cups (June 30 - July 6): Classic Doubles6[BSL20] Non-Korean Championship 4x BSL + 4x China9Flash Announces Hiatus From ASL67
StarCraft 2
General
RSL Season 1 - Final Week Firefly given lifetime ban by ESIC following match-fixing investigation The SCII GOAT: A statistical Evaluation TL Team Map Contest #4: Winners Weekly Cups (June 30 - July 6): Classic Doubles
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament $25,000 Streamerzone StarCraft Pro Series announced FEL Cracov 2025 (July 27) - $8000 live event RSL: Revival, a new crowdfunded tournament series WardiTV Mondays
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Flash Announces Hiatus From ASL [G] Progamer Settings ASL20 Preliminary Maps
Tourneys
[Megathread] Daily Proleagues [BSL20] Non-Korean Championship 4x BSL + 4x China [BSL20] Grand Finals - Sunday 20:00 CET CSL Xiamen International Invitational
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
CCLP - Command & Conquer League Project Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile What do you want from future RTS games?
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Positive Thoughts on Setting Up a Dual-Caliber FX
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Stop Killing Games - European Citizens Initiative Things Aren’t Peaceful in Palestine Summer Games Done Quick 2025! Russo-Ukrainian War Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread Formula 1 Discussion NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 681 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
5390 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
RSL Revival
10:00
Season 1: Playoffs Day 5
Clem vs ReynorLIVE!
Crank 1373
Tasteless1078
ComeBackTV 933
IndyStarCraft 157
Rex135
3DClanTV 73
IntoTheiNu 49
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Crank 1373
Tasteless 1078
IndyStarCraft 157
Rex 135
StarCraft: Brood War
Calm 28164
Sea 23293
Rain 3745
Bisu 3250
Jaedong 1285
Hyuk 806
Light 648
Pusan 634
Mini 502
firebathero 472
[ Show more ]
actioN 305
Zeus 290
Stork 284
EffOrt 224
Backho 166
Hyun 158
ToSsGirL 143
Soulkey 127
hero 76
Snow 75
Mind 67
JYJ38
sas.Sziky 34
sSak 34
Rush 33
Shinee 32
Aegong 29
Sea.KH 29
Sharp 23
Icarus 21
JulyZerg 21
Sacsri 17
Free 16
yabsab 14
Noble 13
Movie 10
ajuk12(nOOB) 10
Hm[arnc] 7
SilentControl 7
IntoTheRainbow 6
ivOry 5
sorry 3
Dota 2
Gorgc8290
XaKoH 454
XcaliburYe305
League of Legends
singsing1843
Counter-Strike
x6flipin518
flusha324
allub284
markeloff41
Heroes of the Storm
Khaldor151
Other Games
tarik_tv24331
B2W.Neo984
shahzam649
DeMusliM484
crisheroes483
Fuzer 257
RotterdaM191
Liquid`RaSZi180
Pyrionflax139
Organizations
Other Games
gamesdonequick28828
StarCraft: Brood War
lovetv 11
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 11 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt474
Upcoming Events
OSC
49m
Replay Cast
11h 49m
RSL Revival
21h 49m
Classic vs Cure
FEL
1d 3h
OSC
1d 7h
RSL Revival
1d 21h
FEL
1d 23h
FEL
2 days
CSO Cup
2 days
BSL20 Non-Korean Champi…
2 days
Bonyth vs QiaoGege
Dewalt vs Fengzi
Hawk vs Zhanhun
Sziky vs Mihu
Mihu vs QiaoGege
Zhanhun vs Sziky
Fengzi vs Hawk
[ Show More ]
Sparkling Tuna Cup
2 days
RSL Revival
2 days
FEL
3 days
BSL20 Non-Korean Champi…
3 days
Bonyth vs Dewalt
QiaoGege vs Dewalt
Hawk vs Bonyth
Sziky vs Fengzi
Mihu vs Zhanhun
QiaoGege vs Zhanhun
Fengzi vs Mihu
Replay Cast
4 days
Replay Cast
6 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-07-07
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
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
IEM Cologne 2025
FISSURE Playground #1
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.