This post is the place to get CoXMacroDrive.
CoXMacroDrive - Version - 1.0.6.0 - Somewhat Tested
TIPS: Assume Cameraman should be running at all times. Cameraman is a program built by Codewalker. It is not included.
If launching a large map without filtering, get ready for a hang. When a hang happens, kill CoXMacroDrive.exe and XYZ.exe. Might be helpful to clear commands from the data directory.
NOTE: MAJOR CHANGE/(temporary?) workaround required.
CoXMacroDrive is now entirely dependent upon one use of
/bind_load (as well as /accesslevel 9 same as before) upon entering the game.
Without this command manually being entered COXMacroDrive WILL NOT FUNCTION.I am sorry, I don't know how to make this for Macs
CoXMacroDrive is a program that monitors the file name output of the defunct costume_save command and drives some pretty cool macro and text iostream stuff from it.
Download
https://dl.dropboxusercontent.com/u/28521507/CoXMacroDrive.zipSource Code
Included. Authored with Visual DialogScript 5.0 - Cross compatible with VDS 4.0
Requirements
Everything works in i24. Some functions may be limited in i23.
Instructions
1. Unzip package. Copy everything to your City of Heroes directory. Launch the correct CoXMacroDrive batch file.
2. Once in the game type /accesslevel 9 and press enter. This is mandatory.
3. Once in the game type /bind_load and press enter. This is mandatory.
4. Once you have entered the game, give "/popmenu coxmd" a run through.
5. Come back here and review all the stuff below.
COMMANDS
All commands are preceded with "/costume_save ". This is what CoXMacroDrive monitors. This particular command is defunct and saves an old comma separated value version of your costume to the data directory. The contents of the file are not important. The name of the file is.
SPECIAL NOTE ABOUT DASHES: Dashes are actually a work around (excepting the fx color parameter) for MENU ITEMS. You can't have spaces in a costume_save in a menu item. You can in a macro button a bind or through typing in the command line. The reason for this has to do with quotation nesting.
/costume_save fxThis command accepts four primary parameters separated by dots, with the final command having spaces replaced by dashes.
Colors - 0 to 255, modifies Color1. "255-255-255" is max Red Green and Blue. Alternately "Default" can be used.
Costume - the costume we are modifying for the fx to be added or removed from.
FX - with "/" replaced with "."
Additional command string - space replaced with dash.
Example: /costume_save fx.MyToon.Default.V_COV.ENEMYPOWERS.ARCHVILLAINS.SCIROCCO.SCIROCCO_SWORD.FX.seqbits-EMOTE-PROFILE-WEAPON-COMBAT-AXE-ATTACK-CHOP
/costume_save fxholdThis command is similar to the fx command above. It accepts three parameters. This is used when we don't know which costume to apply the fx to yet.
Colors - 0 to 255, modifies Color1. "255-255-255" is max Red Green and Blue. Alternately "Default" can be used.
FX - with "/" replaced with "."
Additional command string - space replaced with dash.
Example: fxhold.Default.V_COV.ENEMYPOWERS.ARCHVILLAINS.SCIROCCO.SCIROCCO_SWORD.FX.seqbits-EMOTE-PROFILE-WEAPON-COMBAT-AXE-ATTACK-CHOP
/costume_save fxapplyApplies the fxhold command to a costume. Takes one parameter.
Costume - Name of costume to apply to.
Example: /costume_save fxapply.MyToon-With-Dashes-Instead-of-Spaces
/costume_save moveMakes your avatar move forward for a limited number of seconds. One parameter.
Number of Seconds - [int] number of seconds to run forward.
Example: /costume_save move.5
/costume_save scaleChanges the scale of a costume. 300 is rougly 18 feet. 600 is about 36 feet. -50 is about 3 feet. two parameters.
Costume - Name of costume to apply to.
Scale - Scale number.
Example: /costume_save scale.MyToon.300
/costume_save seqbitsSeqbits hang. Alot. Sometimes sending them through macrodrive helps. It's an art. Seqbits space replaced with dash.
Seqbits - seqbits to be parsed.
Example: /costume_save seqbits.EMOTE-PROFILE-WEAPON-COMBAT-AXE-ATTACK-CHOP
/costume_save skdelaySets the sendkey delay for macros. One parameter.
Delay - delay as number.
Example: /costume_save skdelay.250
/costume_save teleportTeleports your character. This is considered a map command. Relies upon xyz.exe created by me with Cheat Engine 6.2. - included. six parameters. xyz.ct source included.
X Whole Number - The whole number of X.
X hundredths - hundredths of X.
Y Whole Number - The whole number of Y.
Y hundredths - hundredths of Y.
Z Whole Number - The whole number of Z.
Z hundredths - hundredths of Z.
Example: /costume_save teleport.130.48.320.01.-319.63
/costume_save spawnfileSets the folder to save spawn data to for later respawns. This is considered a map command. One parameter. Spawn files are stored in the root of the City of Heroes directory in a folder called mapspawn.
Spawn File - Spawn file to be created and stored as variable for saving mobs.
Example: /costume_save spawnfile.5thColumnCave30
/costume_save ydiffSets the offset of Y in storing spawn placements. This is considered a map command. If the camera is attached to your avatar you need to have this set to the height of your character. This can be found by pressing F3 and going to Y 0. Launch Cameraman. Value of Y listed is the height of your character. Two parameters.
Offset Y whole number - Whole number value of offset.
Offset Y hundredths - hundredths value of Y.
Example: /costume_save ydiff.5.43
/costume_save tarrySets the maximum tarry value of NPC respawns by X and Z. This is considered a map command. One parameter.
Tarry value - value of tarry.
Example: /costume_save tarry.50
/costume_save xyznoteAllows you to add a note into the line items of spawnfile. This is considered a map command. One parameter space replaced with dash.
Note - note-with-dashes-instead-of-spaces
Example: /costume_save xyznote.This-is-sparta-can't-exclaim-because-bad-mojo-for-files
/costume_save factionAdds a faction tag to spawned mob names. Because I use this in my tabletop RPG for targeting (target_name Enemy). One parameter.
Faction - faction of targets saved to spawnfile. Technically SHOULD be Villain - Hero - Rogue or Vigilante. I usually just use Enemy or Ally.
Example: /costume_save faction.Ally
/costume_save groupAdds a group tag to spawned mob names. Because I use this in my tabletop RPG for targeting (target_name Longbow). One parameter.
group -group of targets saved to spawnfile.
Example: /costume_save group.Longbow
/costume_save storespawnStores the value of X Y and Z and spawnfile.txt. Relies on cameraman, if cameraman is not running a Longbow Agent will tell you.
Stores the values of group faction and parameters to spawnfile.txt. Three parameters.
Model - Model of spawn
Name - Name of spawn
Additional - additional commands with space replaced with dash.
Example: costume_save storespawn.Longbow_Male_Group_01_Minion_01.Longbow.mov-SHOTGUN_ALERT_A
/costume_save spawnnowSpawns a spawn folder specified by by parameter with delay parameter. Three parameters.
Folder - the folder to spawn.
Delay - the delay for send keys.
Filter - Things to exclude from the spawn, and the percentage chance for them to be excluded. Each filter is separated by a dash, and each filter percentage is separated from the filter by an underscore.
Global Filter - Percentage chance for any non-filtered item to be excluded.
Example: /costume_save spawnnow.sampler.250.NPC_50-Car_75.25
/costume_save clrxyznoteClears the xyznote. No parameters.
/costume_save clrfactionClears the faction. No parameters.
/costume_save clrgroupClears the group. No parameters.
/costume_save closeCloses CoXMacroDrive but leaves the client active. CoXMacroDrive usually closes when the client closes.
1.0.0.2 updates
/costume_save storemovApplies mov to last storespawn. One parameter.
Mov - mov specified.
Example: costume_save storemov.mov-shotgun_alert_a
/costume_save storeseqbitsApplies seqbits to last storespawn. One parameter.
Seqbits - seqbits parameters.
Example: costume_save storeseqbits.seqbits-EMOTE-PROFILE-WEAPON-COMBAT-AXE-ATTACK-CHOP
1.0.0.3 Updates
/costume_save delspawnRemoves the last entry from the current spawnfile file. No parameters.
1.0.0.4 Updates
/costume_save fxoneshotSame as /costumesave fx, but fires once and removes the fx from the costume file.
This should be considered the preferred fx apply method in most scenarios.Colors - 0 to 255, modifies Color1. "255-255-255" is max Red Green and Blue. Alternately "Default" can be used.
Costume - the costume we are modifying for the fx to be added or removed from.
FX - with "/" replaced with "."
Additional command string - space replaced with dash.
Example: /costume_save fxoneshot.MyToon.Default.V_COV.ENEMYPOWERS.ARCHVILLAINS.SCIROCCO.SCIROCCO_SWORD.FX.seqbits-EMOTE-PROFILE-WEAPON-COMBAT-AXE-ATTACK-CHOP
1.0.3.1 Updates
/costume_save delaycmdTwo parameters. Delay and command, requires dashes instead of spaces
Delay - Number of seconds as integer.
Command - Command string with dashes for spaces.
Example: /costume_save delaycmd.5.target_name-liberty$mov-dance1
/costume_save fire1Applies fx. Three parameters, target as integer, power and continued command string.
Target as Integer - 0 = self, 1 = target
FX - with / replaced by .
Continued Commands - With dashes - instead of spaces.
Example: /seqbits COMBAT STRONG CAST ARCHITECT ONE$$target_name liberty$$costume_save fire1.0.POWERS.COLDCONTROL.ICEBLAST.fx$$costume_save delaycmd.1.seqbits-BRAWLING-QUICK-HIT-WEAPON$$costume_save delaycmd.1.unselect
1.0.4.2 Updates
/costume_save toonatcameraPlaced the player avatar at the camera. No parameters.
Example: /costume_save toonatcamera
1.0.5.6 Updates
/costume_save demospawnDoes NOT actually spawn a map. Launches a new process to handle standard processing. Converts a cohdemo to a map text file for the spawnnow command.
Example: /costume_save demospawn.Outbreak1
Version 1.0.0.1 - Removed debug message from group command.
Version 1.0.0.2 Added storemov and duplicate command storeseqbits (actually same code).
Version 1.0.0.3 Added delspawn and delxyz commands
Version 1.0.0.4 Minor bug fixes. Added fxoneshot command.
Version 1.0.0.5 Code refactoring. Added string replace $,$$ for continued command strings.
(/costume_save fxoneshot.Leon.Default.powers.energyblast.energyblast.fx.seqbits-COMBAT-RAPIDBLAST$target_name-enemy$seqbits-BRAWLING-QUICK-HIT-WEAPON)
Version 1.0.0.6 Bug fix.
Version 1.0.0.7 Bug fix.
Version 1.0.1.7 Major code refactoring. Converted all SendKey commands to keybind modifications. This caused /bind_load to become a requirement to use the program but eliminated several undesirable behaviors.
Version 1.0.1.7b Include keybinds.txt
Version 1.0.1.8 Minor change of skdelay call.
Version 1.0.1.8b Fixed incorrect version include of xyz.exe
Version 1.0.2.9 Cross compatible code, VDS4, VDS5. Eliminated Spawnfolders[mobs.txt][xyz.txt] combined to spawnfile.txt. Some floating functions for future updates not yet active. Fixed bug with storespawn when faction not set. Spawnfolder command defunct. Storexyz command defunct. Storefile command added.
Version 1.0.3.0 Code refactoring. Minor bug fix. Code tabulation.
Version 1.0.3.1 - Major Bug fixes. Fixed PVDS Launchers. Added Fire1 command. Added Delaycmd command. Permanent binds for turn_left calls. YAW stored to spawnsaves. Changes to coxmd popmenu. Changes to skdelay. NOTE: Random YAW for tarry no longer working. May add feature later.
Version 1.0.3.1b - Uploaded zip file to the correct folder, so it can actually be downloaded.
Version 1.0.4.2 - Added toonatcamera command. Project achieved steady state.
Version 1.0.4.3 - Minor bug fix.
Version 1.0.4.4 - Changed default skdelay to 250. Even though most (90%) computers can handle skdelay of 25, mine cannot so I have to assume that some other folks out there would struggle with 25 as well.
Version 1.0.4.5 - Corrected id10t error. Skdelay set back to 25.
Version 1.0.5.6 - Updated spawnnow command to include filters. Added already defunct under documented fastspawn command. Added demospawn command that parses cohdemo files.
Version 1.0.5.7 - Fixed runaway process bug from 1.0.5.6 when using demospawn command.
Version 1.0.5.8 - Fixed bug that killed teleport process. Fixed bug that caused error 25.
Version 1.0.5.9 - Speedturn modification, filter ratios now actually work for Spawnnow.
Version 1.0.6.0 - Added global exclusion ratio filter to spawnnow.