_________________
Группа картостроителей
Там ответы на вопросы, руководства, гайды и прочее
Discord-сервер "Герои 5: S.T.A.L.K.E.R"
Сервер по модификации "Герои 5: S.T.A.L.K.E.R"
_________________
New here? I'm Roha — want a quick tour?
>>Of course, you can repair using a repair spell cast on the unit via a script.
Can it be done with a hero, or only with Gremlins?
A small question regarding the prophet's hut. I created it using the editor and the standard Quest interface. I decided to set the reward type to AWARD_SPELL.
However, regardless of the Spell_id that is set, when playing the game, the reward displayed in the hut's window is "Unknown." (Although the correct spell is awarded upon completing the quest).
Is this a bug in the editor itself? Is there a way to work around this without fully scripting the hut?
The editor can crash if, for example, a certain object wasn't saved, and the field contains null, and the editor tries to access it. This happened to me with a backup hero that I removed from the map. A general tip when working with the editor: make a backup of the map every day (!), because the map file can be corrupted at any moment, for various reasons.
>I broke some heroes using the map editor; with modified parameters, they launch on all maps.
If you change the parameters of built-in heroes in a map, it becomes a mod. To negate this effect, remove the map from the Maps folder if you don't want it to affect other maps.
>And how do you give a hero a permanent army (add a Sylvan to the basic army of the first Lizardman)?
If it's within the map, just give him creatures using a script.
>Add a bite attack.
Again, in this case, the map will become a mod.
GameMechanics\Creature\Creatures\Dungeon (if I'm not mistaken), and look for the creature's xdb file there. At the bottom, there's a list of Abilities; see how it's done for the upgraded Lizardman, and copy the desired ability to the regular one.
Hello!
I'm creating a Multiplayer map and have a few questions:
1) The map has a maximum level limit of 40 set in the editor. Can I set a different, lower value during gameplay? For example, select a stage with creatures for a month and limit the level to 10, so that the player doesn't gain experience for leveling up beyond that when killing creatures. I tried to add a check and subtract experience, but the function doesn't accept negative values.
2) Either I'm doing something wrong, or combat scripts don't work on Multiplayer maps, only StartCombat. Can someone confirm whether combat scripts work in Multiplayer? I want specific actions to trigger during battles based on certain conditions. I've added several trap locations and want the battles there to look more interesting.
3) I've downloaded all available Manuals and reviewed relevant ones, but I couldn't find the answer. I have a feeling I saw something like this somewhere. Perhaps I saw it on this forum before. The second question is: I've added some creatures as static objects in the map for decoration. Can I remove the animation circle underneath them so they just look like objects and only play their basic animation?
4) This is a three-in-one question. I've found all the available heroes and placed them in a closed area in the editor for the AI player. I want to add an interface for two human players to choose heroes from, not from the tavern, during further map development. I saw that they can be added to a reserve. But in the map editor, this is only available for the same heroes from the tavern. Or, if I check the boxes for all heroes in the map settings, Arentil from the Necropolis isn't available when creating the map from playable characters, and I saw a couple more missing in the editor for the Mages. Can I add them all to the reserve for player 3 in advance and then only retrieve the necessary ones using a script and replace the heroes of the other players? Or how can I add all of them for selection at the beginning of the map creation? I haven't tried creating custom heroes yet. And can I add heroes back to the reserve after replacing them with the player's heroes so they don't wander around the map? I want to leave player 3 without any heroes at all. I've implemented an infinite turn.
5) I had to remove TalkBox from the map because I found on this forum that it breaks saves in Multiplayer. I also encountered a problem where the game crashes randomly on the map, either when transitioning to a manual battle after an auto-battle calculation or even just when moving the hero around the map. Are there any "common bugs" that I should pay attention to and fix to prevent these crashes? Or is it unfixable, and I should just accept it and save more often?
1) Zephyr lost experience and skills when summoning troops. You can open the mission and see what scripts are there.
3) FAQ Jack of Shadows
4) You can go to map properties => Players => [2] => ReservedHeroes => right-click => Add. In the window that appears, create New + any unique name, you will get an AdvMapHero object on the map. Choose Shared for the desired hero, configure the rest of the fields as for a regular hero on the map. But the main thing is to choose Shared, then you can configure the hero as usual through MapProperties. If you don't choose Shared or choose it incorrectly, the map will crash when loading.
1) Thank you for the tip, I'll look into it.
3) I looked in the FAQ, there is a section "How to play animation for creatures on the global map?" It seems to be about combat animations. I was digging through the settings, maybe I didn't go deep enough, and there is a separate section for animations that controls highlighting the unit on the map, am I thinking in the right direction?
4) Thank you for the direction to explore, I will try and experiment. Here is another question. Heroes have unique script names, is it impossible to set it up so that I have two identical heroes for both players? Will the game only recognize one of them and work with it? That is, if one player chooses a hero from the reserve, and then the second, in the end, the hero will end up with the second. And it is better to reserve them with a third separate player and take them from him if both players want the same one, whoever is faster, the second should be notified that it has already been taken. If I understand the mechanics and logic of the game correctly.