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: [NCF Based] Necromancy
Thread: [NCF Based] Necromancy This thread is 2 pages long: 1 2 · «PREV
SimonaK
SimonaK


Promising
Supreme Hero
posted December 04, 2008 04:55 AM
Edited by SimonaK at 05:31, 04 Dec 2008.

Ok, I suggest this algo:

If NCF is living (means it is not elemental, mechanical or undead)
And NCF's tier is between 1 and 7 then

the necro creature will be of NCF tier and the upgrade will be the modulo result by 2 increased by 1
on the NCF power.

In this version, we get the upgrade by this method because somes glitchs exist about the upgrades of somes NCF released.
the integrity of relations (basecreature/upgrade) is missing.

Moreover this version ignores necro 3rd upgrade.
So 3rd upgrade NCF (non-necro) will be transform to non-3rd necro upgrade.

A base creature NCF will become a base creature necro,
but for an upgrade NCF there is 2 upgrade necro...to know which one take, we calculate it with the NCF Power
if it's a even number then the upgrade will be the first and if it's a odd number,
the upgrade will be the second.

Ex. 1: WinterWolf (Tier 4) will be transform to CREATURE_NOSFERATU (upgrade 2)
because it is a upgrade and its power is 671 (odd number)

Ex. 2: Fury Soul (Tier 4) will be transform to CREATURE_VAMPIRE_LORD (upgrade 1)
because it is a upgrade and its power is 732 (even number)

Ex. 3: Zenithales (Tier 4) will be transform to CREATURE_VAMPIRE (upgrade 0)
because they are base creatures.

Nota: for a next version compatible with 3rd upgrade the modulo calculation for upgrade NCF
will be by 3 to get a transformation to a 3rd upgrade necro. (actual results will stay same anyway)


Now the real used select

select gm.creature_id + " / " + c.id      
 from gm_creatures gm,
      creature c
where gm.[_creaturetier] between 1 and 7
  and c.tier = gm.[_creaturetier]
  and c.upgrade = abs(not(gm.[_basecreature]="CREATURE_UNKNOWN")) * ((gm.[_power] mod 2)+1)
  and c.race = "RACE_NECROMANCY"
  and not exists(select 1 from gm_creatures where creature_id = c.id)
  and not exists(select 1
                   from gm_creaturesabilities
                  where filename = gm.filename
                    and [_item] in ("ABILITY_ELEMENTAL","ABILITY_MECHANICAL","ABILITY_UNDEAD"))
order by gm.creature_id;

the result

