Skip to content

Posts from Quests are not being completed.

No ratings yet — be the first to rate!
5 years ago
Auto-translated
I'm new to this, could you please enlighten me? I'm creating a quest to obtain an artifact or kill creatures, and they seem to be registered, but I can't complete it. I'm not very good with scripts. Maybe I'm doing something wrong? I followed the manual, and it seems like everything is correct.
User Avatar
5 years ago
Auto-translated
It's hard to give advice when you don't provide detailed, step-by-step information about what you've done. If you're not using scripts, you need to set the quest type in the MapPropertiesTree and add parameters to the tree (Parameters -> Add). The parameters themselves contain the details, such as the ID of the artifact that needs to be obtained (and possibly the name of the hero who should receive it?). More details can be found in the map editor manuals that come with the game. Also, pay attention to the flags, such as IsHidden and others. Usually, their names are self-explanatory. A single incorrect value (false instead of true, or vice versa) can seriously break the quest logic.
User Avatar
5 years ago
Auto-translated
AlexDrak
I'm new to this, could you enlighten me? I'm creating a quest to obtain an artifact or kill creatures, and they seem to be registered, but I can't complete it. I'm not very good with scripts. Maybe I'm doing something wrong? I followed the manual.
I agree with Ment. I'd like to see what you did. Otherwise, I can only say: the first parameter is the name of the artifact on the map, and the second is the hero.
In reply to }{0TT@6bI4
5 years ago
Auto-translated
Well, if I break it down into steps, I did everything as described in the guide: I set the artifact, entered the script name (in English), then went to the quest tree, entered the name, then the title and description, then the quest type (obtain artifact), added the script name as a parameter. That's pretty much it. I did the exact same thing with capturing a castle, and it works fine. But getting the artifact and killing creatures doesn't work.

Added 5 minutes ago
}{0TT@6bI4
AlexDrak I'm new to this, could you enlighten me? I'm creating a quest to obtain an artifact or kill creatures, and they seem to be added, but I can't complete them. I'm not very good with scripts. Maybe I'm doing something wrong? I think I'm doing everything as described in the guide.
I agree with Ment. I'd like to see what you did. As it is, I can only say: the first parameter is the name of the artifact on the map, and the second is the hero. So, are you saying that in order for the quest to work, I need to specify which hero should complete it?
User Avatar
5 years ago
Auto-translated
Yes. And I also believe that the script name of the artifact doesn't matter; you need to look for the ID in the list of IDs_for_scripts. I rechecked it just in case in Editor_Theoru – for the "Obtain Artifact" quest type, everything is as I said.
In reply to Ment
User Avatar
5 years ago
Auto-translated
Ment
Yes, and I also believe that the scripted name of the artifact doesn't matter; you need to look for the ID in the list of IDs_for_scripts.
I double-checked just in case – for the "Obtain Artifact" quest type, everything is as I said.
Okay, I agree, I'll keep that in mind.
In reply to Ment
5 years ago
Auto-translated
Basically, I tried everything – I set the ID, the hero's name, and even all of them together in the parameters, but nothing works. It seems the problem is either that the editor is broken, or that all of this needs to be configured differently. The only solution seems to be writing scripts, but I have no idea how to do that.
User Avatar
5 years ago
Auto-translated
The editor works well with tasks, it’s just very finicky; therefore, I wouldn’t recommend it to anyone and I won’t be doing any tasks other than HeroMustSurvive, not using scripts. Would you like me to draft a script?
5 years ago
Auto-translated
Yes, I would be grateful. And where and how can I learn more about these scripts? I heard that there should be some kind of manual for the editor. I don't have anything like that, and I couldn't find it online.
User Avatar
5 years ago
Auto-translated
In the folder where the game is installed, there is a directory called Editor Documentation. Everything is there. Or are you referring to a different manual?
5 years ago
Auto-translated
My disc doesn't have that, I bought it when the editor wasn't included, so I had to download it, and it seems they also forgot about this manual there. I watched a video about scripts, and it looks like you can't write a single script without this manual. Okay, let's see if I can find these files separately somewhere.
User Avatar
5 years ago
Auto-translated
https://docviewer.yandex.ru/view/1101757 ... fQ%3D%3D

Here are the manuals from that video about scripts, if I understood correctly.
Regarding the script, please tell me when the quest should be given, when and under what conditions it should be completed, and when it should fail?
5 years ago
Auto-translated
I've already found and studied the manual; it clearly states that you need to set the artifact ID in the parameters. It's not complicated at all. But it still doesn't work. I'm starting to think the editor is buggy. I set a simple task: build the Grail, I built it, the task is completed, I set experience as a reward, but no experience was added. I set resources as a reward, and voila, here are the resources! I honestly haven't encountered such a hassle before.
User Avatar
5 years ago
Auto-translated
Well, scripts will help.
5 years ago
Auto-translated
Thanks! It looks like I'll have to delve into the great science of scripting after all.

Statistics

Welcome our newest member: recijeb