The basics of H5 scripting.
The basics of H5 scripting.
I have a small Word file in style of "H5 scripting for dummies". Anyone willing to have a look and point out the downright wrong and simply missleading things there?
The doc (edit: pdf) can be found at:
http://celestialheavens.com/homm5/manua ... ipting.zip
EDIT: changed thread title
The doc (edit: pdf) can be found at:
http://celestialheavens.com/homm5/manua ... ipting.zip
EDIT: changed thread title
Last edited by Pitsu on 17 Jan 2007, 18:20, edited 4 times in total.
Avatar image credit: N Lüdimois
Hi, Pitsu. Just a side-question, if I may?
*hum...*
Another side-question:
Are you going to let this doc available after finishing it, or it's already finished and you just want someone to look for any errors? I wanted to start on mapmaking anyday, then I'll have some difficulties since programming and scripting are subjects I don't like much, then I have a barrier when learning them.
This doc should just help a bit.
*hum...*
Another side-question:
Are you going to let this doc available after finishing it, or it's already finished and you just want someone to look for any errors? I wanted to start on mapmaking anyday, then I'll have some difficulties since programming and scripting are subjects I don't like much, then I have a barrier when learning them.
This doc should just help a bit.
"There’s nothing to fear but fear itself and maybe some mild to moderate jellification of bones." Cave Johnson, Portal 2.
- Grumpy Old Wizard
- Round Table Knight
- Posts: 2205
- Joined: 06 Jan 2006
- Location: Tower Grump
You have created a nice informative document Pitsu. I didn't see anything that is wrong but you have some things like repeat-until and transforming towns that I haven't used yet.
Something you may wish to add is how to determine the script name for heroes and how to define it for towns for instance, since that has been a cause of confusion for many.
GOW
Something you may wish to add is how to determine the script name for heroes and how to define it for towns for instance, since that has been a cause of confusion for many.
GOW
Frodo: "I wish the ring had never come to me. I wish none of this had happened."
Gandalf: "So do all who live to see such times but that is not for them to decide. All we have to decide is what to do with the time that is given to us."
Gandalf: "So do all who live to see such times but that is not for them to decide. All we have to decide is what to do with the time that is given to us."
That's a great piece of work! Surely will help many mapmakers that haven't learned H5 scripting yet.
My Heroes V map: Tales of Silentia
Thanks for feedback so far.
@ GOW. Right, naming of heroes and advanture map objects and also how to call up message files would be a good addition
@Tar. When it is more or less ready, i am planning to destroy all copies of it, but a single paper printed version. These papers will be sealed into a metal cylinder and digged into my backyard... Were did you get the idea that i may leave it available for everyones use?
@ GOW. Right, naming of heroes and advanture map objects and also how to call up message files would be a good addition
@Tar. When it is more or less ready, i am planning to destroy all copies of it, but a single paper printed version. These papers will be sealed into a metal cylinder and digged into my backyard... Were did you get the idea that i may leave it available for everyones use?
Avatar image credit: N Lüdimois
- theLuckyDragon
- Round Table Knight
- Posts: 4883
- Joined: 06 Jan 2006
great work Pitsu, i learned some new things reading it.
i might just have to go back and look at some of my script now and see if i can improve it
you hope that in the far future an archeologist will find it, and be completely amazed at his discovery. hell put it up for display in a museum with this description -
"...and here we have a guide to making scripts for a very primitive map editor. yes, even for its era this map editor was a relic. players had to manually type in all the commands themselves, and without any proper documentation from the game designers. It would take months just to make one scripted map..."
i might just have to go back and look at some of my script now and see if i can improve it
aha...and i completely understand why you are sealing it in a metal cylander and burying it.Pitsu wrote:
@Tar. When it is more or less ready, i am planning to destroy all copies of it, but a single paper printed version. These papers will be sealed into a metal cylinder and digged into my backyard... Were did you get the idea that i may leave it available for everyones use?
you hope that in the far future an archeologist will find it, and be completely amazed at his discovery. hell put it up for display in a museum with this description -
"...and here we have a guide to making scripts for a very primitive map editor. yes, even for its era this map editor was a relic. players had to manually type in all the commands themselves, and without any proper documentation from the game designers. It would take months just to make one scripted map..."
It's the best sequence about the editor I've ever heard. I just can't stop laughingmyythryyn wrote:in the far future an archeologist will find it, and be completely amazed at his discovery. hell put it up for display in a museum with this description -
"...and here we have a guide to making scripts for a very primitive map editor. yes, even for its era this map editor was a relic. players had to manually type in all the commands themselves, and without any proper documentation from the game designers. It would take months just to make one scripted map..."
My Heroes V map: Tales of Silentia
My oh My, if there ever was a truth told this was it. You guys hit it right on the head.alavris wrote:It's the best sequence about the editor I've ever heard. I just can't stop laughingmyythryyn wrote:in the far future an archeologist will find it, and be completely amazed at his discovery. hell put it up for display in a museum with this description -
"...and here we have a guide to making scripts for a very primitive map editor. yes, even for its era this map editor was a relic. players had to manually type in all the commands themselves, and without any proper documentation from the game designers. It would take months just to make one scripted map..."
I hope I'll be that archeologist.myythryyn wrote:you hope that in the far future an archeologist will find it, and be completely amazed at his discovery. hell put it up for display in a museum with this description.
"There’s nothing to fear but fear itself and maybe some mild to moderate jellification of bones." Cave Johnson, Portal 2.
File updated and as a pdf
Some parts needed a change to be correct Hopefully got the mistakes ironed out
http://www.celestialheavens.com/admin/r ... ipting.pdf
Some parts needed a change to be correct Hopefully got the mistakes ironed out
http://www.celestialheavens.com/admin/r ... ipting.pdf
Last edited by Pitsu on 17 Jan 2007, 15:31, edited 1 time in total.
Avatar image credit: N Lüdimois
- DeejMaster
- Leprechaun
- Posts: 18
- Joined: 19 Oct 2006
- Location: Muskogee, Oklahoma
Nice work, Pitsu. As always, the hardest part is 'thinking like a programmer'. As best I can tell, the syntax resembles Perl or any other of a dozen functional languages. A new user might want to go through one of the many tutorials available on the internet.
Before you criticize someone, first walk a mile in their shoes. If they get mad, you'll be a mile away. And you'll have their shoes.
Good job Pitsu.
I am new to HOMM5 map making and your scripting guide was a BIG help. It make a very difficult, nearly impossible task, fairly easy. I did the map making tutorial, read your guide, looked through the Q & A on the forum, and finished my first small map with a good amount of scripting in 2 weeks.
Thank you, thank you, thank you.
I am new to HOMM5 map making and your scripting guide was a BIG help. It make a very difficult, nearly impossible task, fairly easy. I did the map making tutorial, read your guide, looked through the Q & A on the forum, and finished my first small map with a good amount of scripting in 2 weeks.
Thank you, thank you, thank you.
rdeford, Mage Of Soquim
“Forgiving and being forgiven, loving and being loved,
living and letting live, is the simple basis for it all."
Ernest Holmes 1984
“Forgiving and being forgiven, loving and being loved,
living and letting live, is the simple basis for it all."
Ernest Holmes 1984
Who is online
Users browsing this forum: No registered users and 1 guest