XML/LUA/HEX Editor
About:
XML and LUA files can be opened with any text editor - even the simple windows editor is sufficient. Simply right-click on the file and select "Open with" -> "Editor".
But for cormfortable editing it is useful to use a text editor that supports syntax highlighting which makes the file much easier to read and reduces the risk of creating syntax errors.
There are several freeware editors you can use, such as
Notepad++
or PSPad, which is introduced here.
PSPad can also be used to Hex Edit files - for example for changing the textures of an alo file.
If you want to use a very simple xml editor specifically for EaW/FoC take a look at the SMG XML Editor (scroll down)
Download:
PSPad 4.5.7
for 32-bit Windows 2000/XP/Vista/7/8 (4.46 MB)
Languages: English, German, French, Russian, Italian, Spanish, Slovenian, Czech
Installation:
Run the installer and follow its installation instructions.
Usage:
A detailed how-to-use guide can be found on the
PSPad homepage
.
Alterantive: SMG XML Editor
About:
A XML - Editor for Empire at War and Forces of Corruption
Download:
SMG XML Editor 1.0
for 32-bit Windows XP/Vista/7 (1.71 MB)
Languages: English
Installation:
Just put the extracted files into the XML folder of your mod.
Start with startEditor.bat.
Usage:
Use the StarEditor.bat to start the editor.
If its the first you run the Editor please initialize the Filters by clicking on choose Filter under Balancing, and then click the set Filter button.
Traderoutes:
-Create Traderoute:
Enter Data and click create Traderoute.
Attention:
1. The size of the shown Galaxymap can be altered by editing the galactic_coord element in the config.xml.
2. All planets (including Story&Tutorialplanets) will be shown in the Map, if you dont want them there delete them from the planets.xml, same applies to the traderoutes.
3. After creating a Traderoute the file „traderoutes.txt“ will be created, so you can easily cop its content into one of your campaigns.
4. The TraderouteEditor is not yet ready for multicampaign mods.
-Delete Traderoute :
Simply select the traderoute an click delete.
Balancing:
-Choose Filter:
Set Filter – initializes the Filters according to the files in the directory
Attention: You can manually edit the filters by opening the [x]Filter.xml and delete or add attributes, in future releases i will include easier ways of doing this.
-Load Files:
Select a file and click Load. If you want to Load FoC-Style XMLs then select „custom“ and select your file.
Attention: Editing FoC style XMLs will require you to select some Filters accordingly to your file, i know this is not perfect, and ideas for simplifing this are welcome.
Chainevents:
-create Sectorcontrolevent:
Planeten angeben, Objekt das freigeschaltet/gespawnt werden soll angeben,Wiederholbarkeit
Enter Planetnames, the object which you wish to release, and if the event should be perpetual.
If you select a Spawn-Event, then you have to Enter a Planet where the Spawned Unit should spawn and how many of these units should spawn there.
The resulting XML will be created and ist named „Sektorkontrollevent.xml“ copy its contents into your story arc.
-Create Movieevent:
Enter Values and save