Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > MapHaven Guild > Thread: [Heroes V] Need some help with campaign
Thread: [Heroes V] Need some help with campaign
Linny
Linny

Tavern Dweller
Sneakyness
posted February 01, 2009 02:24 PM
Edited by angelito at 19:01, 01 Feb 2009.

[Heroes V] Need some help with campaign

Hiya. I've been trying to learn the map editor and i now think im quite proficient, i can't do scripts but can do most else.

But i'm having some trouble with user campain if anyone can give me a hand that would be great i've been looking everywhere, i checked all FAQ's and soforth but cannot seem to find anything about it.

Ok so i have 2 maps that i want to link in a campain, 2nd map has no hero just a hero entry point for the previous one.
First map works perfectly when i play it by its-self.

However when i create them as a campain, it works fine, i go into game and load the campain but when i try to click the first mission to play it just says "could not play mission file may be corrupt or missing"
And i cannot open the first map in the editor anymore. ~ But i can still play the map on its own.
What is going on. I really need to get this fixed or there is no point making new maps

I don't have any expansions just 1.6 vanilla homm5, legit copy.

Ta, any suggestions would be great. On how to fix the campain to why i can't open that map anymore.
____________
I make maps and i need testers. homm5 vanilla, PM me!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted February 01, 2009 10:33 PM

Ouch... I have heard of incidents like these, where you can't open the map anymore. Unfortunately I don't know if there's a fix, except reverting to a backup map (if you have any)

Sorry.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
phoenixreborn
phoenixreborn


Promising
Legendary Hero
Unicorn
posted February 01, 2009 11:12 PM

Marzhin who did LOTA might know how to set up a user campaign.  I've never seen you before but I might be able to help test maps if you tell me what to do.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Linny
Linny

Tavern Dweller
Sneakyness
posted February 02, 2009 12:05 AM

Ta for replies, yeah i've had this problem before (i quit making maps a while ago because nobody was helping me test, but now i got back into it) and i couldn't open the map again not sure how i fixed it.

I'm currently working on a 3rd map, might aswell get on with it and figure out how to link them later. It does make creep placing hard but what can you do?

If you are interested in helping me; either with the story or just testing it, please get me on msn: Catsaholic@hotmail.com i'm on almost all days all the time when im not at work .
Appart from mondays then i have sport.

I'd also like a proper story written rather than just the short exerts from game description (aka make them into a short story) if anyone can write well and is interested please contact me.

Thanks

~ Linny.
____________
I make maps and i need testers. homm5 vanilla, PM me!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
phoenixreborn
phoenixreborn


Promising
Legendary Hero
Unicorn
posted February 02, 2009 12:12 AM

I added you.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Linny
Linny

Tavern Dweller
Sneakyness
posted February 02, 2009 06:17 PM

Still need some help about these probs :S if anyone knows about user campains.
____________
I make maps and i need testers. homm5 vanilla, PM me!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
rdeford
rdeford


Known Hero
Wyld Mapper
posted February 02, 2009 11:57 PM

Quote:
Still need some help about these probs :S if anyone knows about user campains.


Linny,

PhoenixReborn sent me a message asking if I could help you. Unfortunately, while I've made lots of heavily scripted maps, I have not ever made a campaign, so I can't help you with those problems.

As for the map no longer opening, that's a tough one. It happened to me once and I never could get it to open. I had to go back to a back up copy. BTW-- I make a fresh backup copy of a map in progress just before I open it for editing on each major editing session. I open the H5 Maps folder in one window, my backup folder for that map in another window and do a copy between the two windows. Over in the backup window, I add a version number to the file name (-01, -02, etc.) which I remove when I have to revert back to a backup copy.

As for testing, well it can be a problem finding testers. If you do find one, DO NOT send him or her a map until you have personally played it all the way through at least twice. Once as a map maker doing everything as you planned it. The second time play the map all the way through but try to do everything differently sort of like a new player would do it. I have worn out testers by sending them maps that were not really ready for testing.

I cannot help you test maps as I am taking a break from playing H5 and making H5 maps. Maybe next winter.
____________
-------------
Mage of Soquim

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Linny
Linny

Tavern Dweller
Sneakyness
posted February 03, 2009 12:21 AM
Edited by Linny at 00:21, 03 Feb 2009.

Whoops double post.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Linny
Linny

Tavern Dweller
Sneakyness
posted February 03, 2009 12:21 AM

Thanks for reply.

I have about 3 copies of all maps and lots of backups so hopefully one will work or i'm dead.

Good advice on the testers, thank you.
I hope someone will know about this campain trouble

