🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc.games.strategic
Article #716261

Re: Supreme Commander 2 voice-activated scripts

#716261
From: John Doe
Date: Mon, 29 Nov 2010 04:21
977 lines
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
Technical Details
Message-ID: <4cf32a4f$0$12193$c3e8da3$f017e9df@news.astraweb.com>
Path: mbox-mo1.pugleaf.net!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!not-for-mail
References: <4cc09a62$0$30848$c3e8da3$670ba073@news.astraweb.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!news.astraweb.com!border5.a.newsrouter.astraweb.com!not-for-mail
Newsgroups: comp.sys.ibm.pc.games.strategic
Subject: Re: Supreme Commander 2 voice-activated scripts
From: John Doe <jdoe@usenetlove.invalid>
References: <4cc09a62$0$30848$c3e8da3$670ba073@news.astraweb.com>
User-Agent: Xnews/2006.08.05
Date: 29 Nov 2010 04:21:36 GMT
Lines: 977
Message-ID: <4cf32a4f$0$12193$c3e8da3$f017e9df@news.astraweb.com>
Organization: Unlimited download news at news.astraweb.com
NNTP-Posting-Host: 4dc4a411.news.astraweb.com
X-Trace: DXC=oHlXSK?lG5>hZ4>`7BGPo4L?0kYOcDh@:^abT:2\c4l0]OJTWN^F8N6Kdim; <8^L; 1CLLVSX7Olm:on?c\5LcL_05`@>Ue6@\\?2XXgD^G:35;
Bytes: 28582
X-Original-Bytes: 28526
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit