|
|
Invictus7
Adventuring Hero
Lurking About...
|
posted April 12, 2011 01:28 PM |
|
|
Quest Gate
I've posted this a few times before, but no success.
Due to my almost complete noobism with ERM I was hoping someone would be willing to script a map object for me and general use. I've already created the image but have no idea as how to go about scripting it.
I don't know if it's possible, but I'm looking for an object that acts like a border gate except with quests i.e. each player or hero has to complete a quest in order to pass through, however, unlike the quest tower, stays there so that other players also have to complete that quest in order to pass, not just wait for someone else to do and then just walk through.
Any help/interest would be greatly appreciated.
____________
Question Convention
|
|
Warmonger
Promising
Legendary Hero
fallen artist
|
posted April 12, 2011 02:24 PM |
|
|
I had this idea in mind since H4, but unfortunatelly it's going to be a hell of code making it with ERM from scratch. Still, wish you luck.
Also, please show the graphics.
____________
The future of Heroes 3 is here!
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted April 12, 2011 02:57 PM |
|
|
What's so hard? Make the gate red and don't place any red keymaster's tent on the map. When the quest is done, assign to the current player the red tent using !!OW:K.
|
|
Invictus7
Adventuring Hero
Lurking About...
|
posted April 12, 2011 03:27 PM |
|
|
Okay here's the image:
It's nothing special.
I would've also thought that it would be hard to script seeing as the the quest tower doesn't have an existing script; but as Salamandre has shown, it may not be so difficult. I can see that in order to use ERM you have to think rather laterally. In any case, even with your advise, I would have no idea where to begin.
I have tried making *.wog files but they never worked. It's been hard even doing the simplest things, like getting the .def into the mapmaker.
Although now that I have an idea of what may be involved I will research more. Again, any help would be appreciated
____________
Question Convention
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted April 12, 2011 04:20 PM |
|
|
Let's say you have an object at 10/10/0.
!?OB10/10/0; quest
!!OW:C?y1; which player visited it?
!!OW:Ky1/2/1; red border is free from now for only that player
To change the aspect of the red gate use the enhanced editor, GrayFace patch.
|
|
JimV
Responsible
Supreme Hero
|
posted April 13, 2011 06:29 PM |
|
|
Learning ERM
The way to learn ERM (the way I learned, anyway) is to read all the tutorials in the ERM Help HTML file, then read everything else: all the receivers, all the triggers, all the stuff about variables and flags, etc. That way, when want to script something, you may remember commands which could be useful for that script - not exactly, but well enough to find them again and reread them. Then it's practice, practice, practice. And reading the WoG scripts in Data/s which might do something similar to what you want to do.
Unfortunately, there are a few errors and typos in the ERM Help, but it is 99% accurate.
For the subject project, you should re-read the turorial on adding a scripted object to the map. Basically, it is not enough to just add a yellow square to the map. In order to script it, it must have a hard-coded yellow square so that the program will interact with it. If it is one of the new WoG objects which has a yellow square but does not have a hard-coded Heroes function, then you just need to write a script for it, e.g., the WoG Emerald Tower script was written for that object.
If it is a Heroes object, such as a quest gate, you have to disable its normal function - see the !!OB receiver in the ERM Help.
That's enough for a start. It would be easy to write the script for you, given exact details of the quests and so on, but it would be more fun and interesting to write it yourself.
|
|
|
|