If you could help me with some simple scripts and help me to understand them that would be cool, would be good to get some extra stuff to help my story as it's a very storybased map(s).


Currently working on map 3 despite the troubles i thought i might aswell press on, this time map has underground and a very different scheme, i must say it looks pretty cool so far, but i hate placing eyecandies!
____________
I make maps and i need testers. homm5 vanilla, PM me!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
rdeford
rdeford


Known Hero
Wyld Mapper
posted February 03, 2009 06:06 PM

Quote:
Thanks for reply.

If you could help me with some simple scripts and help me to understand them that would be cool, would be good to get some extra stuff to help my story as it's a very storybased map(s).




Send me a regular email message to: rdeford@dragonfarm.us

In reply, I will send you a H5 scripting tutorial that I never published on a forum. It got mixed reviews from my testers and I decided it was too much work to revise it. However, I believe it has great value to the noobe and I will send it to you.

Also, download the The Basics of Heroes V Scripting ver. 2.0 for H5, HOF, & ToTE from CelestialHeavens at this location:

http://www.celestialheavens.com/viewpage.php?id=567  

I used this guide to learn H5 scripting and you really cannot do it without it, in my opinion.

Once you learn the basics, look at the scripts in maps done by other mapmakers to see how they did things. The maps by Grumpy Old Wizard, Franzy, and myself (Search for the H5 maps by rdeford at CelestialHeavens.). All these contain lots of good examples on how to do things with scripting. You should be able to copy and modify chunks of the code in these scripts to do what you want done in your maps. For example, my map The Virgin of Ponce, Episode III has a very strong story. Play it first to see the effects and experience the story. Then look at the script to see how I did the effects and presented the story.

I monitor the mapmaking forums on CelestialHeavens and Heroes Community. I try to answer scripting questions there. But if you are stuck, I will reply to private messages on my regular email.

As for story ideas-- read a few Fantasy short stories or even novels and adapt the plot to make it something you can do in a map.

____________
-------------
Mage of Soquim

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Linny
Linny

Tavern Dweller
Sneakyness
posted February 03, 2009 07:29 PM
Edited by Linny at 19:31, 03 Feb 2009.

Thanks.

I just downloaded and read it and my brain ran away so i will have to take it in when i have lots of boredom time i suppose.

Shall email you whenever i get round to doing this.

Still need help with usercampain, if anyone knows anyone else refer them here please.

Edit: oh yes i didn't need ideas on story i have plenty and read a ton of books, i'm just not that good at writing the story.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
rdeford
rdeford


Known Hero
Wyld Mapper
posted February 03, 2009 11:28 PM

Quote:

Edit: oh yes i didn't need ideas on story i have plenty and read a ton of books, i'm just not that good at writing the story.


I understand. However, you may not have to worry about it. You see, you will find that telling a story with a H5 map is very different from any other way of telling or writing a story. You have to do tell your story in little separate chunks of text. Then, you have to create your map in such a way that the player triggers and sees those chunks in the correct order.

I realize that you desire to do a campaign. But in my opinion you should not do a campaign until you have done a few regular maps. The problem is that good campaign is very difficult to test properly. I read an article written by a good campaign maker in H3 who said that it took him a year to do each campaign. And H3 is a LOT easier to make maps for than H5.

Consider making a larger H5 map with discreet areas. Make entry into each of these areas conditional upon completing some objectives in the previous area. Upon entry into each area, you can use the script to present some text to move the story along, give rewards in terms of resources, artifacts, skill boosts, etc. Or you can remove excess troops, resources, etc. Thus, entry into each area can become just like entering the next map in a campaign.

____________
-------------
Mage of Soquim

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Linny
Linny

Tavern Dweller
Sneakyness
posted February 04, 2009 12:28 AM

Quote:

Consider making a larger H5 map with discreet areas. Make entry into each of these areas conditional upon completing some objectives in the previous area.

Upon entry into each area, you can use the script to present some text to move the story along, give rewards in terms of resources, artifacts, skill boosts, etc. Or you can remove excess troops, resources, etc. Thus, entry into each area can become just like entering the next map in a campaign.



How the hell do you do that that sounds exactly like what i want to do.

I want to do the campain though, even if its just for myself. Im on the third map and still have plenty of ideas and story left.

Btw i meant for the story: i wanted to write a short FULL story, encompassing the whole campain, i can easily write the short map intro's (not sure how to do stuff ingame though.)

If you can teach me some simple scripts instead of me having to dredge through the whole tutorial just yet that would be awesome. Such as implementing text at certain points, and that restricted area thing.

One other thing im not sure about is the targetglance command, how do i get that to trigger as soon as someone starts the map?
thanks for help.

