Skip to content

Posts from Object sizes.

No ratings yet — be the first to rate!
User Avatar
6 years ago
Auto-translated
I'm trying to make the Library of Enlightenment like in Heroes 3. I want it to be 3 cells long and 3 wide.
But its characteristics are kind of strange, considering that it is 5x5...


Accordingly, a question has arisen: how exactly are length and width calculated in Heroes 5? Some of the numbers are strange, and not only in this specific case. If anyone has experience with this, please don't ignore the thread and tell me what you know =)
User Avatar
6 years ago
Auto-translated
The number of cells occupied is not specified in this file; the geom file editor automatically sets almost everything, except for RootMesh and RootJoint, and possibly references to aigeometry.
In reply to footman
User Avatar
6 years ago
Auto-translated
The occupied cells are specified in the file responsible for the object on the map. There, each cell is a separate item with coordinates. And this item can be assigned to be either an active or inactive cell. Also, in the same file, you can define "empty" cells under the object if the model extends below the surface level. For example, this is how the cities of demons and dark elves are created, with gaps in the city.

Added 3 minutes later
To make the same object smaller, you can export a reference object from the game, something that occupies exactly one cell (the dwarves have some kind of fiery sewer grate) and adjust the size in Max. Or, you can add the model as an effect on top of the object and edit the size of the effect.
User Avatar
6 years ago
Auto-translated
Is this it? It seems like there are 24 mentions, and another one at the bottom about active tiles...


I think I understand the approach now =)

Correct me if I'm wrong =)
And I don't quite understand what "possession tile" is)))
In reply to Waterfall_13
User Avatar
6 years ago
Auto-translated
I can't say for sure, but I assume it's a cell above which the marker of the player who captured the object will be displayed. In other words, it's a faction symbol.
User Avatar
6 years ago
Auto-translated
Well, I don't know. Judging by the coordinates, this cell isn't above the object, but below it, in front of the entrance. 0 on the X-axis -3 on the Y-axis It seems to be even in front of the active tile. ... And does the library have an affiliation with a player? I hadn't noticed, I'll have to take a look.
In reply to Waterfall_13
User Avatar
6 years ago
Auto-translated
There doesn't seem to be any specific property for this, but it might not exist, and it could still have a value. I'm referring to the position of this marker along the x and y axes. The height along the z-axis is calculated differently. But these are just theories. Perhaps the model file itself contains a bone that indicates the position, etc.
User Avatar
6 years ago
Auto-translated
The Arena had an interesting way of displaying blocked cells. =)


It seems like the Arena isn't recessed into the ground... but Google said that "Hole" means


Maybe I'm misunderstanding something?

P.S. I suspect that "possessiontile" is the cell that the cursor points to when hovering over a building in general (but I'm not sure). At least for the Library, this cell is located OUTSIDE the Library itself. But for the Arena and the Tower of Marlet, it's located at coordinates x-0, y-0 for some reason. It's unclear. =)


P.S. P.S. I looked it up, and the Arena can slightly sink into distorted areas of the landscape... maybe that's why it has the "Hole" marking.

Statistics

Welcome our newest member: recijeb