Download the H4 Advanced Options Map Editor here.
For documentation on reading .h4c files, see the following link
Or, see the following:
Link to the open source repository for the H4 Resource Editor and Advanced Options Map Editor. If you are interested in making contributions, send me a pm.
Current Features:
- Create, open, and edit .h4c (Heroes 4) map files.
- Paint terrain as you can in the H4 editor, but with significantly larger brushes and different shapes (circle and square so far). The utility here is to be able to quickly and efficiently paint an entire map. It makes level design, as far as terrain, fast and easy.
- Paint "void" terrain. This is the completely black terrain that gets painted when using the rock or cave tool in the H4 editor. In the Advanced Options Editor, you can paint that type of terrain without the rock or terrain boundaries, and on any elevation. Just make sure you place all of your objects first, since we can't yet place objects with this editor.
- Gives quick and easy access to all map events and all objects which can contain events. Some fields on the events and objects are editable and some remain to be implemented. Most script types can be edited.
- Copy / paste events between maps or objects.
- Copy / paste scripts between events.
- Save / load events to / from file. Rather than have to open a map with the scripts you want to copy, you can create an event group, copy the scripts to the event group, and save that to file. All event groups are loaded when the Advanced Options Editor is started and the events can be copied / pasted to any map.
- Save / load quest huts, gates, and guards to / from file. Have a cool item shop or quest hut? You can save the scripting to file, and load it to any quest hut type.
- Viewing scripts in an event has been overhauled. Now scripts are in a Tree View, so you can navigate to any script you want, regardless of whether it is nested inside another script (such as inside a conditional script). You can create a new script at any level, and you can even drag and drop scripts to new locations, which can be extremely useful.
- Easily navigate to custom triggered events from a script which calls said event. For example, if I have a script which calls a Custom Event "Blah_1", then I can edit the "Trigger Custom Event" script, and there is now a button to open the custom event. This is especially helpful for getting to custom events on objects which can be spread out around a map.
- Area selection tool with advanced options such as copy / paste or move. Copy a part of the map, and paste it either in the same map, or on another.
- AI difficulty adjustments, using scripts, based on this forum topic.
- Rename numeric or boolean variables. They can be renamed within a single event, within an object, or map wide. To rename within an event, open the event and there will be a "Variables" button. To rename within an object, open the object and there will be a "Variables" button. To rename map wide, navigate to the "Events" tab and there will be a "Variables" sub tab.
Note. The renaming assumes you do not have any numeric variable with the same name as a boolean variable.
- Ability to add objects to the map.
- Renaming feature for triggerable events.
- Elevation features such as cliffs and plateaus.
- Zoom in / out (right now you see the entire map).
- Change map size without having to create a new map.
- Random map generation.
- Advanced scripting system.
- Convert H2 maps to H4 maps.
- Convert picture to map. (This is being worked on by others, thus the low priority).
- Copying / pasting events: page 4
- Example of void terrain: page 7
- Above / below ground and grid: page 7
- Painting terrain: page 8
- Initial objects with events viewing: page 8
- Copying / pasting events between heroes and armies: page 8
- Event groups: page 9
- Saving / loading quest huts: page 9
- Script tree view: page 10
- View a custom event from a separate event: page 11
- Copying / pasting scripts between events: page 11
- Dragging and dropping scripts: page 12
- Initial area selection tool: page 12
- Copy and paste a portion of a map to another map: video