~ Linny.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
rdeford
rdeford


Known Hero
Wyld Mapper
posted February 04, 2009 04:23 PM
Edited by rdeford at 16:26, 04 Feb 2009.

Quote:
... Thus, entry into each area can become just like entering the next map in a campaign.

How the hell do you do that that sounds exactly like what i want to do.

I want to do the campain though, even if its just for myself. Im on the third map and still have plenty of ideas and story left.

Btw i meant for the story: i wanted to write a short FULL story, encompassing the whole campain, i can easily write the short map intro's (not sure how to do stuff ingame though.)

If you can teach me some simple scripts instead of me having to dredge through the whole tutorial just yet that would be awesome. Such as implementing text at certain points, and that restricted area thing.

One other thing im not sure about is the targetglance command, how do i get that to trigger as soon as someone starts the map?
thanks for help.



@ Linny--

Sorry, but it is almost impossible, in my opinion, to just give you a few script elements to you because such elements would be "out of context" for any particular map you are making. Consequently, without the basic knowledge and skill in creating H5 scripting, you would not be able to integrate them into your map.

For example. open up any of my maps in the editor and look at the script. I put in LOTS of comments, at least one per code chunk, just for someone like you who desires to use parts of my script in his or her own maps. I could not send you any better script examples than these. Yet, I can almost guarantee that you will not be able to use them successfully in one of your maps until you know at least the basic concepts I present in my Tutorial.

For example, you ask how to display a target glance on day one as soon as the map starts. My answer is simple: Just place the command in the script outside the confines of a user-defined function. However, if you do not know what functions are and where they begin and end, how are you going to know where to place command? And, if you know what a function is, but do not know how to assign a scripting name to a map object and how to refer to it in the script, your command won't work. And so on, and on. See?

I can send you a copy of my Tutorial. You can go through it in one weekend. I intended it for a non-programmer audience so you will understand it. (It is helpful is you know math through high school algebra, but that knowledge is not mandatory.) The tutorial includes step-by-step instructions for doing all the things you have mentioned so far, including how to display the text for your story to the player, how to block off areas of the map, how to open them conditionally, and how to grant rewards or give penalties to the player, and it covers day-one events that happen when the map opens.

As for the actual writing of the complete story, do the best you can, then ask one of your friend with an English Major to edit it for you. I've found it is a lot easier to find an editor than it is to find a writer. Oh heck, I will make a deal just for you: If you manage to get a working script for you map, I will edit the text of your story for you.  

As for making a map with discreet areas on it to simulate a campaign, just put natural dividers (e.g., mountain ranges, forests, water, etc.) around each area but leave "choke points" that act as openings for entry and exit. These openings can be blocked in a variety of ways that can be opened easily with the script at any point in the game. Again, the Tutorial will teach you how to do it.
____________
-------------
Mage of Soquim

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
LennyTheDev
LennyTheDev

Tavern Dweller
posted March 21, 2009 11:57 AM

noob here.

this might/might not help with the editor not opening file because'corrupt blah blah':

instead of clicking on map icon in 'Maps' folder and open with Editor, try opening the Editor 1st and use file/open to access the map in question. i notice this when i tried making a map for the 1st time ...er like 2 days ago. Under my Ubisoft folder there are 2 folders namely HOMMV and HOMMV-TOE. I notice that the Editor from each version cannot open the map files from the other version. When u click map in 'Maps' folder, it auto open using the Editor from HOMMV instead of HOMMV-TOE, and if it is a map from the 'Maps' folder in HOMMV-TOE, then u get the corrupt file message. am i making sense?

-----------------------------------------------------------

and i need help with script if someone could help check this one problem i am starting with, thanks (note: i am that bad to the extent before this i thought LUA is some south american small monkey species, well now i know. i have tried reading and following editor practical guide, script functions, pitsu and mage's guide ..etc, even tried reading other map makers' script but cant solve this very 1st problem i am encountering)

function Narration1 (heroname)
if heroname = = "Marder" then
MessageBox ("Maps/SingleMissions/uc1a/Mask.txt");
Trigger (REGION_ENTER_AND_STOP_TRIGGER, "mask", nil);
end;
end;

when i click check, it keeps saying function not defined?!
(i have defined the "mask" region on the map, and have added the txt under Resource). Practically copied the script wholesale from editor practical guide but the function is not defined. i am totally noob in programming language of any sort, pls help anyone?

-------------------------------------------------

note to linny: i dont know if its impolite to use your thread to post my qns, sorry. 1st time on forum of any sort, in fact i found this thread while googling for a solution and thats when i created hc account to post this. hope its ok. oh and plus i saw mage's reply, really enjoyed his maps from celestial heaven, thought i'll lick some boots and maybe he can help with my qns, heh










