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: Scripting help
Thread: Scripting help
Mytical
Mytical


Responsible
Undefeatable Hero
Chaos seeking Harmony
posted February 08, 2008 03:01 AM

Scripting help

Ok have what I hope to be a simple scripting problem.  However since I have no scripting ability whatsoever, I am asking for help.  The loading screen should say the following.  

"Two kingdoms have been fighting for years.  They have heard of newly discovered area that will tip the balance for whichever side reaches there first.  All that stands in their way is some huge dungeon garrisons.  It is time for them to make a Power Grab."

Claiming the area won't be the winning criteria however (destroying the other town will be).  It would be much easier if I could send it to somebody to be scripted (I am really really horrible at this stuff).
____________
Message received.

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


Admirable
Legendary Hero
ghost of the past
posted February 08, 2008 05:26 AM
Edited by Vlaad at 07:37, 08 Feb 2008.

You don't need a script - just copy the text to the Map Description.

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


Supreme Hero
posted February 08, 2008 03:53 PM

Just one note, it's somewhat important to the mapmaker: Make sure to not change any thing in the Shared, make new ones. It's very boring to set back things to ho they first was(hint hint Vlaad)Like on the RotK map, Svea was totally changed into Gandalf and it was like that in every map
____________

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


Admirable
Legendary Hero
ghost of the past
posted February 08, 2008 05:41 PM

Quote:
Just one note, it's somewhat important to the mapmaker: Make sure to not change any thing in the Shared, make new ones. It's very boring to set back things to ho they first was(hint hint Vlaad)Like on the RotK map, Svea was totally changed into Gandalf and it was like that in every map
You are right, but you'll just confuse her further - it has nothing to do with scripting.
____________

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


Supreme Hero
posted February 08, 2008 06:25 PM

Yeah, sorry Mytical. Just ignore it until you want to make some hard, campaign story map.
____________

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


Responsible
Undefeatable Hero
Chaos seeking Harmony
posted February 09, 2008 06:51 AM

Quote:
You don't need a script - just copy the text to the Map Description.


Ok, and I do this ..... how?
____________
Message received.

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


Admirable
Legendary Hero
ghost of the past
posted February 09, 2008 07:05 AM

Open your map in the editor, then look for the Map Properties icon on the upper bar (it's the fifth from the right). Open the Map Properties and copy-paste the text into the Map Description box.

You'll need to set other parameters in the Map Properties too (map name, player properties, etc).
____________

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


Responsible
Undefeatable Hero
Chaos seeking Harmony
posted February 09, 2008 07:09 AM

Hmm, thanks.  Hehe can't even do a simple map.  Well it should be testable soon, I hope.  Nothing fancy or too complicated though.
____________
Message received.

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


Responsible
Undefeatable Hero
Chaos seeking Harmony
posted February 12, 2008 07:55 AM

Wow, making even the most simple map is really difficult.  I have even more respect for mapmakers then before.  My 'simple' map probably won't be testable for a year (have to redo most of the creatures which seem to be set, and the spell 'shrines' almost always gives out the same spell).  Driving me absolutely buggy.
____________
Message received.

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


Known Hero
with plans of Rebirth!
posted June 30, 2008 05:39 PM

I noticed this thread is kinda old, but I also have som scipting probelms (I think). I want to amke sure that a computer hero stays in his necropolis, this is done with scripts right? Cuz I don't find any option as in HoMM 3 to stand guard. Help..plz

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


Known Hero
Wyld Mapper
posted July 10, 2008 03:28 AM

Quote:
I noticed this thread is kinda old, but I also have som scipting probelms (I think). I want to amke sure that a computer hero stays in his necropolis, this is done with scripts right? Cuz I don't find any option as in HoMM 3 to stand guard. Help..plz


Arrange the scenery such that the hero has only a limited area in front of the castle to move around in, but leave a clear entry way into this area. Place a region on the map across the entry way and use the SetRegionBlocked() function to make that region blocked for that player. Unfortunately it is more difficult to block the region for just that hero. It can be done with a conditional statement to turn the block on for just that hero, and off for other heroes, but you would need to learn a lot about scripting to do that. Download the The Basics of Heroes V Scripting ver. 2.0 for H5, HOF, & ToTE guide from here:
http://www.celestialheavens.com/viewpage.php?id=567. If you have any programming background, even as a hobby, you should be able to figure out how to do it in a weekend. It is a hard learning curve, but you can work wonders with it once your get past it.

 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.0233 seconds