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 5 Map Editor Help and Tips...
Thread: Heroes 5 Map Editor Help and Tips... This thread is 43 pages long: 1 10 ... 14 15 16 17 18 ... 20 30 40 43 · «PREV / NEXT»
cyanight
cyanight


Hired Hero
posted January 24, 2009 12:09 AM

Quote:
You mean the monsters spawned with "Week of X" like Week of Dragon, etc?


Yes

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


Honorable
Undefeatable Hero
Elite Assassin
posted January 24, 2009 12:11 AM

Ok then go to the Map Properties Tree and you'll see on the left those map properties (like ReflectiveWater, etc). One of them is MoonCalendarModifications. Expand it and you'll see BlockMonstersWeeks. Set it to true.
____________

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


Hired Hero
posted January 24, 2009 12:48 AM

Quote:
Ok then go to the Map Properties Tree and you'll see on the left those map properties (like ReflectiveWater, etc). One of them is MoonCalendarModifications. Expand it and you'll see BlockMonstersWeeks. Set it to true.


Thank you so much... lol.. I never though to look under moons.

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


Known Hero
posted January 29, 2009 05:43 AM

Hi,does anyone know how to join two maps together in campaign making?It works well in single player mode but would report error when I try to load it as a part of capaimgn in usecampaign mode.thanks

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


Known Hero
posted February 02, 2009 05:57 AM

got another question, does anyone know how to make an AI hero survive more than 7 days without a  town? I have checked a few maps this kind but could not find out how them made it .

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


Honorable
Undefeatable Hero
Elite Assassin
posted February 02, 2009 02:43 PM
Edited by Asheera at 14:43, 02 Feb 2009.

I think this is based on the objectives only. You probably need to set up a common primary objective without "DieInWeekWithoutTowns" (set it to false), and then make a player-specific primary objective for the player only (not AI) with "DieInWeekWithoutTowns" set to true. That way the player loses in 7 days without the town, while the AI doesn't get this penalty.
____________

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


Known Hero
Wyld Mapper
posted February 02, 2009 02:47 PM

Quote:
I think this is based on the objectives only. You probably need to set up a common primary objective without "DieInWeekWithoutTowns" (set it to false), and then make a player-specific primary objective for the player only (not AI) with "DieInWeekWithoutTowns" set to true. That way the player loses in 7 days without the town, while the AI doesn't get this penalty.


@ Ahsheera -- that sounds good to me.
____________
-------------
Mage of Soquim

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


Known Hero
posted February 02, 2009 02:52 PM

@Asheera,thanks ,I will go to check it

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


Honorable
Legendary Hero
Far-flung Keeper
posted February 04, 2009 12:56 AM

Hi, I know there are some scripting gods around here.  I'm able to script, but I need some help with one problem, if possible...

Quote:
function the_statue()
if GetCurrentPlayer ()==PLAYER_1 then
MessageBox("Maps/SingleMissions/B3C2/the-summit.txt");
ChangeHeroStat("Skeggy", STAT_MORALE, 2);
ChangeHeroStat("Thralsai", STAT_MORALE, 2);
end;
end;


The script actually works perfectly - the only problem I have is that there's no "floating icon" to show both heroes have been given a morale boost (like when you visit a Rally Flag or whatever).  Any way to enable one?

I swear I saw a post very recently tackling this somewhere, but I can't find it anymore.

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


Honorable
Undefeatable Hero
Elite Assassin
posted February 04, 2009 01:06 AM

Yes it was posted at the Round Table. It seems you have to use GiveHeroBattleBonus
____________

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


Honorable
Legendary Hero
Far-flung Keeper
posted February 04, 2009 02:24 PM

Thanks so much - it doesn't work perfectly, since BattleBonus doesn't affect the hero's stats at all but it does display the icon, while ChangeHeroStat doesn't display the icon but does change the stat - permanently!  I only needed a temporary bonus.

Hope there's another way around this.

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


Known Hero
posted February 04, 2009 03:01 PM

As far as I know GiveHeroBattleBonus does give hero a temporary bonus, this bonus will disappear until the next battle.

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


Known Hero
Wyld Mapper
posted February 04, 2009 03:35 PM

Quote:
Thanks so much - it doesn't work perfectly, since BattleBonus doesn't affect the hero's stats at all but it does display the icon, while ChangeHeroStat doesn't display the icon but does change the stat - permanently!  I only needed a temporary bonus.

Hope there's another way around this.


I could never find a way around this problem. In my maps, I change the stat, as you did, and I use a Flying Sign to let the player know that the stat change took place.
____________
-------------
Mage of Soquim

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


Known Hero
posted February 04, 2009 05:37 PM

Hi, everyone, I get a problem when use the function GetObjectPosition in map making , as you can see this function will return 3 values, the X,the Y, and the floor, however, it wont return the values in a format of array, so I can not call the values in the way like this :


pos = GetObjectPosition( "objectname" );
SetObjectPosition( "objectname", pos[0] + n, pos[1] + m, pos[2]);

is there a way to solve this problem? thanks.

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


Honorable
Undefeatable Hero
Elite Assassin
posted February 04, 2009 05:38 PM
Edited by Asheera at 17:39, 04 Feb 2009.

In LUA, when you see "returns X values", you can write like this:

pos_x, pos_y, pos_z = GetObjectPosition("objectname")

Or

pos[1], pos[2], pos[3] = GetObjectPosition("objectname")

... etc, I'm sure you get it.
____________

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


Known Hero
posted February 04, 2009 05:47 PM
Edited by edwin_yang at 17:47, 04 Feb 2009.

Woooo such a quick reply,many thanks.. now I get it, how stupid of me

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


Honorable
Legendary Hero
Far-flung Keeper
posted February 04, 2009 08:26 PM

Quote:
As far as I know GiveHeroBattleBonus does give hero a temporary bonus, this bonus will disappear until the next battle.


Yeah, I guess that's the way it should work, but nothing happens to the hero when I use it.  There's no scripting error, just... nothing.

Maybe it just doesn't work with Morale?

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

Tavern Dweller
posted February 09, 2009 03:14 PM

Hi all!

i have problem with my map.

my map is team map 1vs2, one computer and 2 human players
both human players are necromancers and cpu is inferno.

problems starts when i try to change hero of second human player.
problem is that when i change hero and safe it, it not changed on when u play map.
i have changed again new hero to be human player and right player what control it.
i have even delete whole hero on map and replaced it pure new one and choosed hero what i want it in it.

hero names change deidre (what i wanted to hero to be) but skills are stil naadir's...(another necromancer hero)

and naarir have some strange skills. barbarian skills ?? Oo

i havent change nothing else than try to change that hero to another.
im so tired.. its only thing what i need to solve, then i can test map more.

so in one line: how to change naadir hero to deidre? is there now something serious bug?

thank you your answers, i hope some one can help me.

____________

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


Honorable
Undefeatable Hero
Elite Assassin
posted February 09, 2009 04:07 PM

I don't know what you did wrong, you just need to select the hero, press Space and change your hero from the drop-down list to Deirdre.
____________

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

Tavern Dweller
posted February 09, 2009 04:19 PM

well i have did just right that what u sayed already.

ooh and i using Heroes og might and magic 5 TOE 3.01 version if help

could u give u send me email so u can check what i have did wrong..
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 43 pages long: 1 10 ... 14 15 16 17 18 ... 20 30 40 43 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1098 seconds