
---------------------------------------------
Неудачное планирование ведёт к неудаче ...
NCF - мод, добавляющий дополнительных существ в HeroesV 3.1
New here? I'm Roha — want a quick tour?

I don't think there's a bug here, as fktifzobr@mail.ru believes. In fact, the opposite happens: the individual camera is disabled by the General camera when viewing the castle garrison.
The suggested solution of creating a copy of the General camera for everyone and placing the hero in the original camera would result in everyone except the hero becoming tiny in the garrison. Adjusting everyone to fit one giant is not the right approach, and it's also a scripting issue.
There probably is a file that specifies the camera for castle garrisons. If it's race-specific, there's nothing to be done, but if it specifies a General camera, it might be possible to add an individual camera or remove the General camera.
I still think it's a bug. The individual camera turns off on the map, but the camera gets lost in the town.
Where is the individual camera defined? - In the hero file for the map.
What happens when a hero hides in a castle? - His model disappears from the map.
I think the hero is removed from the map, but his model and stats are saved in the map's cache, but the path to the individual camera file is not saved.
Interesting. You can place a hero with an individual camera in a boat or hide him in a Sanctuary, buy a regular hero in the Castle, and switch to the hidden hero from his interface.
I don't remember if the hero's icon remains when he's in a boat or Sanctuary. Maybe this isn't the same as the Castle garrison.
There is no such class, so it's hard to say whether the Warlock will work at all.
Also, it doesn't have a skill wheel, skill drop chances, or attribute drop chances.
The game now displays "uncategorized" where it used to say "demon lord." Skills and abilities still appear, I can skip my turn, and the game doesn't crash.
Could there be a workaround to link it to a class so that the camera doesn't glitch?
Done. In the Sovereign lord's file (AdvMapHeroShared), I wrote HERO_CLASS_DEMON_LORD_1, and in UIGameRoot.(UIGameRoot), I added what's highlighted in the screenshot below.
If needed, I can create a mod for the mod to unlock campaign heroes.
And another question: will changing the "class" parameter in the lord's file affect anything else? If so (in a significant way), then forget about it.
The question is: in which file is it specified which camera these two creatures should use? I want to change the camera for a creature that will replace the black knight, without affecting the camera of the death knight. How should I do this?
The black knight, as I recall, shares a camera with the dark elf lizards (basic grade and upgraded grade, without alteration). And this is permanently fixed.
Is this it?