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 > Heroes 5 - Modders Workshop > Thread: [Tutorial] Add new Arenas
Thread: [Tutorial] Add new Arenas This thread is 3 pages long: 1 2 3 · NEXT»
Zenithale
Zenithale


Promising
Famous Hero
Zen Mind
posted March 31, 2009 10:51 PM bonus applied by VokialBG on 02 Apr 2009.
Edited by Zenithale at 00:07, 03 Apr 2009.

[Tutorial] Add new Arenas

Tutorial to add new battlefields in Duel and Adventure games.

Softwares
-archiver (Winrar, 7zip, winzip…)
-text editor
…and of course the TotE Maps Editor.

See what can we do: New Arenas MOD

-----------------------------------------------------------

Create your own arena:

1) Open the TotE Editor and create a new tiny (72x72) multiplayer map, named 'my_arena_01'.

2) I always start to put 4 artifacts on the map, in the 4 corners of my futur arena (coordinates: (30,39) (41,39) (30,30) (41,30)), to know exactly where I must not add object nor use terraforming. Take care of the 2 colomns on the left and the 2 on the right: heroes and warmachines will need place too (you can show the grid)!


3) Create the map, as you wish.

4) Now your Arena is ready. Erase the 4 Artifacts, save then close the TotE Editor.

-----------------------------------------------------------

Integration of the Arena in the game:

1) Open your map with an archiver (Winrar), go in Maps/Multiplayer/my_arena_01/ and extract the 2 files 'map.xdb' and 'GroundTerrain.bin'.


2) Create a folder arborescence My_Arena_MOD/Maps/CombatArenas/my_arena_01/ and put the 2 files into. Rename 'map.xdb' by 'my_arena_01.xdb'.
NOTE: if your map is underground, you must edit this file and change the <InitialFloor>0</InitialFloor> value: replace the 0 by 1.

3) Add the folder arborescence Text/DuelMode/ArenaNames/ (always in the same My_Arena_MOD folder) and create a 'my_arena_01.txt' file with the Text Editor. In this file just write the name of your Arena (will appear in Duel Mode and for the Replays). Exemple 'The best Arena!' and save in Unicode.


4) Add the folder arborescence GameMechanics/CombatArenaTypes/ and put the ' CombatArenaTypes.xdb' file that you will find in the same place, in the Data.pak. Right-click on this .xdb file and go in the properties to uncheck the "reading only" checkbox, push on 'apply' then 'ok' to allow you to edit the file.


Right-click again and use the "open with" option to open the file with your Text Editor. Look for a ground type where you wish see your Arena be used during Adventure game, as here 'Grass':


Add this line:
Quote:
<Item href="/Scenes/CombatArenas/my_arena_01.xdb#xpointer(/AdventureFlybyScene)"/>



You can add this line for several ground types (as Beach_Grass for exemple, if there is water on your map), and even erase the official Arenas (but beware, you must have one map of each ground type at least, or else the game could crash!). Don't forget to save your changes.

5) Add the folder arborescence Scenes/CombatArenas/ in the same My_Arena_MOD folder then open the TotE Data.pak with an archiver and go to the same place, extract 1 file of you choose (for exemple Grass_Big_01.xdb) and put it into the Scenes/CombatArenas/ that which you have just created. Rename this file 'my_arena_01.xdb'.


Right-click on this .xdb file and go in the properties to uncheck the "reading only" checkbox, push on 'apply' then 'ok' to allow you to edit the file.


Change the scenery link by:
Quote:
<Scenery href="/Maps/CombatArenas/my_arena_01/my_arena_01.xdb#xpointer(/AdvMapDesc)"/>

…the position values of the Arena by:
Quote:

<x>30</x>
<y>41</y>


…then you can add a music (never tried), change the height, the ambient sound and the obstacles (for this you just need to copy-paste the line from an official map; but you can create them too).
Save.

-----------------------------------------------------------

This part is to add your Arena for Duel mode: (easy way to try you Arena)

Add the 'DuelArenasTable.(DuelArenas).xdb' directly in My_Arena_MOD folder. Right-click on this .xdb file and go in the properties to uncheck the "reading only" checkbox, push on 'apply' then 'ok' to allow you to edit the file. Right-click again and use the "open with" option to open the file with your Text Editor.


Just copy a paragraph of your ground (exemple Grass) with the 2 Item balises:


…then paste (I paste just after the Random_Arena to have my Arena on the top) and modify few things:
Lines 1 and 2: just change the Arena file name (my_arena_01).
Line 3: choose a small screenshot among the ones already used by the other official Arenas (you can add your own screenshot of course).
Line 4: choose the town type of your Arena (background image in the Duel mode selection screen).


Then save.

-----------------------------------------------------------

Try your MOD:

Now you just need to build your MOD. For this, open your first folder (My_Arena_MOD), select all files into, then right-click to create an archive (.zip). You can rename it in .h5u, but that's not required anymore.
Finally put your MOD in the UserMODs folder then run the game (go to Multiplayer/Duel mode to try easily your Arena)!

_

You can download the tutorial MOD HERE (in .zip format, ready to be used).




____________
TWITCH|YouTube | NewArenas2023 MOD

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


Legendary Hero
Shroud, Flying, Trample, Haste
posted April 01, 2009 12:01 AM

So i no longer have to bother you when i try to make my own stage.?

Thanks Zentihale, This tutorial is its own reward for you
____________
Protection From Everything.
dota

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


Admirable
Legendary Hero
modding wizard
posted April 01, 2009 12:45 PM

Great!, thanks, maybe I can use this later.

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


Famous Hero
posted April 01, 2009 12:51 PM

Nice tutorial, man! You have my respect.

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


Promising
Supreme Hero
Staright out of line
posted April 01, 2009 05:34 PM

Great tutorial, Zen!

QP,.. oh, wait, we doesn't have a QP anymore.
____________
Sometimes I'm about to yell: "It is flat you idiots!" But I don't wanna die in fire.

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


Promising
Supreme Hero
posted April 01, 2009 11:03 PM

Quote:
QP,.. oh, wait, we doesn't have a QP anymore.


haha!


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


Honorable
Legendary Hero
First in line
posted April 02, 2009 10:04 AM

Aince they are back, I can gran you what you deserved It's was hard to waint intill I can do so This is one very nicelly and professionaly made guide. I was really hopeing that you are going po post one, now everyone can make his own arena.

Let's just make a deal - everyone who create one, please post it here

So..., since you already deserved QP and half for your arenas, I'm giving you full one here
____________

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


Promising
Legendary Hero
fallen artist
posted April 02, 2009 10:09 AM

Thanks for this one, I don't have to wait a month for my arena to be playable anymore

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


Promising
Famous Hero
Zen Mind
posted April 03, 2009 12:09 AM

Thank you!
I just added a precision: to see the name of your Arena in Duel mode you must save the .txt in Unicode.
____________
TWITCH|YouTube | NewArenas2023 MOD

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


Responsible
Undefeatable Hero
posted April 03, 2009 10:46 AM

I might make an arena, I like making maps. except I usually build them for FPS

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


Legendary Hero
Shroud, Flying, Trample, Haste
posted April 03, 2009 08:38 PM

hmm since arenas are technically maps does that mean we can script an arena? you know for something like a peasant to run laps around the heroes or something.

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


Promising
Supreme Hero
Staright out of line
posted April 05, 2009 04:21 PM

Maybe stick this thread? Just a suggestion.
____________
Sometimes I'm about to yell: "It is flat you idiots!" But I don't wanna die in fire.

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


Promising
Famous Hero
Zen Mind
posted April 06, 2009 05:28 PM

Quote:
hmm since arenas are technically maps does that mean we can script an arena? ...

Probably, but I didn't tried it.
____________
TWITCH|YouTube | NewArenas2023 MOD

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


Promising
Supreme Hero
Visiting
posted April 10, 2009 03:32 PM
Edited by lucky_dwarf at 15:36, 10 Apr 2009.

i cant do it
it cant see my map when im in winrar/map folder
is it because the map has no objective or too small to be noticed?
____________
So much has changed in my absence.

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


Promising
Famous Hero
Zen Mind
posted April 10, 2009 05:10 PM

No, it's probably a Windows problem: go to the "folder options" and watch if you can show the hidden folders or the archives (.h5u and .h5m are just .zip (renamed)). If you can see your archives, you should can see the maps too.
____________
TWITCH|YouTube | NewArenas2023 MOD

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


Responsible
Undefeatable Hero
posted April 10, 2009 05:51 PM

just realised it may be a good thing to master the editor when you try to make an arena lol. I have trouble with the terrain tools, why when I choose a 3x3 pencil, it modifies everything in a 9x9 area and when I choose a 1x1 pencil, it does nothing?

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


Promising
Legendary Hero
fallen artist
posted April 10, 2009 06:26 PM

Because you can dig underground only by 3x3 tiles. But I guess that's not the biggest issue you should worry about?

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


Promising
Supreme Hero
Visiting
posted April 11, 2009 08:39 PM

k... good news is that i can find the map
bad news is im stuck at step 4

It apears as a folder with separate xdb files for each type of arena (beach, Orkish beach etc.) and im not sure which to click on
____________
So much has changed in my absence.

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


Promising
Famous Hero
Zen Mind
posted April 11, 2009 09:12 PM

Quote:
im stuck at step 4...It apears as a folder with separate xdb files for each type of arena (beach, Orkish beach etc.)

Step 4 or 5 At step 4 you just work on 1 file: CombatArenaTypes.xdb
____________
TWITCH|YouTube | NewArenas2023 MOD

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


Promising
Supreme Hero
Visiting
posted April 11, 2009 09:35 PM
Edited by lucky_dwarf at 21:46, 11 Apr 2009.

First i go into win rar and go into data.pak
this is what it shows


i copy and paste it into the folder "arborescence"(im pretty sure that means a folder that has the same name as another)

this is what it looks like



thats not a xdb file
____________
So much has changed in my absence.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 3 pages long: 1 2 3 · NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0672 seconds