Dead / Rise
CREATURE_181 / CREATURE_BONE_DRAGON
CREATURE_186 / CREATURE_NOSFERATU
CREATURE_187 / CREATURE_VAMPIRE_LORD
CREATURE_189 / CREATURE_BONE_DRAGON
CREATURE_190 / CREATURE_BONE_DRAGON
CREATURE_192 / CREATURE_BONE_DRAGON
CREATURE_209 / CREATURE_BONE_DRAGON
CREATURE_210 / CREATURE_SHADOW_DRAGON
CREATURE_211 / CREATURE_HORROR_DRAGON
CREATURE_212 / CREATURE_LICH
CREATURE_213 / CREATURE_LICH
CREATURE_214 / CREATURE_VAMPIRE
CREATURE_215 / CREATURE_VAMPIRE_LORD
CREATURE_216 / CREATURE_VAMPIRE_LORD
CREATURE_220 / CREATURE_WIGHT
CREATURE_221 / CREATURE_WRAITH
CREATURE_222 / CREATURE_BANSHEE
CREATURE_226 / CREATURE_LICH
CREATURE_227 / CREATURE_WALKING_DEAD
CREATURE_228 / CREATURE_SKELETON
CREATURE_229 / CREATURE_VAMPIRE
CREATURE_230 / CREATURE_LICH
CREATURE_232 / CREATURE_MANES
CREATURE_233 / CREATURE_SKELETON
CREATURE_235 / CREATURE_LICH
CREATURE_236 / CREATURE_VAMPIRE
CREATURE_241 / CREATURE_BONE_DRAGON
CREATURE_273 / CREATURE_MANES
CREATURE_274 / CREATURE_GHOST
CREATURE_275 / CREATURE_POLTERGEIST
CREATURE_276 / CREATURE_WIGHT
CREATURE_278 / CREATURE_LICH
CREATURE_279 / CREATURE_VAMPIRE
CREATURE_280 / CREATURE_VAMPIRE_LORD
CREATURE_281 / CREATURE_VAMPIRE_LORD
CREATURE_282 / CREATURE_LICH
CREATURE_283 / CREATURE_LICH
CREATURE_285 / CREATURE_WIGHT
CREATURE_286 / CREATURE_BANSHEE
CREATURE_287 / CREATURE_BANSHEE
CREATURE_311 / CREATURE_BONE_DRAGON
CREATURE_325 / CREATURE_VAMPIRE
CREATURE_326 / CREATURE_HORROR_DRAGON
CREATURE_327 / CREATURE_SHADOW_DRAGON
CREATURE_329 / CREATURE_SHADOW_DRAGON
CREATURE_330 / CREATURE_HORROR_DRAGON
CREATURE_332 / CREATURE_HORROR_DRAGON
CREATURE_333 / CREATURE_SHADOW_DRAGON
CREATURE_334 / CREATURE_BANSHEE
CREATURE_335 / CREATURE_WRAITH
CREATURE_336 / CREATURE_BANSHEE
CREATURE_337 / CREATURE_WRAITH
CREATURE_338 / CREATURE_WRAITH
CREATURE_340 / CREATURE_WRAITH
CREATURE_341 / CREATURE_BANSHEE
CREATURE_342 / CREATURE_LICH_MASTER
CREATURE_343 / CREATURE_LICH_MASTER
CREATURE_344 / CREATURE_LICH_MASTER
CREATURE_345 / CREATURE_LICH_MASTER
CREATURE_346 / CREATURE_DEMILICH
CREATURE_348 / CREATURE_DEMILICH
CREATURE_349 / CREATURE_LICH_MASTER
CREATURE_350 / CREATURE_NOSFERATU
CREATURE_351 / CREATURE_VAMPIRE_LORD
CREATURE_352 / CREATURE_VAMPIRE_LORD
CREATURE_353 / CREATURE_NOSFERATU
CREATURE_354 / CREATURE_NOSFERATU
CREATURE_356 / CREATURE_VAMPIRE_LORD
CREATURE_357 / CREATURE_VAMPIRE_LORD
CREATURE_359 / CREATURE_POLTERGEIST
CREATURE_360 / CREATURE_POLTERGEIST
CREATURE_361 / CREATURE_POLTERGEIST
CREATURE_362 / CREATURE_GHOST
CREATURE_364 / CREATURE_GHOST
CREATURE_365 / CREATURE_GHOST
CREATURE_367 / CREATURE_ZOMBIE
CREATURE_368 / CREATURE_DISEASE_ZOMBIE
CREATURE_369 / CREATURE_DISEASE_ZOMBIE
CREATURE_370 / CREATURE_ZOMBIE
CREATURE_372 / CREATURE_ZOMBIE
CREATURE_373 / CREATURE_ZOMBIE
CREATURE_374 / CREATURE_SKELETON_WARRIOR
CREATURE_375 / CREATURE_SKELETON_WARRIOR
CREATURE_376 / CREATURE_SKELETON_ARCHER
CREATURE_377 / CREATURE_SKELETON_ARCHER
CREATURE_378 / CREATURE_SKELETON_WARRIOR
CREATURE_380 / CREATURE_SKELETON_ARCHER
CREATURE_381 / CREATURE_SKELETON_ARCHER
CREATURE_384 / CREATURE_VAMPIRE
CREATURE_387 / CREATURE_WALKING_DEAD
CREATURE_390 / CREATURE_BONE_DRAGON
CREATURE_391 / CREATURE_VAMPIRE
CREATURE_392 / CREATURE_BONE_DRAGON
CREATURE_393 / CREATURE_SKELETON
CREATURE_394 / CREATURE_SKELETON_WARRIOR
CREATURE_395 / CREATURE_MANES
CREATURE_396 / CREATURE_SKELETON_WARRIOR
CREATURE_397 / CREATURE_WALKING_DEAD
CREATURE_398 / CREATURE_DISEASE_ZOMBIE
CREATURE_402 / CREATURE_MANES
CREATURE_403 / CREATURE_BANSHEE
CREATURE_404 / CREATURE_WIGHT
CREATURE_405 / CREATURE_WRAITH
CREATURE_406 / CREATURE_VAMPIRE
CREATURE_407 / CREATURE_WIGHT
CREATURE_409 / CREATURE_VAMPIRE
CREATURE_413 / CREATURE_MANES
CREATURE_415 / CREATURE_WIGHT
CREATURE_416 / CREATURE_WIGHT
CREATURE_419 / CREATURE_BONE_DRAGON
CREATURE_497 / CREATURE_VAMPIRE
CREATURE_498 / CREATURE_VAMPIRE
CREATURE_MANTICORE / CREATURE_WIGHT
CREATURE_PHOENIX / CREATURE_BONE_DRAGON
CREATURE_THUNDERBIRD / CREATURE_SHADOW_DRAGON
CREATURE_WOLF / CREATURE_VAMPIRE

116 rows selected.

Now, I can adjust the output to get with it the code:

<Item>\n<Dead>...</Dead>\n<Rise>...</Rise>\n</Item>

Of course, I can too integrate this tool as RTMG part and automatically remoding it each time a NCF is imported into.


P.S.
I can provide NCF creatures's name if I include REF_OBJECT table in the select but this information is not important for DefaultStat.xdb

(REF_OBJECT is the RTMG's table containing advmapobject's name and description)







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


Promising
Supreme Hero
Staright out of line
posted December 04, 2008 05:57 AM



What are you talking about!?

