Thread View: comp.sys.ibm.pc.games.strategic
16 messages
16 total messages
Started by John Doe
Thu, 21 Oct 2010 19:54
Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Thu, 21 Oct 2010 19:54
Date: Thu, 21 Oct 2010 19:54
883 lines
31256 bytes
31256 bytes
I plan on doing much work on these, since the publisher just made
the RTS game 100% better by allowing us to queue stuff without
paying ahead of time.
#scripts
#51, north edge
#242, south edge
#1912, east edge
#1721, west edge
"large":#macro, select a large area
Mimic("release")+#free pointer
Mouse("<-200,-200>/5")+
Mouse("left:down/5")+
Mouse("<400,400>/5")+
Mouse("left:up/5")+
Key("c-9"),#assign group number
"locate":#macro, map location
Mouse("[1740,124]/5,left/5"),#minimap
"mid":#macro, select a medium area
Mimic("release")+#free pointer
Mouse("<-100,-100>/5")+
Mouse("left:down/5")+
Mouse("<200,200>/5")+
Mouse("left:up/5")+
Key("c-9"),#assign group number
"pattern":#macro, build at points, start
Function(get_position)+
Mimic("release")+
Mimic("locate"),
"patterns":#macro, build at points, end
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"release":#macro, free pointer
Key("shift:up/5")+
Key("escape/5:2"),
"review":#macro, reset view
Mimic("release")+
Key("v/20")+#correct angle
Key("comma/20")+
Key("s-w:5/80"),
"small":#macro, select a small area
Mimic("release")+#free pointer
Mouse("<-50,-50>/5")+
Mouse("left:down/5")+
Mouse("<100,100>/5")+
Mouse("left:up/5")+
Key("c-9"),#assign group number
"structure":#macro, build routine, start
Mimic("release")+
Key("a-dot"),
"structures":#macro, build routine, end
Key("shift:down/15")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#
#
"air":#build, basic, anti-air tower
Mimic("structure")+#build somewhere, start
Key("b,1,t,b")+#anti-air tower
Mimic("structures"),#build somewhere, end
"house":#build, basic, land factory
Mimic("structure")+#build somewhere, start
Key("b,1,l,b")+#land factory
Mimic("structures"),#build somewhere, end
"mass":#build, basic, mass
Mimic("structure")+#build somewhere, start
Key("b,1,m,b")+#mass
Key("shift:down/15")+#start queue
Mouse("left")+#place first structure
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"port":#build, basic, air factory
Mimic("structure")+#build somewhere, start
Key("b,1,a,b")+#air factory
Mimic("structures"),#build somewhere, end
"juice":#build, basic, electricity
Mimic("structure")+#build somewhere, start
Key("b,1,e,b")+#juice
Mimic("structures"),#build somewhere, end
"raid":#build, advanced, radar
Mimic("structure")+#build somewhere, start
Key("b,2,r,b")+#radar
Mimic("structures"),#build somewhere, end
"search":#build, basic, research station
Mimic("structure")+#build somewhere, start
Key("b,1,r,b")+#research station
Mimic("structures"),#build somewhere, end
"shield":#build, advanced, shield
Mimic("structure")+#build somewhere, start
Key("b,2,s,b")+#shield
Mimic("structures"),#build somewhere, end
"shoot":#build, basic, point defense
Mimic("structure")+#build somewhere, start
Key("b,1,p,b")+#point defense
Mimic("structures"),#build somewhere, end
"tact":#build, advanced, TML
Mimic("structure")+#build somewhere, start
Key("b,2,t,b")+#TML
Mimic("structures"),#build somewhere, end
"vert":#build, advanced, mass converter
Mimic("structure")+#build somewhere, start
Key("b,2,m,b")+#mass converter
Mimic("structures"),#build somewhere, end
#
#
"base":#build pattern, startup
Key("b,m")+#commander
Key("shift:down/10")+
Mouse("[1552,999]/5,left/5")+
Mouse("[1431,429]/5,left/5")+
Mouse("[481,328]/5,left/5")+
Mouse("[237,872]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b,e")+
Key("shift:down/10")+
Mouse("[352,645]/5,left/5")+
Mouse("[434,454]/5,left/5")+
Mouse("[726,454]/5,left/5")+
Mouse("[975,456]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b,l")+
Key("shift:down/10")+
Mouse("[891,778]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("s-w:5/80")+
Mouse("[734,465]/5,left/5")+#engineer left
Key("c-1/10")+#assign 1
Key("b,m")+
Key("shift:down/10")+
Mouse("[533,656]/5,left/5")+
Mouse("[580,1048]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mouse("[758,464]/5,left/5")+#engineer right
Key("b,m")+
Mouse("[813,737]/5,left/5")+
Mouse("[1792,21]/5,left/20")+#minimap
#Mouse("[1794,116]/5,left/20")+#map, upper left
Mouse("[1790,191]/5,left/20")+#map, lower left
Key("b,m")+
Key("shift:down/10")+
Mouse("[533,136]/5,left/5")+
Mouse("[293,333]/5,left/5")+
Mouse("[430,579]/5,left/5")+
Mouse("[124,659]/5,left/5")+
Mouse("[232,883]/5,left/5")+
Mouse("[361,871]/5,left/5")+
Mouse("[214,993]/5,left/5")+
Mouse("[358,964]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("tab/15")+#research
Mouse("[744,364]/5,left/5")+#land
Mouse("[735,650]/5,left/5")+#weapon range
Mouse("[956,648]/5,left/5")+#assault bot
Key("tab/15")+#research
Key("1/5")+#engineer
Key("b,l")+
Key("shift:down/10")+
Mouse("[896,141]/5,left/5")+
Mouse("[1109,131]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#
#
"fighter":#menu, air power
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[851,365],left")+#air
Mouse("[734,594]/5,left/5")+
Mouse("[847,595]/5,left/5")+
Mouse("[846,482]/5,left/5")+
Mouse("[959,536]/5,left/5")+
Mouse("[957,425]/5,left/5")+
Mouse("[1125,429]/5,left/5")+
Mouse("[1072,539]/5,left/5")+
Mouse("[1124,595]/5,left/5")+
Mouse("[734,762]/5,left/5")+
Mouse("[846,762]/5,left/5")+
Mouse("[956,764]/5,left/5")+
Mouse("[1071,763]/5,left/5")+
Mouse("[1180,761]/5,left/5")+
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"anti":#menu, land antiaircraft
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[743,368]/5,left/5")+#land
Mouse("[734,651]/5,left/5")+#range
Mouse("[958,652]/5,left/5")+#Harvog
Mouse("[1071,706]/5,left/5")+#antiaircraft
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"command":#menu, commander
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[1171,366]/5,left/5")+#acu
Mouse("[733,539]/5,left/5")+#damage
Mouse("[903,540]/5,left/5")+#weapon range
Mouse("[845,652]/5,left/5")+#speed
Mouse("[958,593]/5,left/5")+#hunker
Mouse("[1013,537]/5,left/5")+#man nights
Mouse("[1124,595]/5,left/5")+#shield
Mouse("[849,427]/5,left/5")+#radar
Mouse("[1012,427]/5,left/5")+#energy
Mouse("[1125,426]/5,left/5")+#mass
Mouse("[959,649]/5,left/5")+#teleport
Mouse("[1069,706]/5,left/5")+#teleport
Mouse("[1128,482]/5,left/5")+#anti-air
Mouse("[736,761]/5,left/5")+#training
Mouse("[848,761]/5,left/5")+
Mouse("[961,766]/5,left/5")+
Mouse("[1069,762]/5,left/5")+
Mouse("[1181,761]/5,left/5")+
Mouse("[1183,539]/5,left/5")+#overcharge
Mouse("[1071,651]/5,left/5")+#escape pod
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"convert":#menu, mass converter
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[1062,367],left")+#structure
Mouse("[733,540],left")+
Mouse("[848,483],left")+
Mouse("[961,481],left")+
Mouse("[1069,479],left")+
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"gunship":#menu, gunships
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[851,365],left")+#air
Mouse("[735,593]/5,left/5")+#cost
Mouse("[845,595]/5,left/5")+#damage
Mouse("[959,653]/5,left/5")+#gunship
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"menu":#menu, research
Mimic("release")+#free pointer
Key("tab")+#open research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"missile":#menu, tactical/nuclear missiles
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[1063,366],left")+#structure
Mouse("[733,541],left")+#hunker for point defense
Mouse("[958,538],left")+#tactical missile launcher
Mouse("[1181,538],left")+#nukes
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"radar":#menu, radar overdrive
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[1062,367],left")+#structure
Mouse("[733,593],left")+#damage
Mouse("[848,595],left")+#electroshock
Mouse("[960,594],left")+#radar overdrive
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"research":#menu, accelerate research
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[1062,367],left")+#structure
Mouse("[733,593],left")+#damage
Mouse("[848,595],left")+#electroshock
Mouse("[963,651],left")+#research
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"shocker":#menu, electricity shock
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[1062,367],left")+#structure
Mouse("[733,593],left")+#damage
Mouse("[848,595],left")+#electroshock
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"transport":#menu, transporter
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[851,365],left")+#air
Mouse("[733,593],left")+
Mouse("[843,705],left")+
Mouse("[1012,705],left")+
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"uni":#menu, Universal Colossus
Mimic("release")+#free pointer
Key("tab")+#open research menu
Mouse("[745,367]/5,left/5")+#land
Mouse("[736,650]/5,left/5")+
Mouse("[959,650]/5,left/5")+
Mouse("[1071,652]/5,left/5")+
Mouse("[1180,594]/5,left/5")+
Mouse("<30,30>")+#prevent pop-up information
Pause("200")+
Key("tab")+#close research menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#
#
"plus 1":#equip, building add-ons
Mimic("release")+#free pointer
Mouse("left/80")+#select building under pointer
Key("b,2,t,b")+#add missile launcher
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 2":#equip, building add-ons
Mimic("release")+#free pointer
Mouse("left/80")+#select building under pointer
Key("b,2,a,b")+#add anti-aircraft
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 3":#equip, building add-ons
Mimic("release")+#free pointer
Mouse("left/80")+#select building under pointer
Key("b,2,i,b")+#add intel installation
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 4":#equip, building add-ons
Mimic("release")+#free pointer
Mouse("left/80")+#select building under pointer
Key("b,2,s,b")+#add shield
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#
#
"ant":#produce land
Mimic("release")+#free pointer
Key("cs-l/10")+#factory
Key("s/5")+#stop
Key("b/5")+#build
Key("i/5")+#unit
Key("b/5")+#build
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+
PlaySound(r"D:\files\wav\special effects\beep.wav"),
"bot":#produce land
Mimic("release")+#free pointer
Key("cs-l/10")+#factory
Key("s/40")+#stop
Key("b/5")+#build
Key("a/5")+#unit
Key("b/5")+#build
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"dog":#produce
Mimic("release")+#free pointer
Key("h/10")+#factory
Key("s/40")+#stop
Key("b/5")+#build
Key("e/5")+#unit
Key("b/5")+#build
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"flak":#produce land
Mimic("release")+#free pointer
Key("cs-l/10")+#factory
Key("s/5")+#stop
Key("b/5")+#build
Key("i/5")+#unit
Key("b/5")+#build
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+
PlaySound(r"D:\files\wav\special effects\beep.wav"),
"jet":#produce air
Mimic("release")+#free pointer
Key("cs-a/10")+#factory
Key("s/5")+#stop
Key("b/5")+#build
Key("f/5")+#unit
Key("b/5")+#build
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+
PlaySound(r"D:\files\wav\special effects\beep.wav"),
"miss":#produce land
Mimic("release")+#free pointer
Key("cs-l/10")+#factory
Key("s/5")+#stop
Key("b/5")+#build
Key("m/5")+#unit
Key("b/5")+#build
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+
PlaySound(r"D:\files\wav\special effects\beep.wav"),
"tank":#produce land
Mimic("release")+#free pointer
Key("cs-l/10")+#factory
Key("s/5")+#stop
Key("b/5")+#build
Key("t/5")+#unit
Key("b/5")+#build
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+
PlaySound(r"D:\files\wav\special effects\beep.wav"),
"tran":#produce air
Mimic("release")+#free pointer
Key("cs-a/10")+#factory
Key("s/5")+#stop
Key("b/5")+#build
Key("t/5")+#unit
Key("b/5")+#build
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+
PlaySound(r"D:\files\wav\special effects\beep.wav"),
#
#
"deaf 1":#produce pattern, fighters
Mimic("release")+
Key("cs-a/80")+#nearest air factory
Key("s/5")+#stop
Key("b,1,f,b")+#fighter
Key("m/80")+#move
Mouse("[1745,79]/5,left/5")+
Key("p/20")+#patrol
Key("shift:down/10")+
Mouse("[1746,214]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+#minimap
Mouse("[885,1073]/5,left/5")+#repeat
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#
#
"cap":#orders, capture
Mimic("release")+#free pointer
Key("a-dot/20")+#nearest idle worker
Key("c")+#reclaim
Key("shift:down/15")+#start queue
Mouse("left")+#reclaim first building
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"click":#orders, click
Mimic("release")+#free pointer
Mouse("left")+#select under pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"clicks":#orders, double-click
Mimic("release")+#free pointer
Pause("20")+
Mouse("left:2")+#select all of type under pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"claim":#orders, reclaim
Mimic("release")+#free pointer
Key("a-dot/20")+#nearest idle worker
Key("e")+#reclaim
Key("shift:down/15")+#start queue
Mouse("left")+#reclaim first building
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"com":#orders, bring commander
Mimic("release")+#free pointer
Key("a-comma/40")+#select commander
Mouse("right/15")+
#Key("shift:down/10")+#queue on
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"move":#orders, bring selected
Key("shift:up/5")+#queue off
Key("s/5")+#stop
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+#queue on
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"coop":#orders, patrol commander
Mimic("release")+#free pointer
Key("a-comma")+#select commander
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
PlaySound(r"D:\files\wav\special effects\beep.wav")+
Pause("150")+
Key("shift:down/10")+#queue on
Mouse("left/15")+#location
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"do":#orders, assign type under pointer to group 9
Mimic("release")+#free pointer
Mouse("left:2")+#select type under pointer
Key("c-9")+#assign group number
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"fight":#orders, use air
Mimic("release")+#free pointer
Key("c-a/10")+#select all aircraft
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+#queue on
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"go":#orders, use group 9
Mimic("release")+#free pointer
Key("9/5")+#group
Key("s/5")+#stop
Key("a/5")+#attack
Key("shift:down/10")+#queue on
Mouse("left/15")+#location
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"hunker":#orders, commander, hunker
Mimic("release")+#free pointer
Key("a-comma")+#select commander
Key("k/10")+#toggle hunker
Mouse("right/20")+#move to pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jump":#orders, commander, jump/teleport
Mimic("release")+#free pointer
Key("a-comma")+#select commander
Key("c-t")+#prepare to jump
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"kill":#orders, use land
Mimic("release")+#free pointer
Key("c-l/10")+#select all soldiers
Key("a/5")+#attack
Mouse("left/15")+#location
Key("p/5")+#patrol
Key("shift:down/10")+#queue on
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"loop":#orders, patrol builder
Mimic("release")+#free pointer
Key("a-dot/20")+#nearest idle worker
Key("m/5")+#move
Mouse("left/15")+#location
Key("p/5")+#patrol
PlaySound(r"D:\files\wav\special effects\beep.wav")+
Pause("150")+
Key("shift:down/10")+#queue on
Mouse("left/15")+#location
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"pause [<n>]":#orders, pause/unpause factory
Mimic("release")+#free pointer
(
Mouse("left/80")+#select factory
Function(get_position)+
Mouse("[923,1070]/20,left")+#pause/unpause
Function(set_position)+
PlaySound(r"D:\files\wav\special effects\beep.wav")+
Pause("160")
)
*Repeat(extra="n")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"shock":#macro, electricity weapon
Mimic("release")+#free pointer
Mouse("<-50,-50>/5")+
Key("shift:down/10")+
Mouse("left:down/5")+
Mouse("<100,100>/5")+
Mouse("left:up/5")+
Key("shift:up/5")+
Mouse("[456,1115]")+#position
PlaySound(r"D:\files\wav\special effects\beep.wav")+
Pause("160")+
Mouse("left")+#choose
Key("a-e/10")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"shocks":#orders, electricity weapon
Mimic("release")+#free pointer
Mouse("left:2/10")+
Key("a-e/10")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"scout":#orders, scout
#for quickness, do not use position
Mimic("release")+#free pointer
Mouse("<-20,-20>")+
Mouse("left:down")+
Mouse("<40,40>")+
Mouse("left:up/20")+#select aircraft
Mouse("[1817,204]/5,right/5")+
Key("shift:down/10")+
Mouse("[1817,88]/5,right/5")+
Mouse("[1862,78]/5,right/5")+
Mouse("[1863,211]/5,right/5")+
Mouse("[1888,232]/5,right/5")+
Mouse("[1900,221]/5,right/5")+
Mouse("[1898,67]/5,right/5")+
Mouse("[1874,69]/5,right/5")+
Mouse("[1766,72]/5,right/5")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"stop":#orders, stop unit
Mimic("release")+#free pointer
Mouse("left")+#unit under pointer
Key("s")+#stop
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"top 1":#orders, attack with bombers
#Mimic("small")+
Mouse("left:down")+
PlaySound(r"D:\files\wav\special effects\beep.wav")+
Pause("200")+
Mouse("left:up")+
Key("s-w:10/40")+#zoom out
Mouse("[23,1129]/5,left/5")+
Mouse("[707,90]/5,left/5")+
Mouse("[67,1131]/5,left/5")+
Key("shift:down/10")+
Mouse("[1319,235]/5,left/5")+
Key("shift:up/5")+
Mouse("[24,1132]/5,left/5")+
Key("shift:down/10")+
Mouse("[1254,96]/5,left/5")+
Mouse("[573,247]/5,left/5")+
Key("shift:up/5")+
Mouse("[110,1130]/5,left/5")+
Key("shift:down/10")+
Mouse("[500,1007]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"times":#orders, convert energy to mass
Mimic("release")+#free pointer
Mouse("left:2/25")+#select converters
Mouse("[283,1132]/5,left/5")+#convert
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"top 2":#orders, attack with bombers
#Mimic("small")+
Mouse("left:down")+
PlaySound(r"D:\files\wav\special effects\beep.wav")+
Pause("200")+
Mouse("left:up")+
Key("s-w:10/40")+#zoom out
Mouse("[23,1129]/5,left/5")+
Mouse("[707,90]/5,left/5")+
Mouse("[67,1131]/5,left/5")+
Key("shift:down/10")+
Mouse("[1368,223]/5,left/5")+
Key("shift:up/5")+
Mouse("[24,1132]/5,left/5")+
Key("shift:down/10")+
Mouse("[1254,96]/5,left/5")+
Mouse("[573,247]/5,left/5")+
Key("shift:up/5")+
Mouse("[110,1130]/5,left/5")+
Key("shift:down/10")+
Mouse("[500,1007]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"top 3":#orders, attack with bombers
#Mimic("small")+
Mouse("left:down")+
PlaySound(r"D:\files\wav\special effects\beep.wav")+
Pause("200")+
Mouse("left:up")+
Key("s-w:10/40")+#zoom out
Mouse("[23,1129]/5,left/5")+
Mouse("[707,90]/5,left/5")+
Mouse("[67,1131]/5,left/5")+
Key("shift:down/10")+
Mouse("[1325,263]/5,left/5")+
Key("shift:up/5")+
Mouse("[24,1132]/5,left/5")+
Key("shift:down/10")+
Mouse("[1254,96]/5,left/5")+
Mouse("[573,247]/5,left/5")+
Key("shift:up/5")+
Mouse("[110,1130]/5,left/5")+
Key("shift:down/10")+
Mouse("[500,1007]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"top 4":#orders, attack with bombers
#Mimic("small")+
Mouse("left:down")+
PlaySound(r"D:\files\wav\special effects\beep.wav")+
Pause("200")+
Mouse("left:up")+
Key("s-w:10/40")+#zoom out
Mouse("[23,1129]/5,left/5")+
Mouse("[707,90]/5,left/5")+
Mouse("[67,1131]/5,left/5")+
Key("shift:down/10")+
Mouse("[1371,257]/5,left/5")+
Key("shift:up/5")+
Mouse("[24,1132]/5,left/5")+
Key("shift:down/10")+
Mouse("[1254,96]/5,left/5")+
Mouse("[573,247]/5,left/5")+
Key("shift:up/5")+
Mouse("[110,1130]/5,left/5")+
Key("shift:down/10")+
Mouse("[500,1007]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"top 5":#orders, attack with bombers
#Mimic("small")+
Mouse("left:down")+
PlaySound(r"D:\files\wav\special effects\beep.wav")+
Pause("200")+
Mouse("left:up")+
Key("s-w:10/40")+#zoom out
Mouse("[23,1129]/5,left/5")+
Mouse("[707,90]/5,left/5")+
Mouse("[67,1131]/5,left/5")+
Key("shift:down/10")+
Mouse("[1126,306]/5,left/5")+
Key("shift:up/5")+
Mouse("[24,1132]/5,left/5")+
Key("shift:down/10")+
Mouse("[1121,215]/5,left/5")+
Mouse("[573,247]/5,left/5")+
Key("shift:up/5")+
Mouse("[110,1130]/5,left/5")+
Key("shift:down/10")+
Mouse("[500,1007]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"D:\files\wav\special effects\boop.wav"),
"work [<n>]":#orders, bring builder(s)
Mimic("release")+#free pointer
(
Key("a-dot/20")+#nearest idle worker
Mouse("right")#bring it
)
*Repeat(extra="n")+
Key("p")+#patrol
Key("shift:down/15")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#
#
"back":#game, show desktop
Mimic("release")+#free pointer
Function(pause_it)+
Mimic("switch"),
"fast":#game, maximize game speed
Mimic("release")+#free pointer
Key("npmul/10")+
Key("npadd:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"host":#game, complete host form
Mouse("[950,443]/10,left/10")+
Key("end/5")+
Key("s-home/5")+
Key("del/10")+
Key
("j,u,s,t,space,p,r,a,c,t,i,c,e,comma,space,b,space,r,d,y,space,2,sp
ace,g,o/10")+
Key("tab/15:2")+
Key
("p,r,a,c,t,i,e,comma,b,e,g,i,n:2,e,r,s,comma,n,e,w,b,i,e,s,comma,n,
o:2,b,s,comma,q,u,i,c,k,comma,s,t,a,r,t,comma,r,e,a,d,y")+
Mouse("[823,760]/10,left/10")+
Pause("100")+
Mimic("set","2")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"replay":#game, from game to replays
Mimic("release")+#free pointer
Key("f10/50")+#main menu
Mouse("[953,719]/10,left/50")+#end game
Mouse("[804,625]/10,left/60")+#yes
Mouse("[1229,942]/10,left/60")+#quit to menu, if needed
Mouse("[666,881],left/50")+#extras
Mouse("[979,832],left/50")+#replays
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"lob 1":#game, from game to lobby, skirmish
Mimic("release")+#free pointer
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("set","1")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"lob 2":#game, from game to lobby, multiplayer
Mimic("release")+#free pointer
Key("f10/50")+#main menu
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("host")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"norm":#game, regular game speed
Mimic("release")+#free pointer
Key("npmul/10")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"options":#game, options
Key("f10/10")+#main menu
Mouse("[961,576]/10,left/10")+#options
#Mouse("[747,432]/10,left/10")+#controls
Mouse("[882,432]/10,left/10")+#interface
#Mouse("[1024,432]/10,left/10")+#sound
#Mouse("[1167,432]/10,left/10")+#video
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"over":#game, from results screen to lobby
Mouse("[1269,949]/10,left/100")+#quit to menu
Mouse("[644,781]/10,left/40")+#multiplayer
Mouse("[962,782]/10,left/80")+#host game
Mimic("host")+#get to lobby
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"restart":#game, restart game
Mimic("release")+#free pointer
Key("f10/50")+#menu
Mouse("[957,519]/10,left/50")+
Mouse("[807,624]/10,left/100")+#restart yes
Pause("80")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"set 1":#game, set up, skirmish
Mouse("[811,329]/5,left/5")+#color
Mouse("[819,510]/5,left/5")+
Mouse("[873,329]/5,left/5")+#faction
Mouse("[884,437]/5,left/5")+
Mouse("[589,368]/5,left/5")+#opponent
#Mouse("[563,427]/5,left/5")+#easy
Mouse("[531,469]/5,left/5")+#hard
Mouse("[812,367]/5,left/5")+#color
Mouse("[820,659]/5,left/5")+
Mouse("[874,368]/5,left/5")+#faction
Mouse("[880,506]/5,left/5")+
Mouse("[1274,705]/5,left/5")+#victory
Mouse("[1227,726]/5,left/5")+
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1228,817]/5,left/5")+
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"set 2":#game, set up, multiplayer
Mouse("[582,369],left")+
Pause("20")+
Mouse("[553,408],left")+
Pause("20")+#remove slot 2
Mouse("[809,331]/10,left/10")+
Mouse("[819,510]/10,left/10")+#color, white
Mouse("[877,333]/5,left/5")+
Mouse("[882,439]/5,left/5")+#faction
Mouse("[1268,706]/10,left/10")+
Mouse("[1269,724]/10,left/10")+#assassination
Mouse("[1246,728]/10,left/10")+
Mouse("[1248,770]/10,left/10")+#fixed
Mouse("[1271,754]/10,left/10")+
Mouse("[1288,772]/10,left/10")+#off
Mouse("[1262,777]/10,left/10")+
Mouse("[1320,795]/10,left/10")+#regular fog
Mouse("[1248,797]/10,left/10")+
Mouse("[1299,821]/10,left/10")+#normal
Mouse("[1270,819]/10,left/10")+
Mouse("[1242,844]/10,left/10")+#allow observers
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"slow":#game, minimize game speed
Mimic("release")+#free pointer
Key("npmul/10")+
Key("npsub:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"so":#game, pause game
Mimic("release")+#free pointer
Function(pause_it)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Tue, 16 Nov 2010 04:43
Date: Tue, 16 Nov 2010 04:43
24 lines
1805 bytes
1805 bytes
This is a short script that brings worker(s) to the current
pointer location. The utterance "work" brings one idle worker (the
default is 1), the utterance "work 3" brings three idle workers,
to the current pointer location.
"work [<n>]":
Mimic("release")+
Key("c-1/5")+
(
Key("a-dot/5")+
Key("s-1/5")+
Key("c-1/5")+
Key("1/5")+
Mouse("right/5")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
For some unknown reason, pressing 1 to select the already selected
group is required when bringing multiple workers to the point.
Otherwise, the second alt-dot is interpreted as a dot (select and
focus on worker) without the alt modifier. Either that or a long
pause is required before alt-dot commands. The /5 after each
command is a short pause of 5 ms.
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Wed, 17 Nov 2010 03:07
Date: Wed, 17 Nov 2010 03:07
28 lines
1927 bytes
1927 bytes
New scripts.
"one":#double-click, make group 1
Mimic("release")+
Mouse("left:2/5")+
Key("c-1/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
That selects units and assigns them to group 1.
"loop [<n>]":
Text('%(n)s')+
Key("p/5")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
That uses the same number utterance sent as text instead of a
command, so that the number can be used to reference a group
instead of selecting and assigning numbers to the group.
In the first script the utterance "one" is used to activate a
script. In the second script, the suffix utterance variable "1"
(same sound as "one") is translated into text and sent to Supreme
Commander as-is in order to select the corresponding group for use
with the rest of the script "loop".
Being able to use the numbers for making groups and then for using
groups streamlines the process.
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Wed, 17 Nov 2010 03:09
Date: Wed, 17 Nov 2010 03:09
4 lines
1158 bytes
1158 bytes
> ...assigning numbers to the group FWIW. Sorry, meant "units" not "numbers".
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Sun, 21 Nov 2010 19:33
Date: Sun, 21 Nov 2010 19:33
69 lines
3161 bytes
3161 bytes
"juice":#basic, electricity
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("a-dot/5")+
Key("7/5")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
... release any prior units/actions, IOW free the pointer
... click, select unit under pointer if any
... assign selected worker to group 7 or clear group 7
... (next four actions) prepare to build electricity plant
... hold shift
That way... If you want to use a local worker instead of the
nearest idle worker, make sure that worker is under the pointer.
If nothing is under the pointer, the nearest idle worker will be
used.
"juice now":#basic, electricity
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
... stop/release any prior actions/units
... click, select unit under pointer
... stop any tasks the unit might be doing
... (next four actions) prepare to build electricity plant
... hold shift
If you want something done immediately, you will probably use a
local worker. If you want to use an idle worker, you can use the
prior command (with nothing under the pointer), or use one that is
under the pointer. This way gets it done immediately. Besides,
once the worker finishes the new task, it will continue building
the prior task if it is close enough, or you can append that job
to the task you want done immediately.
--
Real-time strategy needs an upgrade badly, to select the next
available worker instead of the nearest idle worker. In other
words... If there is a busy worker nearby that will be finished
before some idle worker from across the map would arrive, the
nearby busy worker should be selected when a "next available
worker" shortcut key is pressed. Maybe better would be to forget
about selecting a worker and let the next available worker do new
or incomplete tasks (without having to select a worker).
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Mon, 29 Nov 2010 04:21
Date: Mon, 29 Nov 2010 04:21
977 lines
28679 bytes
28679 bytes
This stuff is deeper than I thought. The "select" macro described
earlier does work well.
Most commands that order a unit(s) to do something have a
companion command with the suffix "now". That is how the interface
works, almost everything can be done immediately or queued by
holding the shift key down. A few more commands need to be added
for that.
Much is automated, with few syllables as possible.
An example: The patrol command "round" is used with a unit(s)
selected and already given a destination that becomes the starting
point for patrolling. For example... Bring an idle worker(s) to
the pointer location with the "work" command. (If you want only
one idle worker, you say "work" without a number suffix.) After
the "work" command, you position the pointer in another location
and say "round". After the worker gets to its "work" destination,
it patrols to and from the "round" command location. All that
using two words "work" and "round". Units selected can be easily
patrolled from their destination to the current pointer location
by simply saying "round".
Instead of a base word with "now" as the suffix, for queuing a
command instead of executing it immediately, in a few instances a
related word can be used. For example, instead of "walk" and "walk
now", two single syllables can be used "walk" and "run". Besides
saving a syllable, it makes more sense to use "run" (unqueued) as
the faster version of "walk" (queued). Unfortunately, trying to
conjure up such related words for the dozens of other commands is
not going to happen.
The rest of this is the command set used in my last skirmish game.
#macros
"release":#free pointer
Key("shift:up/5")+
Key("escape/5:2"),
"select":#select any type single unit
Mouse("left/5")+
Key("c-7/5")+
Key("a-dot/5")+
Key("7/5"),
#macros
#select
##select by click and drag
"large":#large area
Mimic("release")+
Mouse("<-200,-200>/5")+
Mouse("left:down/5")+
Mouse("<400,400>/5")+
Mouse("left:up/5"),
"small":#small area
Mimic("release")+
Mouse("<-50,-50>/5")+
Mouse("left:down/5")+
Mouse("<100,100>/5")+
Mouse("left:up/5"),
"G. 1":#timed click and drag
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("125")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 2":#timed click and drag
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("175")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 3":#timed click and drag
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("225")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 4":#timed click and drag
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("275")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"R. 1":#release, timed click and drag
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("125")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"R. 2":#release, timed click and drag
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("175")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"R. 3":#release, timed click and drag
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("225")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"R. 4":#release, timed click and drag
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("275")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
##select by click and drag
##select groups
"one":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-1/5"),
"two":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-2/5"),
"three":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-3/5"),
"four":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-4/5"),
"five":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-5/5"),
"six":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-6/5"),
##select groups
#select
#orders
##order groups
"A.":#select and use group
Mimic("release")+
Key("1/5")+
Key("shift:down/5")+
Mouse("right/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"B.":#select and use group
Mimic("release")+
Key("2/5")+
Key("shift:down/5")+
Mouse("right/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"C.":#select and use group
Mimic("release")+
Key("3/5")+
Key("shift:down/5")+
Mouse("right/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"D.":#select and use group
Mimic("release")+
Key("4/5")+
Key("shift:down/5")+
Mouse("right/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"E.":#select and use group
Mimic("release")+
Key("5/5")+
Key("shift:down/5")+
Mouse("right/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"F.":#select and use group
Mimic("release")+
Key("6/5")+
Key("shift:down/5")+
Mouse("right/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"A. now":#select and use group
Mimic("release")+
Key("1/5")+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"B. now":#select and use group
Mimic("release")+
Key("2/5")+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"C. now":#select and use group
Mimic("release")+
Key("3/5")+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"D. now":#select and use group
Mimic("release")+
Key("4/5")+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"E. now":#select and use group
Mimic("release")+
Key("5/5")+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"F. now":#select and use group
Mimic("release")+
Key("6/5")+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
##order groups
"cap":#capture object
Mimic("release")+
Mimic("select")+
Key("s/5")+
Key("c/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"claim":#reclaim object
Mimic("release")+
Mimic("select")+
Key("s/5")+
Key("e/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"com":#bring commander
Mimic("release")+
Key("a-comma/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"fight":#bring air power
Mimic("release")+
Key("c-a/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"here":#selected, send to location immediately
Key("shift:up/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"pause":#pause factory or unit?
Mouse("left:2/5")+
Key("l/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"point [<n>]":#click
Mimic("release")+
(
Mouse("left/5")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"points":#double-click
Mimic("release")+
Mouse("left:2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"round":#selected, patrol unit immediately
Key("p/5")+
Key("shift:down/5")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"run":#use immediately
Mimic("release")+
Mimic("select")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"stop":#stop unit or building
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"there":#selected, add location to queue
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"walk":#add to queue
Mimic("release")+
Mimic("select")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"work [<n>]":#assign/relocate idle workers
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/5")
)
*Repeat(extra="n")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#orders
#build pattern
"base":#startup
Key("tab/15")+#research
Mouse("[1062,362]/5,left/5")+
Mouse("[733,482]/5,left/5")+#UEF
Mouse("[849,424]/5,left/5")+#UEF
Key("tab/15")+
Key("b/5")+
Key("m/5")+
Key("tab/15")+#research
Key("shift:down/5")+
Mouse("[1550,997]/5,left/5")+
Mouse("[1457,477]/5,left/5")+
Mouse("[471,355]/5,left/5")+
Mouse("[280,877]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("s-w/5:7/80")+
Mouse("[647,368]/5,left/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[499,504]/5,left/5")+
Mouse("[532,775]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("a/5")+
Key("shift:down/5")+
Mouse("[1239,1004]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[1234,948]/5,left/5")+
Mouse("[1240,1056]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("c-1/5")+
Mouse("[666,371]/5,left/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[699,564]/5,left/5")+
Mouse("[691,1009]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("c-2/5")+
Key("a-comma/5")+#commander
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[627,351]/5,left/5")+
Mouse("[630,329]/5,left/5")+
Mouse("[664,319]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("a/5")+
Key("shift:down/5")+
Mouse("[727,496]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[683,421]/5,left/5")+
#Mouse("[683,421]/5,left:down/5")+
#Mouse("[680,443]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[1065,832]/5,left/5")+
Mouse("[1054,448]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("shift:down/5")+
Mouse("[1361,653]/5,right/5")+
Key("shift:up/5")+
Key("2/5")+
Mouse("[1770,26]/5,left/5")+#minimap
Mouse("[1787,180]/5,left/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[468,486]/5,left/5")+
Mouse("[588,689]/5,left/5")+
Mouse("[556,914]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[554,990]/5,left/5")+
Mouse("[448,1012]/5,left/5")+
Mouse("[457,933]/5,left/5")+
Mouse("[364,757]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("shift:down/5")+
Mouse("[499,753]/5,right/5")+
Key("shift:up/5")+
Key("1/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[964,441]/5,left/5")+
Mouse("[970,829]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mouse("[1770,89]/5,left/25")+
Mimic("fast")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#build pattern
#add to queue
"air":#basic, anti-air tower
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"art":#advanced, artillery
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("f/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"arty":#advanced, artillery
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"house":#basic, land factory
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"juice":#basic, electricity
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"mass":#basic, mass
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"port":#basic, air factory
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"raid":#advanced, radar
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"search":#basic, research station
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"shield":#advanced, shield
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"shoot":#basic, point defense
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"tact":#advanced, TML
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"vert":#advanced, mass converter
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#add to queue
#build immediately
"air now":#basic, anti-air tower
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"art now":#advanced, artillery
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"arty now":#advanced, artillery
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"house now":#basic, land factory
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"juice now":#basic, electricity
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"mass now":#basic, mass
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"port now":#basic, air factory
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"raid now":#advanced, radar
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"search now":#basic, research station
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"shield now":#advanced, shield
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"shoot now":#basic, point defense
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"tact now":#advanced, TML
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"vert now":#advanced, mass converter
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#build immediately
#structure add-ons
"plus 1":#TML
Mimic("release")+
Mouse("left/75")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 2":#anti-aircraft
Mimic("release")+
Mouse("left/75")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 3":#intel
Mimic("release")+
Mouse("left/5")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 4":#shield
Mimic("release")+
Mouse("left/75")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 1s":#TML
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 2s":#anti-aircraft
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 3s":#intel
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"plus 4s":#shield
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#structure add-ons
#produce
"bomb [<n>]":#bomber
Mimic("release")+
Key("cs-a/5")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"bombs [<n>]":#bomber from multiple factories
Mimic("release")+
Key("cs-a/5")+
Key("c-z/5")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"dog [<n>]":#worker
Mimic("release")+
Key("h/5")+
Key("b/5")+
(
Key("e/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jet [<n>]":#fighter
Mimic("release")+
Key("cs-a/5")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jets [<n>]":#fighter from multiple factories
Mimic("release")+
Key("cs-a/5")+
Key("c-z/5")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"miss [<n>]":#mobile missile launcher
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("m/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sword [<n>]":#gunship
Mimic("release")+
Key("cs-a/5")+
Key("b/5")+
(
Key("g/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#produce
#research menu
"menu":#show the menu
Mimic("release")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"pro air":#decrease cost and time, enable gunship
Mimic("release")+
Key("tab/5")+
Mouse("[850,367]/5,left/25")+
Mouse("[736,653]/5,left/25")+
Mouse("[959,650]/5,left/25")+
Mouse("[1072,651]/5,left/25")+
Mouse("[846,596]/5,left/80")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#research menu
#control game
"back":#show desktop
Mimic("release")+
Function(pause_it)+
Mimic("switch"),
"fast":#maximize game speed
Mimic("release")+
Key("npmul/10")+
Key("npadd:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"load 1":#load game from position one
Mimic("release")+
Key("f10/20")+
Mouse("[958,673]/5,left/40")+
Mouse("[654,379]/5,left/20")+
Mouse("[731,828]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"lob 1":#from game to lobby, solo
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("set","1")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"lob 2":#from game to lobby, skirmish
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("set","2")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"norm":#regular game speed
Mimic("release")+
Key("npmul/10")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"options":#show options dialogue
Mimic("release")+
Key("f10/10")+#main menu
Mouse("[961,576]/10,left/10")+#options
#Mouse("[747,432]/10,left/10")+#controls
#Mouse("[882,432]/10,left/10")+#interface
#Mouse("[1024,432]/10,left/10")+#sound
Mouse("[1167,432]/10,left/10")+#video
Mouse("[872,476]/5,left/5")+#video
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"restart":#restart game
Mimic("release")+
Key("f10/50")+#menu
Mouse("[957,519]/10,left/50")+
Mouse("[807,624]/10,left/100")+#restart yes
Pause("80")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"save 1":#save game to position one
Mimic("release")+
Key("f10/20")+
Mouse("[951,624]/5,left/40")+
Mouse("[636,380]/5,left/20")+
Mouse("[726,824]/5,left/40")+
Mouse("[800,631]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"set 1":#set up, skirmish
Mouse("[811,329]/5,left/5")+#color
Mouse("[820,567]/5,left/5")+
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[589,368]/5,left/5")+#opponent
Mouse("[583,406]/5,left/5")+#remove
Mouse("[1274,703]/5,left/5")+#victory
Mouse("[1233,768]/5,left/5")+
Mouse("[1270,726]/5,left/5")+#position
Mouse("[1270,770]/5,left/5")+
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1228,817]/5,left/5")+
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"set 2":#set up, skirmish
Mouse("[811,329]/5,left/5")+#color
Mouse("[820,567]/5,left/5")+
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[612,371]/5,left/5")+#opponent
Mouse("[608,511]/5,left/5")+#custom
Mouse("[985,434]/5,left/5")+
Mouse("[1040,481]/5,left/5")+#hard
Mouse("[985,466]/5,left/5")+
Mouse("[1035,510]/5,left/5")+#balanced
Mouse("[845,765]/5,left/5")+#okay
Mouse("[812,367]/5,left/5")+#color
Mouse("[820,632]/5,left/5")+
Mouse("[874,368]/5,left/5")+#faction
Mouse("[880,506]/5,left/5")+
Mouse("[1274,705]/5,left/5")+#victory
Mouse("[1247,745]/5,left/5")+
Mouse("[1270,726]/5,left/5")+#position
Mouse("[1270,770]/5,left/5")+
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1228,817]/5,left/5")+
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"slow":#minimize game speed
Mimic("release")+
Key("npmul/10")+
Key("npsub:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"game":#pause game
Mimic("release")+
Function(pause_it)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#control game
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Wed, 01 Dec 2010 08:42
Date: Wed, 01 Dec 2010 08:42
30 lines
1884 bytes
1884 bytes
"loop [<n>]":#patrol idle workers
Mimic("release")+
(
Key("a-dot/25")+
Mouse("right/5")
)
*Repeat(extra="n")+
Key("p/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
... bring one or more workers to the current pointer location
... beep and then pause 1.5 seconds so the pointer can be
repositioned
... click to set the patrol point
... beep to signify the shift key is down
Commands that complete without holding the shift key end with a
"boop" instead of a "beep". Having the shift key automatically
held down most of the time is useful. And since everything is done
by voice automation, having the shift key left down is no problem
since it is released at the beginning of the next command.
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Fri, 10 Dec 2010 21:29
Date: Fri, 10 Dec 2010 21:29
1047 lines
30168 bytes
30168 bytes
Current group. Need to make patrol commands standard form. Removed
the single number commands for selecting groups, replaced them
with letters. Using single number commands apparently interferes
with other commands like those that use variable number suffixes.
And now, commands that use a non-variable number use it as the
prefix. The build pattern "base" command is for Fields of Isis.
Currently, that is the only build pattern, a script that relies on
the particular map.
#macros
"release":#free pointer
Key("shift:up/5")+
Key("escape/5:2"),
"select":#select any type single unit
Mouse("left/5")+
Key("c-7/5")+
Key("a-dot/5")+
Key("7/5"),
#macros
#view
"view":#reset view
Mimic("release")+
Key("v/20")+
Key("comma/20")+
Key("s-w:5/80"),
#view
#build immediately
"one ant":#basic, anti-air tower
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one art":#advanced, artillery
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("f/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one arty":#advanced, artillery
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one house":#basic, land factory
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one juice":#basic, electricity
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one mass":#basic, mass
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one port":#basic, air factory
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one raid":#advanced, radar
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one search":#basic, research station
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one shield":#advanced, shield
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one shoot":#basic, point defense
Mimic("release")+
Mouse("left/25")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one tact":#advanced, TML
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"one vert":#advanced, mass converter
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#build immediately
#build pattern
"base":#startup
Key("tab/15")+#research
Mouse("[1062,362]/5,left/5")+
Mouse("[733,482]/5,left/5")+#UEF
Mouse("[849,424]/5,left/5")+#UEF
Key("tab/15")+
Key("b/5")+
Key("m/5")+
Key("tab/15")+#research
Key("shift:down/5")+
Mouse("[1550,997]/5,left/5")+
Mouse("[1457,477]/5,left/5")+
Mouse("[471,355]/5,left/5")+
Mouse("[280,877]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("s-w/5:7/80")+
Mouse("[647,368]/5,left/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[499,504]/5,left/5")+
Mouse("[532,775]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("a/5")+
Key("shift:down/5")+
Mouse("[1239,1004]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[1234,948]/5,left/5")+
Mouse("[1240,1056]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("c-1/5")+
Mouse("[666,371]/5,left/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[699,564]/5,left/5")+
Mouse("[691,1009]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("c-2/5")+
Key("a-comma/5")+#commander
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[627,351]/5,left/5")+
Mouse("[630,329]/5,left/5")+
Mouse("[664,319]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("a/5")+
Key("shift:down/5")+
Mouse("[727,496]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[683,421]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[1065,832]/5,left/5")+
#Mouse("[1054,448]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("shift:down/5")+
Mouse("[1361,653]/5,right/5")+
Key("shift:up/5")+
Key("2/5")+
Mouse("[1770,26]/5,left/5")+#minimap
Mouse("[1787,180]/5,left/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[468,486]/5,left/5")+
Mouse("[588,689]/5,left/5")+
Mouse("[556,914]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[554,990]/5,left/5")+
Mouse("[448,1012]/5,left/5")+
Mouse("[457,933]/5,left/5")+
Mouse("[364,757]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("shift:down/5")+
Mouse("[499,753]/5,right/5")+
Key("shift:up/5")+
Key("1/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[964,441]/5,left/5")+
Mouse("[970,829]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mouse("[1770,89]/5,left/25")+
Mimic("fast")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#build pattern
#build queue
"ant":#basic, anti-air tower
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"art":#advanced, artillery
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("f/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"arty":#advanced, artillery
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"house":#basic, land factory
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"juice":#basic, electricity
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"mass":#basic, mass
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"port":#basic, air factory
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"raid":#advanced, radar
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"search":#basic, research station
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"shield":#advanced, shield
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"shoot":#basic, point defense
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"tact":#advanced, TML
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"vert":#advanced, mass converter
Mimic("release")+
Mimic("select")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#build queue
#orders
##order groups
"use [<n>]":#select, use group
Mimic("release")+
Text('%(n)s')+
Key("shift:down/5")+
Mouse("right/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so [<n>]":#select, use group immediately
Mimic("release")+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
##order groups
"cap":#capture object
Mimic("release")+
Mimic("select")+
Key("c/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so cap":#capture object immediately
Mimic("release")+
Mimic("select")+
Key("s/5")+
Key("c/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"claim":#reclaim object
Mimic("release")+
Mimic("select")+
Key("e/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so claim":#reclaim object immediately
Mimic("release")+
Mimic("select")+
Key("s/5")+
Key("e/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"com":#bring commander
Mimic("release")+
Key("a-comma/5")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"kim":#bring commander immediately
Mimic("release")+
Key("a-comma/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"fight":#bring air power
Mimic("release")+
Key("c-a/5")+
Key("c-8/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"kill":#bring land power
Mimic("release")+
Key("c-l/5")+
Key("c-8/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"hard":#harden artillery
Function(get_position)+
Mouse("left:2/5")+
Mouse("[282,1131]/5,left/25")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"here":#selected, send to location immediately
Key("shift:up/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"jump":#commander, jump/teleport
Mimic("release")+
Key("a-comma")+
Key("c-j")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"loop [<n>]":#patrol idle workers
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/5")
)
*Repeat(extra="n")+
Key("p/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"no":
Mimic("release")+
Key("ctrl:down/5")+
Key("shift:down/5")+
Mouse("right/5")+
Key("shift:up/5")+
Key("ctrl:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"pause":#pause factories
Mimic("release")+
Mouse("left:2/75")+
Key("l/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"point [<n>]":#click
Mimic("release")+
(
Mouse("left/5")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"charge":#commander overcharge
Mimic("release")+
Key("a-comma/5")+
Key("o/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"round":#selected, patrol unit immediately
Key("p/5")+
Key("shift:down/5")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"run":#select, set destination immediately
Mimic("release")+
Mimic("select")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"stop":#stop unit or building
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"there":#selected, add location to queue
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"track":#stop tracking
Mimic("release")+
Key("t/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"walk":#select, add destination to queue
Mimic("release")+
Mimic("select")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"work [<n>]":#assign/relocate idle workers
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/5")
)
*Repeat(extra="n")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#orders
#produce
"arch [<n>]":#mobile anti-aircraft
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("i/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"bomb [<n>]":#bomber
Mimic("release")+
Key("cs-a/5")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"bombs [<n>]":#bomber from multiple factories
Mimic("release")+
Key("cs-a/5")+
Key("c-z/5")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"dog [<n>]":#worker
Mimic("release")+
Key("h/5")+
Key("b/5")+
(
Key("e/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jet [<n>]":#fighter
Mimic("release")+
Key("cs-a/5")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jets [<n>]":#fighter from multiple factories
Mimic("release")+
Key("cs-a/5")+
Key("c-z/5")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"mart [<n>]":#mobile artillery
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"miss [<n>]":#mobile missile launcher
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("m/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"moss [<n>]":#mobile shield generator
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("s/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sharp [<n>]":#mobile anti-missile defense
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("n/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sword [<n>]":#gunship
Mimic("release")+
Key("cs-a/5")+
Key("b/5")+
(
Key("g/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"tank [<n>]":#tank
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("t/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#produce
#research menu
"menu":#show the menu
Mimic("release")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"1 air":#air
Mimic("release")+
Key("tab/5")+
Mouse("[850,367]/5,left/25")+
Mouse("[736,653]/5,left/25")+
Mouse("[959,650]/5,left/25")+
Mouse("[1072,651]/5,left/25")+
Mouse("[846,596]/5,left/80")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"1 com":#commander
Mimic("release")+
Key("tab/5")+#menu
Mouse("[1169,363]/5,left/25")+#acu
Mouse("[732,536]/5,left/25")+#health 1
Mouse("[791,487]/5,left/25")+#regeneration
Mouse("[792,651]/5,left/25")+#damage
Mouse("[900,649]/5,left/25")+#weapon range
Mouse("[902,483]/5,left/25")+#hunker 1
Mouse("[955,427]/5,left/25")+#health 2
Mouse("[1069,426]/5,left/25")+#anti-air
Mouse("[1014,483]/5,left/25")+#hunker 2
Pause("100")+
#Key("tab/5")+#menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"2 com":#commander
Mimic("release")+
Key("tab/5")+#menu
Mouse("[1169,363]/5,left/25")+#acu
Mouse("[1012,651]/5,left/25")+#tactical missile launcher
Mouse("[1013,536]/5,left/25")+#jump jets 1
Mouse("[1127,535]/5,left/25")+#jump jets 2
Mouse("[1012,705]/5,left/25")+#energy income
Mouse("[1124,650]/5,left/25")+#artillery
Mouse("[1126,703]/5,left/25")+#overcharge
Mouse("[734,764]/5,left/25")+#training 1
Mouse("[843,761]/5,left/25")+#training 2
Mouse("[957,759]/5,left/25")+#training 3
Mouse("[1068,763]/5,left/25")+#training 4
Mouse("[1179,764]/5,left/25")+#training 5
Mouse("[902,540]/5,left/25")+#vision
Mouse("[1014,595]/5,left/25")+#radar
Mouse("[1124,593]/5,left/25")+#radar jammer
Pause("100")+
#Key("tab/5")+#menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"1 land":#enhance/enable land units
Mimic("release")+
Key("tab/5")+
Mouse("[743,365]/5,left/25")+
Mouse("[734,651]/5,left/25")+
Mouse("[846,650]/5,left/25")+
Mouse("[959,654]/5,left/25")+
Mouse("[1071,650]/5,left/25")+
Mouse("[734,539]/5,left/25")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#research menu
#select
##select by click and drag
"large":#large area
Mimic("release")+
Mouse("<-200,-200>/5")+
Mouse("left:down/5")+
Mouse("<400,400>/5")+
Mouse("left:up/5"),
"small":#small area
Mimic("release")+
Mouse("<-50,-50>/5")+
Mouse("left:down/5")+
Mouse("<100,100>/5")+
Mouse("left:up/5"),
"G. [<n>]":#timed click and drag
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
(
Pause("100")
)
*Repeat(extra="n")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"X. [<n>]":#release, timed click and drag
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
(
Pause("100")
)
*Repeat(extra="n")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
##select by click and drag
##select groups
"A.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-1/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"B.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"C.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-3/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"D.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-4/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"E.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-5/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"F.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-6/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
##select groups
#select
#structure add-ons
"one plus":#TML
Mimic("release")+
Mouse("left/75")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two plus":#anti-aircraft
Mimic("release")+
Mouse("left/75")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"three plus":#intel
Mimic("release")+
Mouse("left/5")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"four plus":#shield
Mimic("release")+
Mouse("left/75")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"five plus":#TML
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"six plus":#anti-aircraft
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"seven plus":#intel
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"eight plus":#shield
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#structure add-ons
#x control game
"back":#show desktop
Mimic("release")+
Function(pause_it)+
Mimic("switch"),
"fast":#maximize game speed
Mimic("release")+
Key("npmul/10")+
Key("npadd:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one load":#load game from position one
Mimic("release")+
Key("f10/20")+
Mouse("[958,673]/5,left/40")+
Mouse("[654,379]/5,left/20")+
Mouse("[731,828]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one lob":#from game to lobby, solo
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("set","1")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two lob":#from game to lobby, skirmish
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("set","2")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"norm":#regular game speed
Mimic("release")+
Key("npmul/10")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"options":#show options dialogue
Mimic("release")+
Key("f10/10")+#main menu
Mouse("[961,576]/10,left/10")+#options
#Mouse("[747,432]/10,left/10")+#controls
#Mouse("[882,432]/10,left/10")+#interface
#Mouse("[1024,432]/10,left/10")+#sound
Mouse("[1167,432]/10,left/10")+#video
Mouse("[872,476]/5,left/5")+#video
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"restart":#restart game
Mimic("release")+
Key("f10/50")+#menu
Mouse("[957,519]/10,left/50")+
Mouse("[807,624]/10,left/100")+#restart yes
Pause("80")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one save":#save game to position one
Mimic("release")+
Key("f10/20")+
Mouse("[951,624]/5,left/40")+
Mouse("[636,380]/5,left/20")+
Mouse("[726,824]/5,left/40")+
Mouse("[800,631]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one set":#set up, skirmish
Mouse("[811,329]/5,left/5")+#color
Mouse("[820,567]/5,left/5")+
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[589,368]/5,left/5")+#opponent
Mouse("[583,406]/5,left/5")+#remove
Mouse("[1274,703]/5,left/5")+#victory
Mouse("[1233,768]/5,left/5")+
Mouse("[1270,726]/5,left/5")+#position
Mouse("[1270,770]/5,left/5")+
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1228,817]/5,left/5")+
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two set":#set up, skirmish
Mouse("[811,329]/5,left/5")+#color
Mouse("[820,567]/5,left/5")+
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[612,371]/5,left/5")+#opponent
Mouse("[608,511]/5,left/5")+#custom
Mouse("[985,434]/5,left/5")+
Mouse("[1040,481]/5,left/5")+#hard
Mouse("[985,466]/5,left/5")+
Mouse("[1035,510]/5,left/5")+#balanced
Mouse("[845,765]/5,left/5")+#okay
Mouse("[812,367]/5,left/5")+#color
Mouse("[820,632]/5,left/5")+
Mouse("[874,368]/5,left/5")+#faction
Mouse("[880,506]/5,left/5")+
Mouse("[1274,705]/5,left/5")+#victory
Mouse("[1247,745]/5,left/5")+
Mouse("[1270,726]/5,left/5")+#position
Mouse("[1270,770]/5,left/5")+
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1228,817]/5,left/5")+
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"slow":#minimize game speed
Mimic("release")+
Key("npmul/10")+
Key("npsub:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"game":#pause game
Mimic("release")+
Function(pause_it)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#x control game
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Thu, 30 Dec 2010 05:46
Date: Thu, 30 Dec 2010 05:46
1154 lines
33945 bytes
33945 bytes
Have been playing a lot of multiplayer online games with most of
the following scripts. Making some static base building scripts
like "base" "two base" etc. Those are the only scripts for a
particular map, currently lower left center rear position on
Seaton's Clutch.
It's rocking pretty well.
#a macros
"airport":#select at pointer or nearest air factory
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-a/5")+
Key("7/5"),
"barracks":#select at pointer or nearest land factory
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-l/5")+
Key("7/5"),
"basic":#minimap base position
Key("comma/20")+
Key("s-w/40")+
Mouse("[1773,207]/5,left/5"),
"release":#free pointer
Key("shift:up/5")+
Key("escape/5:2"),
"worker":#select at pointer or nearest idle worker
Mouse("left/5")+
Key("c-7/5")+
Key("a-dot/5")+
Key("7/5"),
#a macros
#a view
"view":#reset view
Mimic("release")+
#Key("v/20")+#correct angle
Key("comma/20")+
Key("s-w:1/80"),
"distant":#maximum view
#one or the other should work
Key("v/5:2/40"),
#Key("s-w/5:13/80"),
#a view
#build now
"so ant":#basic, anti-air tower
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so art":#advanced, artillery
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("2/5")+
Key("f/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so arty":#advanced, long-range artillery
Mimic("release")+
Mimic("worker")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so house":#basic, land factory
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so juice":#basic, electricity
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so mass":#basic, mass
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so port":#basic, air factory
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so raid":#advanced, radar
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so search":#basic, research station
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so shield":#advanced, shield
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so gun":#basic, point defense
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so tact":#advanced, TML
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so vert":#advanced, mass converter
Mimic("release")+
Mouse("left/5")+
Key("c-7/5")+
Key("s/5")+
Key("7/5")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#build now
#build pattern
"base":#startup
PlaySound(r"C:\Program Files\VoiceWorks\whook1small.wav")+
Key("tab/15")+#research
Mouse("[1062,362]/5,left/5")+
Mouse("[733,482]/5,left/5")+#UEF
Mouse("[849,424]/5,left/5")+#UEF
Key("tab/40")+
Mouse("[1797,23]/5,left/25")+#minimap
Mimic("slow")+
Mouse("[960,597]/5,left/5")+#commander
#keep
Key("b/5")+#commander
Key("m/5")+
Key("shift:down/5")+
Mouse("[513,889]/5,left/5")+
Mouse("[1480,930]/5,left/5")+
Mouse("[1366,454]/5,left/5")+
Mouse("[694,395]/5,left/5")+
Mouse("[696,418]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mimic("basic")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[1019,416]/5,left:down/5")+
Mouse("[1017,382]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[972,118]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("a/5")+
Key("shift:down/5")+
Mouse("[967,245]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mouse("[923,460]/5,left/5")+#upper
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[1168,489]/5,left/5")+
Mouse("[718,357]/5,left/5")+
Mouse("[296,403]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+#main research
Key("r/5")+
Key("shift:down/5")+
Mouse("[437,484]/5,left/5")+
Mouse("[451,545]/5,left/5")+
Mouse("[473,613]/5,left/5")+
Mouse("[514,673]/5,left/5")+
Mouse("[528,738]/5,left/5")+
Mouse("[495,814]/5,left/5")+
Mouse("[403,891]/5,left/5")+
Mouse("[408,976]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mouse("[926,495]/5,left/5")+#lower
Key("b/5")+
Key("m/5")+
Mouse("[572,894]/5,left/5")+
Key("b/5")+#main electricity
Key("e/5")+
Key("shift:down/5")+
Mouse("[666,896]/5,left:down/5")+
Mouse("[683,759]/5,left:up/5")+
Mouse("[694,666]/5,left:down/5")+
Mouse("[688,713]/5,left:up/5")+
Mouse("[773,665]/5,left:down/5")+
Mouse("[767,791]/5,left:up/5")+
Mouse("[757,895]/5,left:down/5")+
Mouse("[758,845]/5,left:up/5")+
Mouse("[845,898]/5,left:down/5")+
Mouse("[853,762]/5,left:up/5")+
Mouse("[855,666]/5,left:down/5")+
Mouse("[855,704]/5,left:up/5")+
Mouse("[934,668]/5,left:down/5")+
Mouse("[933,789]/5,left:up/5")+
Mouse("[932,895]/5,left:down/5")+
Mouse("[934,848]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
#keep
Mouse("[960,600]/5")+#center
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two base":
Mimic("release")+
Mimic("basic")+
Mouse("[835,505]/5")+
Mimic("worker")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[838,439]/5,left:down/5")+
Mouse("[835,505]/5,left:up/5")+
Mouse("[832,586]/5,left:down/5")+
Mouse("[832,549]/5,left:up/5")+
Mouse("[761,587]/5,left:down/5")+
Mouse("[766,516]/5,left:up/5")+
Mouse("[774,439]/5,left:down/5")+
Mouse("[769,471]/5,left:up/5")+
Mouse("[710,441]/5,left:down/5")+
Mouse("[702,507]/5,left:up/5")+
Mouse("[690,585]/5,left:down/5")+
Mouse("[693,551]/5,left:up/5")+
Mouse("[621,584]/5,left:down/5")+
Mouse("[632,511]/5,left:up/5")+
Mouse("[644,439]/5,left:down/5")+
Mouse("[640,469]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"three base":
Mimic("release")+
Mimic("basic")+
Mouse("[631,344]/5")+
Mimic("worker")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[628,375]/5,left:down/5")+
Mouse("[631,344]/5,left:up/5")+
Mouse("[642,281]/5,left:down/5")+
Mouse("[637,308]/5,left:up/5")+
Mouse("[582,282]/5,left:down/5")+
Mouse("[577,308]/5,left:up/5")+
Mouse("[563,373]/5,left:down/5")+
Mouse("[569,343]/5,left:up/5")+
Mouse("[501,374]/5,left:down/5")+
Mouse("[507,345]/5,left:up/5")+
Mouse("[524,281]/5,left:down/5")+
Mouse("[518,306]/5,left:up/5")+
Mouse("[466,282]/5,left:down/5")+
Mouse("[457,308]/5,left:up/5")+
Mouse("[440,374]/5,left:down/5")+
Mouse("[446,345]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"four base":
Mimic("release")+
Mimic("basic")+
Mouse("[393,293]/5")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[378,348]/5,left:down/5")+
Mouse("[393,293]/5,left:up/5")+
Mouse("[366,293]/5,left:down/5")+
Mouse("[346,348]/5,left:up/5")+
Mouse("[320,351]/5,left:down/5")+
Mouse("[338,292]/5,left:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#build pattern
#build queue
"ant":#basic, anti-air tower
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"art":#advanced, artillery
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("f/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"arty":#advanced, artillery
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"house":#basic, land factory
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"juice":#basic, electricity
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"mass":#basic, mass
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
Mouse("left/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"port":#basic, air factory
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"raid":#advanced, radar
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"search":#basic, research station
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"shield":#advanced, shield
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"gun":#basic, point defense
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"tact":#advanced, TML
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"vert":#advanced, mass converter
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#build queue
#orders
##order groups
"use [<n>]":#select, use group now
Mimic("release")+
Text('%(n)s')+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
##order groups
"cap":#capture object now
Mimic("release")+
Mimic("worker")+
Key("s/5")+
Key("c/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"claim":#point/select, reclaim, point, now
Mimic("release")+
Mimic("worker")+
Key("s/5")+
Key("e/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"com":#commander, to point, now
Mimic("release")+
Key("a-comma/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"fight":#all air units, to point, now
Mimic("release")+
Key("c-a/5")+
Key("c-8/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"kill":#all land units, to point, now
Mimic("release")+
Key("c-l/5")+
Key("c-8/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"hard":#units at point, harden artillery
Function(get_position)+
Mouse("left:2/5")+
Mouse("[282,1131]/5,left/25")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"here":#selected, to point, now
Key("shift:up/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"jump":#commander, jump/teleport
Mimic("release")+
Key("a-comma")+
Key("c-j")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"loop [<n>]":#idle workers, to point, patrol, to point
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/25")
)
*Repeat(extra="n")+
Key("p/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"no":#remove waypoint at pointer
Mimic("release")+
Key("ctrl:down/5")+
Key("shift:down/5")+
Mouse("right/5")+
Key("shift:up/5")+
Key("ctrl:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"pause":#pause factories
Mimic("release")+
Mouse("left:2/75")+
Mouse("[926,1075]/25,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"point [<n>]":#click
Mimic("release")+
(
Mouse("left/5")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"charge":#commander overcharge
Mimic("release")+
Key("a-comma/5")+
Key("o/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"round":#selected, patrol queue
Key("p/5")+
Key("shift:down/5")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"run":#unit at point, to point, now
Mimic("release")+
Mimic("worker")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"temp":
Mimic("release")+
Mouse("left/40")+
Mouse("[924,1072]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"stop":#stop unit or building
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"there":#selected, to point, queue
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"track":#stop tracking
Mimic("release")+
Key("t/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"walk":#unit at point, to point, queue
Mimic("release")+
Mimic("worker")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"work [<n>]":#idle workers, to point, now
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/25")
)
*Repeat(extra="n")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#orders
#produce
"arch [<n>]":#mobile anti-aircraft
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("i/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"bomb [<n>]":#bomber
Mimic("release")+
Key("cs-a/5")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"bombs [<n>]":#bomber from multiple factories
Mimic("release")+
Key("cs-a/5")+
Key("c-z/5")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"dog [<n>]":#worker
Mimic("release")+
Key("h/5")+
Key("b/5")+
(
Key("e/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jet [<n>]":#fighter
Mimic("release")+
Key("cs-a/5")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jets [<n>]":#fighter from multiple factories
Mimic("release")+
Key("cs-a/5")+
Key("c-z/5")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"mart [<n>]":#mobile artillery
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"miss [<n>]":#mobile missile launcher
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("m/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"moss [<n>]":#mobile shield generator
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("s/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sharp [<n>]":#mobile anti-missile defense
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("n/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sword [<n>]":#gunship
Mimic("release")+
Key("cs-a/5")+
Key("b/5")+
(
Key("g/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"tank [<n>]":#tank
Mimic("release")+
Key("h/80")+
Key("b/5")+
(
Key("t/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#produce
#research menu
"menu":#show the menu
Mimic("release")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one air":#air
Mimic("release")+
Key("tab/5")+
Mouse("[850,367]/5,left/25")+
Mouse("[736,653]/5,left/25")+
Mouse("[959,650]/5,left/25")+
Mouse("[1072,651]/5,left/25")+
Mouse("[846,596]/5,left/80")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one com":#commander
Mimic("release")+
Key("tab/5")+#menu
Mouse("[1169,363]/5,left/5")+#acu
Mouse("[732,536]/5,left/5")+#health 1
Mouse("[791,487]/5,left/5")+#regeneration
Mouse("[792,651]/5,left/5")+#damage
Mouse("[900,649]/5,left/5")+#weapon range
Mouse("[902,540]/5,left/5")+#vision
Mouse("[1013,536]/5,left/5")+#jump jets 1
Mouse("[1127,535]/5,left/5")+#jump jets 2
Mouse("[902,483]/5,left/5")+#hunker 1
Mouse("[955,427]/5,left/5")+#health 2
Mouse("[1069,426]/5,left/5")+#anti-air
Mouse("[1014,483]/5,left/160")+#hunker 2
Key("tab/5")+#menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two com":#commander
Mimic("release")+
Key("tab/5")+#menu
Mouse("[1169,363]/5,left/5")+#acu
Mouse("[1012,651]/5,left/5")+#tactical missile launcher
Mouse("[1012,705]/5,left/5")+#energy income
Mouse("[1124,650]/5,left/5")+#artillery
Mouse("[1126,703]/5,left/5")+#overcharge
Mouse("[734,764]/5,left/5")+#training 1
Mouse("[843,761]/5,left/5")+#training 2
Mouse("[957,759]/5,left/5")+#training 3
Mouse("[1068,763]/5,left/5")+#training 4
Mouse("[1179,764]/5,left/5")+#training 5
Mouse("[1014,595]/5,left/5")+#radar
Mouse("[1124,593]/5,left/160")+#radar jammer
Key("tab/5")+#menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one land":#enhance/enable land units
Mimic("release")+
Key("tab/5")+
Mouse("[743,365]/5,left/25")+
Mouse("[734,651]/5,left/25")+
Mouse("[846,650]/5,left/25")+
Mouse("[959,654]/5,left/25")+
Mouse("[1071,650]/5,left/25")+
Mouse("[734,539]/5,left/25")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one mass":#mass converter
Mimic("release")+
Key("tab/5")+#menu
Mouse("[1060,365]/5,left/5")+#structure
Mouse("[960,485]/5,left/5")+#research income
Mouse("[1071,427]/5,left/5")+#mass income
Mouse("[1205,447]/5,left/160")+#mass converter
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#research menu
#select
##select by click and drag
"large":#large area
Mimic("release")+
Mouse("<-200,-200>/5")+
Mouse("left:down/5")+
Mouse("<300,300>/5")+
Mouse("left:up/5"),
"small":#small area
Mimic("release")+
Mouse("<-50,-50>/5")+
Mouse("left:down/5")+
Mouse("<100,100>/5")+
Mouse("left:up/5"),
"G1":#timed click and drag
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("100")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G2":#timed click and drag
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G3":#timed click and drag
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("300")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G4":#timed click and drag
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("400")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
##select by click and drag
##select groups
"A.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-1/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"B.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"C.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-3/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"D.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-4/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"E.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-5/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"F.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-6/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
##select groups
#select
#structure add-ons
"one one":#TML
Mimic("release")+
Mouse("left/75")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two one":#anti-aircraft
Mimic("release")+
Mouse("left/75")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"three one":#intel
Mimic("release")+
Mouse("left/5")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"four one":#shield
Mimic("release")+
Mouse("left/75")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one all":#TML
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two all":#anti-aircraft
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"three all":#intel
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"four all":#shield
Mimic("release")+
Mouse("left:2/75")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
#Mouse("[613,1138]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#structure add-ons
#x control game
"back":#show desktop
Mimic("release")+
Function(pause_it)+
Mimic("switch"),
"fast":#maximize game speed
Mimic("release")+
Key("npmul/10")+
Key("npadd:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"host it":
Mouse("[654,781]/5,left/20")+
Mouse("[996,782]/5,left/40")+
Text(r"No exclusions, 6 or 8 ppl")+
Key("c-v/20")+
Key("enter/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one load":#load game from position one
Mimic("release")+
Key("f10/20")+
Mouse("[958,673]/5,left/40")+
Mouse("[640,380]/5,left/20")+
Mouse("[731,828]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two load":#load game from position two
Mimic("release")+
Key("f10/20")+
Mouse("[958,673]/5,left/40")+
Mouse("[640,410]/5,left/25")+#edit this
Mouse("[731,828]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one lob":#from game to lobby, solo
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("one","set")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two lob":#from game to lobby, skirmish
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("two","set")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"norm":#regular game speed
Mimic("release")+
Key("npmul/10")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"opt in":#show options dialogue
Mimic("release")+
Key("f10/10")+#main menu
Mouse("[961,576]/10,left/10")+#options
#Mouse("[747,432]/10,left/10")+#controls
#Mouse("[882,432]/10,left/10")+#interface
#Mouse("[1024,432]/10,left/10")+#sound
Mouse("[1167,432]/10,left/10")+#video
Mouse("[872,476]/5,left/5")+#video
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"opt out":
Mouse("left/5")+
Mouse("[666,754]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"restart":#restart game
Mimic("release")+
Key("f10/50")+#menu
Mouse("[957,519]/10,left/50")+
Mouse("[807,624]/10,left/100")+#restart yes
Pause("80")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one save":#save game to position one
Mimic("release")+
Key("f10/20")+
Mouse("[951,624]/5,left/40")+
Mouse("[640,380]/5,left/25")+#edit this
Mouse("[726,824]/5,left/40")+
Mouse("[800,631]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two save":#save game to position two
Mimic("release")+
Key("f10/20")+
Mouse("[951,624]/5,left/40")+
Mouse("[640,410]/5,left/25")+#edit this
Mouse("[726,824]/5,left/40")+
Mouse("[800,631]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one set":#set up, skirmish
Mouse("[1329,462]/5,left/5")+#player location
Mouse("[811,329]/5,left/5")+#color
Mouse("[821,595]/5,left/5")+#player yellow
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[589,368]/5,left/5")+#opponent
Mouse("[583,406]/5,left/5")+#remove
Mouse("[1274,703]/5,left/5")+#victory condition
Mouse("[1233,768]/5,left/5")+#infinite
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
#Mouse("[1272,794]/5,left/5")+#explored
Mouse("[1228,817]/5,left/5")+#all visible
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+#adjustable
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two set":#set up, skirmish
Mouse("[1329,462]/5,left/5")+#player location
Mouse("[811,329]/5,left/5")+#color
Mouse("[821,595]/5,left/5")+#player yellow
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[612,371]/5,left/5")+#opponent
Mouse("[608,511]/5,left/5")+#custom
Mouse("[985,434]/5,left/5")+
Mouse("[1040,481]/5,left/5")+#hard
Mouse("[985,466]/5,left/5")+
Mouse("[1035,510]/5,left/5")+#balanced
Mouse("[845,765]/5,left/5")+#okay
Mouse("[812,367]/5,left/5")+#color
Mouse("[821,464]/5,left/5")+#AI red
Mouse("[1404,369]/5,left/5")+#set AI location
Mouse("[1274,705]/5,left/5")+#victory
Mouse("[1247,745]/5,left/5")+#supremacy
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1272,794]/5,left/5")+#explored
#Mouse("[1228,817]/5,left/5")+#all visible
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+#adjustable
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"slow":#minimize game speed
Mimic("release")+
Key("npmul/10")+
Key("npsub:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"game":#pause game
Mimic("release")+
Function(pause_it)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#x control game
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Thu, 30 Dec 2010 07:11
Date: Thu, 30 Dec 2010 07:11
18 lines
1631 bytes
1631 bytes
That stuff works well, but just in case it needs a better explanation... In the first method... With nothing under the pointer, an idle worker will be used. If a unit is under the pointer, the new task will be appended to its queue. There is no reason to hover the pointer over an idle worker, unless you are not sure whether that worker is in fact idle. In the second method... The task is to be done immediately by a busy worker that is under the pointer. It simply cancels the worker's current queue and assigns it to the new task. Searching for an idle worker is programmatically more difficult, otherwise the second method would do that instead of using the first method to accomplish the same thing. :D
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Thu, 06 Jan 2011 06:29
Date: Thu, 06 Jan 2011 06:29
36 lines
2127 bytes
2127 bytes
After lots more play, it works well. A similar method can be used
for selecting factories, to significantly reduce the number of
commands needed to work with factories (a single factory or all
factories of that type within view).
... double-click
... assign to group 7 or clear group 7 (if nothing is under the
pointer)
... select the nearest factory
... recall group 7, if any
To select the nearest factory, hover the pointer over an open
space.
To select all factories (within view) of that type, hover the
pointer over a factory.
If the pointer is over an open space... The group number 7 is
cleared. After the nearest factory is selected, recalling group 7
does nothing.
If the pointer is over a factory... The double-click selects all
of those factories within view and they are assigned to group 7.
Then, after the nearest factory is selected (the factory under the
pointer since it is the nearest factory), recalling group 7
selects the entire group again.
The code looks like this.
Mouse("left:2/5")+
Key("c-7/5")+
Key("h/5")+
Key("7/5")+
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Mon, 17 Jan 2011 09:22
Date: Mon, 17 Jan 2011 09:22
1495 lines
45466 bytes
45466 bytes
Some scripts have changed. Have played some skirmish games, long
grueling 1v4 games, by voice.
The "move" command simply double clicks to select all of the same
type on screen, beeps and pauses (to allow repositioning of the
pointer), and then right-clicks.
One neat part of this stuff is the shift key being held down
most of the time. That makes seeing and moving markers easy.
#a macros
"airport":#select at pointer or nearest air factory
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-a/5")+
Key("7/5"),
"barracks":#select at pointer or nearest land factory
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-l/5")+
Key("7/5"),
"release":#free pointer
Key("shift:up/5")+
Key("escape/5:2"),
"airport":#select nearest aircraft factory or all of same type
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-a/5")+
Key("7/5"),
"cathouse":#select nearest land factory or all of same type
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-l/5")+
Key("7/5"),
"factory":#select nearest factory or all of same type
Mouse("left:2/5")+
Key("c-7/5")+
Key("h")+
Key("7/5"),
"worker":#select at pointer or nearest idle worker
Mouse("left/5")+
Key("c-7/5")+
Key("a-dot/5")+
Key("7/5"),
##a macros view
"basic":#view, minimap base position
Key("v/40")+
Key("comma/40")+
Key("s-w/40")+
Mouse("[1773,207]/5,left/5"),
"distant":#view, far out
#one or the other should work
Key("v/5:2/40"),
#Key("s-w/5:13/80"),
"level":#view, close-up
Mimic("release")+
#Key("v/20")+#correct angle
Key("comma/20")+
Key("s-w:1/80"),
##a macros view
#build now
"so ant":#basic, anti-air tower
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so art":#advanced, artillery
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("f/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so arty":#advanced, long-range artillery
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so gun":#basic, point defense
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so house":#basic, land factory
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so juice":#basic, electricity
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so mass":#basic, mass
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so port":#basic, air factory
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so raid":#advanced, radar
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so search":#basic, research station
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so shield":#advanced, shield
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so tact":#advanced, TML
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so vert":#advanced, mass converter
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#build now
#build pattern
"base":#startup
#PlaySound(r"C:\Program Files\VoiceWorks\whook1small.wav")+
Key("tab/15")+#research
Mouse("[1062,362]/5,left/5")+
Mouse("[733,482]/5,left/5")+#UEF
Mouse("[849,424]/5,left/5")+#UEF
Key("tab/15")+
Mouse("[1797,23]/5,left/25")+#minimap
Mouse("[960,597]/5,left/5")+#commander
#keep
Key("b/5")+#commander
Key("m/5")+
Key("shift:down/5")+
Mouse("[513,889]/5,left/5")+
Mouse("[1480,930]/5,left/5")+
Mouse("[1366,454]/5,left/5")+
Mouse("[694,395]/5,left/5")+
Mouse("[696,418]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mimic("basic")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[925,429]/5,left/5")+
Mouse("[1037,439]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[972,118]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("a/5")+
Key("shift:down/5")+
Mouse("[1299,30]/5,left/5")+
#Mouse("[987,255]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mouse("[923,460]/5,left/5")+#upper
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[1168,489]/5,left/5")+
Mouse("[718,357]/5,left/5")+
Mouse("[296,403]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("r/5")+
Key("shift:down/5")+
Mouse("[397,446]/5,left/5")+
Mouse("[426,493]/5,left/5")+
Mouse("[430,547]/5,left/5")+
Mouse("[507,688]/5,left/5")+
Mouse("[502,747]/5,left/5")+
Mouse("[482,809]/5,left/5")+
Mouse("[409,880]/5,left/5")+
Mouse("[383,955]/5,left/5")+
Mouse("[455,1030]/5,left/5")+
Mouse("[466,955]/5,left/5")+
Mouse("[484,883]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mouse("[926,495]/5,left/5")+#lower
Key("b/5")+
Key("m/5")+
Mouse("[572,894]/5,left/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[623,895]/5,left:down/5")+
Mouse("[630,846]/5,left:up/5")+
Mouse("[579,850]/5,left/5")+
Mouse("[852,921]/5,left:down/5")+
Mouse("[855,870]/5,left:up/5")+
Mouse("[801,919]/5,left:down/5")+
Mouse("[804,868]/5,left:up/5")+
Mouse("[904,698]/5,left:down/5")+
Mouse("[902,741]/5,left:up/5")+
Mouse("[854,698]/5,left:down/5")+
Mouse("[851,743]/5,left:up/5")+
Mouse("[674,640]/5,left:down/5")+
Mouse("[672,678]/5,left:up/5")+
Mouse("[721,642]/5,left:down/5")+
Mouse("[718,684]/5,left:up/5")+
Mouse("[519,596]/5,left:down/5")+
Mouse("[510,637]/5,left:up/5")+
Mouse("[564,598]/5,left:down/5")+
Mouse("[555,638]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
#keep
Mouse("[960,600]/5")+#center
#Mimic("fast")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"next base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[426,493]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("r/5")+
Key("shift:down/5")+
Mouse("[397,446]/5,left/5")+
Mouse("[426,493]/5,left/5")+
Mouse("[430,547]/5,left/5")+
Mouse("[507,688]/5,left/5")+
Mouse("[502,747]/5,left/5")+
Mouse("[482,809]/5,left/5")+
Mouse("[409,880]/5,left/5")+
Mouse("[383,955]/5,left/5")+
Mouse("[455,1030]/5,left/5")+
Mouse("[466,955]/5,left/5")+
Mouse("[484,883]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[630,846]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[623,895]/5,left:down/5")+
Mouse("[630,846]/5,left:up/5")+
Mouse("[579,850]/5,left/5")+
Mouse("[852,921]/5,left:down/5")+
Mouse("[855,870]/5,left:up/5")+
Mouse("[801,919]/5,left:down/5")+
Mouse("[804,868]/5,left:up/5")+
Mouse("[904,698]/5,left:down/5")+
Mouse("[902,741]/5,left:up/5")+
Mouse("[854,698]/5,left:down/5")+
Mouse("[851,743]/5,left:up/5")+
Mouse("[674,640]/5,left:down/5")+
Mouse("[672,678]/5,left:up/5")+
Mouse("[721,642]/5,left:down/5")+
Mouse("[718,684]/5,left:up/5")+
Mouse("[519,596]/5,left:down/5")+
Mouse("[510,637]/5,left:up/5")+
Mouse("[564,598]/5,left:down/5")+
Mouse("[555,638]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[703,230]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[697,258]/5,left:down/5")+
Mouse("[703,230]/5,left:up/5")+
Mouse("[738,261]/5,left:down/5")+
Mouse("[740,229]/5,left:up/5")+
Mouse("[919,310]/5,left:down/5")+
Mouse("[921,274]/5,left:up/5")+
Mouse("[878,308]/5,left:down/5")+
Mouse("[881,272]/5,left:up/5")+
Mouse("[675,385]/5,left:down/5")+
Mouse("[681,351]/5,left:up/5")+
Mouse("[714,388]/5,left/5")+
Mouse("[883,457]/5,left:down/5")+
Mouse("[884,419]/5,left:up/5")+
Mouse("[693,521]/5,left:down/5")+
Mouse("[696,480]/5,left:up/5")+
Mouse("[736,521]/5,left:down/5")+
Mouse("[740,479]/5,left:up/5")+
Mouse("[914,579]/5,left/5")+
Mouse("[870,580]/5,left:down/5")+
Mouse("[869,537]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"three base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[1207,343]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[1209,376]/5,left:down/5")+
Mouse("[1207,343]/5,left:up/5")+
Mouse("[1166,348]/5,left/5")+
Mouse("[1083,467]/5,left:down/5")+
Mouse("[1082,433]/5,left:up/5")+
Mouse("[1268,501]/5,left:down/5")+
Mouse("[1264,463]/5,left:up/5")+
Mouse("[1226,501]/5,left:down/5")+
Mouse("[1221,465]/5,left:up/5")+
Mouse("[1039,587]/5,left/5")+
Mouse("[1083,587]/5,left:down/5")+
Mouse("[1080,547]/5,left:up/5")+
Mouse("[1285,647]/5,left:down/5")+
Mouse("[1280,606]/5,left:up/5")+
Mouse("[1238,648]/5,left:down/5")+
Mouse("[1235,606]/5,left:up/5")+
Mouse("[1043,738]/5,left:down/5")+
Mouse("[1043,695]/5,left:up/5")+
Mouse("[1093,741]/5,left:down/5")+
Mouse("[1090,697]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"four base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[523,204]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[516,243]/5,left:down/5")+
Mouse("[523,204]/5,left:up/5")+
Mouse("[551,241]/5,left:down/5")+
Mouse("[561,202]/5,left:up/5")+
Mouse("[496,364]/5,left:down/5")+
Mouse("[550,366]/5,left:up/5")+
Mouse("[504,335]/5,left:down/5")+
Mouse("[555,338]/5,left:up/5")+
Mouse("[717,387]/5,left/5")+
Mouse("[676,387]/5,left:down/5")+
Mouse("[681,346]/5,left:up/5")+
Mouse("[562,490]/5,left:down/5")+
Mouse("[511,488]/5,left:up/5")+
Mouse("[524,454]/5,left:down/5")+
Mouse("[577,456]/5,left:up/5")+
Mouse("[307,374]/5,left/5")+
Mouse("[338,404]/5,left:down/5")+
Mouse("[349,364]/5,left:up/5")+
Mouse("[328,256]/5,left:down/5")+
Mouse("[316,293]/5,left:up/5")+
Mouse("[368,255]/5,left:down/5")+
Mouse("[353,295]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"five base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[839,302]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[797,425]/5,left:down/5")+
Mouse("[765,424]/5,left:up/5")+
Mouse("[771,407]/5,left:down/5")+
Mouse("[831,404]/5,left:up/5")+
Mouse("[824,425]/5,left:down/5")+
Mouse("[823,449]/5,left:up/5")+
Mouse("[797,445]/5,left:down/5")+
Mouse("[759,446]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"six base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[839,302]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("2/5")+
Function(get_position)+
Mouse("[427,1166]/5,left/5")+
Function(set_position)+
Key("shift:down/5")+
Mouse("[905,366]/5,left:down/5")+
Mouse("[872,366]/5,left:up/5")+
Mouse("[877,346]/5,left:down/5")+
Mouse("[939,346]/5,left:up/5")+
Mouse("[931,364]/5,left:down/5")+
Mouse("[930,390]/5,left:up/5")+
Mouse("[905,385]/5,left:down/5")+
Mouse("[870,386]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#build pattern
#build queue
"ant":#basic, anti-air tower
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"art":#advanced, artillery
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("f/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"arty":#advanced, artillery
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"box":#experimental, land factory
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("3/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"check":#check nuke missiles
Mimic("release")+
Mouse("left/5")+
Function(get_position)+
Mouse("[110,1174]/5,left/5")+
Pause("200")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"house":#basic, land factory
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"juice":#basic, electricity
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"juices [<n>]":#basic, electricity
(
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav")+
Pause("150")+
Mouse("left/5")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"mass":#basic, mass
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
Mouse("left/25")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"nuke":#advanced, anti-nuke
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("d/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"port":#basic, air factory
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"raid":#advanced, radar
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"search":#basic, research station
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"shield":#advanced, shield
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"tarp":#experimental, shield
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("3/5")+
Function(get_position)+
Mouse("[359,1168]/25,left/5")+#no shortcut key
Function(set_position)+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"gun":#basic, point defense
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"tact":#advanced, TML
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"vert":#advanced, mass converter
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#build queue
#click and drag
"large":#large area
Mimic("release")+
Mouse("<-200,-200>/5")+
Mouse("left:down/5")+
Mouse("<300,300>/5")+
Mouse("left:up/5"),
"small":#small area
Mimic("release")+
Mouse("<-50,-50>/5")+
Mouse("left:down/5")+
Mouse("<100,100>/5")+
Mouse("left:up/5"),
"G. 1":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("100")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 2":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 3":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("300")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 4":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("400")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#click and drag
#orders
"all pause":#pause all factories
Mimic("release")+
Key("cs-a/80")+
Key("c-z/5")+
Function(get_position)+
Mouse("[926,1075]/5,left/5")+
Key("cs-l/80")+
Key("c-z/5")+
Mouse("[926,1075]/5,left/5")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"cap":#capture object now
Mimic("release")+
Mimic("worker")+
Key("s/5")+
Key("c/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"charge":#commander overcharge
Mimic("release")+
Key("a-comma/5")+
Key("o/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"claim":#point/select, reclaim, point, now
Mimic("release")+
Mimic("worker")+
Key("s/5")+
Key("e/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"com":#commander, to point, now
Mimic("release")+
Key("a-comma/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"fight":#all air units, to point, now
Mimic("release")+
Key("c-a/5")+
#Key("c-8/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"fill":#convert energy to mass
Mimic("release")+
Mouse("left:2/20")+
Mouse("[294,1142]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"filler":#convert energy to mass
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up/40")+
Mouse("[294,1142]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"hard":#units at point, harden artillery
#Function(get_position)+
Mimic("release")+
Mouse("left:2/40")+
Mouse("[291,1146]/5,left/5")+
#Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jump":#commander, jump/teleport
Mimic("release")+
Key("a-comma")+
Key("c-j")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"kill":#all land units, to point, now
Mimic("release")+
Key("c-l/5")+
Key("c-8/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"look":#examine factory additions
Mimic("release")+
Key("h/5")+
Key("b/5")+
Key("2/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"loop [<n>]":#idle workers, to point, patrol, to point
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/25")
)
*Repeat(extra="n")+
Key("p/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"move":#units at point, to point, now
Mimic("release")+
Mouse("left:2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"no":#remove waypoint at pointer
Mimic("release")+
Key("ctrl:down/5")+
Key("shift:down/5")+
Mouse("right/5")+
Key("shift:up/5")+
Key("ctrl:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"now":#selected, to point, now
Key("shift:up/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"pause":#pause factories
Mimic("release")+
Key("h/80")+
Key("c-z/5")+
Function(get_position)+
Mouse("[926,1075]/5,left/5")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"point [<n>]":#click
Mimic("release")+
(
Mouse("left/5")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"round":#selected, patrol queue
Key("p/5")+
Key("shift:down/5")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"run":#unit at point, to point, now
Mimic("release")+
Mimic("worker")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"spread":#all units under pointer, paint enemy
Mimic("release")+
Mouse("left:2/5")+
Key("c-7/5")+
Mouse("right:down/40")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"stop":#stop unit or building
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"then":#selected, to point, queue
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"track":#stop tracking
Mimic("release")+
Key("t/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"use [<n>]":#select, use group now
Mimic("release")+
Text('%(n)s')+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"walk":#unit at point, to point, queue
Mimic("release")+
Mimic("worker")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"wait":#pause unit under pointer
Mimic("release")+
Mouse("left/80")+
Mouse("[937,1084]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"work [<n>]":#idle workers, to point, now
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/25")
)
*Repeat(extra="n")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#orders
#produce
"arch [<n>]":#mobile anti-aircraft
Mimic("release")+
Mimic("cathouse")+
Key("s/5")+
Key("b/5")+
(
Key("i/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"bomb [<n>]":#bomber from multiple factories
Mimic("release")+
Mimic("airport")+
Key("s/5")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"bot [<n>]":#assault bot
Mimic("release")+
Mimic("cathouse")+
Key("s/5")+
Key("b/5")+
(
Key("a/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"dog [<n>]":#worker
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
(
Key("e/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jet [<n>]":#fighter from multiple factories
Mimic("release")+
Mimic("airport")+
Key("s/5")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"mart [<n>]":#mobile artillery
Mimic("release")+
Mimic("cathouse")+
Key("s/5")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"miss [<n>]":#mobile missile launcher
Mimic("release")+
Mimic("cathouse")+
Key("s/5")+
Key("b/5")+
(
Key("m/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"mush [<n>]":#mobile shield generator
Mimic("release")+
Mimic("cathouse")+
Key("s/5")+
Key("b/5")+
(
Key("s/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"Noah":
Mimic("release")+
Mimic("cathouse")+
Key("s/5")+
Key("b/5")+
Key("m/5")+
Key("t/5:2")+
Mouse("[897,1086]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sharp [<n>]":#mobile anti-missile defense
Mimic("release")+
Mimic("cathouse")+
Key("s/5")+
Key("b/5")+
(
Key("n/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sword [<n>]":#gunship
Mimic("release")+
Mimic("airport")+
Key("s/5")+
Key("b/5")+
(
Key("g/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"tank [<n>]":#tank
Mimic("release")+
Mimic("cathouse")+
Key("s/5")+
Key("b/5")+
(
Key("t/5")
)
*Repeat(extra="n")+
Key("b/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#produce
#research menu
"menu":#show the menu
Mimic("release")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one air":#air
Mimic("release")+
Key("tab/5")+
Mouse("[850,367]/5,left/5")+
Mouse("[736,653]/5,left/5")+
Mouse("[959,650]/5,left/5")+
Mouse("[1072,651]/5,left/5")+
Mouse("[846,596]/5,left/5")+
Mouse("[868,727]/5,left/5")+#health
Mouse("[1092,726]/5,left/5")+#regeneration
Mouse("[756,503]/5,left/5")+#radar
Mouse("[868,447]/5,left/5")+#vision
Mouse("[981,727]/5,left/5")+#heavy shield
Mouse("[757,783]/5,left/5")+#training one
Mouse("[868,782]/5,left/5")+#training two
Mouse("[981,784]/5,left/5")+#training three
Mouse("[1094,785]/5,left/5")+#training four
Mouse("[1205,783]/5,left/5")+#training five
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one art":#artillery
Mimic("release")+
Key("tab/5")+
Mouse("[1060,365]/5,left/5")+#structure
Mouse("[737,654]/5,left/5")+#radar
Mouse("[849,652]/5,left/5")+#short artillery
Mouse("[959,651]/5,left/5")+#range
Mouse("[960,597]/5,left/5")+#harden
Mouse("[1074,596]/5,left/5")+#long artillery
Mouse("[962,706]/5,left/5")+#mass and research canons
Mouse("[1070,707]/5,left/5")+#mass and research stations antiaircraft
Mouse("[1206,728]/5,left/5")+#engineering tower
Mouse("[1128,651]/5,left/5")+#disruptor
Mouse("[1183,594]/5,left/5")+#noah cannon
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two art":#artillery
Mimic("release")+
Key("tab/5")+
Mouse("[744,365]/5,left/5")+#land
Mouse("[737,539]/5,left/5")+#range
Mouse("[848,486]/5,left/5")+#demolisher
Mouse("[960,484]/5,left/5")+#fat boy
Mouse("[1072,542]/5,left/5")+#stacked canon
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one com":#commander
Mimic("release")+
Key("tab/5")+
Mouse("[1169,363]/5,left/5")+#acu
Mouse("[732,536]/5,left/5")+#health 1
Mouse("[791,487]/5,left/5")+#regeneration
Mouse("[792,651]/5,left/5")+#damage
Mouse("[900,649]/5,left/5")+#weapon range
Mouse("[902,540]/5,left/5")+#vision
Mouse("[1013,536]/5,left/5")+#jump jets 1
Mouse("[1127,535]/5,left/5")+#jump jets 2
Mouse("[902,483]/5,left/5")+#hunker 1
Mouse("[955,427]/5,left/5")+#health 2
Mouse("[1069,426]/5,left/5")+#anti-air
Mouse("[1014,483]/5,left/5")+#hunker 2
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two com":#commander
Mimic("release")+
Key("tab/5")+
Mouse("[1169,363]/5,left/5")+#acu
Mouse("[1012,651]/5,left/5")+#tactical missile launcher
Mouse("[1012,705]/5,left/5")+#energy income
Mouse("[1124,650]/5,left/5")+#artillery
Mouse("[1126,703]/5,left/5")+#overcharge
Mouse("[734,764]/5,left/5")+#training 1
Mouse("[843,761]/5,left/5")+#training 2
Mouse("[957,759]/5,left/5")+#training 3
Mouse("[1068,763]/5,left/5")+#training 4
Mouse("[1179,764]/5,left/5")+#training 5
Mouse("[1014,595]/5,left/5")+#radar
Mouse("[1124,593]/5,left/5")+#radar jammer
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one mass":#mass converter
Mimic("release")+
Key("tab/5")+
Mouse("[1060,365]/5,left/5")+#structure
Mouse("[960,485]/5,left/5")+#research income
Mouse("[1071,427]/5,left/5")+#mass income
Mouse("[1205,447]/5,left/5")+#mass converter
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one shield":#nuke offense/defense
Mimic("release")+
Key("tab/5")+
Mouse("[1065,366]/5,left/5")+#structure
Mouse("[739,501]/5,left/5")+#build cost
Mouse("[848,558]/5,left/5")+#health
Mouse("[961,557]/5,left/5")+#shield
#Mouse("[1073,500]/5,left/5")+#nuke missile silo
Mouse("[1073,556]/5,left/5")+#nuke defense silo
Mouse("[1204,559]/5,left/5")+#big shield
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#research menu
#select
##select groups
"A.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-1/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"B.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"C.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-3/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"D.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-4/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"E.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-5/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"F.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-6/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
##select groups
#select
#structure add-ons
"all add":#add all to one
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("s/5")+
Key("i/5")+
Key("t/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one add":#TML
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"two add":#anti-aircraft
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"three add":#intel
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"four add":#shield
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#structure add-ons
#x control game
"back":#show desktop
Mimic("release")+
Function(pause_it)+
Mimic("switch"),
"fast":#maximize game speed
Mimic("release")+
Key("npmul/10")+
Key("npadd:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"change it":#host a game, toggle DLC
Mimic("release")+
Mouse("[580,950]/5,left/20")+#back
Mouse("[801,633]/5,left/40")+#okay
Mouse("[1877,742]/5,left/20")+#enable/disable DLC
Mouse("[654,781]/5,left/20")+#multiplayer
Mouse("[996,782]/5,left/40")+#host a game
Text(r"No exclusions, 6 or 8 ppl")+
Key("c-v/20")+
Key("enter/80")+
Mouse("[1326,458]/5,left/10")+
Mouse("[811,333]/5,left/5")+
Mouse("[820,593]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"game":#pause game
Mimic("release")+
Function(pause_it)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"host it":#host a game
Mimic("release")+
Mouse("[654,781]/5,left/20")+
Mouse("[996,782]/5,left/40")+
Text(r"No exclusions, 6 or 8 ppl")+
Key("c-v/20")+
Key("enter/80")+
Mouse("[1326,458]/5,left/10")+
Mouse("[811,333]/5,left/5")+
Mouse("[820,593]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"load":#load game from position one
Mimic("release")+
Key("f10/20")+
Mouse("[958,673]/5,left/40")+
Mouse("[640,380]/5,left/20")+
Mouse("[731,828]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one lob":#from game to lobby, solo
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("one","set")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two lob":#from game to lobby, skirmish
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("two","set")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"norm":#regular game speed
Mimic("release")+
Key("npmul/10")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"opt in":#show options dialogue
Mimic("release")+
Key("f10/10")+#main menu
Mouse("[961,576]/10,left/10")+#options
#Mouse("[747,432]/10,left/10")+#controls
#Mouse("[882,432]/10,left/10")+#interface
#Mouse("[1024,432]/10,left/10")+#sound
Mouse("[1167,432]/10,left/10")+#video
Mouse("[872,476]/5,left/5")+#video
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"opt out":#exit options dialog
Mouse("left/5")+
Mouse("[666,754]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"restart":#restart game
Mimic("release")+
Key("f10/50")+#menu
Mouse("[957,519]/10,left/50")+
Mouse("[807,624]/10,left/100")+#restart yes
Pause("80")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"save":#save game to position one
Mimic("release")+
Key("f10/20")+
Mouse("[951,624]/5,left/40")+
Mouse("[640,380]/5,left/25")+#edit this
Mouse("[726,824]/5,left/40")+
#Mouse("[800,631]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one set":#set up, skirmish
Mouse("[1329,462]/5,left/5")+#player location
Mouse("[811,329]/5,left/5")+#color
Mouse("[821,595]/5,left/5")+#player yellow
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[589,368]/5,left/5")+#opponent
Mouse("[583,406]/5,left/5")+#remove
Mouse("[1274,703]/5,left/5")+#victory condition
Mouse("[1233,768]/5,left/5")+#infinite
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
#Mouse("[1272,794]/5,left/5")+#explored
Mouse("[1228,817]/5,left/5")+#all visible
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+#adjustable
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two set":#set up, skirmish
Mouse("[1329,462]/5,left/5")+#player location
Mouse("[811,329]/5,left/5")+#color
Mouse("[821,595]/5,left/5")+#player yellow
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[612,371]/5,left/5")+#opponent
Mouse("[608,511]/5,left/5")+#custom
Mouse("[985,434]/5,left/5")+
Mouse("[1040,481]/5,left/5")+#hard
Mouse("[985,466]/5,left/5")+
Mouse("[1035,510]/5,left/5")+#balanced
Mouse("[845,765]/5,left/5")+#okay
Mouse("[812,367]/5,left/5")+#color
Mouse("[821,464]/5,left/5")+#AI red
Mouse("[1404,369]/5,left/5")+#set AI location
Mouse("[611,406]/5,left/20")+#second AI
Mouse("[602,549]/5,left/20")+#custom
Mouse("[984,466]/5,left/10")+#type
Mouse("[1045,554]/5,left/10")+#naval
Mouse("[841,766]/5,left/10")+#okay
Mouse("[763,407]/5,left/10")+#team
Mouse("[764,463]/5,left/10")+#2
Mouse("[812,406]/5,left/10")+#color
Mouse("[818,474]/5,left/10")+#green
Mouse("[1382,350]/5,left/10")+#position
Mouse("[1274,705]/5,left/5")+#victory
Mouse("[1247,745]/5,left/5")+#supremacy
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1272,794]/5,left/5")+#explored
#Mouse("[1228,817]/5,left/5")+#all visible
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+#adjustable
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"four set":#set up, skirmish
Mouse("[1329,462]/5,left/5")+#my location
Mouse("[811,329]/5,left/5")+#color
#Mouse("[821,427]/5,left/5")+#red
Mouse("[821,595]/5,left/5")+#yellow
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
#first AI
Mouse("[610,369]/5,left/5")+#player
Mouse("[599,511]/5,left/5")+#custom
Mouse("[984,465]/5,left/5")+#type
Mouse("[1037,534]/5,left/5")+#land
Mouse("[985,437]/5,left/5")+#profile
Mouse("[1033,481]/5,left/5")+#hard
Mouse("[842,764]/5,left/5")+#okay
Mouse("[812,368]/5,left/5")+#color
#default blue
#second AI
Mouse("[607,407]/5,left/5")+#player
Mouse("[601,549]/5,left/5")+#custom
Mouse("[985,465]/5,left/5")+#type
Mouse("[1038,551]/5,left/5")+#naval
Mouse("[842,767]/5,left/5")+#okay
Mouse("[765,406]/5,left/5")+#team
Mouse("[763,461]/5,left/5")+#2
Mouse("[811,405]/5,left/5")+#color
Mouse("[819,641]/5,left/5")+#light blue
Mouse("[1382,349]/5,left/5")+#position
#third AI
Mouse("[618,445]/5,left/5")+#player
Mouse("[611,588]/5,left/5")+#custom
Mouse("[843,765]/5,left/5")+#okay
Mouse("[765,445]/5,left/5")+#team
Mouse("[768,499]/5,left/5")+#to
Mouse("[1423,391]/5,left/5")+#position
#fourth AI
Mouse("[609,483]/5,left/5")+#player
Mouse("[585,626]/5,left/5")+#custom
Mouse("[984,465]/5,left/5")+#type
Mouse("[1027,490]/5,left/5")+#air
Mouse("[843,767]/5,left/5")+#okay
Mouse("[767,483]/5,left/5")+#team
Mouse("[767,537]/5,left/5")+#to
Mouse("[811,483]/5,left/5")+#color
Mouse("[819,690]/5,left/5")+#avocado
Mouse("[1402,369]/5,left/5")+#position
Mouse("[1274,705]/5,left/5")+#victory
Mouse("[1247,745]/5,left/5")+#supremacy
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1272,794]/5,left/5")+#explored
#Mouse("[1228,817]/5,left/5")+#all visible
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+#adjustable
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"slow":#minimize game speed
Mimic("release")+
Key("npmul/10")+
Key("npsub:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#x control game
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Wed, 09 Mar 2011 01:59
Date: Wed, 09 Mar 2011 01:59
1462 lines
45741 bytes
45741 bytes
It's a riot. One total smush today.
#a macros
"airport":#select under pointerer or nearest air factory
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-a/5")+
Key("7/5"),
"barracks":#select under pointerer or nearest land factory
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-l/5")+
Key("7/5"),
"release":#free pointer
Key("shift:up/5")+
Key("escape/5:2"),
"airport":#select nearest aircraft factory or all of same type
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-a/5")+
Key("7/5"),
"cathouse":#select nearest land factory or all of same type
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-l/5")+
Key("7/5"),
"factory":#select nearest factory or all of same type
Mouse("left:2/5")+
Key("c-7/5")+
Key("h")+
Key("7/5"),
"worker":#select under pointerer or nearest idle worker
Mouse("left/5")+
Key("c-7/5")+
Key("a-dot/5")+
Key("7/5"),
##a macros view
"basic":#view, minimap base position
Key("v/40")+
Key("comma/40")+
Key("s-w/40")+
Mouse("[1773,207]/5,left/5"),
"distant":#view, far out
#one or the other should work
Key("v/5:2/40"),
#Key("s-w/5:13/80"),
"level":#view, close-up
Mimic("release")+
#Key("v/20")+#correct angle
Key("comma/20")+
Key("s-w:1/80"),
##a macros view
#a macros
#build now
"so ant":#basic, anti-air tower
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so art":#advanced, artillery
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("f/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so arty":#advanced, long-range artillery
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so gun":#basic, point defense
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so house":#basic, land factory
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so juice":#basic, electricity
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so mass":#basic, mass
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so nuke":#advanced, anti-nuke
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("d/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so port":#basic, air factory
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so raid":#advanced, radar
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so search":#basic, research station
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so shield":#advanced, shield
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so tact":#advanced, TML
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"so vert":#advanced, mass converter
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#build now
#build pattern
"base":#startup, UEF
Key("tab/15")+#research
Mouse("[1064,365]/5,left/5")+#structure
Mouse("[733,482]/5,left/5")+#build cost
Mouse("[849,424]/5,left/5")+#build time
Key("tab/15")+
Mouse("[1797,23]/5,left/25")+#minimap
Mouse("[960,597]/5,left/5")+#commander
#keep
Key("b/5")+#commander
Key("m/5")+
Key("shift:down/5")+
Mouse("[513,889]/5,left/5")+
Mouse("[1480,930]/5,left/5")+
Mouse("[1366,454]/5,left/5")+
Mouse("[694,395]/5,left/5")+
Mouse("[696,418]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mimic("basic")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[925,429]/5,left/5")+
Mouse("[1037,439]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[972,118]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("a/5")+
Key("shift:down/5")+
#Mouse("[1299,30]/5,left/5")+
Mouse("[987,255]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mouse("[923,460]/5,left/5")+#upper
Key("b/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[1168,489]/5,left/5")+
Mouse("[718,357]/5,left/5")+
Mouse("[296,403]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Key("b/5")+
Key("r/5")+
Key("shift:down/5")+
Mouse("[397,446]/5,left/5")+
Mouse("[426,493]/5,left/5")+
Mouse("[430,547]/5,left/5")+
Mouse("[507,688]/5,left/5")+
Mouse("[502,747]/5,left/5")+
Mouse("[482,809]/5,left/5")+
Mouse("[409,880]/5,left/5")+
Mouse("[383,955]/5,left/5")+
Mouse("[455,1030]/5,left/5")+
Mouse("[466,955]/5,left/5")+
Mouse("[484,883]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
Mouse("[926,495]/5,left/5")+#lower
Key("b/5")+
Key("m/5")+
Mouse("[572,894]/5,left/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[623,895]/5,left:down/5")+
Mouse("[630,846]/5,left:up/5")+
Mouse("[579,850]/5,left/5")+
Mouse("[852,921]/5,left:down/5")+
Mouse("[855,870]/5,left:up/5")+
Mouse("[801,919]/5,left:down/5")+
Mouse("[804,868]/5,left:up/5")+
Mouse("[904,698]/5,left:down/5")+
Mouse("[902,741]/5,left:up/5")+
Mouse("[854,698]/5,left:down/5")+
Mouse("[851,743]/5,left:up/5")+
Mouse("[674,640]/5,left:down/5")+
Mouse("[672,678]/5,left:up/5")+
Mouse("[721,642]/5,left:down/5")+
Mouse("[718,684]/5,left:up/5")+
Mouse("[519,596]/5,left:down/5")+
Mouse("[510,637]/5,left:up/5")+
Mouse("[564,598]/5,left:down/5")+
Mouse("[555,638]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
#keep
Mouse("[960,600]/5")+#center
#Mimic("fast")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"next base":#research, for skirmish
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[426,493]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("r/5")+
Key("shift:down/5")+
Mouse("[397,446]/5,left/5")+
Mouse("[426,493]/5,left/5")+
Mouse("[430,547]/5,left/5")+
Mouse("[507,688]/5,left/5")+
Mouse("[502,747]/5,left/5")+
Mouse("[482,809]/5,left/5")+
Mouse("[409,880]/5,left/5")+
Mouse("[383,955]/5,left/5")+
Mouse("[455,1030]/5,left/5")+
Mouse("[466,955]/5,left/5")+
Mouse("[484,883]/5,left/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[630,846]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[623,895]/5,left:down/5")+
Mouse("[630,846]/5,left:up/5")+
Mouse("[579,850]/5,left/5")+
Mouse("[852,921]/5,left:down/5")+
Mouse("[855,870]/5,left:up/5")+
Mouse("[801,919]/5,left:down/5")+
Mouse("[804,868]/5,left:up/5")+
Mouse("[904,698]/5,left:down/5")+
Mouse("[902,741]/5,left:up/5")+
Mouse("[854,698]/5,left:down/5")+
Mouse("[851,743]/5,left:up/5")+
Mouse("[674,640]/5,left:down/5")+
Mouse("[672,678]/5,left:up/5")+
Mouse("[721,642]/5,left:down/5")+
Mouse("[718,684]/5,left:up/5")+
Mouse("[519,596]/5,left:down/5")+
Mouse("[510,637]/5,left:up/5")+
Mouse("[564,598]/5,left:down/5")+
Mouse("[555,638]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[703,230]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[697,258]/5,left:down/5")+
Mouse("[703,230]/5,left:up/5")+
Mouse("[738,261]/5,left:down/5")+
Mouse("[740,229]/5,left:up/5")+
Mouse("[919,310]/5,left:down/5")+
Mouse("[921,274]/5,left:up/5")+
Mouse("[878,308]/5,left:down/5")+
Mouse("[881,272]/5,left:up/5")+
Mouse("[675,385]/5,left:down/5")+
Mouse("[681,351]/5,left:up/5")+
Mouse("[714,388]/5,left/5")+
Mouse("[883,457]/5,left:down/5")+
Mouse("[884,419]/5,left:up/5")+
Mouse("[693,521]/5,left:down/5")+
Mouse("[696,480]/5,left:up/5")+
Mouse("[736,521]/5,left:down/5")+
Mouse("[740,479]/5,left:up/5")+
Mouse("[914,579]/5,left/5")+
Mouse("[870,580]/5,left:down/5")+
Mouse("[869,537]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"three base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[1207,343]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[1209,376]/5,left:down/5")+
Mouse("[1207,343]/5,left:up/5")+
Mouse("[1166,348]/5,left/5")+
Mouse("[1083,467]/5,left:down/5")+
Mouse("[1082,433]/5,left:up/5")+
Mouse("[1268,501]/5,left:down/5")+
Mouse("[1264,463]/5,left:up/5")+
Mouse("[1226,501]/5,left:down/5")+
Mouse("[1221,465]/5,left:up/5")+
Mouse("[1039,587]/5,left/5")+
Mouse("[1083,587]/5,left:down/5")+
Mouse("[1080,547]/5,left:up/5")+
Mouse("[1285,647]/5,left:down/5")+
Mouse("[1280,606]/5,left:up/5")+
Mouse("[1238,648]/5,left:down/5")+
Mouse("[1235,606]/5,left:up/5")+
Mouse("[1043,738]/5,left:down/5")+
Mouse("[1043,695]/5,left:up/5")+
Mouse("[1093,741]/5,left:down/5")+
Mouse("[1090,697]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"four base":
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[523,204]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("e/5")+
Key("shift:down/5")+
Mouse("[516,243]/5,left:down/5")+
Mouse("[523,204]/5,left:up/5")+
Mouse("[551,241]/5,left:down/5")+
Mouse("[561,202]/5,left:up/5")+
Mouse("[496,364]/5,left:down/5")+
Mouse("[550,366]/5,left:up/5")+
Mouse("[504,335]/5,left:down/5")+
Mouse("[555,338]/5,left:up/5")+
Mouse("[717,387]/5,left/5")+
Mouse("[676,387]/5,left:down/5")+
Mouse("[681,346]/5,left:up/5")+
Mouse("[562,490]/5,left:down/5")+
Mouse("[511,488]/5,left:up/5")+
Mouse("[524,454]/5,left:down/5")+
Mouse("[577,456]/5,left:up/5")+
Mouse("[307,374]/5,left/5")+
Mouse("[338,404]/5,left:down/5")+
Mouse("[349,364]/5,left:up/5")+
Mouse("[328,256]/5,left:down/5")+
Mouse("[316,293]/5,left:up/5")+
Mouse("[368,255]/5,left:down/5")+
Mouse("[353,295]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one vert":#mass converter group
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[839,302]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[797,425]/5,left:down/5")+
Mouse("[765,424]/5,left:up/5")+
Mouse("[771,407]/5,left:down/5")+
Mouse("[831,404]/5,left:up/5")+
Mouse("[824,425]/5,left:down/5")+
Mouse("[823,449]/5,left:up/5")+
Mouse("[797,445]/5,left:down/5")+
Mouse("[759,446]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two vert":#mass converter group
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
Mimic("basic")+
Mouse("[839,302]/5")+
Key("a-dot/5")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("shift:down/5")+
Mouse("[697,423]/5,left:down/5")+
Mouse("[729,425]/5,left:up/5")+
Mouse("[693,445]/5,left:down/5")+
Mouse("[728,444]/5,left:up/5")+
Mouse("right")+
Key("shift:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#build pattern
#build queue
"ant":#basic, anti-air tower
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"art":#advanced, artillery
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("f/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"arty":#advanced, artillery
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"gun":#basic, point defense
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("p/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"house":#basic, land factory
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("l/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"juice":#basic, electricity
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"mass":#basic, mass
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"more arty [<n>]":#advanced, artillery
(
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("l/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left/5")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"more juice [<n>]":#basic, electricity
(
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("e/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left/5")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"nuke":#advanced, anti-nuke
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("d/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"port":#basic, air factory
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("a/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"raid":#advanced, radar
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"search":#basic, research station
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("1/5")+
Key("r/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"shield":#advanced, shield
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"tact":#advanced, TML
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"vert":#advanced, mass converter
Mimic("release")+
Mimic("worker")+
Key("b/5")+
Key("2/5")+
Key("m/5")+
Key("b/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#build queue
#mouse stuff
"G. 1":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("100")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 2":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 3":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("300")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 4":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("400")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"large":#select large area
Mimic("release")+
Mouse("<-200,-200>/5")+
Mouse("left:down/5")+
Mouse("<300,300>/5")+
Mouse("left:up/5"),
"once":#click
Mimic("release")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"small":#select small area
Mimic("release")+
Mouse("<-50,-50>/5")+
Mouse("left:down/5")+
Mouse("<100,100>/5")+
Mouse("left:up/5"),
"twice":#double-click
Mimic("release")+
Mouse("left:2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#mouse stuff
#orders
"all pause":#pause all factories
Mimic("release")+
Key("cs-a/80")+
Key("c-z/5")+
Function(get_position)+
Mouse("[926,1075]/5,left/5")+
Key("cs-l/80")+
Key("c-z/5")+
Mouse("[926,1075]/5,left/5")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"cap":#capture object now
Mimic("release")+
Mimic("worker")+
Key("s/5")+
Key("c/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"charge":#commander overcharge
Mimic("release")+
Key("a-comma/5")+
Key("o/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"check":#check nuke missiles
Mimic("release")+
Mouse("left/5")+
Mouse("[110,1174]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"claim":#point/select, reclaim, point, now
Mimic("release")+
Mimic("worker")+
Key("s/5")+
Key("e/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"com":#commander, to point, now
Mimic("release")+
Key("a-comma/5")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"cop":#commander, to point, queued
Mimic("release")+
Key("a-comma/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"fight":#all air units, to point, now
Mimic("release")+
Key("c-a/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"fill":#convert energy to mass
Mimic("release")+
Mouse("left:2/20")+
Mouse("[294,1142]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"filler":#convert energy to mass
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up/40")+
Mouse("[294,1142]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"hard":#units under pointer, harden artillery
#Function(get_position)+
Mimic("release")+
Mouse("left:2/40")+
Mouse("[291,1146]/5,left/5")+
#Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"jump":#commander, jump/teleport
Mimic("release")+
Key("a-comma")+
Key("c-j")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"kill":#all land units, to point, now
Mimic("release")+
Key("c-l/5")+
Key("c-8/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"look":#examine factory additions
Mimic("release")+
Key("h/5")+
Key("b/5")+
Key("2/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"loop [<n>]":#idle workers, to point, patrol, to point
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/25")
)
*Repeat(extra="n")+
Key("p/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"move":#unit under pointer, to point, now
Mimic("release")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"moves":#units under pointer, to point, now
Mimic("release")+
Mouse("left:2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"no [<n>]":#remove waypoint under pointerer
Mimic("release")+
(
Key("ctrl:down/5")+
Key("shift:down/5")+
Mouse("right/5")+
Key("shift:up/5")+
Key("ctrl:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"quickly":#selected, to point, now
Key("shift:up/15")+
Mouse("right/15")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"pause":#pause factories
Mimic("release")+
Key("h/80")+
Key("c-z/5")+
Function(get_position)+
Mouse("[926,1075]/5,left/5")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"round":#selected, patrol queue
Key("p/5")+
Key("shift:down/5")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"spread":#all units under pointer, paint enemy
Mimic("release")+
Mouse("left:2/5")+
Key("s/5")+
Key("c-7/5")+
Mouse("right:down/40")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"stop":#stop unit or building
Mimic("release")+
Mouse("left/5")+
Key("s/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"slowly":#selected, to point, queue
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"track":#stop tracking
Mimic("release")+
Key("t/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"use [<n>]":#select, use group now
Mimic("release")+
Text('%(n)s')+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"walk":#unit under pointer, to point, queued
Mimic("release")+
Mimic("worker")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"wait":#pause unit under pointer
Mimic("release")+
Mouse("left/80")+
Mouse("[937,1084]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"work [<n>]":#idle workers, to point, now
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/25")
)
*Repeat(extra="n")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#orders
#produce
"dog [<n>]":#worker
Mimic("release")+
Mimic("factory")+
#Key("s/5")+
Key("b/5")+
(
Key("e/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("150")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"fly [<n>]":#fighter
Mimic("release")+
Mimic("airport")+
#Key("s/5")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("150")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"force [<n>]":#fighters, to rally point
#needs work
Mimic("release")+
Mouse("left/5")+
#Key("s/5")+
Mimic("basic")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"tank [<n>]":#tank
Mimic("release")+
Mimic("cathouse")+
#Key("s/5")+
Key("b/5")+
(
Key("t/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("150")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#produce
#research menu
"show":#show the menu
Mimic("release")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one air":#air
Mimic("release")+
Key("tab/5")+
Mouse("[850,367]/5,left/5")+
Mouse("[736,653]/5,left/5")+
Mouse("[959,650]/5,left/5")+
Mouse("[1072,651]/5,left/5")+
Mouse("[846,596]/5,left/5")+
Mouse("[868,727]/5,left/5")+#health
Mouse("[1092,726]/5,left/5")+#regeneration
Mouse("[756,503]/5,left/5")+#radar
Mouse("[868,447]/5,left/5")+#vision
Mouse("[981,727]/5,left/5")+#heavy shield
Mouse("[757,783]/5,left/5")+#training one
Mouse("[868,782]/5,left/5")+#training two
Mouse("[981,784]/5,left/5")+#training three
Mouse("[1094,785]/5,left/5")+#training four
Mouse("[1205,783]/5,left/5")+#training five
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one art":#artillery
Mimic("release")+
Key("tab/5")+
Mouse("[1060,365]/5,left/5")+#structure
Mouse("[737,654]/5,left/5")+#radar
Mouse("[849,652]/5,left/5")+#short artillery
Mouse("[959,651]/5,left/5")+#range
Mouse("[960,597]/5,left/5")+#harden
Mouse("[1074,596]/5,left/5")+#long artillery
Mouse("[962,706]/5,left/5")+#mass and research canons
Mouse("[1070,707]/5,left/5")+#mass and research stations
antiaircraft
Mouse("[1206,728]/5,left/5")+#engineering tower
Mouse("[1128,651]/5,left/5")+#disruptor
Mouse("[1183,594]/5,left/5")+#noah cannon
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#make one for long range artillery
"two art":#artillery
Mimic("release")+
Key("tab/5")+
Mouse("[744,365]/5,left/5")+#land
Mouse("[737,539]/5,left/5")+#range
Mouse("[848,486]/5,left/5")+#demolisher
Mouse("[960,484]/5,left/5")+#fat boy
Mouse("[1072,542]/5,left/5")+#stacked canon
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one com":#commander
Mimic("release")+
Key("tab/5")+
Mouse("[1169,363]/5,left/5")+#acu
Mouse("[732,536]/5,left/5")+#health 1
Mouse("[791,487]/5,left/5")+#regeneration
Mouse("[792,651]/5,left/5")+#damage
Mouse("[900,649]/5,left/5")+#weapon range
Mouse("[902,540]/5,left/5")+#vision
Mouse("[1013,536]/5,left/5")+#jump jets 1
Mouse("[1127,535]/5,left/5")+#jump jets 2
Mouse("[902,483]/5,left/5")+#hunker 1
Mouse("[955,427]/5,left/5")+#health 2
Mouse("[1069,426]/5,left/5")+#anti-air
Mouse("[1014,483]/5,left/5")+#hunker 2
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two com":#commander
Mimic("release")+
Key("tab/5")+
Mouse("[1169,363]/5,left/5")+#acu
Mouse("[1012,651]/5,left/5")+#tactical missile launcher
Mouse("[1012,705]/5,left/5")+#energy income
Mouse("[1124,650]/5,left/5")+#artillery
Mouse("[1126,703]/5,left/5")+#overcharge
Mouse("[734,764]/5,left/5")+#training 1
Mouse("[843,761]/5,left/5")+#training 2
Mouse("[957,759]/5,left/5")+#training 3
Mouse("[1068,763]/5,left/5")+#training 4
Mouse("[1179,764]/5,left/5")+#training 5
Mouse("[1014,595]/5,left/5")+#radar
Mouse("[1124,593]/5,left/5")+#radar jammer
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one mass":#mass converter
Mimic("release")+
Key("tab/5")+
Mouse("[1060,365]/5,left/5")+#structure
Mouse("[960,485]/5,left/5")+#research income
Mouse("[1071,427]/5,left/5")+#mass income
Mouse("[1205,447]/5,left/5")+#mass converter
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one shield":#nuke offense/defense
Mimic("release")+
Key("tab/5")+
Mouse("[1065,366]/5,left/5")+#structure
Mouse("[739,501]/5,left/5")+#build cost
Mouse("[848,558]/5,left/5")+#health
Mouse("[961,557]/5,left/5")+#shield
#Mouse("[1073,500]/5,left/5")+#nuke missile silo
Mouse("[1073,556]/5,left/5")+#nuke defense silo
#Mouse("[1204,559]/5,left/5")+#big shield
Pause("160")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#research menu
#select
##select groups
"A.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-1/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"B.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"C.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-3/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"D.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-4/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"E.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-5/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"F.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-6/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
##select groups
#select
#structure add-ons
"all add":#add all to one
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("s/5")+
Key("i/5")+
Key("t/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one add":#TML
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"two add":#anti-aircraft
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"three add":#intel
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
"four add":#shield
Mimic("release")+
Mimic("factory")+
Key("s/5")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav"),
#structure add-ons
#x control game
"AI":#fill game with AI opponents
Function(get_position)+
Mouse("left/5")+#first AI
Mouse("<-100,100>/5,left/5")+#hard
Function(set_position)+
Mouse("<47,0>/5,left/5")+#team
Mouse("<0,53>/5,left/5")+#2
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("200")+
Function(get_position)+
Mouse("left/5")+#second AI
Mouse("<-100,100>/5,left/5")+#hard
Function(set_position)+
Mouse("<47,0>/5,left/5")+#team
Mouse("<0,34>/5,left/5")+#1
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"back":#show desktop
Mimic("release")+
Function(pause_it)+
Mimic("switch"),
"fast":#maximize game speed
Mimic("release")+
Key("npmul/10")+
Key("npadd:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"change it":#host a game, toggle DLC
#Mimic("release")+
Mouse("[580,950]/5,left/40")+#back
Mouse("[801,633]/5,left/40")+#okay
Mouse("[1877,742]/5,left/80")+#enable/disable DLC
Mimic("host","it")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"game":#pause game
Mimic("release")+
Function(pause_it)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"host it":#host a game
Mimic("release")+
Mouse("[654,781]/5,left/20")+
Mouse("[996,782]/5,left/40")+
Text(r"no exclusions, 3v3 or 4v4")+
Pause("20")+
#Key("c-v/20")+
Key("enter/80")+
Mouse("[1326,458]/5,left/10")+
Mouse("[811,333]/5,left/5")+
Mouse("[820,593]/5,left/5")+
Mimic("game","set")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"menu":#from game to main menu
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one load":#load game from position one
Mimic("release")+
Key("f10/20")+
Mouse("[958,673]/5,left/40")+
Mouse("[640,380]/5,left/20")+
Mouse("[731,828]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two load":#load game from position one
Mimic("release")+
Key("f10/20")+
Mouse("[958,673]/5,left/40")+
Mouse("[678,409]/5,left/20")+
#Mouse("[640,380]/5,left/20")+
Mouse("[731,828]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one lob":#from game to lobby, solo
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("one","set")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two lob":#from game to lobby, skirmish
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("two","set")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"norm":#regular game speed
Mimic("release")+
Key("npmul/10")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"opt in":#show options dialogue
Mimic("release")+
Key("f10/10")+#main menu
Mouse("[961,576]/10,left/10")+#options
#Mouse("[747,432]/10,left/10")+#controls
#Mouse("[882,432]/10,left/10")+#interface
#Mouse("[1024,432]/10,left/10")+#sound
Mouse("[1167,432]/10,left/10")+#video
Mouse("[872,476]/5,left/5")+#video
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"opt out":#exit options dialog
Mouse("left/5")+
Mouse("[666,754]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"another":#do another replay
Key("f10/40")+#options
Mouse("[954,726]/5,left/40")+#end game
Mouse("[796,632]/5,left/80")+#confirm
Mouse("[667,884]/5,left/40")+#extras
Mouse("[977,834]/5,left/40")+#replays
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"restart":#restart game
Mimic("release")+
Key("f10/50")+#menu
Mouse("[957,519]/10,left/50")+
Mouse("[807,624]/10,left/100")+#restart yes
Pause("80")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"save":#save game to position one
Mimic("release")+
Key("f10/20")+
Mouse("[951,624]/5,left/40")+
Mouse("[640,380]/5,left/25")+#edit this
Mouse("[726,824]/5,left/40")+
#Mouse("[800,631]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one set":#set up, skirmish
Mouse("[1329,462]/5,left/5")+#player location
Mouse("[811,329]/5,left/5")+#color
#Mouse("[820,397]/5,left/5")+#green
Mouse("[821,622]/5,left/5")+#orange
#Mouse("[821,427]/5,left/5")+#red
#Mouse("[821,595]/5,left/5")+#yellow
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[589,368]/5,left/5")+#opponent
Mouse("[583,406]/5,left/5")+#remove
Mouse("[1274,703]/5,left/5")+#victory condition
Mouse("[1233,768]/5,left/5")+#infinite
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1272,794]/5,left/5")+#explored
#Mouse("[1228,817]/5,left/5")+#all visible
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+#adjustable
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two set":#set up, skirmish
Mouse("[1329,462]/5,left/5")+#player location
Mouse("[811,329]/5,left/5")+#color
Mouse("[821,595]/5,left/5")+#player yellow
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[612,371]/5,left/5")+#opponent
Mouse("[608,511]/5,left/5")+#custom
Mouse("[985,434]/5,left/5")+
Mouse("[1040,481]/5,left/5")+#hard
Mouse("[985,466]/5,left/5")+
Mouse("[1035,510]/5,left/5")+#balanced
Mouse("[845,765]/5,left/5")+#okay
Mouse("[812,367]/5,left/5")+#color
Mouse("[821,464]/5,left/5")+#AI red
Mouse("[1404,369]/5,left/5")+#set AI location
Mouse("[611,406]/5,left/20")+#second AI
Mouse("[602,549]/5,left/20")+#custom
Mouse("[984,466]/5,left/10")+#type
Mouse("[1045,554]/5,left/10")+#naval
Mouse("[841,766]/5,left/10")+#okay
Mouse("[763,407]/5,left/10")+#team
Mouse("[764,463]/5,left/10")+#2
Mouse("[812,406]/5,left/10")+#color
Mouse("[818,474]/5,left/10")+#green
Mouse("[1382,350]/5,left/10")+#position
Mouse("[1274,705]/5,left/5")+#victory
Mouse("[1247,745]/5,left/5")+#supremacy
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1272,794]/5,left/5")+#explored
#Mouse("[1228,817]/5,left/5")+#all visible
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+#adjustable
#Mouse("[1287,819]/5,left/5")+#normal
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"four set":#set up, four enemy skirmish
Mouse("[1329,462]/5,left/5")+#my location
Mouse("[811,329]/5,left/5")+#color
#Mouse("[820,397]/5,left/5")+#green
Mouse("[821,622]/5,left/5")+#orange
#Mouse("[821,427]/5,left/5")+#red
#Mouse("[821,595]/5,left/5")+#yellow
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
#first AI
Mouse("[610,369]/5,left/5")+#player
Mouse("[599,511]/5,left/5")+#custom
Mouse("[984,465]/5,left/5")+#type
Mouse("[1037,534]/5,left/5")+#land
Mouse("[985,437]/5,left/5")+#profile
Mouse("[1033,481]/5,left/5")+#hard
Mouse("[842,764]/5,left/5")+#okay
Mouse("[812,368]/5,left/5")+#color
#default blue
#second AI
Mouse("[607,407]/5,left/5")+#player
Mouse("[601,549]/5,left/5")+#custom
Mouse("[985,465]/5,left/5")+#type
Mouse("[1038,551]/5,left/5")+#naval
Mouse("[842,767]/5,left/5")+#okay
Mouse("[765,406]/5,left/5")+#team
Mouse("[763,461]/5,left/5")+#2
Mouse("[811,405]/5,left/5")+#color
Mouse("[819,641]/5,left/5")+#light blue
Mouse("[1382,349]/5,left/5")+#position
#third AI
Mouse("[618,445]/5,left/5")+#player
Mouse("[611,588]/5,left/5")+#custom
Mouse("[843,765]/5,left/5")+#okay
Mouse("[765,445]/5,left/5")+#team
Mouse("[768,499]/5,left/5")+#to
Mouse("[1423,391]/5,left/5")+#position
#fourth AI
Mouse("[609,483]/5,left/5")+#player
Mouse("[585,626]/5,left/5")+#custom
Mouse("[984,465]/5,left/5")+#type
Mouse("[1027,490]/5,left/5")+#air
Mouse("[843,767]/5,left/5")+#okay
Mouse("[767,483]/5,left/5")+#team
Mouse("[767,537]/5,left/5")+#to
Mouse("[811,483]/5,left/5")+#color
Mouse("[819,690]/5,left/5")+#avocado
Mouse("[1402,369]/5,left/5")+#position
Mouse("[1274,705]/5,left/5")+#victory
Mouse("[1247,745]/5,left/5")+#supremacy
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1272,794]/5,left/5")+#explored
#Mouse("[1228,817]/5,left/5")+#all visible
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+#adjustable
#Mouse("[1287,819]/5,left/5")+#normal
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"game set":#set up, skirmish
Mouse("[1329,462]/5,left/5")+#my location
Mouse("[811,329]/5,left/5")+#color
#Mouse("[820,397]/5,left/5")+#green
Mouse("[821,622]/5,left/5")+#orange
#Mouse("[821,427]/5,left/5")+#red
#Mouse("[821,595]/5,left/5")+#yellow
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[1274,705]/5,left/5")+#victory
Mouse("[1247,745]/5,left/5")+#supremacy
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1267,750]/5,left/5")+#rush timer
Mouse("[1246,771]/5,left/5")+#off
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1272,794]/5,left/5")+#explored
#Mouse("[1228,817]/5,left/5")+#all visible
Mouse("[1276,798]/5,left/5")+#speed
#Mouse("[1245,863]/5,left/5")+#adjustable
Mouse("[1287,819]/5,left/5")+#normal
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"slow":#minimize game speed
Mimic("release")+
Key("npmul/10")+
Key("npsub:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#x control game
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Wed, 23 Mar 2011 04:52
Date: Wed, 23 Mar 2011 04:52
35 lines
1813 bytes
1813 bytes
"shuffle":#switches to idle worker, if any
Key("a-dot/5")+
Key("c-9/5")+
Key("8/5")+
Key("9/5")+
Key("c-8/5")+
Key("c-9/5"),
... select an idle engineer, if any
... assign group number 9 to the selected engineer
... select group 8, then select group 9
... assign group numbers 8 and 9 to the selected engineer
That macro allows building any number of structures, quickly as
possible.
To build ten artillery with five available engineers...
... the first idle engineer is selected and used to build the
first structure
... the next engineer is selected and used to build the second
structure
... and so on
... the fifth/last idle engineer is used to build the fifth
through tenth structures
In other words... The macro uses an idle engineer unless there is
no idle engineer, in which case it adds the commands to the last
used engineer.
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Thu, 31 Mar 2011 07:28
Date: Thu, 31 Mar 2011 07:28
1821 lines
51183 bytes
51183 bytes
Sometimes there are problems with fast automated input, sometimes
the game does not see it well as manual input.
"ant[<n>]":#basic, anti-air tower
Mimic("release")+
Key("a-dot")+
(
Key("b")+
Key("1")+
Key("t")+
Key("b")+
Key("shift:down")+
Mouse("left:2")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
That script grabs an idle worker and instantly lays down from one
to nine (depending on the number you say after "ant") antiaircraft
towers, around the current pointer location. For some strange
reason, an extra click is required. A double-click is used instead
of a single click in that example.
The scripts run much faster than before, most of the timing was
removed. I am having some luck figuring out how to work around the
input problems (as shown above) without using Pause(). Voice
automated scripting (and wrist braces) makes RTS a strategy gaming
paradise for this scripter/gamer.
This is my current set of scripts for Supreme Commander 2,
in Python programming format.
#"beep" timing and/or repeat
#"whiht1" the pointer has been moved
#"dungk1" shift is held down
#"boop" no keys are held
#"all under pointer" double click selected units on screen
#
#
#
"test[<n>]":
Mimic("pattern")+
Mouse("[1773,195]/5,left/20")+
Key("a-dot/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#a macros
"airport":#all under pointer or nearest air factory
Mouse("left:2/5")+
Key("c-7/5")+
Key("cs-a/5")+
Key("7/5"),
"barrack":#nearest land factory or all under pointer
Mouse("left:2")+
Key("c-7")+
Key("cs-l")+
Key("7"),
"factory":#nearest factory or all under pointer
Mouse("left:2")+
Key("c-7")+
Key("h")+
Key("7"),
"release":#free pointer
Key("shift:up")+
Key("escape:2"),
"shuffle":#switches to idle worker, if any
Key("a-dot")+
Key("c-9")+
Key("8")+
Key("9")+
Key("c-8")+
Key("c-9")+
Pause("90"),
"worker":#select under pointer or nearest idle worker
Mouse("left")+
Key("c-7")+
Key("a-dot")+
Key("7"),
##a macros view
"nearest":#view, nearest (plus w)
Key("v/10")+
Key("s-q:13/40")+
Key("w/10"),
"farthest":#view, farthest
Key("v/10")+#correct angle
Key("s-w:13/40"),
"pattern":#main
Key("v/10")+
Key("s-q:13/40")+
Key("s-w/10")+
Mouse("[1774,207],left/20"),
##a macros view
#a macros
#build now
"so ant":#basic, anti-air tower
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("1")+
Key("t")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so gun":#basic, point defense
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("1")+
Key("p")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so house":#basic, land factory
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("1")+
Key("l")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so juice":#basic, electricity
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so long":#advanced, long-range artillery
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("2")+
Key("l")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so mass":#basic, mass
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("1")+
Key("m")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so nuke":#advanced, anti-nuke
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("2")+
Key("d")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so port":#basic, air factory
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("1")+
Key("a")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so raid":#advanced, radar
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("2")+
Key("r")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so search":#basic, research station
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("1")+
Key("r")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so shield":#advanced, shield
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("2")+
Key("s")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so short":#advanced, short range artillery
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("2")+
Key("f")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so tact":#advanced, TML
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("2")+
Key("t")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"so vert":#advanced, mass converter
Mimic("release")+
Mouse("left")+
Key("s")+
Key("b")+
Key("2")+
Key("m")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
#build now
#build pattern
"alpha":#pattern, startup position
Key("tab/15")+#research
Mouse("[1064,365]/5,left/5")+#structure
Mouse("[733,482]/5,left/5")+#build cost
Mouse("[849,424]/5,left/5")+#build time
Key("tab/15")+
Mouse("[1797,23]/5,left/20")+#minimap
Mouse("[960,597]/5,left/5")+#commander
#keep
Key("b")+
Key("1")+
Key("m")+
Key("b")+
Key("shift:down")+
Mouse("[1483,940],left")+
Mouse("[1358,458],left")+
Mouse("[692,415],left")+
Mouse("right")+
Key("shift:up")+
Mouse("[664,418],left")+#upper
Key("c-1")+
Mouse("[623,593],left")+#lower
Key("c-2")+
Key("b")+
Key("1")+
Key("m")+
Key("b")+
Mouse("[513,910],left")+
Mimic("pattern")+
Key("1")+#upper
Key("b")+
Key("1")+
Key("m")+
Key("b")+
Key("shift:down")+
Mouse("[627,317],left")+
Mouse("[114,370],left")+
Mouse("[403,968],left")+
Mouse("right")+
Key("shift:up")+
Key("m")+
Key("shift:down")+
Mouse("[695,631],left")+
Key("shift:up")+
Key("b")+
Key("1")+
Key("r")+
Key("b")+
Key("shift:down")+
Mouse("[668,561],left")+
Mouse("[760,559],left")+
Mouse("[755,633],left")+
Mouse("[747,711],left")+
Mouse("right")+
Key("shift:up")+
Key("m")+
Key("shift:down")+
Mouse("[608,430],left")+
Key("shift:up")+
Key("b")+
Key("1")+
Key("r")+
Key("b")+
Key("shift:down")+
Mouse("[586,369],left")+
Mouse("[670,372],left")+
Mouse("[662,428],left")+
Mouse("[653,491],left")+
Mouse("right")+
Key("shift:up")+
Key("2")+#lower
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[724,479],left:down")+
Mouse("[730,436],left:up")+
Mouse("[778,479],left:down")+
Mouse("[781,436],left:up")+
Mouse("right")+
Key("shift:up")+
Key("b")+
Key("1")+
Key("a")+
Key("b")+
Key("shift:down")+
Mouse("[772,377],left")+
Mouse("right")+
Key("shift:up")+
Mouse("[927,474],left")+#commander
Key("b")+
Key("1")+
Key("m")+
Key("b")+
Key("shift:down")+
Mouse("[1165,338],left")+
Mouse("[928,141],left")+
Mouse("right")+
Key("shift:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"bravo":#electricity generators
Mimic("release")+
Mimic("pattern")+
Key("a-dot")+
Mouse("[547,1052]")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[630,1054],left:down")+
Mouse("[547,1052],left:up")+
Mouse("[637,991],left:down")+
Mouse("[555,989],left:up")+
Mouse("right")+
Key("shift:up")+
Mouse("[960,600]")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[488,722],left:down")+
Mouse("[557,720],left:up")+
Mouse("[481,771],left:down")+
Mouse("[551,770],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[432,497],left:down")+
Mouse("[489,498],left:up")+
Mouse("[419,540],left:down")+
Mouse("[483,540],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[233,265],left:down")+
Mouse("[213,301],left:up")+
Mouse("[278,265],left:down")+
Mouse("[263,303],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[512,346],left:down")+
Mouse("[523,305],left:up")+
Mouse("[464,345],left:down")+
Mouse("[475,307],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[589,161],left:down")+
Mouse("[539,161],left:up")+
Mouse("[583,189],left:down")+
Mouse("[534,187],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[1372,414],left:down")+
Mouse("[1362,373],left:up")+
Mouse("[1322,414],left:down")+
Mouse("[1314,370],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[1317,666],left:down")+
Mouse("[1380,664],left:up")+
Mouse("[1304,622],left:down")+
Mouse("[1373,621],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[1103,481],left:down")+
Mouse("[1171,479],left:up")+
Mouse("[1105,521],left:down")+
Mouse("[1169,518],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[841,658],left:down")+
Mouse("[844,606],left:up")+
Mouse("[899,659],left:down")+
Mouse("[899,608],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[1077,861],left:down")+
Mouse("[1000,861],left:up")+
Mouse("[1073,807],left:down")+
Mouse("[1004,807],left:up")+
Mouse("right")+
Key("shift:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"charlie":#mass converters
Mimic("release")+
Mimic("pattern")+
Mouse("[290,665]")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("m")+
Key("b")+
Key("shift:down")+
Mouse("[421,603],left:down")+
Mouse("[333,601],left:up")+
Mouse("right")+
Key("shift:up")+
Mouse("[290,665]")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("m")+
Key("b")+
Key("shift:down")+
Mouse("[408,657],left:down")+
Mouse("[305,654],left:up")+
Mouse("right")+
Key("shift:up")+
Mouse("[290,665]")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("m")+
Key("b")+
Key("shift:down")+
Mouse("[394,713],left:down")+
Mouse("[291,712],left:up")+
Mouse("right")+
Key("shift:up")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"delta":#fortified artillery defense
Mimic("release")+
Mimic("nearest")+
Mouse("[1776,191],left/20")+
Mouse("[990,500]")+
Key("a-dot")+
Key("m")+
Mouse("[873,577],left")+
Key("b")+
Key("2")+
Key("f")+
Key("b")+
Key("shift:down")+
Mouse("[1096,432],left:down")+
Mouse("[878,428],left:up")+
Mouse("[1103,495],left:down")+
Mouse("[876,496],left:up")+
Mouse("[1111,578],left:down")+
Mouse("[821,571],left:up")+
Mouse("right")+
Key("shift:up")+
Mouse("[990,500]")+
Key("a-dot")+
Key("m")+
Mouse("[1246,764],left")+
Key("b")+
Key("2")+
Key("f")+
Key("b")+
Key("shift:down")+
Mouse("[994,667],left:down")+
Mouse("[1141,666],left:up")+
Mouse("[1128,763],left:down")+
Mouse("[1350,576],left:up")+
Mouse("[1230,577],left:down")+
Mouse("[1216,484],left:up")+
Mouse("right")+
Key("shift:up")+
Mouse("[990,500]")+
Key("a-dot")+
Key("m")+
Mouse("[784,308],left")+
Key("b")+
Key("2")+
Key("f")+
Key("b")+
Key("shift:down")+
Mouse("[780,364],left:down")+
Mouse("[1008,377],left:up")+
Mouse("[888,314],left:down")+
Mouse("[631,436],left:up")+
Mouse("[773,424],left:down")+
Mouse("[762,512],left:up")+
Mouse("right")+
Key("shift:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"echo":
Mimic("release")+
Mimic("pattern")+
Mouse("[761,560]")+
Key("a-dot")+
Key("e")+
Key("shift:down")+
Mouse("[761,560],left")+
Mouse("[755,634],left")+
Mouse("[748,711],left")+
Mouse("[668,558],left")+
Mouse("right")+
Key("shift:up")+
Mouse("[651,491]")+
Key("a-dot")+
Key("e")+
Key("shift:down")+
Mouse("[651,491],left")+
Mouse("[663,426],left")+
Mouse("[672,367],left")+
Mouse("[585,363],left")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"yankee":#main view
Mimic("release")+
Mimic("pattern")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"zulu":#rebuild base
Mimic("release")+
Mimic("pattern")+
Mouse("[627,317]")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("m")+
Key("b")+
Key("shift:down")+
Mouse("[627,317],left")+
Mouse("[114,370],left")+
Mouse("[403,968],left")+
Mouse("right")+
Key("shift:up")+
Mouse("[857,531]")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("m")+
Key("b")+
Key("shift:down")+
Mouse("[857,531],left")+
Mouse("[1004,541],left")+
Mouse("[870,431],left")+
Mouse("[1010,443],left")+
Mouse("[1165,338],left")+
Mouse("[928,141],left")+
Mouse("right")+
Key("shift:up")+
Key("b")+
Key("1")+
Key("a")+
Key("b")+
Key("shift:down")+
Mouse("[772,377],left")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[724,479],left:down")+
Mouse("[730,436],left:up")+
Mouse("[778,479],left:down")+
Mouse("[781,436],left:up")+
Mouse("[841,658],left:down")+
Mouse("[844,606],left:up")+
Mouse("[899,659],left:down")+
Mouse("[899,608],left:up")+
Mouse("[1077,861],left:down")+
Mouse("[1000,861],left:up")+
Mouse("[1073,807],left:down")+
Mouse("[1004,807],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[630,1054],left:down")+
Mouse("[547,1052],left:up")+
Mouse("[637,991],left:down")+
Mouse("[555,989],left:up")+
Mouse("[488,722],left:down")+
Mouse("[557,720],left:up")+
Mouse("[481,771],left:down")+
Mouse("[551,770],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[432,497],left:down")+
Mouse("[489,498],left:up")+
Mouse("[419,540],left:down")+
Mouse("[483,540],left:up")+
Mouse("[233,265],left:down")+
Mouse("[213,301],left:up")+
Mouse("[278,265],left:down")+
Mouse("[263,303],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[589,161],left:down")+
Mouse("[539,161],left:up")+
Mouse("[583,189],left:down")+
Mouse("[534,187],left:up")+
Mouse("[512,346],left:down")+
Mouse("[523,305],left:up")+
Mouse("[464,345],left:down")+
Mouse("[475,307],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("[1372,414],left:down")+
Mouse("[1362,373],left:up")+
Mouse("[1322,414],left:down")+
Mouse("[1314,370],left:up")+
Mouse("[1317,666],left:down")+
Mouse("[1380,664],left:up")+
Mouse("[1304,622],left:down")+
Mouse("[1373,621],left:up")+
Mouse("[1103,481],left:down")+
Mouse("[1171,479],left:up")+
Mouse("[1105,521],left:down")+
Mouse("[1169,518],left:up")+
Mouse("right")+
Key("shift:up")+
Key("a-dot")+
Key("m")+
Key("shift:down")+
Mouse("[695,631],left")+
Key("shift:up")+
Key("b")+
Key("1")+
Key("r")+
Key("b")+
Key("shift:down")+
Mouse("[668,561],left")+
Mouse("[760,559],left")+
Mouse("[755,633],left")+
Mouse("[747,711],left")+
Mouse("right")+
Key("shift:up")+
Key("m")+
Key("shift:down")+
Mouse("[608,430],left")+
Key("shift:up")+
Key("b")+
Key("1")+
Key("r")+
Key("b")+
Key("shift:down")+
Mouse("[586,369],left")+
Mouse("[670,372],left")+
Mouse("[662,428],left")+
Mouse("[653,491],left")+
Mouse("right")+
Key("shift:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#build pattern
#build queue
"ant[<n>]":#basic, anti-air tower
Mimic("release")+
Key("a-dot")+
(
Key("b")+
Key("1")+
Key("t")+
Key("b")+
Key("shift:down")+
Mouse("left:2")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"gun[<n>]":#basic, point defense
Mimic("release")+
Key("a-dot")+
(
Key("b")+
Key("1")+
Key("p")+
Key("b")+
Key("shift:down")+
Mouse("left:2")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"house":#basic, land factory
Mimic("release")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("l")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"juice[<n>]":#basic, electricity
Mimic("release")+
Mouse("left:2")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Pause("20")+
Key("shift:down")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
(
Pause("100")
)
*Repeat(extra="n")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"juicer[<n>]":#basic, electricity
(
Mimic("release")+
Mouse("left:2")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("e")+
Key("b")+
Key("shift:down")+
Mouse("left")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"long[<n>]":#advanced, long-range artillery
Mimic("release")+
Mouse("left:2")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("l")+
Key("b")+
Pause("20")+
Key("shift:down")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
(
Pause("100")
)
*Repeat(extra="n")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"longer[<n>]":#advanced, long-range artillery
(
Mimic("release")+
Mouse("left:2")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("l")+
Key("b")+
Key("shift:down")+
Mouse("left")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"mass":#basic, mass
Mimic("release")+
Mouse("left:2")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("m")+
Key("b")+
Key("shift:down")+
Mouse("left")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"nuke":#advanced, anti-nuke
Mimic("release")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("d")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"port":#basic, air factory
Mimic("release")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("a")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"raid":#advanced, radar
Mimic("release")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("r")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"search":#basic, research station
Mimic("release")+
Key("a-dot")+
Key("b")+
Key("1")+
Key("r")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"shield":#advanced, shield
Mimic("release")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("s")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"short[<n>]":#advanced, short range artillery
Mimic("release")+
Mouse("left:2")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("f")+
Key("b")+
Pause("20")+
Key("shift:down")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
(
Pause("100")
)
*Repeat(extra="n")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"shorter[<n>]":#advanced, short range artillery
(
Mimic("release")+
Mouse("left:2")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("f")+
Key("b")+
Key("shift:down")+
Mouse("left")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"vert":#advanced, mass converter
Mimic("release")+
Key("a-dot")+
Key("b")+
Key("2")+
Key("m")+
Key("b")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
#build queue
#mouse stuff
"G. 1":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("100")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 2":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 3":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("300")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"G. 4":#timed, usually for placing buildings
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("400")+
Mouse("left:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"large":#select large area
Mimic("release")+
Mouse("<-200,-200>/5")+
Mouse("left:down/5")+
Mouse("<300,300>/5")+
Mouse("left:up/5"),
"once":#click
Mimic("release")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"small":#select small area
Mimic("release")+
Mouse("<-50,-50>/5")+
Mouse("left:down/5")+
Mouse("<100,100>/5")+
Mouse("left:up/5"),
"twice":#double-click
Mimic("release")+
Mouse("left:2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#mouse stuff
#orders
"all pause":#pause all factories
Mimic("release")+
Key("cs-a/80")+
Key("c-z/5")+
Function(get_position)+
Mouse("[926,1075]/5,left/5")+
Key("cs-l/80")+
Key("c-z/5")+
Mouse("[926,1075]/5,left/5")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"cap":#capture object now
Mimic("release")+
Key("a-dot")+
Key("s/5")+
Key("c/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"charge":#commander overcharge
Mimic("release")+
Key("a-comma/5")+
Key("o/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"check":#check nuke missiles
Mimic("release")+
Mouse("left/5")+
Mouse("[110,1174]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"claim":#point/select, reclaim, point, now
Mimic("release")+
Key("a-dot")+
Key("s/5")+
Key("e/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"com":#commander, to point, now
Mimic("release")+
Key("a-comma/5")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"cop":#commander, to point, queued
Mimic("release")+
Key("a-comma/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"fight":#all air units, to point, now
Mimic("release")+
Key("c-a/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"fill":#convert energy to mass
Mimic("release")+
Mouse("left:2/20")+
Mouse("[294,1142]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"filler":#convert energy to mass
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up/40")+
Mouse("[294,1142]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"hard":#all under pointer, harden artillery
Mimic("release")+
Mouse("left:2/40")+
Mouse("[291,1146],left")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"jump":#commander, jump/teleport
Mimic("release")+
Key("a-comma")+
Key("c-j")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"kill":#all land units, to point, now
Mimic("release")+
Key("c-l/5")+
Key("c-8/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"look":#examine factory additions
Mimic("release")+
Key("h/5")+
Key("b/5")+
Key("2/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"loop[<n>]":#idle workers, to point, patrol, to point
Mimic("release")+
Key("c-7/5")+
(
Key("a-dot/5")+
Key("s-7/5")+
Key("c-7/5")+
Key("7/25")+
Mouse("right/25")
)
*Repeat(extra="n")+
Key("p/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"move":#move unit under pointer
Mimic("release")+
Mouse("left")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"moves":#move all under pointer on screen
Mimic("release")+
Mouse("left:2")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"no[<n>]":#remove waypoint under pointer
Mimic("release")+
(
Key("ctrl:down/5")+
Key("shift:down/5")+
Mouse("right/5")+
Key("shift:up/5")+
Key("ctrl:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("220")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"quickly":#selected, to point, now
Key("shift:up")+
Key("s")+
Mouse("right")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"pause":#pause all factories
Mimic("release")+
Key("cs-a/80")+
Key("c-z/5")+
Function(get_position)+
Mouse("[926,1075]/5,left/5")+
Key("cs-l/80")+
Key("c-z/5")+
Mouse("[926,1075]/5,left/5")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"round":#selected, patrol queue
Key("p/5")+
Key("shift:down/5")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"scout":#scout with aircraft
Mimic("release")+
Mouse("left/20")+
Key("c-1")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-2")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-3")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-4")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-6")+
Mimic("farthest")+
Pause("100")+
Key("1")+
Key("m")+
Mouse("[865,690],left")+
Key("shift:down")+
Mouse("[1195,401],right")+
Mouse("[1275,402],right")+
Mouse("[1293,494],right")+
Mouse("[812,754],right")+
Key("shift:up")+
Key("2")+
Key("m")+
Mouse("[849,706],left")+
Key("shift:down")+
Mouse("[1188,394],right")+
Mouse("[1147,293],right")+
Mouse("[1018,301],right")+
Mouse("[812,756],right")+
Key("shift:up")+
Key("3")+
Key("m")+
Mouse("[905,713],left")+
Key("shift:down")+
Mouse("[1212,452],right")+
Mouse("[1252,475],right")+
Mouse("[810,754],right")+
Key("shift:up")+
Key("4")+
Key("m")+
Mouse("[800,663],left")+
Key("shift:down")+
Mouse("[1134,381],right")+
Mouse("[1112,330],right")+
Mouse("[812,755],right")+
Key("shift:up")+
Key("5")+
Key("m")+
Mouse("[1325,717],left")+
Key("shift:down")+
Mouse("[1291,386],right")+
Mouse("[1152,290],right")+
Mouse("[904,283],right")+
Mouse("[814,757],right")+
Key("shift:up")+
Key("6")+
Key("m")+
Mouse("[883,293],left")+
Key("shift:down")+
Mouse("[1150,292],right")+
Mouse("[1282,389],right")+
Mouse("[1302,731],right")+
Mouse("[814,757],right")+
Key("shift:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"spread":#attack with all under pointer
Mimic("release")+
Mouse("left:2/5")+
Key("s/5")+
Key("c-7/5")+
Mouse("right:down/40")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"stop[<n>]":#stop unit or building
Mimic("release")+
(
Mouse("left/5")+
Key("s/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("100")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"stops":#stop all under pointer
Mimic("release")+
Mouse("left:2")+
Key("s")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"slowly":#selected, to point, queue
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"track":#stop tracking
Mimic("release")+
Key("t/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"use[<n>]":#select, use group now
Mimic("release")+
Text('%(n)s')+
Mouse("right/25")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"wait":#pause
Mimic("release")+
Mouse("left")+
Function(get_position)+
Mouse("[926,1075]")+
Mouse("[926,1075],left")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"walk":#unit under pointer, to point, queued
Mimic("release")+
Mouse("left")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"work[<n>]":#idle workers, to point, now
Mimic("release")+
Key("c-7")+
(
Key("a-dot")+
Key("s-7")+
Key("c-7")+
Key("7")+
Mouse("right")
)
*Repeat(extra="n")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
#orders
#produce
"bomb[<n>]":#bomber
Mimic("release")+
Mimic("airport")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"dog[<n>]":#worker
Mimic("release")+
Mimic("factory")+
Key("b/5")+
(
Key("e/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"fly[<n>]":#fighter
Mimic("release")+
Mimic("airport")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sword[<n>]":#gunship
Mimic("release")+
Mimic("airport")+
Key("b/5")+
(
Key("g/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"tank[<n>]":#tank
Mimic("release")+
Mimic("barrack")+
Key("b/5")+
(
Key("t/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#produce
#research menu
"show":#show the menu
Mimic("release")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one air":#air
Mimic("release")+
Key("tab/10")+
Mouse("[852,368],left")+#air
Mouse("[757,671],left")+#veterancy
Mouse("[982,673],left")+#cost
Mouse("[1094,672],left")+#time
Mouse("[1094,728],left")+#regeneration
Mouse("[868,727],left")+#health
Mouse("[980,726],left")+#shield
Mouse("[757,784],left")+#train 1
Mouse("[869,783],left")+#train 2
Mouse("[979,783],left")+#train 3
Mouse("[1091,783],left")+#train 4
Mouse("[1204,784],left")+#train 5
Mouse("[868,615],left")+#gunship
Mouse("[1213,782]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one bomb":#bomber
Mimic("release")+
Key("tab/10")+
Mouse("[849,368],left")+#air
Mouse("[757,503],left")+#radar
Mouse("[869,448],left")+#vision
Mouse("[981,503],left")+#cluster
Mouse("[1150,504],left")+#torpedo
Mouse("[981,447],left")+#camera
Mouse("[1093,448],left")+#duration
Mouse("[1102,446]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one com":#commander
Mimic("release")+
Key("tab/10")+
Mouse("[1171,367],left")+#acu
Mouse("[757,559],left")+#health
Mouse("[813,672],left")+#damage
Mouse("[924,727],left")+#build cost
Mouse("[935,727]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two com":#commander
Mimic("release")+
Key("tab/10")+
Mouse("[1171,367],left")+#acu
Mouse("[757,559],left")+#health
Mouse("[813,672],left")+#damage
Mouse("[924,727],left")+#build cost
Mouse("[870,560],left")+#vision
Mouse("[982,617],left")+#radar
Mouse("[812,504],left")+#regeneration
Mouse("[924,672],left")+#range
Mouse("[925,505],left")+#hunker 1
Mouse("[981,448],left")+#health
Mouse("[1092,448],left")+#anti-aircraft
Mouse("[1150,615],left")+#radar jammer
Mouse("[982,560],left")+#veterancy
Mouse("[1037,672],left")+#missile launcher
Mouse("[1148,672],left")+#artillery
Mouse("[1035,726],left")+#energy income
Mouse("[1149,728],left")+#overcharge
Mouse("[1093,560],left")+#jump 1
Mouse("[1203,560],left")+#jump 2
Mouse("[1035,504],left")+#hunker 2
Mouse("[867,614],left")+#torpedo
Mouse("[1148,504],left")+#escape pod
Mouse("[757,784],left")+#train 1
Mouse("[869,783],left")+#train 2
Mouse("[979,783],left")+#train 3
Mouse("[1091,783],left")+#train 4
Mouse("[1204,784],left")+#train 5
Mouse("[1217,796]/5")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one deaf":#defensive apparatus
Mimic("release")+
Key("tab/10")+
Mouse("[1061,365],left")+#structure
Mouse("[757,672],left")+#radar
Mouse("[869,672],left")+#artillery
Mouse("[980,728],left")+#canon
Mouse("[1092,727],left")+#anti-aircraft
Mouse("[1204,729],left")+#engineering tower
Mouse("[1213,727]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one land":#land units
Mimic("release")+
Key("tab/10")+
Mouse("[745,369],left")+#land
Mouse("[757,784],left")+#train 1
Mouse("[869,783],left")+#train 2
Mouse("[979,783],left")+#train 3
Mouse("[1091,783],left")+#train 4
Mouse("[1204,784],left")+#train 5
Mouse("[1217,796]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one long":#long range artillery
Mimic("release")+
Key("tab/10")+
Mouse("[1063,369],left")+#structure
Mouse("[758,673],left")+#radar
Mouse("[870,673],left")+#short artillery
Mouse("[981,616],left")+#harden
Mouse("[1092,617],left")+#long artillery
Mouse("[1106,615]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one mass":#income
Mimic("release")+
Key("tab/10")+
Mouse("[1060,365],left")+#structure
Mouse("[758,505],left")+#build cost
Mouse("[868,447],left")+#build time
Mouse("[982,503],left")+#research income
#Mouse("[981,448],left")+#energy income
Mouse("[1092,447],left")+#mass income
Mouse("[1204,448],left")+#mass converter
Mouse("[1212,447]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one shield":#nuke offense/defense
Mimic("release")+
Key("tab/10")+
Mouse("[1065,366],left")+#structure
Mouse("[757,504],left")+#cost
Mouse("[848,558],left")+#health
Mouse("[961,557],left")+#shield
Mouse("[1073,556],left")+#nuke defense silo
Mouse("[1109,562]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one short":#short range artillery
Mimic("release")+
Key("tab/10")+
Mouse("[1061,365],left")+#structure
Mouse("[757,671],left")+#radar
Mouse("[868,670],left")+#short artillery
Mouse("[981,672],left")+#range
Mouse("[981,616],left")+#harden
Mouse("[994,670]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one struct":#structures
Mimic("release")+
Key("tab/10")+
Mouse("[1061,365],left")+#structure
Mouse("[757,504],left")+#cost
Mouse("[869,448],left")+#time
Mouse("[870,504],left")+#regeneration
Mouse("[869,561],left")+#health
Mouse("[757,784],left")+#train 1
Mouse("[869,783],left")+#train 2
Mouse("[979,783],left")+#train 3
Mouse("[1091,783],left")+#train 4
Mouse("[1204,784],left")+#train 5
Mouse("[1217,796]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one sword":#gunship
Mimic("release")+
Key("tab/10")+
Mouse("[852,368],left")+#air
Mouse("[757,671],left")+#veterancy
Mouse("[868,615],left")+#gunship
Mouse("[880,614]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#research menu
#select
##select groups
"A.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-1/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"B.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-2/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"C.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-3/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"D.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-4/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"E.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-5/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"F.":#select and assign group
Mimic("release")+
Mouse("left:2/5")+
Key("c-6/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
##select groups
#select
#structure add-ons
"all add":#add all factory upgrades
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("s/5")+
Key("i/5")+
Key("t/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one add":#TML
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"two add":#anti-aircraft
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"three add":#intel
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"four add":#shield
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
#structure add-ons
#x control game
"AI":#fill game with AI opponents
Function(get_position)+
Mouse("left/5")+#first AI
Mouse("<-100,100>/5,left/5")+#hard
Function(set_position)+
Mouse("<47,0>/5,left/5")+#team
Mouse("<0,53>/5,left/5")+#2
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("200")+
Function(get_position)+
Mouse("left/5")+#second AI
Mouse("<-100,100>/5,left/5")+#hard
Function(set_position)+
Mouse("<47,0>/5,left/5")+#team
Mouse("<0,34>/5,left/5")+#1
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"back":#show desktop
Mimic("release")+
Function(pause_it)+
Mimic("switch"),
"fast":#maximize game speed
Mimic("release")+
Key("npmul/10")+
Key("npadd:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"change it":#host a game, toggle DLC
#Mimic("release")+
Mouse("[580,950]/5,left/40")+#back
Mouse("[801,633]/5,left/40")+#okay
Mouse("[1877,742]/5,left/80")+#enable/disable DLC
Mimic("host","it")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"game":#pause game
Mimic("release")+
Function(pause_it)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"host it":#host a game
Mimic("release")+
Mouse("[654,781]/5,left/20")+
Mouse("[996,782]/5,left/40")+
Text(r"no exclusions, 3v3 or 4v4")+
Pause("20")+
Key("enter/80")+
Mimic("two","set")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"menu":#from game to main menu
Mimic("release")+
Key("f10/40")+
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/120")+#quit to menu
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"load":#load game
Mimic("release")+
Key("f10/20")+
Mouse("[958,673]/5,left/40")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("250")+
Mouse("left/20")+
Mouse("[731,825]/5,left/5")+#load game
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"lobby":#from game to lobby, solo
Mimic("release")+
Key("f10/40")+#menu 40
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/80")+#quit to menu
Mouse("[672,731]/5,left/40")+#skirmish
Mouse("[981,733]/5,left/80")+#create game
Mimic("one","set")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"norm":#regular game speed
Mimic("release")+
Key("npmul/10")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"opt in":#show options dialogue
Mimic("release")+
Key("f10/10")+#main menu
Mouse("[961,576]/10,left/10")+#options
#Mouse("[747,432]/10,left/10")+#controls
#Mouse("[882,432]/10,left/10")+#interface
#Mouse("[1024,432]/10,left/10")+#sound
Mouse("[1167,432]/10,left/10")+#video
Mouse("[872,476]/5,left/5")+#video
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"opt out":#exit options dialog
Mouse("left/5")+
Mouse("[666,754]/5,left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"replay":#from game to replay menu
Mimic("release")+
Key("f10/40")+
Mouse("[950,726]/5,left/40")+#end game
Mouse("[800,633]/5,left/80")+#yes
Mouse("[1278,948]/5,left/120")+#quit to menu
Mouse("[653,882]/5,left/40")+#extras
Mouse("[997,833]/5,left/40")+#replays
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"restart":#restart game
Mimic("release")+
Key("f10/50")+#menu
Mouse("[957,519]/10,left/50")+
Mouse("[807,624]/10,left/100")+#restart yes
Pause("80")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"save":#save game to position one
Mimic("release")+
Key("f10/20")+
Mouse("[951,624]/5,left/40")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("250")+
Mouse("left/20")+
Mouse("[726,824]/5,left/40")+
Mouse("[801,634]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"one set":#set up, skirmish
Mouse("[1329,462]/5,left/5")+#location
Mouse("[811,329]/5,left/5")+#color
Mouse("[821,622]/5,left/5")+#orange
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[1274,703]/5,left/5")+#victory
Mouse("[1233,768]/5,left/5")+#infinite
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1272,794]/5,left/5")+#explored
#Mouse("[1228,817]/5,left/5")+#visible
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1245,863]/5,left/5")+#adjustable
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two set":#set up, multiplayer
Mouse("[1329,462]/5,left/5")+#location
Mouse("[811,329]/5,left/5")+#color
Mouse("[821,622]/5,left/5")+#orange
Mouse("[873,329]/5,left/5")+#faction
Mouse("[882,370]/5,left/5")+#UEF
Mouse("[1274,703]/5,left/5")+#victory
Mouse("[1245,748]/5,left/5")+#supremacy
Mouse("[1270,726]/5,left/5")+#positions
Mouse("[1270,770]/5,left/5")+#fixed
Mouse("[1273,775]/5,left/5")+#fog
Mouse("[1272,794]/5,left/5")+#explored
Mouse("[1276,798]/5,left/5")+#speed
Mouse("[1271,820]/5,left/5")+#normal
Mouse("[1303,948]/5")+#hover pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"slow":#minimize game speed
Mimic("release")+
Key("npmul/10")+
Key("npsub:10/20")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#x control game
Re: Supreme Commander 2 voice-activated scripts
Author: John Doe
Date: Tue, 17 May 2011 17:15
Date: Tue, 17 May 2011 17:15
819 lines
25460 bytes
25460 bytes
Going great. Kicking butt. Thanks to voice-activated scripting, I
play almost as well as the best. My optimized base building script
puts me ahead of everybody else in the opening, nobody can keep
up.
All of the accusations about real-time strategy (RTS) being a
click-fest are true, but in fact RTS is infinitely complex. You
can prove how extremely complex RTS is by playing a skirmish game
against hard AI. Save the game periodically. When you lose stuff,
just restore your last save, use pause and/or slow down the game,
and try again. Keep restoring and trying and you will repeatedly
find better ways of doing what you did.
Voice-activated scripting lets me react much faster to conditions
on the ground, without breaking my hands. The mouse is used
constantly for positioning the pointer, but never clicking.
Rebuilding my base is easily done with a a few simple utterances,
like "bravo" (electricity generators) "charlie" (mass converters,
properly spaced so they are difficult to destroy) "delta"
(aircraft factories) and "zulu" (mass extractors and research).
Factory orders apply to the nearest factory if the pointer is near
that factory. Factory orders apply to all of that type of factory
if the pointer is directly over that factory.
I stopped using a similar method for building stuff. Now... If the
regular command is issued, the nearest idle builder is used. If a
building is needed immediately, the prefix "so..." is added to the
regular command, that forces the worker under the pointer to stop
what it's doing and proceed to the new activity. For example, if I
want the worker under the pointer to build an aircraft factory
immediately, I say "so port". Just saying "port" will pull the
nearest idle worker to build the aircraft factory.
Following is a subset of my current Supreme Commander 2
voice-activated scripts.
#orders
"cap":#capture object now
Mimic("release")+
Key("a-dot")+
Key("s")+
Key("c")+
Mouse("left")+
Key("c")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"charge":#commander overcharge
Mimic("release")+
Key("a-comma/5")+
Key("o/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"check":#check nuke missiles
Mimic("release")+
Mouse("left/5")+
Mouse("[110,1174]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"claim":#reclaim, point, now
Mimic("release")+
Key("a-dot")+
Key("s")+
Key("e")+
Mouse("left")+
Key("e")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"com":#commander, to point, now
Mimic("release")+
Key("a-comma/5")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"cam":#commander, to point, queued
Mimic("release")+
Key("a-comma/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"cup":#commander, focus and zoom out
Mimic("release")+
Key("v/20")+
Key("comma/20")+
Key("s-w:2")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"duck":#commander, hunker
Mimic("release")+
Key("a-comma")+
Key("k/10")+
#Mouse("right/20")+#move to pointer
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"fight[<n>]":#all air units, to point, now
Mimic("release")+
Key("c-a")+
Mouse("right")+
Key("shift:down")+
(
Mouse("right")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"fill":#convert energy to mass
Mimic("release")+
Mouse("left:2")+
Key("c-8")+
Key("a-m")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"fire[<n>]":#use long-range artillery
Mimic("release")+
Key("9")+
Key("c-z")+
Key("c-9")+
Mouse("right")+
Key("shift:down")+
(
Mouse("right")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"hard":#all under pointer, harden artillery
Mimic("release")+
Mouse("left:2/40")+
Mouse("[291,1146],left")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"harder":#harden artillery
Mimic("release")+
Mouse("left:down/10")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up/20")+
Mouse("[294,1142],left")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"jump":#commander, jump/teleport
Mimic("release")+
Key("a-comma")+
Key("c-j")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"kill":#all land units, to point, now
Mimic("release")+
Key("c-l/5")+
Mouse("right/5")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"longest":#prepare long range artillery
Mimic("release")+
Mouse("left:2/5")+
Key("c-9/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"look":#examine factory additions
Mimic("release")+
Key("h/5")+
Key("b/5")+
Key("2/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"loop[<n>]":#idle workers, to point, patrol, to point
Mimic("release")+
Key("c-7")+
(
Key("a-dot")+
Mouse("right")+
Key("s-7")+
Key("c-7")+
Key("7")#this makes it work
)
*Repeat(extra="n")+
Key("p")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("150")+
Mouse("left")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"move[<n>]":#move unit under pointer
Mimic("release")+
Mouse("left")+
Key("s")+
Key("shift:down")+
(
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"moves":#move all under pointer on screen
Mimic("release")+
Mouse("left:2")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("right")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"no[<n>]":#remove waypoint under pointer
Mimic("release")+
(
Key("ctrl:down/5")+
Key("shift:down/5")+
Mouse("right/5")+
Key("shift:up/5")+
Key("ctrl:up/5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("100")
)
*Repeat(extra="n")+
#Mimic("release")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"now":#selected, to point, now
Key("shift:up")+
Key("s")+
Mouse("right")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"pause":#pause all factories
Mimic("release")+
Key("cs-a/80")+
Key("c-z/5")+
Function(get_position)+
Mouse("[926,1075]/5,left/5")+
Key("cs-l/80")+
Key("c-z/5")+
Mouse("[926,1075]/5,left/5")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"remove":#select and destruct
Mimic("release")+
Key("shift:down")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up")+
Key("shift:up")+
Key("c-k")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"round":#selected, patrol queue
Key("p/5")+
Key("shift:down/5")+
Mouse("left/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"scout":#scout with aircraft
Mimic("release")+
Mouse("left/20")+
Key("c-1")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-2")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-3")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-4")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-5")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("120")+
Mouse("left/20")+
Key("c-6")+
Mimic("farthest")+
Pause("100")+
Key("1")+
Key("m")+
Key("shift:down")+
Mouse("[807,619],left")+
Mouse("[1349,232],left")+
Mouse("[1417,1034],left")+
Mouse("[773,788],left")+
Key("shift:up")+
Key("2")+
Key("m")+
Key("shift:down")+
Mouse("[950,733],left")+
Mouse("[1346,237],left")+
Mouse("[578,246],left")+
Mouse("[772,788],left")+
Key("shift:up")+
Key("3")+
Key("m")+
Key("shift:down")+
Mouse("[762,309],left")+
Mouse("[1344,305],left")+
Mouse("[1180,746],left")+
Mouse("[773,789],left")+
Key("shift:up")+
Key("4")+
Key("m")+
Key("shift:down")+
Mouse("[1239,806],left")+
Mouse("[1251,243],left")+
Mouse("[836,407],left")+
Mouse("[775,789],left")+
Key("shift:up")+
Key("5")+
Key("m")+
Key("shift:down")+
Mouse("[881,458],left")+
Mouse("[1171,404],left")+
Mouse("[1100,641],left")+
Mouse("[777,789],left")+
Key("shift:up")+
Key("6")+
Key("m")+
Key("shift:down")+
Mouse("[1133,699],left")+
Mouse("[1164,410],left")+
Mouse("[776,790],left")+
Key("shift:up")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"shift":#hold shift
Mimic("release")+
Mouse("left")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"spark":#convert energy to mass, after prep
Mimic("release")+
Key("8")+
Key("c-z")+
Key("c-8")+
Key("a-m")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"spread":#attack with all under pointer
Mimic("release")+
Mouse("left:2/5")+
Key("s/5")+
Key("c-7/5")+
Mouse("right:down/40")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"spreader":#attack with click and drag selected
Mimic("release")+
Mouse("left:down")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Mouse("left:up")+
Key("s/5")+
Key("c-7/5")+
Mouse("right:down/40")+
Key("shift:down/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"stop[<n>]":#stop unit or building
Mimic("release")+
(
Mouse("left:down")+
Mouse("left")+
Key("s")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("100")
)
*Repeat(extra="n")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"stops":#stop all under pointer
Mimic("release")+
Mouse("left:2")+
Key("s")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"then":#selected, to point, queue
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"track":#stop tracking
Mimic("release")+
Key("t/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"wait":#CHANGE THIS TO KEYSTROKE, pause
Mimic("release")+
Mouse("left:down")+
Mouse("left")+
Function(get_position)+
Mouse("[926,1075]")+
Mouse("[926,1075],left")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"walk":#unit under pointer, to point, queued
Mimic("release")+
Mouse("left")+
PlaySound(r"C:\Program Files\VoiceWorks\beep.wav")+
Pause("200")+
Key("shift:down/5")+
Mouse("right/5")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
"work[<n>]":#idle workers, to point, now
Mimic("release")+
Key("c-7")+
(
Key("a-dot")+
Mouse("right")+
Key("s-7")+
Key("c-7")+
Key("7")#this makes it work
)
*Repeat(extra="n")+
Key("shift:down")+
PlaySound(r"C:\Program Files\VoiceWorks\dungk1.wav"),
#orders
#produce
"art[<n>]":#mobile artillery
Mimic("release")+
Mimic("barrack")+
Mouse("right")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"blaster[<n>]":#big gunship
Mimic("release")+
Mimic("factory")+
Mouse("right")+
Key("b")+
(
Key("a")
)
*Repeat(extra="n")+
Key("b")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"bomb[<n>]":#bomber
Mimic("release")+
Mimic("airport")+
Key("b/5")+
(
Key("r/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"dog[<n>]":#worker
Mimic("release")+
Mimic("factory")+
Mouse("right")+
Key("b")+
(
Key("e")
)
*Repeat(extra="n")+
Key("b")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"fly[<n>]":#fighter
Mimic("release")+
Mimic("airport")+
Mouse("right")+
Key("b/5")+
(
Key("f/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"blast[<n>]":#gunship
Mimic("release")+
Mimic("airport")+
Mouse("right")+
Key("b/5")+
(
Key("g/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sharp[<n>]":#sharpshooter
Mimic("release")+
Mimic("barrack")+
Mouse("right")+
Key("b/5")+
(
Key("n/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"sting[<n>]":#anti-air
Mimic("release")+
Mimic("barrack")+
Mouse("right")+
Key("b")+
(
Key("i")
)
*Repeat(extra="n")+
Key("b")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"tank[<n>]":#tank
Mimic("release")+
Mimic("barrack")+
Mouse("right")+
Key("b/5")+
(
Key("t/5")
)
*Repeat(extra="n")+
Key("b/5")+
Function(get_position)+
Mouse("[885,1075]")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav")+
Pause("250")+
Function(set_position)+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#produce
#research menu
"show":#show the menu
Mimic("release")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one air":#air
Mimic("release")+
Key("tab/10")+
Mouse("[852,368],left")+#air
Mouse("[757,671],left")+#veterancy
Mouse("[982,673],left")+#cost
Mouse("[1094,672],left")+#time
#Mouse("[868,615],left")+#gunship
#Mouse("[737,485],left")+#radar
#Mouse("[848,427],left")+#vision
Mouse("[1094,728],left")+#regeneration
Mouse("[868,727],left")+#health
Mouse("[980,726],left")+#shield
Mouse("[757,784],left")+#train 1
Mouse("[869,783],left")+#train 2
Mouse("[979,783],left")+#train 3
Mouse("[1091,783],left")+#train 4
Mouse("[1204,784],left")+#train 5
Mouse("[1213,782]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one blast":#gunship
Mimic("release")+
Key("tab/10")+
Mouse("[852,368],left")+#air
Mouse("[757,671],left")+#veterancy
Mouse("[868,615],left")+#gunship
Mouse("[1033,611],left")+#big gunship
Mouse("[1045,610]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one bomb":#bomber
Mimic("release")+
Key("tab/10")+
Mouse("[849,368],left")+#air
Mouse("[757,503],left")+#radar
Mouse("[869,448],left")+#vision
Mouse("[981,503],left")+#cluster
Mouse("[1150,504],left")+#torpedo
Mouse("[981,447],left")+#camera
Mouse("[1093,448],left")+#duration
Mouse("[1102,446]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one com":#commander
Mimic("release")+
Key("tab/10")+
Mouse("[1171,367],left")+#acu
Mouse("[757,559],left")+#health
Mouse("[813,672],left")+#damage
Mouse("[924,727],left")+#build cost
Mouse("[935,727]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"two com":#commander
Mimic("release")+
Key("tab/10")+
Mouse("[1171,367],left")+#acu
Mouse("[757,559],left")+#health
Mouse("[813,672],left")+#damage
Mouse("[924,727],left")+#build cost
Mouse("[870,560],left")+#vision
Mouse("[982,617],left")+#radar
Mouse("[812,504],left")+#regeneration
Mouse("[924,672],left")+#range
Mouse("[925,505],left")+#hunker 1
Mouse("[981,448],left")+#health
Mouse("[1092,448],left")+#anti-aircraft
Mouse("[1150,615],left")+#radar jammer
Mouse("[982,560],left")+#veterancy
Mouse("[1037,672],left")+#missile launcher
Mouse("[1148,672],left")+#artillery
Mouse("[1035,726],left")+#energy income
Mouse("[1149,728],left")+#overcharge
Mouse("[1093,560],left")+#jump 1
Mouse("[1203,560],left")+#jump 2
Mouse("[1035,504],left")+#hunker 2
Mouse("[867,614],left")+#torpedo
Mouse("[1148,504],left")+#escape pod
Mouse("[757,784],left")+#train 1
Mouse("[869,783],left")+#train 2
Mouse("[979,783],left")+#train 3
Mouse("[1091,783],left")+#train 4
Mouse("[1204,784],left")+#train 5
Mouse("[1217,796]/5")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one deaf":#defensive apparatus
Mimic("release")+
Key("tab/10")+
Mouse("[1061,365],left")+#structure
Mouse("[757,672],left")+#radar
Mouse("[869,672],left")+#artillery
Mouse("[980,728],left")+#canon
Mouse("[1092,727],left")+#anti-aircraft
Mouse("[1204,729],left")+#engineering tower
Mouse("[1213,727]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one fly":#radar and vision
Mimic("release")+
Key("tab/10")+
Mouse("[852,368],left")+#air
Mouse("[737,485],left")+#radar
Mouse("[848,427],left")+#vision
Mouse("[876,439]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one land":#land units
Mimic("release")+
Key("tab/10")+
Mouse("[745,369],left")+#land
Mouse("[752,667],left")+#regeneration
Mouse("[864,723],left")+#radar
Mouse("[976,724],left")+#vision
Mouse("[864,611],left")+#health
Mouse("[757,784],left")+#train 1
Mouse("[869,783],left")+#train 2
Mouse("[979,783],left")+#train 3
Mouse("[1091,783],left")+#train 4
Mouse("[1204,784],left")+#train 5
Mouse("[1217,796]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one long":#long range artillery
Mimic("release")+
Key("tab/10")+
Mouse("[1063,369],left")+#structure
Mouse("[758,673],left")+#radar
Mouse("[870,673],left")+#short artillery
Mouse("[981,616],left")+#harden
Mouse("[1092,617],left")+#long artillery
Mouse("[1106,615]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one mass":#income
Mimic("release")+
Key("tab/10")+
Mouse("[1060,365],left")+#structure
Mouse("[758,505],left")+#build cost
Mouse("[868,447],left")+#build time
Mouse("[982,503],left")+#research income
Mouse("[1092,447],left")+#mass income
Mouse("[1204,448],left")+#mass converter
Mouse("[981,448],left")+#energy income
Mouse("[1212,447]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one shield":#nuke defense
Mimic("release")+
Key("tab/10")+
Mouse("[1065,366],left")+#structure
Mouse("[757,504],left")+#cost
Mouse("[848,558],left")+#health
Mouse("[961,557],left")+#shield
Mouse("[1073,556],left")+#nuke defense silo
Mouse("[1109,562]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one short":#short range artillery
Mimic("release")+
Key("tab/10")+
Mouse("[1061,365],left")+#structure
Mouse("[757,671],left")+#radar
Mouse("[868,670],left")+#short artillery
Mouse("[981,672],left")+#range
Mouse("[981,616],left")+#harden
Mouse("[994,670]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one sharp":#sharpshooter
Mimic("release")+
Key("tab/10")+
Mouse("[747,368],left")+#land
Mouse("[752,555],left")+#weapon range
Mouse("[864,498],left")+#demolisher
Mouse("[976,444],left")+#sharpshooter
Mouse("[988,437]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one struct":#structures
Mimic("release")+
Key("tab/10")+
Mouse("[1061,365],left")+#structure
Mouse("[757,504],left")+#cost
Mouse("[869,448],left")+#time
Mouse("[870,504],left")+#regeneration
Mouse("[869,561],left")+#health
Mouse("[757,784],left")+#train 1
Mouse("[869,783],left")+#train 2
Mouse("[979,783],left")+#train 3
Mouse("[1091,783],left")+#train 4
Mouse("[1204,784],left")+#train 5
Mouse("[1217,796]")+
Pause("200")+
Key("tab/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
#research menu
#structure add-ons
"all add":#add all factory upgrades
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("s/5")+
Key("i/5")+
Key("t/5")+
Key("b/5")+
PlaySound(r"C:\Program Files\VoiceWorks\boop.wav"),
"one add":#TML
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("t/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"two add":#anti-aircraft
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("a/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"three add":#intel
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("i/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
"four add":#shield
Mimic("release")+
Mimic("factory")+
Key("b/5")+
Key("2/5")+
Key("s/5")+
Key("b/5")+
Mouse("[460,1162]/5")+
PlaySound(r"C:\Program Files\VoiceWorks\whiht1.wav"),
#structure add-ons
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads