tor
Heroes V
Download 584 KB
5.0 (12 ratings)

This rating is for the whole topic — 17 maps.

Downloads
30
File
tor.h5m
Added

At a glance

Read from the map file
Players
4 4 human-playable
Teams
2 v 2
Map size
Medium — 136×136
Map language
Russian
Towns
4 1 neutral
  • Scripted
  • Hero level cap: 50
Player slots 4
Colour Played by Faction Team
Player 2 Human or computer Any at random 1
Player 3 Human or computer Any at random 1
Player 4 Human or computer Any at random 2
Player 5 Human or computer Any at random 2
Uploader
Eleondor

RedHeavenHero, yeah, I understand.
And how do I find out the city name and the ID_BUILDING_OF_TEARS_OF_ASH? As far as I understand, they are stored in text or in data?
---
upd.
I tried it - the game crashes after loading the map =(
I placed the Human Castle without any city bonuses.
The map is attached...
Here is the code:
function AddArchangelsSpecialization()
if GetObjectDwellingCreatures('Angelat', CREATURE_ANGEL) ~= -1 then
local add = 1
if grail_built == 1 then
add = add + 3
end
SetObjectDwellingCreatures('Angelat', CREATURE_ANGEL, GetObjectDwellingCreatures('Angelat', CREATURE_ANGEL) + add)
end
end

function NewDay();
-- ... --
if GetDate(DAY_OF_WEEK) == 1 then
AddArchangelsSpecialization()
end
-- ... --
end

Trigger(NEW_DAY_TRIGGER, 'NewDay')

grail_built = 0

function WaitForBuildGrail()
while GetTownBuildingLevel('Angelat', ID_14) == 0 do
sleep(10)
end
grail_built = 1
end

startThread(WaitForBuildGrail)

Forum Discussion

More from this topic

Similar maps