• Advertisement

Make and rearrange your folders in Heroscribe

Discuss other HeroQuest expansion topics that do not fit into the above categories.

Make and rearrange your folders in Heroscribe

Postby Anderas » Friday September 14th, 2018 1:20pm

Knightkrawler just asked me today how I would rearrange my heroscribe.
I thought before I just tell him privately how it's done, I rather anchor that as Forum post so that everyone can do it.

First step is to get decent tools. I talk about a proper text editor like Notepad++.
It's not a layout tool like word or latex or such; it just edits text, not more.
But it has the advantage that it recognizes all sorts of strange text formats and makes them colorful readable.

Second, try find your heroscribe installation. I mean the place where you have stored your heroscribe.exe.
In that folder, you will find a file called "Objects.xml".
This file contains all maps, all folders, and associates also icons with folders.

Open it in Notepad++. It will look all purple and red, like so:
Image

There you see lines starting with
<kind id="hero" name="Heroes" />

You see. That's a folder for you in Heroscribe. They appear in exactly the order you put them here.
My example, the line for Heroes, has an internal id "hero" that you should keep in mind, because you want to reuse it elsewhere in this same file. The "name" name is the one you can see in Heroscribe after saving this file and opening heroscribe.
Let's assume I don't want to search my HQ25 symbols all over the place. It would be nice to have a single folder that I can use for my HQ25 quest editing. So I add a line, like so:

<kind id="hq25" name="HQ 25 All In One" />

It would appear in Heroscribe as "HQ 25 All In One"; and internally in this file I refer to it as "hq25".
I put mine under "All in one pack various". It looks like so:

Image

Ah yes, i put some comments above and below so that it will be easier for me to find my changes.
Everything between <!--
and -->
becomes green, which is nice as you immediately find it when you scroll this purple and red file; also it is completely ignored by any xml parser, also by heroscribe. So you can put text there as you like, for yourself, as reminder for later.

Now we have a folder. Great huh? No! That's kind of boring, I mean what use is a folder without content? Really! Grow up!

So we want to put something inside now. You should have a monster in mind - this file is QUITE loooooooooooooooooooooong.
But as you are well prepared, unlike me, you have a monster in mind. Sure you do. You search for it by ctrl-f. I *cough* chose the alternate Sinestra to be my first victim.
You will land in an area of the file that looks like... like so:

Image

The "object" tag starts the monster, the </object> tag at the end.. ends the monster.

The first line is important.
The "name" again is what you see in Heroscribe. Each name can be there only once, so if you want to invent new monsters you'll have to be creative. sorry.
The "id" is what heroscribe internally uses to refer to this symbol. Again, unique, be creative.
The "width" and "height" tell you how many squares the symbol takes on the heroquest board. Those two values sadly don't size the icon, they just reposition them. So, to be ignored for the moment.
The "kind" is you folder. I just invented the "hq25" folder id above, so if I exchange the "allinonemonster" with "hq25", then alternate Sinestra will be in my folder.

Second and third line are pointing to the right folder in Heroscribe, move the symbols by minimal amounts to look better, and most of them are not in the original Heroquest game so they have original="false" there. Which is just for information.
Then comes a note:
between <note> and </note>, there is often some text saying who was making the symbol and who was editing it. Again, just for information.

Now, our first Idea was to move a symbol from one place to another. But wait:
That's not perfect. If we share our Object.xml with others, they will miss Alternate Sinestra in her usual place. Probably they will go mad searching for her.
So it is better to make a copy of this block and rename it somehow.
Then we need to make 3 changes instead of one.
Remember: id and name both must be unique; so once you make a copy you need to invent a new name.

I made a screenshot to how it looks on my screen: The upper original Alternate Sinestra, the lower is renamed in Ann the Nun.

Image


Finally, it is interesting to have all your changes in one place in the file, so that you find them easily. I marked of a space in the file with
<!-- Alotta blabla -->
Then I have all my monsters
<!-- then I separated with more comment -->

So if I scroll the file, I find my changes easily. If I download a new file from Stratos, I can copy and paste my changes easily into his heroscribe files.

Final word:

While the folders appear in the order you put them into the xml file, the content is always in alphabetical order.

So it would be wise to name things not like

Secret door
Alternate secret door

but instead to give names like
Secret door
Secret door alternate

in order to have same-ish things together.
Last edited by Anderas on Tuesday September 18th, 2018 3:28am, edited 1 time in total.


Rewards:
Hosted a Play-by-Post game. Played a turn in a Play-by-Post game. Created a Hot Topic. Participated in three (3) Miniature Exchanges. Zealot Miniatures: Twisting Catacombs Kickstarter Backer Encountered a menacing Chaos Warlock!
User avatar
Anderas
NOT Andreas!

Swordsman
Swordsman
 
Posts: 1995
Images: 37
Joined: Saturday September 20th, 2014 7:02am
Forum Language: British English
Evil Sorcerer: Morcar
Hero:
Usergroups:
Adventurers' Guild Group Member Artists Group Member
Champion Group Member

Re: Make and rearrange your folders in Heroscribe

