Posts from Не работает HoMM5 Map Scripts Editor
The advice given above works in this regard and is relatively straightforward.
it would be better if you did this: open the script in the editor, write something there, save it, and close the editor. A MapScript.lua file will appear in the map folder, and you will be able to edit it using the Script Editor.
Ment, I found some link to mapScript in map.xdb, what should I do with it?
:smile16:
You see, when I open the script editor, the entire editor crashes.
Ment, I found some link to mapScript in map.xdb, what should I do with it?
There is a way to open scripts in the editor. For this, you need an extended editor. So: open any official map in the editor and quickly go to the scripts. Then, go to the created map and write something, and quickly exit. This works for me personally.
There should be no backslashes before the quotes; this is just a quirk of how it's displayed here.
And copy MapScript.xdb from any working map. I'm not providing the content because it will be automatically blocked as malicious code.
You see, when I open the script editor, the entire editor crashes.
The procedure described above is simply done very quickly. Open the map, open the script, close the script, close the map. I managed to do it before the crash.
Hello! I have the same problem. It crashes immediately after clicking on Scripts Edit. I don't know what to do. Is there a way to implement scripts through an external script editor?
Added 2 hours 14 minutes ago
I think I found a solution, but it's questionable.
On a copy of the map, the editor opened somehow, just once. Now I have a MapScript file, and I managed to transfer it to the main map. However, I'm not sure if it will be possible to implement the same script in a map with a different name? Or in a map with a different size? (I successfully implemented it in the original map, from which the copy was made – thanks to Remix for the idea, his video inspired it).