|
|
phoenixreborn
Promising
Legendary Hero
Unicorn
|
posted February 12, 2009 03:58 PM |
|
|
Maybe some use of a timely town portal spell?
|
|
edwin_yang
Known Hero
|
posted February 12, 2009 04:24 PM |
|
|
Actually you can just use the SetObjectPosition() function, if the position you set is covered by a town , the hero will be send into the town automatically .
|
|
Asheera
Honorable
Undefeatable Hero
Elite Assassin
|
posted February 12, 2009 04:44 PM |
|
|
wow nice, good to know
____________
|
|
Cepheus
Honorable
Legendary Hero
Far-flung Keeper
|
posted February 12, 2009 04:53 PM |
|
|
Thanks, but the problem is that I need the enemy hero to instantly return to where he was after the battle, if the player is defeated.
|
|
edwin_yang
Known Hero
|
posted February 12, 2009 05:01 PM |
|
|
Just can't check all the functions right now. my suggestion is:
set a region under the town which you want to have a seige.use the GetObjectInRegion() function to check the hero(the attacker) after the battle, if the player is defeated, the function will return nil, you can use a script like this:
if GetObjectInRegion( regionname,OBJECT_HERO ) == nil then
SetObjectPosition( enemyheroname, x,y,floorID);
end;
maybe it works.
|
|
ricmetal
Tavern Dweller
|
posted February 13, 2009 02:09 AM |
|
Edited by ricmetal at 02:11, 13 Feb 2009.
|
copy pasting on the map?
hi
i made a map, but failed to save it half way through, so i ended up with half a map.
i then restarted a new map, for some forsaken reason. i dont remember. but i made the other half of the first map i made on a new file.
sonow i ended up with half a map on each file.
scratch scratch! idiot.
so, is there a way to copy paste the tiles from file one over to file two?
thanks
____________
|
|
Asheera
Honorable
Undefeatable Hero
Elite Assassin
|
posted February 13, 2009 02:11 AM |
|
|
Unfortunately, I seriously doubt it is possible to copy tiles from one map to another. But then there's always a chance of being wrong, however small it may be.
Objects could be copied even manually if there's no copy-paste ability between maps, but the tiles can't.
____________
|
|
rdeford
Known Hero
Wyld Mapper
|
posted February 13, 2009 03:37 PM |
|
|
Quote: Unfortunately, I seriously doubt it is possible to copy tiles from one map to another. But then there's always a chance of being wrong, however small it may be.
Objects could be copied even manually if there's no copy-paste ability between maps, but the tiles can't.
Exactly correct.
____________
-------------
Mage of Soquim
|
|
fiur
Promising
Supreme Hero
Map Creator
|
posted February 13, 2009 04:59 PM |
|
|
Quote: hi
i made a map, but failed to save it half way through, so i ended up with half a map.
i then restarted a new map, for some forsaken reason. i dont remember. but i made the other half of the first map i made on a new file.
sonow i ended up with half a map on each file.
scratch scratch! idiot.
so, is there a way to copy paste the tiles from file one over to file two?
thanks
But you always got a 2'nd chance..... in your game folder you got:
/Editor/H5MMods/++++
in that subfolder you'll find all your maps (that you either have made or looked at in editor....)
so if you messed up go look there
____________
|
|
Archimp
Tavern Dweller
|
posted February 13, 2009 05:00 PM |
|
|
well sorry but im little noob of that editor still. i cannot find option in map properties tree for multiplayer winning options
can anyone say step by step which brand to look?
and i find another bug when makin single player map.. sane problem my friend too. cpu cannot be ever red player so i must always put human player on red..
|
|
Asheera
Honorable
Undefeatable Hero
Elite Assassin
|
posted February 13, 2009 05:34 PM |
|
|
Something like View -> Map Properties Tree (I don't remember for certain)
Then search in the table of values on the left for the "Objectives" one.
____________
|
|
ricmetal
Tavern Dweller
|
posted February 13, 2009 05:36 PM |
|
Edited by ricmetal at 17:45, 13 Feb 2009.
|
Quote: But you always got a 2'nd chance..... in your game folder you got:
/Editor/H5MMods/++++
i don't have that folder
____________
|
|
Asheera
Honorable
Undefeatable Hero
Elite Assassin
|
posted February 13, 2009 05:47 PM |
|
|
++++ should be replaced with your map's name. Or do you mean you don't have "H5MMods"?
____________
|
|
ricmetal
Tavern Dweller
|
posted February 13, 2009 06:01 PM |
|
Edited by ricmetal at 18:07, 13 Feb 2009.
|
Quote: ++++ should be replaced with your map's name.
oh, okay. anyway, i didnt loose any files. i made two seperate files, and want to merge them together.
the folder ++++ (replace with your map name) has the files for each map but that's got nothing to do with copy/pasting from one map to another has it?
unless i could edit the bin file, and oher files, and copy paste code between them, but thats unlikely to happen
____________
|
|
Cepheus
Honorable
Legendary Hero
Far-flung Keeper
|
posted February 13, 2009 06:37 PM |
|
|
Quote: maybe it works.
Thanks, this might suit my needs. I'll give it a try and report back if I still need help.
|
|
Archimp
Tavern Dweller
|
posted February 13, 2009 07:58 PM |
|
|
i found it thx.
but more issues..
1.how cpu can be red player on singlee maps? i change it on map properties to computer but when i go game i am red player. my friend have same issue..
2.and when i try make teams. the dot where is team 1 team 2 and etc are holded always 3 teams and i have only 2 teams on map.we have same side on game but why is that on editor.
3.how i can make text box on day event? is it somre kind script thing in this heroes 5? h3 and4 was so easy to make it..
4.how i make lose condition to make specific player lose when he lose his hero?
and plz tell noob language, im just started exited to make own maps on h5 thx for u replys!
|
|
Asheera
Honorable
Undefeatable Hero
Elite Assassin
|
posted February 13, 2009 09:36 PM |
|
|
1. You just set it normally as far as I know, but of course, you have to set a player to human as well.
2. It's a bug. Just set the teams, and never check that Tab again. It is displayed wrongly every time after you set them.
3. Yes you need a script
4. I think you can use a "default" objective as well, but for sure you can do this with scripts (if there's no default objective like that)
____________
|
|
Archimp
Tavern Dweller
|
posted February 14, 2009 03:15 AM |
|
Edited by Archimp at 03:17, 14 Feb 2009.
|
Quote: 1. You just set it normally as far as I know, but of course, you have to set a player to human as well.
2. It's a bug. Just set the teams, and never check that Tab again. It is displayed wrongly every time after you set them.
3. Yes you need a script
4. I think you can use a "default" objective as well, but for sure you can do this with scripts (if there's no default objective like that)
well i have selected other color human player.thats why ask if it some kind bug or something, because when i start game it have switched. and editor have riht settings when i looked it..weird..
and i use search button and try scroll topics to find that guide to make text box..
and that hero condition..there is some kind objrctive of that but i dont know how to use it
on primary objetives are "kind" and next to it u can choose several things, there is "hero must survive" option but when i choose it i cannot select which hero..
|
|
Asheera
Honorable
Undefeatable Hero
Elite Assassin
|
posted February 14, 2009 03:09 PM |
|
|
You have to modify the "Parameters" and add a link to your hero there.
____________
|
|
Edwin_Yang
Known Hero
|
posted February 15, 2009 04:33 PM |
|
|
I found a strange thing that sometimes you can go across the tiles where you already put MASK on them. didnt know why, has anybody met the same problem before?
|
|
|