Here are 3 small widgets that I use to save time when creating maps.
(1) Place units (in order) using /give into chosen locations, to save an (ordered) table of their locations, which can be used as the table of startpoints in mapinfo.lua or in BAs FFA gadgetry.
(2) Place (&re-place) units in chosen locations, to save an (unordered) table of their locations, which can be used as a table of metal spot locations in the usual lua mex gadgetry.
(3) Sends a few commands in widget:GameStart that make Spring ready to take a png (=lossless) screenshot, without any gui/etc, by simply pressing f12.
See code for further details.
3 widgets: create startpoints, create mexes, screenshot helper
Moderator: Moderators
- Silentwings
- Posts: 3720
- Joined: 25 Oct 2008, 00:23
3 widgets: create startpoints, create mexes, screenshot helper
- Attachments
-
- map_screenshot_helper.lua
- (544 Bytes) Downloaded 23 times
-
- print_metalspot_table_to_file.lua
- (545 Bytes) Downloaded 19 times
-
- print_startpoint_table_to_file.lua
- (890 Bytes) Downloaded 22 times