Postby knightkrawler » Friday September 14th, 2018 3:09pm

This is awesome!
Thanks, mate! Putting together that post is a lot of work. I appreciate that.
HQ - Heroes & Villains (Dropbox-download link) https://www.dropbox.com/sh/jgj0kzsys9w38oh/AAA_VEHx6vMv4HKRX7IiOWTFa?dl=0
Feedback http://forum.yeoldeinn.com/viewtopic.php?f=38&t=3560
Gallery http://forum.yeoldeinn.com/viewtopic.php?f=56&t=1972&hilit=knightkrawler+gallery&start=200
____________________________________________________________________________________________________________

I've found a way of paying off old debts:
Always make more promises than you can break.


Rewards:
Grin's Stone Map Created a Hot Topic. Participated in three (3) Miniature Exchanges. Killed a mighty Fimir! Shattered a Skeleton! Destroyed a Zombie! Unravelled a Mummy! Crushed a powerful Chaos Warrior! Smashed a massive Gargoyle! Encountered a menacing Chaos Warlock!
User avatar
Cheese Baron
knightkrawler
The Furry Blue Derailer

Witch Lord
Witch Lord
 
Posts: 5608
Images: 27
Joined: Friday May 25th, 2012 2:26pm
Location: Regensburg, Germany
Forum Language: English (United States)
Evil Sorcerer: Morcar
Hero:
Usergroups:
Adventurers' Guild Group Member Champion Group Member

Re: Make and rearrange your folders in Heroscribe

Postby StratosVX » Friday September 14th, 2018 10:17pm

If I can ever get time to try to rewrite Heroscribe, one of the changes on my list to make is to provide an interface to allow users to make their own folders and change the metadata associated with any icon so they can have it set up how they want it. Buuuuttt, that's a ways down the road yet.


Rewards:
Zealot Miniatures: Twisting Catacombs Kickstarter Backer
User avatar
Scribe of Heroes
StratosVX
I hate snakes, Jacques...

Giant Wolf
Giant Wolf
 
Posts: 719
Joined: Tuesday November 6th, 2012 12:44am
Location: Utah, USA
Forum Language: English (United States)
Evil Sorcerer: Zargon
Hero:
Usergroups:
Champion Group Member

Re: Make and rearrange your folders in Heroscribe

Postby knightkrawler » Saturday September 15th, 2018 2:37am

StratosVX wrote:If I can ever get time to try to rewrite Heroscribe, one of the changes on my list to make is to provide an interface to allow users to make their own folders and change the metadata associated with any icon so they can have it set up how they want it. Buuuuttt, that's a ways down the road yet.


You're still young and quite talented.
I have high hopes for you. |_P
HQ - Heroes & Villains (Dropbox-download link) https://www.dropbox.com/sh/jgj0kzsys9w38oh/AAA_VEHx6vMv4HKRX7IiOWTFa?dl=0
Feedback http://forum.yeoldeinn.com/viewtopic.php?f=38&t=3560
Gallery http://forum.yeoldeinn.com/viewtopic.php?f=56&t=1972&hilit=knightkrawler+gallery&start=200
____________________________________________________________________________________________________________

I've found a way of paying off old debts:
Always make more promises than you can break.


Rewards:
Grin's Stone Map Created a Hot Topic. Participated in three (3) Miniature Exchanges. Killed a mighty Fimir! Shattered a Skeleton! Destroyed a Zombie! Unravelled a Mummy! Crushed a powerful Chaos Warrior! Smashed a massive Gargoyle! Encountered a menacing Chaos Warlock!
User avatar
Cheese Baron
knightkrawler
The Furry Blue Derailer

Witch Lord
Witch Lord
 
Posts: 5608
Images: 27
Joined: Friday May 25th, 2012 2:26pm
Location: Regensburg, Germany
Forum Language: English (United States)
Evil Sorcerer: Morcar
Hero:
Usergroups:
Adventurers' Guild Group Member Champion Group Member

Re: Make and rearrange your folders in Heroscribe

Postby lestodante » Saturday September 15th, 2018 3:40am

A more comfortable icon select menu would be great, for example with buttons on the top bar instead of using the drop-down menu.
Also the possibility to move the icons already placed on the map with a simle drag and drop.
A DELETE button on the top bar, so I only need to press on the placed icon and then delete (or by right click and a selection menu).


Rewards:
Participated in a Miniature Exchange. Encountered a menacing Chaos Warlock!
User avatar
lestodante

Ogre Lord
Ogre Lord
 
Posts: 259
Images: 3
Joined: Saturday January 7th, 2017 9:40am
Forum Language: British English
Evil Sorcerer: Morcar
Hero:
Usergroups: .
Champion Group Member

Re: Make and rearrange your folders in Heroscribe

Postby Anderas » Saturday September 15th, 2018 4:28am

An automate questimator that always shows how good the heroes need to be equipped to stand up to the monsters. Could be in a corner, just showing a number of 1 or more, indicating how many dice of equipment they need.
An automatic monster count, dead end count and labyrinth loop count would be good, too, because that's a great quest playtime estimate.