____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
rdeford
rdeford


Known Hero
Wyld Mapper
posted March 21, 2009 03:28 PM

Quote:
noob here.

this might/might not help with the editor not opening file because'corrupt blah blah':

instead of clicking on map icon in 'Maps' folder and open with Editor, try opening the Editor 1st and use file/open to access the map in question. i notice this when i tried making a map for the 1st time ...er like 2 days ago. Under my Ubisoft folder there are 2 folders namely HOMMV and HOMMV-TOE. I notice that the Editor from each version cannot open the map files from the other version. When u click map in 'Maps' folder, it auto open using the Editor from HOMMV instead of HOMMV-TOE, and if it is a map from the 'Maps' folder in HOMMV-TOE, then u get the corrupt file message. am i making sense?

-----------------------------------------------------------

and i need help with script if someone could help check this one problem i am starting with, thanks (note: i am that bad to the extent before this i thought LUA is some south american small monkey species, well now i know. i have tried reading and following editor practical guide, script functions, pitsu and mage's guide ..etc, even tried reading other map makers' script but cant solve this very 1st problem i am encountering)

function Narration1 (heroname)
if heroname = = "Marder" then
MessageBox ("Maps/SingleMissions/uc1a/Mask.txt");
Trigger (REGION_ENTER_AND_STOP_TRIGGER, "mask", nil);
end;
end;

when i click check, it keeps saying function not defined?!
(i have defined the "mask" region on the map, and have added the txt under Resource). Practically copied the script wholesale from editor practical guide but the function is not defined. i am totally noob in programming language of any sort, pls help anyone?

-------------------------------------------------

note to linny: i dont know if its impolite to use your thread to post my qns, sorry. 1st time on forum of any sort, in fact i found this thread while googling for a solution and thats when i created hc account to post this. hope its ok. oh and plus i saw mage's reply, really enjoyed his maps from celestial heaven, thought i'll lick some boots and maybe he can help with my qns, heh




Ignore the editor's check facility error messages. They are meaningless and misleading. The only valid error messages come from the console. The scripting guide tells you how to enable the console. You will not succeed in writing scripts without enabling the console.

Write your script one function at a time, get out of the editor, run the map with the game, and check the console for errors. Study the error messages. Go back into the editor, change the script in an attempt to eliminate one or more errors. Get out of the editor, run the map with the game, and check the console for errors. Repeat as often as required to get the function to compile error free. Then run the map in the game and test the function to see if it does what you want it to do.

There is a separate thread devoted to the H5 editor and scripting. You really ought to post your questions there. This thread is not monitored very well by those who would help you.

____________
-------------
Mage of Soquim

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
LennyTheDev
LennyTheDev

Tavern Dweller
posted March 21, 2009 05:49 PM




Ignore the editor's check facility error messages. They are meaningless and misleading. The only valid error messages come from the console. The scripting guide tells you how to enable the console. You will not succeed in writing scripts without enabling the console.

Write your script one function at a time, get out of the editor, run the map with the game, and check the console for errors. Study the error messages. Go back into the editor, change the script in an attempt to eliminate one or more errors. Get out of the editor, run the map with the game, and check the console for errors. Repeat as often as required to get the function to compile error free. Then run the map in the game and test the function to see if it does what you want it to do.

There is a separate thread devoted to the H5 editor and scripting. You really ought to post your questions there. This thread is not monitored very well by those who would help you.



*bow* thank you thank you thank you you're far too kind (jay-z /linkin park)

u know what? it worked! i mean, whats up with the check facility?! i nearly gave up thinking i will never be able to do this! i would really really appreciate if u could email me that script tutorial as mentioned above to linny. will email u, subject 'LennyTheDev Request' and u can just reply to it.

once again thank you thank you thank you  




____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
rdeford
rdeford


Known Hero
Wyld Mapper
posted March 21, 2009 06:52 PM

Quote:


*bow* thank you thank you thank you you're far too kind (jay-z /linkin park)

u know what? it worked! i mean, whats up with the check facility?! i nearly gave up thinking i will never be able to do this! i would really really appreciate if u could email me that script tutorial as mentioned above to linny. will email u, subject 'LennyTheDev Request' and u can just reply to it.

once again thank you thank you thank you  




You can easily download The Basics of Heroes V Scripting ver. 2.0 for H5, HOF, & ToTE from http://www.celestialheavens.com/viewpage.php?id=567

As I recall, there is some minor error in the instructions for enabling the console but you should be able to figure it out.

____________
-------------
Mage of Soquim

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0857 seconds