|
Thread: Can you modify heroes 7 creature stats? | This thread is pages long: 1 2 · NEXT» |
|
cronex
Hired Hero
C# Coder
|
posted August 12, 2017 10:20 PM |
|
|
Can you modify heroes 7 creature stats?
Hey HC!
I wonder if there is a way to edit the base stats of the creatures?
Like in Heroes 3 you could export a .txt file and edit the values.
Thanks in advance!
Hero Out.
____________
Treat others the way you want to
be treated.
|
|
Moritzbradtke
Known Hero
|
posted August 13, 2017 12:51 PM |
|
|
|
cronex
Hired Hero
C# Coder
|
posted October 05, 2017 07:28 PM |
|
|
Moritzbradtke said: yes, very easy
You mind explain to me how?
____________
Treat others the way you want to
be treated.
|
|
Antalyan
Promising
Supreme Hero
H7 Forever
|
posted October 06, 2017 03:47 PM |
|
|
cronex said:
Moritzbradtke said: yes, very easy
You mind explain to me how?
1. Open the MMH7 Editor
2. Click on the screwdriver icon (the very right one on the top bar) - Switch to Unreal Editor
3. Open the Content Browser (light bulb icon / CTRL + SHIFT + F)
4. Type the name of the creature you are looking for (e.g. kraken)
5. Right click its archetype ("ACreature_nameofcreatur", e.g. ACreature_kraken) and choose properties
6. You can now change all the properties there, such as: size, movement type, abilities, stats, cost and so on
7. Once you have finished all the changes, close the properties and return back to the Content browser: right click the archetype you changed and choose "save" to save what you have done.
Note: some of the creatures are from unknown reasons in cooked packages (cannot be modified); however, this restriction can be circumvented if you save the creature into a separate package, make the changes there and then overwrite the original package.
If you have any further questions, don't hesitate to ask
____________
Important H7 tips & tricks
H7 Community Patch (UCP)
|
|
cronex
Hired Hero
C# Coder
|
posted October 06, 2017 07:52 PM |
|
Edited by cronex at 20:02, 06 Oct 2017.
|
Antalyan said:
cronex said:
Moritzbradtke said: yes, very easy
You mind explain to me how?
1. Open the MMH7 Editor
2. Click on the screwdriver icon (the very right one on the top bar) - Switch to Unreal Editor
3. Open the Content Browser (light bulb icon / CTRL + SHIFT + F)
4. Type the name of the creature you are looking for (e.g. kraken)
5. Right click its archetype ("ACreature_nameofcreatur", e.g. ACreature_kraken) and choose properties
6. You can now change all the properties there, such as: size, movement type, abilities, stats, cost and so on
7. Once you have finished all the changes, close the properties and return back to the Content browser: right click the archetype you changed and choose "save" to save what you have done.
Note: some of the creatures are from unknown reasons in cooked packages (cannot be modified); however, this restriction can be circumvented if you save the creature into a separate package, make the changes there and then overwrite the original package.
If you have any further questions, don't hesitate to ask
Thanks for the reply mate!
Followed your instructions and found the settings however all creatures are "locked". I can't edit any creatures stats.
I can't copy their packages either because they are cooked.
Mind explain to me how to circumvent this ?
Thanks in advance!
____________
Treat others the way you want to
be treated.
|
|
LizardWarrior
Honorable
Legendary Hero
the reckoning is at hand
|
posted October 06, 2017 08:02 PM |
|
|
|
cronex
Hired Hero
C# Coder
|
posted October 06, 2017 08:03 PM |
|
Edited by cronex at 21:07, 06 Oct 2017.
|
LizardWarrior said: [url=http://heroescommunity.com/viewthread.php3?TID=42431]The tutorial[/url] is just 2 threads lower.
Just checked that tutorial yet it does not help me with my problem ?
I want to change the base stats of existing creatures.
You mean that I have to go thru all those steps to be able to do it?
If so that's crazy!
I remember in H3 Wog where you could just put the ZCRTRAIT.txt inside your Data folder and it was done.
____________
Treat others the way you want to
be treated.
|
|
LizardWarrior
Honorable
Legendary Hero
the reckoning is at hand
|
posted October 07, 2017 09:43 AM |
|
|
It's the same thing when uncooking packages, only that you have to change template/creature.upk or something like this ( i don't remember the exact name). You have to hardpatch it.
____________
|
|
Antalyan
Promising
Supreme Hero
H7 Forever
|
posted October 07, 2017 03:44 PM |
|
|
cronex said:
LizardWarrior said: The tutorial is just 2 threads lower.
I want to change the base stats of existing creatures.
You mean that I have to go thru all those steps to be able to do it?
If so that's crazy!
Speaking about this:
Antalyan said:
Note: some of the creatures are from unknown reasons in cooked packages (cannot be modified); however, this restriction can be circumvented if you save the creature into a separate package, make the changes there and then overwrite the original package.
1. Right click the cooked creature archetype and choose "Create a copy"
2. Change the package name to be unique (for example "Creature_PixieMOD" instead of "Creature_Pixie)
3. Do not change anything else and click on OK
4. You should be able to find the uncooked creature package of your custom name under Packages < New Packages (the lower left corner)
5. It is uncooked now (open for changes)
6. Once you change the stats, save the custom package.
7. The only thing you have to do now is to copy the custom package from Editor Workspace to the game files (you can either replace the original one in C:Program Files (x86)UbisoftUbisoft Game LaunchergamesMight and Magic Heroes VIIMMH7GameCookedPCEditorTemplatesCreatures
OR create a new folder and file in C:UsersusernameDocumentsMy GamesMight & Magic Heroes VIIMMH7GameCookedPCEditorTemplatesCreatures (default paths)
The advantage of using the second one is that it does not replace anything, so you can delete your modified creature packs any time to return to the original files without the necessity to make any backups.
____________
Important H7 tips & tricks
H7 Community Patch (UCP)
|
|
cronex
Hired Hero
C# Coder
|
posted October 07, 2017 06:19 PM |
|
|
Antalyan said:
cronex said:
LizardWarrior said: [url=http://heroescommunity.com/viewthread.php3?TID=42431]The tutorial[/url] is just 2 threads lower.
I want to change the base stats of existing creatures.
You mean that I have to go thru all those steps to be able to do it?
If so that's crazy!
Speaking about this:
Antalyan said:
Note: some of the creatures are from unknown reasons in cooked packages (cannot be modified); however, this restriction can be circumvented if you save the creature into a separate package, make the changes there and then overwrite the original package.
1. Right click the cooked creature archetype and choose "Create a copy"
2. Change the package name to be unique (for example "Creature_PixieMOD" instead of "Creature_Pixie)
3. Do not change anything else and click on OK
4. You should be able to find the uncooked creature package of your custom name under Packages < New Packages (the lower left corner)
5. It is uncooked now (open for changes)
6. Once you change the stats, save the custom package.
7. The only thing you have to do now is to copy the custom package from Editor Workspace to the game files (you can either replace the original one in Crogram Files (x86)UbisoftUbisoft Game LaunchergamesMight and Magic Heroes VIIMMH7GameCookedPCEditorTemplatesCreatures
OR create a new folder and file in C:UsersusernameDocumentsMy GamesMight & Magic Heroes VIIMMH7GameCookedPCEditorTemplatesCreatures (default paths)
The advantage of using the second one is that it does not replace anything, so you can delete your modified creature packs any time to return to the original files without the necessity to make any backups.
Yeah tried that aswell but I keep getting "Cannot duplicate object. Cant duplicate an object into a cooked package".
I belive it's trying to save my copy inside a cooked folder, but I have no option to change the save location of my copy either.
____________
Treat others the way you want to
be treated.
|
|
cronex
Hired Hero
C# Coder
|
posted October 07, 2017 06:36 PM |
|
Edited by cronex at 19:22, 07 Oct 2017.
|
Yeah now I managed to create a copy of the Archtype and edit the values.
However once I replace the original file inside templates/creatures the map wont load.. game freezes.
I also tried your second alternative of making a new folder inside the MM7 folder in Documents, still no luck.
Jesus I'm either real stupid or I am missing something here.
Followed all of your steps..
I'm trying to edit the stats of Creature_Simurgh.
Here is what I did:
Made a new copy (Creature_SimurghMOD)
Edited the values
Saved the file (Saved inside EditorWorkspace: Creature_SimurghMOD)
Removed the original file from CookedPC/Templates/Creatures/Academy -> Creature_Simurgh
Replaced it with Creature_SimurghMOD.
Changed the name of Creature_SimurghMOD to Creature_Simurgh
Isn't that the way to do it?
____________
Treat others the way you want to
be treated.
|
|
Antalyan
Promising
Supreme Hero
H7 Forever
|
posted October 08, 2017 04:38 PM |
|
Edited by Antalyan at 16:40, 08 Oct 2017.
|
cronex said: Yeah now I managed to create a copy of the Archtype and edit the values.
However once I replace the original file inside templates/creatures the map wont load.. game freezes.
I also tried your second alternative of making a new folder inside the MM7 folder in Documents, still no luck.
Jesus I'm either real stupid or I am missing something here.
Followed all of your steps..
I'm trying to edit the stats of Creature_Simurgh.
Here is what I did:
Made a new copy (Creature_SimurghMOD)
Edited the values
Saved the file (Saved inside EditorWorkspace: Creature_SimurghMOD)
Removed the original file from CookedPC/Templates/Creatures/Academy -> Creature_Simurgh
Replaced it with Creature_SimurghMOD.
Changed the name of Creature_SimurghMOD to Creature_Simurgh
Isn't that the way to do it?
It sounds really strange as you seem to have done everything correctly.
Do you see the modified package in the editor once the original one is removed? Does it happen with other creatures too?
Be careful of what changes you do, maybe try some simple change (such as attack value from x to y) first.
I tried it today with different creatures and it worked without any troubles!
Another thing which comes to mind you can try is to try to use this (I do work with those files myself too): Bugfix mod
This bugfix includes the change of all champion stats to be the same both in skirmish and campaign, which means they have been manually uncooked.
____________
Important H7 tips & tricks
H7 Community Patch (UCP)
|
|
cronex
Hired Hero
C# Coder
|
posted October 09, 2017 05:30 PM |
|
|
Antalyan said:
cronex said: Yeah now I managed to create a copy of the Archtype and edit the values.
However once I replace the original file inside templates/creatures the map wont load.. game freezes.
I also tried your second alternative of making a new folder inside the MM7 folder in Documents, still no luck.
Jesus I'm either real stupid or I am missing something here.
Followed all of your steps..
I'm trying to edit the stats of Creature_Simurgh.
Here is what I did:
Made a new copy (Creature_SimurghMOD)
Edited the values
Saved the file (Saved inside EditorWorkspace: Creature_SimurghMOD)
Removed the original file from CookedPC/Templates/Creatures/Academy -> Creature_Simurgh
Replaced it with Creature_SimurghMOD.
Changed the name of Creature_SimurghMOD to Creature_Simurgh
Isn't that the way to do it?
It sounds really strange as you seem to have done everything correctly.
Do you see the modified package in the editor once the original one is removed? Does it happen with other creatures too?
Be careful of what changes you do, maybe try some simple change (such as attack value from x to y) first.
I tried it today with different creatures and it worked without any troubles!
Another thing which comes to mind you can try is to try to use this (I do work with those files myself too): [url=http://www.hommdb.com/mods/heroes7/bugfix-buglist/]Bugfix mod[/url]
This bugfix includes the change of all champion stats to be the same both in skirmish and campaign, which means they have been manually uncooked.
Downloaded that bugfix and now all creatures are uncooked!
Haha also I've been a total retard here..
When you enter the "properties" you have a bunch of values, right?
And I only went under "Stats" and changed the Hitpoint value...
When I scrolled down abit I noticed "Skirmish Stats" and noticed that you had to change the actual Values there.. once I did that I got it to work!
Many many thanks anyway for all of your help buddy!
Been coding C## for 7 years now and I can't even edit a creature in HoMM7.. I feel totally useless haha!
You have a nice day sir!
____________
Treat others the way you want to
be treated.
|
|
Antalyan
Promising
Supreme Hero
H7 Forever
|
posted October 09, 2017 06:25 PM |
|
|
|
cronex
Hired Hero
C# Coder
|
posted October 09, 2017 10:22 PM |
|
|
Antalyan said: @cronex
I'm glad it helped, it always needs a short time to get used to new working environment and tools
Indeed it does!
Oh well, if any mod want to lock this thread be my guest, my problem is solved here anyways !
____________
Treat others the way you want to
be treated.
|
|
The_Green_Drag
Supreme Hero
|
posted October 10, 2017 03:33 AM |
|
|
How did you get past the "Cannot duplicate object. Cant duplicate an object into a cooked package". Part?
|
|
Antalyan
Promising
Supreme Hero
H7 Forever
|
posted October 11, 2017 05:12 PM |
|
|
The_Green_Drag said: How did you get past the "Cannot duplicate object. Cant duplicate an object into a cooked package". Part?
It depends on what you need to do.
You can either copy the object to another uncooked package or uncook the package in you need to change it (as described above).
____________
Important H7 tips & tricks
H7 Community Patch (UCP)
|
|
The_Green_Drag
Supreme Hero
|
posted October 11, 2017 10:15 PM |
|
|
Okay all I needed to do was click "yes to all" and for some reason that changes things but whatever.
New Problem!
Now that I have changed the stats around I'm trying to make certain buildings give out different creatures within castles. I did everything the same way as before as far as messing with the properties but I'm not sure how to replace building files. When I look them up in the computer they're all summed up as simply 'Sylvan buildings' so I cant replace any individual files.
Anyway around this?
|
|
Antalyan
Promising
Supreme Hero
H7 Forever
|
posted October 12, 2017 03:39 PM |
|
|
The_Green_Drag said: Okay all I needed to do was click "yes to all" and for some reason that changes things but whatever.
New Problem!
Now that I have changed the stats around I'm trying to make certain buildings give out different creatures within castles. I did everything the same way as before as far as messing with the properties but I'm not sure how to replace building files. When I look them up in the computer they're all summed up as simply 'Sylvan buildings' so I cant replace any individual files.
Anyway around this?
You need to save/replace the whole Sylvan buildings package.
____________
Important H7 tips & tricks
H7 Community Patch (UCP)
|
|
cronex
Hired Hero
C# Coder
|
posted October 13, 2017 05:34 PM |
|
|
Still trying to figure out how to add an extra Retaliation Charge to a creature.
Changing the value to "2" doesn't help.
I belive you need a correct "Retaliation Ability" path.
The standard one is H7CreatureAbility'H7CrAbilitiesDefault.A_Retaliation'
Anyone know how to add an additional retaliation ?
|
|
|