The master Remap Schema which specifies all major changes to the map (sector removals, additions, new coordinates, and gate cardinal positions) is edited via the included Excel spreadsheet "Remap Schema.xlsx". With a final draft of the galaxy map on hand, you can input it into gen_schema.py to generate the New Sectors Schema and the Gates Schema files. Because fine-tuning a new galaxy map (placing sector objects, positioning gates, etc.) typically requires working in the X3 Galaxy Editor, creating the initial version of a new map for the game has to be completed before this utility is fully useful. Gen_schema.py is a helper utility used to auto-generate the INPUTSCHEMA and INPUTGATES schema files from an exemplar galaxy map. OUTPUT - the filename for the new galaxy map to be generated.If this file is not supplied, Map Surgeon will place all new gates in the galaxy with default coordinates in their sectors (for their cardinal location.) This means they may be placed poorly in relation to the other objects in the sector will need to be checked and adjusted by hand in-game using the Galaxy Editor. (RECOMMENDED) INPUTGATES - the XML Gate Schema that specifies all gate position and orientation coordinates for all sectors in the new map.INPUTNEWSECTORS - an XML file that holds all new sectors and their contents to be added to the galaxy (currently: newsectors.xml).INPUTSCHEMA - the Remap Schema CSV file that specifies what sectors are to be removed (if any), new sectors to be added, and the new coordinates for all map sectors (currently: remap_schema.csv).INPUTMAP - the original galaxy map to be altered (X3 vanilla name: x3universe.xml).Remap.py accepts commandline arguments for 3 Required, plus a 4th optional but Recommended, input files, and the output filename for the new galaxy map. Usage: python remap.py -m INPUTMAP -s INPUTSCHEMA -n INPUTNEWSECTORS -o OUTPUT
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |