Okay, this is my last post in this topic – it's obvious you're going to advertise a clearly less efficient tool just because you've created it.
I'm saying this for the fourth time I think, but apparently you still didn't get it – anything other than exporting and importing scripts is done by simply editing a text-based file. If you know how to do something in Notepad (like how to copy-paste), you know how to do it for H4 Utility scripts.
Anything your tool can do with scripts, can be easily done with H4 Utility:
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.
With H4 Utility, if you want to edit something in a script, you simply edit a part of the C-like file. You want a script to give 1000 gold rather than 500? You just change 500 to 1000 as you would in any text file. You want to give this gold to the blue player rather than red? You just change P_RED to P_BLUE as you would in any text file.
There's one important difference, though – with H4 Utility you can edit every possible script, nothing "remains to be implemented".
Copy / paste events between maps or objects.
Copy / paste scripts between events.
With H4 Utility you just copy-paste text, it couldn't be simpler.
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 H4MG 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.
Again, can be easily achieved with H4 Utility – you just copy-paste scripts to/from any text file you want.
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.
You can easily navigate to any part of your code; nothing prevents you from creating a new script at any level; moving scripts is done via cut-pasting, just like in any text file.
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.
This one depends on how you're editing the code, but many text editors support this, for instance Sublime Text.
If someone insisted on using these exact scripts, they'd need to make them on their own (so this could take a bit more time, but this still isn't anything difficult).
And then there are a lot of advantages of H4 Utility:
- For a lot of people it's simply more convenient and faster to work with text rather than do everything in a click-based UI. There is a reason why most IDEs are text-based.
- You can use other tools and programs to quickly generate large parts of code, which would be otherwise very time-consuming. For example I needed a script to give variable amount of variable resource to variable player. Due to the limits of H4 engine it can only be done by checking for every possible case, which takes roughly 7000 lines of code. I cannot imagine doing it all manually, so I generated everything with another program and pasted it to the actual file.
- Code comments.
- Macros.
- You can use any feature supported by the text editor of your choice, which includes, but is not limited to:
- Find&replace with regular expressions;
– Code folding;
– Customizable theme and syntax highlighting.
- It's possible to set up a code repository for your scripts, which is very useful for any bigger project.
- Lots of different things I don't remember off the top of my head or perhaps didn't even think of.