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 ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: How to make a new creature?
Thread: How to make a new creature?
Kronos1000
Kronos1000


Promising
Supreme Hero
Fryslân Boppe
posted July 20, 2007 09:21 AM

How to make a new creature?

This is not someone who is asking this, but this is a tutorial to create a creature without replacing the old!

Important: When I say copy it into a new folder you must edit the things I say in the new file, not in the game's original files!

All right, first you need to open the map editor and create a new map, or you can also use an existing map if you want one on your map. Now place a creature on the Map. Select your creature and press ctrl+Space and select the browse button at the shared tab. Create a new folder and copy the file into your new folder.

Note: If you want to use existing textures just skip the next part for those who have textures ready just read on

Now near the top you see Model select browse there. Now copy the file again and put it into a new folder, select your copied file and copy the skeleton and geometry files also in new folders. ll right copy the material file(s) in a new folder and copy the texture file(s) also in a new folder. (How many depends on the Model of the creature you want to use) Now press ok a few times until you're back in the Editor and go to the Heroes of Might and Magic folder DO NOT CLOSE THE EDITOR!!! go to Editor/H5MMods/Map name/_Model add the textures you already have in this folder as a DDS format, open the data.pak file or a1-dat.pak file this depends on your creature and place all files in the _Model folder where the model of the creature is you want to use copy all the files in there except the files you already have. Now edit them to link to your files. Now place your textures also in the Textures folder (Not in the folder itself, but where the .(Textures).xdb file is)

All right if you skipped the Texture part pick up here again. If you haven't done it already go to Heroes of Might and Magic V/Editor/H5MMods/Map name/ DON'T CLOSE THE EDITOR!!! Now from the Data or a1-data.pak file you need to copy these files: MapObjects\_(AdvMapObjectLink)\Monsters\...\Monster.xdb, MapObjects\_(AdvMapSharedGroup)\Monsters\Any.xdb and MapObjects\_(AdvMapSharedGroup)\Monsters\Level_x.xdb x = the level you want your moster to be. Now in the first file just give a link to your shared file, in the second one add your shared file to there now your monster should appear if a Random monster of any level is placed and in the third file also link to your shared file there. Now we'll check out some interesting files, go to the a1-data.pak file and copy GameMechanics/CreatureVisual/Creatures/.../Monster.xdb Note: You need to edit this file only if you want to edit icons or name bio etc. I don't provide help on that one.
No go to GameMechanics/Creature/Creatures/.../Monster.xdb This is my favourite file you can edit stats cost spells everything here, just don't forget to link to the shared and the CreatureVisual file. Now we're going to deal with a file that most people don't know of it's the refTable file! Copy the GameMechanics/refTables/Creatures.xdb file and give your creature a name, for example CREATURE_MAGMA_ELEMENTAL in this file and link that name to the Creature file in the GameMechanics folder this one: /GameMechanics/Creature/Creatures/.../Monster.xdb#xpointer(/Creature) Now when you're done with this one we're going to work with a really long file the Types.xml you can find it in the a1p1-data.pak file place it in your map's folder outside another folder (I mean directly in the Editor/H5MMods/Mapname) Open it with Front Page for example or any other xml editor and search for CREATURE_ for example and you'll find the list of creatures add the same name as you used in the refTable to this file.

Once you're done you can edit another file, but it's not neccicary if you are a scripter you can edit the scripts/common.lua and add the same name as in the refTables and give it a number 117 for example, but you needn't do this if you never use those numbers. We're almost done go back to the Editor save and press the reload map button go back to your creatures shared file and go to creature underneath and you'll see that your creature's name is in the list now, but now you're on a place where I've been stuck for a long time. The final issue is in the exe file where you need to add the creature to the list I can not help you with that I asked someone to do it for me, it was CrazyPill at the GotP forums he said this:"If anybody wants to know what to fix and how it works - PM me." So he's willing to help oh and by the way if you want to see my new creature, you can download it here: Magma Elemental.zip

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


Honorable
Legendary Hero
Back from the Dead
posted July 20, 2007 10:10 AM

Dude, put this in the modding wiki!

Also, do you know how I would do this: For certain animations, I want a creature to use a different model.  How do I code this (I'm a textureist and Moddler, not a scripter)
____________
How exactly is luck a skill?

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


Promising
Supreme Hero
Fryslân Boppe
posted July 20, 2007 05:00 PM

A different model is easy, just go to the shared file in the editor and go to the Model tab copy the model file into a new folder (If you haven't allready) and select the Skeleton, Geometry and Materials of another creature (you may need to copy them) Now it uses another model. Easy isn't it?

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


Honorable
Legendary Hero
Back from the Dead
posted July 20, 2007 07:33 PM

Forgive me for being stupid...but could you explain again slowly?


____________
How exactly is luck a skill?

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


Promising
Supreme Hero
Fryslân Boppe
posted July 20, 2007 08:42 PM

Aaaaaaaallllllll riiiiigghhhhhht,,,,,,, sloooooooowlyyyyyyyyyyy:

Naah just kidding I'll explain it again:

Open the shared file of your monster on the map press browse at the Model tab and create a new folder copy the model file of your creature in the folder and press browse for the Materials file  create a folder of the same name as the previous one and copy the file(s) of the creature you want to use in here and do the same for Skeleton and Geometry is it clear now?

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


Hired Hero
posted July 20, 2007 09:56 PM
Edited by Neckie at 21:57, 20 Jul 2007.

Here is a smaller exe file from CrazyPill. (Kronos probably wanted a bigger file )




____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0322 seconds