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: ~ QUESTIONS Topic and FAQ - Modders Workshop ~
Thread: ~ QUESTIONS Topic and FAQ - Modders Workshop ~ This Popular Thread is 126 pages long: 1 20 40 60 80 100 ... 119 120 121 122 123 ... 126 · «PREV / NEXT»
dredknight
dredknight


Honorable
Supreme Hero
disrupting the moding industry
posted December 31, 2017 02:23 PM

I am trying to create a hero with 0 stats but the editor fields do not work. What I do is select the hero and on the left pane select editable -> Offence and modify it. The same goes for the other values.

Whatever those values are set the hero in the game starts with default values. This is clean Tote 3.1 with no mods.
____________
Join our official discord channel | NCF Utility Beta

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


Supreme Hero
Heroes 3 Fan
posted January 08, 2018 12:01 AM

Well i think game read stats assigned to class not for each hero, like Heroes 3 did.

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


Admirable
Omnipresent Hero
Endless Revival
posted February 05, 2018 03:21 PM

Fear my roar is a pretty cheesy warcry, once your hero gets some levels you can scare everything at 100%. Is there some way to edit its formula?
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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


Promising
Supreme Hero
育碧是白痴
posted March 13, 2018 10:35 PM
Edited by frostymuaddib at 00:31, 15 Mar 2018.

So, I have a scripting/modding question. Functions SetGameVar and GetGameVars are pretty useful for storing various data in between maps. But, SetGameVar writes data only when the map is completed. Is there a way to flush the data earlier?

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

Tavern Dweller
posted June 21, 2018 10:51 AM

Ref wiki

Greetings. Recently installed this game again, and wanted to make lots of changes with skills since I really dont like the skills that lead to ultimate.
Many years ago there was a website with all the names of skills that should be used when moding, since they differ from the ingame names. Does anybody know wich site I mean, or if there are any similar documents or something with the "real" names of skills?

Thanks

____________

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


Honorable
Supreme Hero
disrupting the moding industry
posted June 21, 2018 11:26 AM
Edited by dredknight at 11:27, 21 Jun 2018.

Hello Njord,

Welcome to the community.

Here you go.

Artifacts and heroes names can be found on page 2 of this thread.
____________
Join our official discord channel | NCF Utility Beta

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


Admirable
Omnipresent Hero
Endless Revival
posted August 06, 2018 06:52 PM

Is there some way to tweak units cloned by phantom forces? To perhaps give cloned units an ability like bravery?
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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


Admirable
Omnipresent Hero
Endless Revival
posted August 08, 2018 11:09 AM

Also, any ways to tweak luck/morale trigger chance to say 5 or 7.5% per point?
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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


Famous Hero
posted August 30, 2018 03:35 PM

Hi there - two questions!

1.  Could someone point out to me where the "preferred spells" in the mage guild of each faction is located?  I'd like to tweak that slightly.  (Is it in the same spot in H5.5?)

2.  How does one edit the effects of artifact combos?  I know it was done in H5.5, but I can't figure out the proper location.

Thanks!
-Gidoza


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


Honorable
Supreme Hero
disrupting the moding industry
posted August 31, 2018 06:39 PM

Spells are in GameMechanics-Spell-Combat_Spells

For example when you are in there go to  DestrcutiveMagic and open Armageddon.xdb

Inside there is row:

<MagicSchool>MAGIC_SCHOOL_DESTRUCTIVE</MagicSchool>

This defines the school the spell resides.

Regarding the Artifacts:
- Sets are hardcodded in the exe but their bonus values (most of them) are set in GameMechanics-RPGStats-DefaultStats.xdb

Look for <ArtifactsSetsEffectsConsts> and anything below that.

MMH5.5 custom artifact sets bonuses are made by custom LUA scripts.
____________
Join our official discord channel | NCF Utility Beta

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


Famous Hero
posted August 31, 2018 09:42 PM

dredknight said:
Spells are in GameMechanics-Spell-Combat_Spells

For example when you are in there go to  DestrcutiveMagic and open Armageddon.xdb

Inside there is row:

<MagicSchool>MAGIC_SCHOOL_DESTRUCTIVE</MagicSchool>

This defines the school the spell resides.

Regarding the Artifacts:
- Sets are hardcodded in the exe but their bonus values (most of them) are set in GameMechanics-RPGStats-DefaultStats.xdb

Look for <ArtifactsSetsEffectsConsts> and anything below that.

MMH5.5 custom artifact sets bonuses are made by custom LUA scripts.


I think you misunderstood my first question.

What I mean is that the "preferred spells" for Haven - as an example - are Light and Dark.  How might I change this to, say, Light and Summoning?


As for the H5.5 custom LUA scripts - my only question is - are those editable?

Thanks,
-Gidoza

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


Admirable
Omnipresent Hero
Endless Revival
posted August 31, 2018 10:01 PM

Data -> MapObjects -> [faction].(AdvMapTownShared).xdb

Scroll all the way down and you'll see something like this.

<MagicSchool_0>MAGIC_SCHOOL_DESTRUCTIVE</MagicSchool_0>
<MagicSchool_1>MAGIC_SCHOOL_DARK</MagicSchool_1>
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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


Honorable
Supreme Hero
disrupting the moding industry
posted August 31, 2018 10:12 PM

Sorry Gidoza,