We ARE able to raise for example Rakshasa Vetala from Rakshasa, IF

1)Write this in DefaultStats.xdb

<Dead>CREATURE_RAKSHASA</Dead>
<Raise>CREATURE_304</Raise>

2)Write TOWN_NECROMANCY in <TownType> in Creature_304.xdb

I TESTED it, it WORKS!
____________
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
Disturbed-Gnu
Disturbed-Gnu


Supreme Hero
Pro Bacon Vodka Brewer
posted December 04, 2008 05:51 PM

Isn't there anyone hwo whants to make a undead tier 8 creature, so the battle against tier 8 - 10th creatures is more worth winning?

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


Promising
Supreme Hero
Staright out of line
posted December 04, 2008 06:25 PM
Edited by DarkCrystal at 18:29, 04 Dec 2008.

Some good news: it is finished!

@Disturbed-Gnu: If you give me any idea maybe I'll create it.

____________
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
Asheera
Asheera


Honorable
Undefeatable Hero
Elite Assassin
posted December 04, 2008 06:27 PM

@SimonaK: Your algo is pretty good, but it's better to make it manually and more logical (like a Rakshasa turns into the Vetala, and not just an undead creature of the same tier)
____________

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


Promising
Supreme Hero
posted December 04, 2008 10:31 PM
Edited by SimonaK at 01:20, 05 Dec 2008.

Quote:
@SimonaK: Your algo is pretty good, but it's better to make it manually and more logical (like a Rakshasa turns into the Vetala, and not just an undead creature of the same tier)


Vetala  argument is not relevant!

And if the player doesn't have the Vetala in H5 folders....

do what you want, but Vetala is not a necro creature by the necro faction...

Using a NCF as Rise creature doesn't guarantee a Rise because it's not sure the player has this ncf.

Rise in a NCF if you want but at least test in case where the NCF doesn't exist as mod in folders....(perhaps H5 simply ignores then but we never know)

Moreover, my DefaultStats.xdb includes more of one mod in same time... it contains Advanced-AI by magnomagus and contains too StoneHeart by VokialBG and it contains other mods... so...I will not replace this "super" defaultstats by this one and then crushing others modifications

Yes, by adding info in my defautltstats, I will allow to NCFs to rise to necro....but the rise creature will be a faction real necro creature....I think to include too 3rd upgrade by it.

in the worst case, Vetala....is already rised creature by definition


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


Honorable
Undefeatable Hero
Elite Assassin
posted December 04, 2008 10:40 PM

Ah but you can just copy the NecroRaiseTable and not the whole file, and you won't 'destroy' the other Mods you have that use the DefaultStats.xdb file
____________

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


Promising
Supreme Hero
posted December 04, 2008 10:43 PM
Edited by SimonaK at 05:57, 05 Dec 2008.

Quote:
Ah but you can just copy the NecroRaiseTable and not the whole file, and you won't 'destroy' the other Mods you have that use the DefaultStats.xdb file


Yes, i know, I edited my last post about it while you wrote yours.

but even it.. sorry i dont think to do it. (yes but with my algo)

I find very important that rised creature has same tier of dead one and becomes a real necro faction creature.

Rakshasa has already a rise since ever...I dont see why change it just because there are NCFs now.

I know the Vetala's CreatureTown is not "TOWN_NO_TYPE" and I always find it bad. a NCF must have a CreatureTown "TOWN_NO_TYPE" to make a real neutral creature of it.

the exception is only 3rd upgrade NCF which have a Faction CreatureTown.

All NCF I have which are not a 3rd upgrade faction (Fauch's) will get a CreatureTown "TOWN_NO_TYPE".

It's a philosophy.

And I go on to prefer that an informatic operation manages automatically the code.


....about tier 8, ...who wants to make a undead NCF tier 8 with necro creaturetown
just to be glad to be able to rise a dead NCF tier 8? btw logically a rised is necro first..undead second.

necro creature tier 8 without other tier 8 faction?


Anyway the integrity of necro rising is weak...or idle

Im sure you can rise a dead undead....im not tested but im sure even.

worse: im sure you can rise the dead....

<Dead>CREATURE_PEASANT</Dead>
<Rise>CREATURE_PEASANT</Rise>

I bet it works

<Dead>CREATURE_PEASANT</Dead>
<Rise>CREATURE_BLACK_DRAGON</Rise>

<Dead>CREATURE_NCF_TIER_4</Dead>
<Rise>CREATURE_NCF_TIER_3</Rise>

<Dead>CREATURE_NCF_TIER_8</Dead>
<Rise>CREATURE_NCF_TIER_8</Rise>  <---- oooh you have your tier 8!!!


it's interesting? noooooo......not really

I prefer so far to keep a perfect integrity of necromancian science
and of its 21 (28) town creatures.

And I think that integration of NCFs in the necro rising begins by considering the 7 3rd necro upgrades as rise instead of any others ncf.

ex: all 3rd living non-necro upgrades must be transformed to 3rd necro upgrade.






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

Page compiled in 0.0511 seconds