|
|
Warmonger
Promising
Legendary Hero
fallen artist
|
posted March 01, 2009 07:29 AM |
|
|
I have a little problem: Manticores in my game appear to have some ridiculous power rating, so every time I check tooltip descriptiion it says "high treat" or "lethal".
No, I have no maps that could do anything with the creatures.
|
|
fiur
Promising
Supreme Hero
Map Creator
|
posted March 01, 2009 07:32 AM |
|
|
Quote: I have a little problem: Manticores in my game appear to have some ridiculous power rating, so every time I check tooltip descriptiion it says "high treat" or "lethal".
No, I have no maps that could do anything with the creatures.
Just a question.....
If you got my map (The Giant's) in map folder that will appear for sure..
It may appear even if you got it in your /Editor/H5Mmods folder....
not sure....
____________
|
|
Warmonger
Promising
Legendary Hero
fallen artist
|
posted March 01, 2009 07:37 AM |
|
|
Right, I have, but never played it
|
|
Rapan
Tavern Dweller
|
posted March 01, 2009 12:29 PM |
|
|
... and i was wondering where i can download the campaign maps from HoMM5 to have a look at the scripts and everything.
____________
|
|
Warmonger
Promising
Legendary Hero
fallen artist
|
posted March 01, 2009 01:06 PM |
|
|
|
Rapan
Tavern Dweller
|
posted March 01, 2009 01:17 PM |
|
|
thx. i hope i find a clue to my prob.
____________
|
|
kainc
Famous Hero
|
posted March 04, 2009 02:57 PM |
|
Edited by kainc at 15:01, 04 Mar 2009.
|
I want to add (@ Skills.xdb) <ID>HERO_SKILL_DARK_RITUAL</ID> for Demonlord (Beastmaster in my Mod) without removing it from Warlock.
Can it be done with following methods?
method A:
<HeroClass>HERO_CLASS_WARLOCK, HERO_CLASS_DEMON_LORD</HeroClass> (which should be correct case in XML)
method B:
<HeroClass>HERO_CLASS_WARLOCK</HeroClass>
<HeroClass>HERO_CLASS_DEMON_LORD</HeroClass>
+
Adding
<Item>
<Class>HERO_CLASS_DEMON_LORD</Class>
<dependenciesIDs>
<Item>HERO_SKILL_XXX</Item>
</dependenciesIDs>
</Item>
So it would be redirected from skill "XXX".
|
|
DarkCrystal
Promising
Supreme Hero
Staright out of line
|
posted March 04, 2009 03:03 PM |
|
|
I'm not a good in heroes, skills and such (I'm specialising on creatures ), but your method 100% won't work. In first case you will have DB error because of invalid class and in second it would take a fisrt class, warlock. But I'm sure this problem can be solved somehow. Maybe modifying hero classes xdb files, if such files exists. So ask anybody else, I can't help with that.
EDIT: for the additional method, don't know, I have never modifyed hero xdb.
____________
Sometimes I'm about to yell: "It is flat you idiots!" But I don't wanna die in fire.
|
|
kainc
Famous Hero
|
posted March 04, 2009 03:12 PM |
|
Edited by kainc at 15:19, 04 Mar 2009.
|
Hmmm... I now used just
<SkillPrerequisites>
<Item>
<Class>HERO_CLASS_DEMON_LORD</Class>
<dependenciesIDs>
<Item>HERO_SKILL_CRITICAL_STRIKE</Item>
</dependenciesIDs>
</Item>
without changing anything to <HeroClass>
but for some reason I can't aquire that CRITICAL_STRIKE (aka. Excruciating Strike) in game anymore. Oh, error in code
I'll try to make DarkRitual2.xdb and proceed from there.
|
|
DarkCrystal
Promising
Supreme Hero
Staright out of line
|
posted March 04, 2009 03:19 PM |
|
|
Well, as I said I'm not good in modifying heroes cuz I've never do that. So ask somebody else. But I'm 100% sure this problem can be solved.
____________
Sometimes I'm about to yell: "It is flat you idiots!" But I don't wanna die in fire.
|
|
Cepheus
Honorable
Legendary Hero
Far-flung Keeper
|
posted March 04, 2009 03:34 PM |
|
|
I'm pretty sure there's a mistake you're making but I can't check it out for you now, as I'm not at home. But it's definitely possible to do what you want - I've rearranged the skills table more than once.
|
|
kainc
Famous Hero
|
posted March 04, 2009 03:51 PM |
|
|
Quote: I'm pretty sure there's a mistake you're making but I can't check it out for you now, as I'm not at home. But it's definitely possible to do what you want - I've rearranged the skills table more than once.
Ok.
Is there a way to add new <ID>s like <ID>HERO_SKILL_DARK_RITUAL2</ID>? Where exactly this <ID> is pointing to? Hard-coded data perhaps?
|
|
Cepheus
Honorable
Legendary Hero
Far-flung Keeper
|
posted March 04, 2009 04:06 PM |
|
|
No, I'm afraid you can only work with the given IDs. It is indeed hard-coded and I don't think anyone could manage to work out how to duplicate a skill's effects anyway.
Maybe in 2018 someone will have figured it out
|
|
kainc
Famous Hero
|
posted March 04, 2009 04:13 PM |
|
|
Quote: Maybe in 2018 someone will have figured it out
Indeed... but I guess Nival / Ubi has given us change to mod within these limits (they could have hard-code those .xdb infos if they wanted). Well... It doesnt matter.
But if you know a solution to this, please tell (when you have time)
|
|
Cepheus
Honorable
Legendary Hero
Far-flung Keeper
|
posted March 04, 2009 04:21 PM |
|
Edited by Cepheus at 16:23, 04 Mar 2009.
|
No problem, I'll probably be available to investigate around 7:00 GMT.
In the meantime you could try setting it to HERO_CLASS_NONE and see what happens?
|
|
kainc
Famous Hero
|
posted March 04, 2009 05:00 PM |
|
Edited by kainc at 17:21, 04 Mar 2009.
|
Quote: In the meantime you could try setting it to HERO_CLASS_NONE and see what happens?
It should work but it would make it free for all other factions as well... and that would make our poor Warlocks go like
And it's binded to Warlock special skill, Elemental Chains. So in order to open it for Oblivion, I'd have to link it with some common spell... unless... *came up with a theory and went to see how it works*
Nah wont work. Anyways I've highlighted those values that I think causes it (I have succeeded to add for example Twilight and Nature’s Wrath for hero so I somewhat know what I'm doing).
...<SkillType>SKILLTYPE_CLASS_PERK</SkillType>
<HeroClass>HERO_CLASS_WARLOCK</HeroClass>
<spellBuffs/>
<BasicSkillID>HERO_SKILL_INVOCATION</BasicSkillID>
<SkillPrerequisites>
<Item>
<Class>HERO_CLASS_DEMON_LORD</Class>
<dependenciesIDs>
<Item>HERO_SKILL_GATING</Item>
</dependenciesIDs>
</Item>
</SkillPrerequisites>...
Hey, just crossed my mind, can we do this:
<HeroClass>
<Item>
<Class>HERO_CLASS_WARLOCK</Class>
<Class>HERO_CLASS_DEMON_LORD</Class>
</Item>
?
|
|
Cepheus
Honorable
Legendary Hero
Far-flung Keeper
|
posted March 04, 2009 05:24 PM |
|
|
Quote: <HeroClass>
<Item>
<Class>HERO_CLASS_WARLOCK</Class>
<Class>HERO_CLASS_DEMON_LORD</Class>
</Item>
That's definitely worth a try. You should test it. I can't see any obvious reason why it shouldn't work, unless the game just outright rejects two classes per ID.
|
|
fiur
Promising
Supreme Hero
Map Creator
|
posted March 04, 2009 05:38 PM |
|
|
Quote:
Quote: <HeroClass>
<Item>
<Class>HERO_CLASS_WARLOCK</Class>
<Class>HERO_CLASS_DEMON_LORD</Class>
</Item>
That will not work for sure...
____________
|
|
kainc
Famous Hero
|
posted March 04, 2009 05:49 PM |
|
|
Yup, it didn't. But I think it's because the value SKILLTYPE_CLASS_PERK instead of normal SKILLTYPE_SPECIAL_PERK that can be added for others. Changing it should do the trick.
|
|
Cepheus
Honorable
Legendary Hero
Far-flung Keeper
|
posted March 04, 2009 05:51 PM |
|
|
I really need to get to my files so I can figure this out properly
|
|
|