MMH5.5 artifacts are editable. The code is in MMH55_index.pak -> scripts -> H55-core.lua
____________
Join our official discord channel | NCF Utility Beta

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


Famous Hero
posted September 01, 2018 05:28 PM

Elvin said:
Data -> MapObjects -> [faction].(AdvMapTownShared).xdb

Scroll all the way down and you'll see something like this.

<MagicSchool_0>MAGIC_SCHOOL_DESTRUCTIVE</MagicSchool_0>
<MagicSchool_1>MAGIC_SCHOOL_DARK</MagicSchool_1>


Thank you - I see it!  I definitely would not have found this on my own - I'd never have guessed it to be there.


Quote:
Sorry Gidoza,

MMH5.5 artifacts are editable. The code is in MMH55_index.pak -> scripts -> H55-core.lua


No worries just a misunderstanding.

I'll take another look at the H55-core code.  I did read through it but somehow nothing struck me as obviously being clear editable changes.  Perhaps I missed it - I'll go through it again.

Thank you!

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


Honorable
Supreme Hero
disrupting the moding industry
posted September 01, 2018 07:28 PM
Edited by dredknight at 19:28, 01 Sep 2018.

Look for methods like - H55_<Artifact set name>SetCount
For example - H55_GetDwarvenSetCount - this is the method that counts.

After line 5200 you can see how the hero stats are applied if he has the artifact set count.

On 6500 you can see a check where if the hero has certain artifact(ARTIFACT_RING_OF_MACHINE_AFFINITY) and certain secondary skill (DEMON_FEAT_TRIPLE_CATAPULT) it gives the hero a new bonus.

Between lines 1270 and 1300 you can see the list of artifacts being defined for the script (minor, major, relic, ultimate).

The artifacts themselves are made available in MMH55 by being enlisted in  H55-tables.lua script from line 147 to 278.

But first of all before you do any of the stuff above you have to register a new artifact in ToTe game by adding it in -> MMH55-IndexGameMechanicsRefTablesArtifacts.xdb.
This is where you have to define artifact visuals,texts and stats.

On line 2904 for example one of the monk set artifacts definition can be seen. Have in mind that there is an artifact cap of 127 which Magnomagus has already exhausted so if you want to add your own artifact you have to change or remove existing one first OR hack the exe and find how to increase the cap value.
____________
Join our official discord channel | NCF Utility Beta

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


Known Hero
Derusticated
posted September 03, 2018 09:21 AM

Hi, any ideas on what the RNG's seed numbers can do?

Suppose I have a pretty good map with seed 1535952804, does this number have any meaning and can it be manipulated?
____________
In the darkness, a blind man is the best guide; in an age of madness, look to the madman to lead the way.

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


Famous Hero
posted September 10, 2018 04:08 PM

dredknight said:
Look for methods like - H55_<Artifact set name>SetCount
For example - H55_GetDwarvenSetCount - this is the method that counts.

After line 5200 you can see how the hero stats are applied if he has the artifact set count.

On 6500 you can see a check where if the hero has certain artifact(ARTIFACT_RING_OF_MACHINE_AFFINITY) and certain secondary skill (DEMON_FEAT_TRIPLE_CATAPULT) it gives the hero a new bonus.

Between lines 1270 and 1300 you can see the list of artifacts being defined for the script (minor, major, relic, ultimate).

The artifacts themselves are made available in MMH55 by being enlisted in  H55-tables.lua script from line 147 to 278.

But first of all before you do any of the stuff above you have to register a new artifact in ToTe game by adding it in -> MMH55-IndexGameMechanicsRefTablesArtifacts.xdb.
This is where you have to define artifact visuals,texts and stats.

On line 2904 for example one of the monk set artifacts definition can be seen. Have in mind that there is an artifact cap of 127 which Magnomagus has already exhausted so if you want to add your own artifact you have to change or remove existing one first OR hack the exe and find how to increase the cap value.


Thanks!


Completely different question now...


I have a skill (Erratic Mana) that I've given a dependency (Dead Luck - moved to start of tech tree).  I've double and triple checked and the dependency is definitely there, but in-game Erratic Mana seems to straight up ignore the dependency.  All the other skills I modified seem to work all right...any ideas on what I might be missing?

Also, how does one restore the H5 Vanilla Treant?  I know others have posted on it, just need the link.  

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


Admirable
Omnipresent Hero
Endless Revival
posted September 10, 2018 06:01 PM

Your ability is probably STANDART instead of SPECIAL, right? Try the latter.
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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


Famous Hero
posted September 10, 2018 08:02 PM

Elvin said:
Your ability is probably STANDART instead of SPECIAL, right? Try the latter.


My understanding of what you say is that "STANDART" is a skill accessible merely by taking the base skill, while "SPECIAL" is a skill that requires a STANDART or SPECIAL skill - is this correct?

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


Famous Hero
posted September 11, 2018 08:16 PM
Edited by Gidoza at 20:20, 11 Sep 2018.

Back to artifacts - too bad they're hardcoded (unless they can be hex-edited) as all I really wanted to adjust was the Sar-Issus Regalia - the double power for creatures for two items is insane and 4 power for all the items is rather a bummer.  Swap the two values and it would be perfect!

Moreover, Power of Dragons (for example) for H5.5 has different values in it than what's in DefaultStats.xdb, so I feel like there's yet more of the story to be told.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 126 pages long: 1 20 40 60 80 100 ... 119 120 121 122 123 ... 126 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.2652 seconds