Search found 362 matches

by Franzy
20 Sep 2010, 18:18
Forum: Mapmaking Guild
Topic: Map Corruption Help (H5 ToE)
Replies: 1
Views: 2844

Re: Map Corruption Help (H5 ToE)

mweil86 wrote: I don't have a backup for the map.
Grave mistake. Well, that will teach you :)

Nothing can be done here, sorry. It just happens at around 5% rate :) So always make backups, and for your own good, make them separate.
by Franzy
17 Sep 2010, 15:46
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 223557

A pity I made that map (my first one) with italian text, i would have loved to share it there. You seem to be good with English :) Just translate and post it here. Translation is pretty easy in H5, simply open the map as the zip archive and translate all the txt-files. I personally make maps in Eng...
by Franzy
16 Sep 2010, 18:19
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

RTFM for god's sake! It's all in the manual!
by Franzy
16 Sep 2010, 17:11
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

You should be more specific. What spell?
by Franzy
15 Sep 2010, 18:44
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 223557

You forgot to provide the third argument for SetObjectiveStatus function - the name of the player. By default they are applied to the first player, and the first player doesn't have that objective, as far as I got it. So simply add PLAYER_2 and you'll be fine.
by Franzy
14 Sep 2010, 15:30
Forum: Mapmaking Guild
Topic: [H5 EDITOR] Troubleshooting topic
Replies: 579
Views: 223557

Every object has a property called Scale or similar, don't remember. You can change size via it.
by Franzy
12 Sep 2010, 17:59
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

No, you copy any existing object that have similar properties that you would like your object to have. All the maps have common base of standard object, no need for another map hence.

Try searching 'new object' or 'adding object'
by Franzy
12 Sep 2010, 14:14
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

Not new. This way all the fields are blank. Copy (ctrl C) and paste (ctrl V). Then change what ever you need.
by Franzy
10 Sep 2010, 19:19
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

existing one.
by Franzy
09 Sep 2010, 19:02
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

Yes. You create your own objects. Copy an existing pne then change it anyway you want icluding its appearance. It was explained million times how to do that in this forum, search it.
by Franzy
08 Sep 2010, 18:29
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

You mean every second or every turn?

For every second (not recommended, the will lag) use separate thread with infinite loop inside:

function myfunc()
while not nil do
--do something
sleep(20);
end;
end;

startThread(myfunc);

For every turn, use new day trigger.
by Franzy
07 Sep 2010, 18:21
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

for i=x,y do ... end
while ... do ... end
by Franzy
06 Sep 2010, 19:41
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

Probably you oughtta check if a hero has appropriate skill... No way to do it easily, at least I don't know one.
by Franzy
05 Sep 2010, 19:29
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

Sure. The code in a thread is executed separately, so if it terminates with an error it does not affect the whole script. So, to teach a hero all the spells you can write: function teachspell(hero,spell) TeachHeroSpell(hero,spell); end; for i=1,100 do --don't remeber number of spells actually startT...
by Franzy
05 Sep 2010, 07:15
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

Also, start reading function descriptions :) IsHuman is not applicable to heroes, it's applicable to side. Which can be either attacker or defender.
by Franzy
05 Sep 2010, 07:13
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

Are you kidding? Open the manual. There are several sections there. Advanture map functions, combat functions, functions added in the addons.

Browse the combat section, it's right there:

GetHeroName.
by Franzy
02 Sep 2010, 18:37
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

Of course. Why else would it be here?
by Franzy
01 Sep 2010, 19:04
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

That's ok. combat names have nothing to do with adventure mode names. There is a special function to get real hero name, by the way.
by Franzy
31 Aug 2010, 19:35
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

Open console in a battle and try functions out to se whether they work.
by Franzy
30 Aug 2010, 18:36
Forum: Mapmaking Guild
Topic: Spawning main heroes
Replies: 110
Views: 39311

Probably IsHuman functon doesn't work in combat scripts. They have different sets of functions.

Go to advanced search