Skip to content

Posts from Current questions and answers regarding the map editor.

5.0 (12 ratings)
In reply to Heroist
User Avatar
12 years ago
Auto-translated
Heroist
1) I removed the monster, adjusted the turn, and did everything else. I haven't tried it with a hero yet - I haven't placed it on the map.
2) Size? Hmm. 3x4, but two cells on the sides are like a "slope," so it's 3x2.

Added 2 minutes ago
You could, of course, set z = -2. But I'm not sure. Maybe throw in some kind of rock.

I suggest trying to pass this area with a hero in the game itself. There's a 60% chance the hero will pass normally. Have you tried saving and reloading the editor?
User Avatar
12 years ago
Auto-translated
Yes, that's correct; the hero not only moves normally in the game, but flying objects also land correctly. Although the bug still persists in the editor, it's good that it doesn't affect the gameplay. Thanks to everyone!
In reply to Ment
User Avatar
12 years ago
Auto-translated
Looks like I found a good method...
Using the mesh2wrl and accutrans3d utilities.
User Avatar
12 years ago
Auto-translated
Is it possible to add an ID for the ninth faction somehow? I don't want to replace the existing ones.
User Avatar
12 years ago
Auto-translated
Unfortunately, it is not possible.
User Avatar
12 years ago
Auto-translated
That's disappointing. But there's a mod called ncf that adds new IDs, so why can't the same be done for towns?
User Avatar
12 years ago
Auto-translated
Well, theoretically, it's a task of roughly the same complexity. But for some reason, I haven't seen anything like it anywhere yet, even though the idea seems obvious. I myself once tried to delve into the executable file, but it's quite complicated... In short, I don't know. In principle, if you have the desire to figure all this out, you potentially can.
User Avatar
12 years ago
Auto-translated
Why not use TOWN_SPECIAL or RACE_SPECIAL?
User Avatar
12 years ago
Auto-translated
what can be used to modify the executable file, as various resource hackers don't help?

Added 2 minutes later
RedHeavenHero
Why not use TOWN_SPECIAL, RACE_SPECIAL?

I'll say right away that using RACE_SPECIAL leads to crashes in most cases.
User Avatar
12 years ago
Auto-translated
A TOWN_NO_TYPE, RACE_NO_TYPE?

Added 1 minute ago
And could it be that the crash isn't due to the use of "special," and the same problems will occur with a new ID?
User Avatar
12 years ago
Auto-translated
RACE_NO_TYPE also causes a crash, I've tested it several times. They are used there for something else, and by the way, if you use "none" as the hero class, some of the scripts in the campaign partially stop working.

Added 2 minutes later
I'll try to find out what they are used for by looking through data.pak.
User Avatar
12 years ago
Auto-translated
I'll try to find out what `no_type` and `none` are for by looking through `data.pak`.
`TOWN_NO_TYPE` - town type for neutral creatures.
`HERO_CLASS_NONE` - simply an empty hero class. I saw a hero with the "Uncategorized" type on one map.
User Avatar
12 years ago
Auto-translated
I dug around and saw that HERO_CLASS_NONE uses an object for a random hero in the editor. If you assign a different class to this object, the editor crashes no matter what.

Added 6 minutes later
I managed to launch the game with a special city. Here are the reasons why it's unlikely to be functional:
1: The map view is gone.
2: If you open the building menu, you can't build anything, no matter what you do.
3: If you open the building menu, the game either freezes or you can't close it.

Added 1 minute later
Now I'll try no_type.
In reply to Zex Pain
User Avatar
12 years ago
Auto-translated
1: The map view disappeared.
2: If you open the building menu, you can't build anything, no matter what you do.
3: If you open the building menu, the game either freezes or the menu cannot be closed.
1. What? What view?
2, 3. How did you create the town? Did you create it from scratch or copy an existing one in the editor?
User Avatar
12 years ago
Auto-translated
With NO_TYPE, the same issue occurs.

Added 1 minute ago
RedHeavenHero
1. What? What kind?
2,3. How did you create the town? Did you create it from scratch or copy an existing one in the editor?

1. The appearance on the map.

2,3: I tried both methods, and it's the same.

Statistics

Welcome our newest member: recijeb