|
|
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
|
|
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.
____________
|
|
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.
|
|
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
|
|
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 .
|
|
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.
____________
|
|
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
|
|
edwin_yang
Known Hero
|
posted February 02, 2009 02:52 PM |
|
|
@Asheera,thanks ,I will go to check it
|
|
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.
|
|
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
____________
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
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.
____________
|
|
edwin_yang
Known Hero
|
posted February 04, 2009 05:47 PM |
|
|
Woooo such a quick reply,many thanks.. now I get it, how stupid of me
|
|
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?
|
|
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.
____________
|
|
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.
____________
|
|
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..
____________
|
|
|