The source code for this program has been released. See the link below.
This program views and modifies the lua files of SupCom maps. It displays useful script information, such as Jotto's Spawn with Armies script, as well as the Map Size by Players script, and allows the user to quickly edit both sets of data.
Resource Viewer Source Code v0.4.Beta2
Last Beta Release v0.4.Beta2
(Saving bug fixed)
Last Stable release v0.3
Forum link @GameReplays
-Some draw settings aren't being saved to the settings file
-autofind close resource points around armys to be added to Jotto's code
Since last stable release:
-Fixed a major file opening issue
-NoRush offset editable in program
-Saving of _scenario.lua file
-show boxes for my Scale Map with Players
-autosize Map Size by Players squares (not yet saveable)
-Many Tooltips added by Tecxx's request
-Spawn with Army list only shows the Armies that are on the map
-Missed a space (literally " ") in the saving of _save.lua file, making the parsing _save.lua mess up.
-Shows the user what they will be saving before making them commit to it.
-Saving of Map Size by Players script
-Open File Dialog
-Capable of parsing _scenario.lua files
-Increased efficiency: Map Size is read from scenario file, rather than estimated
-NoRush radius is now shown from map data, rather than defaulted to 90 o's
-NoRush radius can be changed to visually see the new radius for each army, but must be manually changed in the _scenario file
-NoRush offsets are now shown on the armies, not yet indiviudally editable
-Can mark resource points as spawns with army
-Saves _save.lua file, reording markers to be in Army, Resource, AI order, and adds [SpawnWithArmy] info as needed
-Saves _script.lua file with scripts based on what the map needs (basic and/or Hazard Editor info and/or Jotto script)
-Settings file now updates on closing (markers, Draw, and latest files settings)
-AI Markers are now parsed and shown
-Arrays will now grow as maps need markers
-Marker sets can be toggled (updated after a "populate" click)
-Fixed vector3 parsing problem
-vertical offset was wrong, points don't show up off screen anymore
-Map view now improved (grid, radius circles)
- First public release
sveno, painangel, and ika for permission to use their map's _save.lua files for distribution.
Jotto for creating the spawn mass script
Hazard for the Editor, to have data to read from
(Formerly Resource Management Tool)