A menu point "add your own icon". It would autotrace a bmp or png or accept an eps and then does all the fiddly stuff heroscribe internal. Actually that one was done by me last week but I fail to do those annoying minichanges heroscribe demands.


Rewards:
Hosted a Play-by-Post game. Played a turn in a Play-by-Post game. Created a Hot Topic. Participated in three (3) Miniature Exchanges. Zealot Miniatures: Twisting Catacombs Kickstarter Backer Encountered a menacing Chaos Warlock!
User avatar
Anderas
NOT Andreas!

Swordsman
Swordsman
 
Posts: 1995
Images: 37
Joined: Saturday September 20th, 2014 7:02am
Forum Language: British English
Evil Sorcerer: Morcar
Hero:
Usergroups:
Adventurers' Guild Group Member Artists Group Member
Champion Group Member

Re: Make and rearrange your folders in Heroscribe

Postby StratosVX » Saturday September 15th, 2018 7:04pm

knightkrawler wrote:You're still young and quite talented.
I have high hopes for you. |_P

Wrong on both counts. (I'll be 40 this year)


Rewards:
Zealot Miniatures: Twisting Catacombs Kickstarter Backer
User avatar
Scribe of Heroes
StratosVX
I hate snakes, Jacques...

Giant Wolf
Giant Wolf
 
Posts: 719
Joined: Tuesday November 6th, 2012 12:44am
Location: Utah, USA
Forum Language: English (United States)
Evil Sorcerer: Zargon
Hero:
Usergroups:
Champion Group Member

Re: Make and rearrange your folders in Heroscribe

Postby StratosVX » Saturday September 15th, 2018 7:07pm

Anderas wrote:An automate questimator that always shows how good the heroes need to be equipped to stand up to the monsters. Could be in a corner, just showing a number of 1 or more, indicating how many dice of equipment they need.
An automatic monster count, dead end count and labyrinth loop count would be good, too, because that's a great quest playtime estimate.

Hadn't thought about that. That would be something to work on after a working HS was in place (added on after).

Anderas wrote:A menu point "add your own icon". It would autotrace a bmp or png or accept an eps and then does all the fiddly stuff heroscribe internal. Actually that one was done by me last week but I fail to do those annoying minichanges heroscribe demands.

This was one thing I had intended to do. Also an "add your own map." As well as a "create map" function.


Rewards:
Zealot Miniatures: Twisting Catacombs Kickstarter Backer
User avatar
Scribe of Heroes
StratosVX
I hate snakes, Jacques...

Giant Wolf
Giant Wolf
 
Posts: 719
Joined: Tuesday November 6th, 2012 12:44am
Location: Utah, USA
Forum Language: English (United States)
Evil Sorcerer: Zargon
Hero:
Usergroups:
Champion Group Member

Re: Make and rearrange your folders in Heroscribe

Postby knightkrawler » Saturday September 15th, 2018 7:12pm

Well, then
knightkrawler wrote:I have high hopes for you. |_P
HQ - Heroes & Villains (Dropbox-download link) https://www.dropbox.com/sh/jgj0kzsys9w38oh/AAA_VEHx6vMv4HKRX7IiOWTFa?dl=0
Feedback http://forum.yeoldeinn.com/viewtopic.php?f=38&t=3560
Gallery http://forum.yeoldeinn.com/viewtopic.php?f=56&t=1972&hilit=knightkrawler+gallery&start=200
____________________________________________________________________________________________________________

I've found a way of paying off old debts:
Always make more promises than you can break.


Rewards:
Grin's Stone Map Created a Hot Topic. Participated in three (3) Miniature Exchanges. Killed a mighty Fimir! Shattered a Skeleton! Destroyed a Zombie! Unravelled a Mummy! Crushed a powerful Chaos Warrior! Smashed a massive Gargoyle! Encountered a menacing Chaos Warlock!
User avatar
Cheese Baron
knightkrawler
The Furry Blue Derailer

Witch Lord
Witch Lord
 
Posts: 5608
Images: 27
Joined: Friday May 25th, 2012 2:26pm
Location: Regensburg, Germany
Forum Language: English (United States)
Evil Sorcerer: Morcar
Hero:
Usergroups:
Adventurers' Guild Group Member Champion Group Member

Re: Make and rearrange your folders in Heroscribe

Postby Anderas » Sunday September 16th, 2018 2:03am

Ah that's as young as I am. We call that young here.

Another feature:
Automatic grey/white on the map depending on door placement.


Rewards:
Hosted a Play-by-Post game. Played a turn in a Play-by-Post game. Created a Hot Topic. Participated in three (3) Miniature Exchanges. Zealot Miniatures: Twisting Catacombs Kickstarter Backer Encountered a menacing Chaos Warlock!
User avatar
Anderas
NOT Andreas!

Swordsman
Swordsman
 
Posts: 1995
Images: 37
Joined: Saturday September 20th, 2014 7:02am
Forum Language: British English
Evil Sorcerer: Morcar
Hero:
Usergroups:
Adventurers' Guild Group Member Artists Group Member
Champion Group Member

Next

Return to Other Expansion Topics

Who is online

Users browsing this forum: No registered users and 0 guests