Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > King's Bounty > King's Bounty: The Legend > Mods

Mods Everything about mods

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2011, 11:26 PM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

What got me stuck about burning/poisoning is that i have thorns and sprites that have basic dmg 1-2/1-3 , with poison dagger and whip of ishara + blackthorn crown for thorns it goes to , 4-6/3-5 so approximately 25% dmg for thorns is fire 25% poison for sprites something similar, and after they burn/poison some enemy units it still make small amount of dmg in next turn.
That 800 bowman example : it was something around 820 i hit them with thorns and kill 80 ( 2800 dmg so it 700 fire, 700 poison, and 1400 physical and they catch burning) next turn only 1 dies and as you say it should make 350 dmg since they have 0 fire resistance. killing at least 10 units, not only 1. I`ll try to do same think fighting only with my thorns to check it out, but i think your setting got confused because +1 fire/poison items. Did you consider that option : having ancient ents with 100 dmg and using whip of ishara +1 fire dmg ? How would that work considering burning enemy units?

Griffins i had mirabella -8%lds / +8%hp, and kid_edric -18% /+18% hp, glory -10% , so basic 80 lds got to 52 , and with kid_rion +16%hp, and healer 3rd lvl it goes from basic 90hp to sweet 137 hp, 3rd lvl griffin
So with griffin banner it would be ridiculous (28 lds griffin) To bad it gives only lds for griffin, and no other bonus.

Neoka/gerda problem continuum every lore we have about elves is that they are race of magic users and that they thrive on magic, and dwarfs are miners and used to get their hands dirty in fighting (pulling their beards, breaking beer mugs on each other heads etc), so that`s why i stuck me that neoka elf princess have bonus for so much battle oriented kids, and gerda for none.

@ Now you have a use for Dispel! Hm warrior with 3 sprite units, ancient ent and thorn hunter, yea i`ll dispel them right after i kill almost every enemy with rage spirits then spend 10 turns resurrecting my dead troops who were almost useless during whole battle

Spell usage, and spells that are worthless . . . great thing about this game is options you have at disposal. 7 races, 70 spells, bunch of items and skills, and no1 actually know of possible army builds so it`s just question of how imaginative you are and how long you can stick with starting plan and restrictions : i decided to play all game with only this units/spell/rage spirit skills . . . then during that playthrough you figure some other interesting things. In AP there is tread crazy challenges where ppl get to really weird ideas to play this game, and just drop really interesting ideas and possibilities
So i think every unit/item/spell in this game some use and it`s place in order of things . . . except peasants they are f...ing useless
Reply With Quote
  #2  
Old 12-16-2011, 01:56 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Question Not sure what's going on with that +Poison or Fire Damage

Quote:
Originally Posted by Fatt_Shade View Post
What got me stuck about burning/poisoning is that i have thorns and sprites that have basic dmg 1-2/1-3 , with poison dagger and whip of ishara + blackthorn crown for thorns it goes to , 4-6/3-5 so approximately 25% dmg for thorns is fire 25% poison for sprites something similar, and after they burn/poison some enemy units it still make small amount of dmg in next turn.
Hmmm... that sounds weird - they shouldn't be doing any poisoning or burning with either of those items. Adding poison damage or fire damage has nothing to do with causing a poison or burn effect - it justs adds extra damage of that damage type to the unit's damage.

Quote:
Originally Posted by Fatt_Shade View Post
That 800 bowman example : it was something around 820 i hit them with thorns and kill 80 ( 2800 dmg so it 700 fire, 700 poison, and 1400 physical and they catch burning) next turn only 1 dies and as you say it should make 350 dmg since they have 0 fire resistance. killing at least 10 units, not only 1. I`ll try to do same think fighting only with my thorns to check it out, but i think your setting got confused because +1 fire/poison items. Did you consider that option : having ancient ents with 100 dmg and using whip of ishara +1 fire dmg ? How would that work considering burning enemy units?
None of that should matter - like I said adding damage of a certain type does not add the capability to add an effect like poison or burn.

So this sounds weird to me. The troop receiving damage should not be poisoned or catch fire just because of the Poison Dagger or Isshara's Whip.

I guess we'll have to research this more deeply to find out what is going on - I know that I pretty thoroughly checked this part of my mod because I wanted to make sure I got it right, but I'm pretty sure I didn't check it with either of those weapons equipped. I've got both of them (hopefully I didn't sell the dagger, but can go back to a saved game if I did) so I can check what you're seeing.

I know that it is possible to get a unit with high resistance (but less than 80% - if the resistance is 80% or higher then poison or burn effects aren't applied) and then they get very unlucky and get poisoned or burned the damage is reduced significantly and so you'll see very low damage numbers in that case - like when the Phoenix burns an Imp.

I also added the capability, though, if a unit's resistance is greater than 0, then that resistance becomes their chance to resist the effect on successive turns. So if a unit has 50% resistance, for example, and they get a damage effect that matches that resistance, on the next turn they have a 50% chance of resisting that effect altogether and it being removed.

Looks like we need to check this out more and find out exactly what's going on here...

Quote:
Originally Posted by Fatt_Shade View Post
Griffins i had mirabella -8%lds / +8%hp, and kid_edric -18% /+18% hp, glory -10% , so basic 80 lds got to 52 , and with kid_rion +16%hp, and healer 3rd lvl it goes from basic 90hp to sweet 137 hp, 3rd lvl griffin
So with griffin banner it would be ridiculous (28 lds griffin) To bad it gives only lds for griffin, and no other bonus.
Wow! You got Edric! Nice! Rion is good, too (Advanced First Aid)! The Cleric / Knight HOMM3 heroes had pretty good skills and Mirabella got most of them!

Quote:
Originally Posted by Fatt_Shade View Post
Neoka/gerda problem continuum every lore we have about elves is that they are race of magic users and that they thrive on magic, and dwarfs are miners and used to get their hands dirty in fighting (pulling their beards, breaking beer mugs on each other heads etc), so that`s why i stuck me that neoka elf princess have bonus for so much battle oriented kids, and gerda for none.
I hear you! I'm not sure why the Elf HOMM3 Hereos ended up with their skills, but Archery does make sense.

Let's see:
  1. Ivor - Ranger, Male Elf: Archery, Offense, Elves
  2. Jenova - Ranger, Female Elf: Advanced Archery, Gold +350/day
  3. Kyrre - Ranger, Female Elf: Archery, Advanced Logistics
  4. Gelu - Ranger, Male Human: Archery, Leadership, Sharpshooters
  5. Monere - Planeswalker, Male Magic Elemental: Offense, Logistics, Psychic / Magic Elementals
  6. Pasis - Planeswalker, Male Psychic Elemental: Offense, Artillery, Psychic / Magic Elementals

Only 3 of those children have Offense: 1 is an Elf so he goes to Neoka, the other two are Planeswalkers and are Magic and Psychic Elementals. Psychic Elementals were the base unit and then they became Magic Elementals for their upgrade unit in HOMM3.

So it fell out that way for Neoka as all those children made sense since they were either Rangers (Elves) or Magic-using Planeswalkers (the Magic lends itself to Elves).

For Gerda, she just didn't get any babies with HOMM3 Offense. Orcelyn got a lot of the Barbarian Babies because of the Orc tie in - a lot of them have HOMM3 Offense. Orcelyn may have gotten a baby or two from Gerda when I added her. Kilgor might have been Gerda's, but I gave him to Orcelyn because of Behemoths (which was an Orc town unit in HOMM3). Young Yog went to Orcelyn, because in HOMM3 he wanted to be a Barbarian. I guess a case could be made to give him to Gerda, but he wants to be a Barbarian.

Sorry that's about the only kid I can think of moving to Gerda, Young Yog's HOMM3 Skills are: Offense, Ballistics, and Cyclopses. Young Yog is a Male Genie Wizard (who in HOMM3 wanted to become a Barbarian). Normal Yog is a Male Genie and so goes to Diana, but like Young Sandro, Young Gem, and Young Christain, I didn't want to give the younger version of the same hero to the same wife. Young Yog could have been given to any other wife besides Diana, but he seemed a great fit for Orcelyn because of the Barbarian Town / Orc linkage in HOMM3.

So that's why it played out that way...

Sorry, Gerda!

Quote:
Originally Posted by Fatt_Shade View Post
@ Now you have a use for Dispel! Hm warrior with 3 sprite units, ancient ent and thorn hunter, yea i`ll dispel them right after i kill almost every enemy with rage spirits then spend 10 turns resurrecting my dead troops who were almost useless during whole battle
Yah - sometimes its best to leave the level 1's and 2's at home since they tend to be a bit fragile. Like when I fought Raab Sotten in my previous game, I faced him only with Demons. I think I had Marius in that game so they go her Demon unit bonus.

Quote:
Originally Posted by Fatt_Shade View Post
Spell usage, and spells that are worthless . . . great thing about this game is options you have at disposal. 7 races, 70 spells, bunch of items and skills, and no1 actually know of possible army builds so it`s just question of how imaginative you are and how long you can stick with starting plan and restrictions : i decided to play all game with only this units/spell/rage spirit skills . . . then during that playthrough you figure some other interesting things. In AP there is tread crazy challenges where ppl get to really weird ideas to play this game, and just drop really interesting ideas and possibilities
So i think every unit/item/spell in this game some use and it`s place in order of things . . . except peasants they are f...ing useless
I tend to agree with you here - that's what makes playing this game so much fun. I thought briefly about what to do with peasants and figured it probably wasn't worth it, although, a simple fix for them would be to raise the +10 attack limit - that would at least make then less useless!

/C\/C\
Reply With Quote
  #3  
Old 12-16-2011, 07:00 AM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

OK i checked poisoning effect : 480 dwarfs i killed 120 with royal snakes and poisoned them, next turn only 32 die from poison effect (and by your explanation should be 60). Try that combination, royal snakes special attack have 100% poisoning so it`s easy to check does it work. That situation with 800 bowman and burning might be because i used hell breath on thorn hunters, and it`s not related to ishara whip.
Reply With Quote
  #4  
Old 12-16-2011, 04:47 PM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Exclamation Not necessarily... check this out...

Quote:
Originally Posted by Fatt_Shade View Post
OK i checked poisoning effect : 480 dwarfs i killed 120 with royal snakes and poisoned them, next turn only 32 die from poison effect (and by your explanation should be 60). Try that combination, royal snakes special attack have 100% poisoning so it`s easy to check does it work. That situation with 800 bowman and burning might be because i used hell breath on thorn hunters, and it`s not related to ishara whip.
Just because 120 were killed doesn't necessarily mean that 60 will be killed due to the effect.

What makes Royal Snakes more complicated is that their normal damage is physical. So a unit's physical resistance comes into play and that is the damage that will go into the features_poison function inside UNIT_FEATURES.LUA.

I'll give a little mini-tutorail about the code in there, but first let's discuss the Royal Snake's attacks. The Royal Snake's normal attack has a 30% chance to poison and its "lunge" attack a 100% chance to poison (check SNAKE_ROYAL.ATOM). However, dwarves have at least 7 resist all (I think it is 8 in impossible due to the +25% increase) and possibly more if they are with a hero. I'm not sure which situation you're dealing with, but you'll need to look at the Dwarve's resistances (or really just poison).

I'm pretty sure the flying damage numbers above the unit's head should be the damage that goes into the features_poison function.

This serves as a mini tutorial, but here's the code:

Code:
function features_poison( damage, addrage, attacker, receiver, minmax )
  if ( minmax == 0 )
  and damage > 0 then
    --local receiver=Attack.get_target(1)  -- êîãî?
    local poison = tonumber( Attack.get_custom_param( "poison" ) )
    poison = effect_chance( poison, "effect", "poison" )
    local poison_res = Attack.act_get_res( receiver, "poison" )
    local rnd = Game.Random( 100 )
    
    local poison_chance = math.min( 100, poison * ( 1 - poison_res / 100 ) )
    local poison_damage = damage * poison_chance / 200
    if rnd < poison_chance
    and not Attack.act_feature( receiver, "golem" ) then -- and (not Attack.act_feature(receiver,"poison_immunitet") or Attack.act_race("undead")) then 
      effect_poison_attack( receiver, 0, 3, poison_damage, poison_damage )
    end
  end 

  return damage, addrage
end
If you looked at my other tutorial, you'll note that minmax == 0 is a check to make sure that this is the attack being applied (and not some one else's) and then the damage just needs to be greater than 0. The Attack.get_custom_param( "poison" ) actually looks into SNAKE_ROYAL.ATOM under the custom parameters (custom_params) of whichever attack caused the damage. Note that for its baseattack the chance of poison is 30%, while lunge is 100% (these are stock TL as I didn't change the Royal Snake's ATOM).

It's possible that in your case, you're using the Royal Snake's base attack, I don't know, but let's use both examples with the Dwarve's base resistance and follow the code:

Code:
    local poison = tonumber( Attack.get_custom_param( "poison" ) )
    poison = effect_chance( poison, "effect", "poison" )
So with the base attack, poison = 30
With the "lunge" attack, poison = 100

The second line would apply a modifier to the chance poison if the hero had an item with a bonus here. In this case, though, I don't think I have any items with a specific poison chance bonus (this is to allow people to mod my mod in the future with their own bonuses!) so the values above aren't modified.

Next:

Code:
    local poison_res = Attack.act_get_res( receiver, "poison" )
    local rnd = Game.Random( 100 )
    
    local poison_chance = math.min( 100, poison * ( 1 - poison_res / 100 ) )
    local poison_damage = damage * poison_chance / 200
Next you can see that the receiver's poison resistance is queried and then a random number generated. Let's compute poison_chance for both cases assuming that the Dwarve's poison resistance is 8%.

Case 1 (base attack): poison_chance = min between( 100 and 30 * ( 1 - 8 / 100 ) ) = 27.6
Case 2 (lunge attack): poison_chance = min between( 100 and 100 * ( 1 - 8 / 100 ) ) = 92

So those are the two chances to cause poison based on whichever attack the Royal Snake is using if the Dwarve's resistance is 8%.

Code:
    local poison_damage = damage * poison_chance / 200
Next, let's compute poison_damage. I don't know how much damage it said it did, but let's go off of what you stated: 120 Dwarves killed. Base hp: 80, +25% due to Impossible difficulty so health = 80 * 1.25 = 100. So as a guess, let's say the damage is 100 * 120 = 12,000 damage! Wow!

Case 1: poison_damage = 12,000 * 27.6 / 200 = 1656
Cast 2: poison_damage = 12,000 * 92 / 200 = 5520

So the chance to cause the damage goes into how effective the poisoning (in this case) is. Note that the reason why it is 200 is because I'm halving the damage (it could have just as easily been written as X / 100 / 2, but I combined the 2 values). I neglected to mention that the chance applies as well in my previous post, but this is the way it works per the code.

Code:
if rnd < poison_chance
    and not Attack.act_feature( receiver, "golem" ) then -- and (not Attack.act_feature(receiver,"poison_immunitet") or Attack.act_race("undead")) then 
      effect_poison_attack( receiver, 0, 3, poison_damage, poison_damage )
    end
This last part of the code checks to see if the unit was poisoned. For case 1: poison_chance is 27.6% and for case 2: poison_chance is 92%.

If poison is successful, then "effect_poison_attack" is called with: 1) the receiver to apply the damage to, 2) pause (this is for timing of the display, I think), 3) duration of the effect, 4) min damage, and 5) max damage.

Inside the effect_poison_attack function (inside SPELL_EFFECTS.LUA) there is a lot going on, but I essentially store the damage value on the unit (this is a neat feature of the scripting engine that the developers implemented) with the receiver's resistance used to scale up the damage back to what it would be like so:

Code:
      dmg_min = dmg_min * ( 1 + poisonresist / ( 100 - poisonresist ) )
      dmg_max = dmg_max * ( 1 + poisonresist / ( 100 - poisonresist ) )
Case 1: dmg_min = dmg_max = 1656 * ( 1 + 8 / ( 100 - 8 ) ) = 1800
Case 2: dmg_min = dmg_max = 5520 * ( 1 + 8 / ( 100 - 8 ) ) = 6000

This was a little wrinkle I needed to put in because of the way the damage system works. Since the damage system applies the resistance to the damage, I didn't want the damage to be reduced by the resistance twice (once when storing and then again when computing damage) so this restores the "pre-resistance" damage and stores those values (in either case) on the unit.

What happens next, is that when the receiver takes its turn the damage will be applied to the unit and the resistance will be applied - here's the code:

Code:
  		Attack.atk_set_damage( typedmg, dmg_min, dmg_max )
    -- Each successive burn causes half damage
   	Attack.act_spell_param( target, effect_type, "dmg_min", dmg_min / 2, "dmg_max", dmg_max / 2 )
(Note that even though it says burn, this code is inside the new apply_effect_damage common function that I wrote inside SPELL_EFFECTS.LUA and applies damage from both burn and poison effects).

Note that atk_set_damage applies the damage type over the range specified by the mininum and maximum damage. This is an internal King's Bounty library and so when it does this, it computes the resistance of the unit and since I can't gain access to this library that's why I had to scale the damage back up by the unit's resistance because it gets (properly) scaled down by the library function.

This was quite complex and took me a while to figure out because of what "goes on under the hood" of the C/C++ library functions.

So in this case, the damages will be restored to 1656 and 5520 for cases 1 and 2, respectively as applied to the unit. and then you'll note that half 1800 and 6000 (900 and 3000) will be stored on the unit so that the next turn the same thing will happen - resistance is applied, but not twice!

Like I said above, I spent a lot of time working on this and before I did this, the damage would be reduced by the unit's resistance and then by its resistance again before damage was applied (that wasn't the way I wanted it to work!).

There is a lot more going on inside of some of the functions I've mentioned (like how to combine successive hits), but this is how it works per the code.

The funny thing is that I still don't get the same answer you do:

Case 1 apply 1656 damage to Dwarves - number killed: 1656 / 100 = 16.56 (or 16)
Case 2 apply 5520 damage to Dwarves - number killed: 5520 / 100 = 55.2 (or 55)

So in case 1 I get half what you mentioned and in case 2 quite a bit more. So you'll have to see what the Dwarve's actual resistance is and also the damage for your case, but this is how it works exactly per the code.

Anyway, I hope that explains it and this is also a mini-tutorial for how to apply a damage effect and work with the damage library.

/C\/C\
Reply With Quote
  #5  
Old 12-21-2011, 05:26 PM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

Finally i finished playthrough in this mod (had a lot work past days), and it was great. ! more time thx for great mod Matt.
I managed impossible/no loss and it was hard in some fights ( Raab Soten, Baal . . . pretty much any hero with intellect above 30 was boring to fight because double/triple cast but it was worth it
Found some weird thing in magic hero fights, when they cast some mass spell mana spent is like for 1 target (expl : Haas cast mass defenseless and spend only 8 mana(instead 40) , or mass magic shackles for 10 (instead 50). If enemy heroes got 2/3 spell casts per turn at least they should pend mana same as player hero. I`m not sure is this bug, or error in code but pls check it out. It`s bad enough to have enemy with 50/60 mana regen per turn, without them casting spells on low prices

And what did you give to Sonya as speciality ( i now remember her, but other enemy heroes also have this) her dryads are 2 lvl unit, but had 12-16 dmg(1-4 basic), so WTF did you put in her inventory for her to have that stats on dryads ? Dark mistycus hero(necromancer in death valley) had necromancers with 250 hp and 20-30 dmg . . . I saw dwarfs with 20-32 dmg (they had bonus fire dmg, but not form hell breath, didnt have buff in their stats screen). Every hero that have some unit speciality that unit have sick stats in battle. It`s not impossible to win this mod, but all i`m saying is that player cant ever get units in his army to that stats so it`s a little frustrating
In the end, i can say warrior with rina/feanora/mirabella/diana/neoka/xeona working without problems.

Also had couple ideas, so what you ppl think about this ?
Priest have 26 hp, and heal 2x10hpm but cant cast it on undead as dmg.Heal spell can be used as dmg for undead, so why not priest healing ability?
I would lower it to 5 heal (when you lead more then 90 priests you dont have unit that can be healed for that much hp 90priest*10heal), and reload 2 so it wouldn`t be used 2 times in row then gift and imba dmg to undead. Thought`s ? ( i got this idea in just finished game i had 1400 priests, and who need 14000 hp healing ? so i thought to make them a bit more useful in fights against undead).
You did nice thing with healer skill and heal/revive abilities , so i though to add something similar to other units that have active abilities. In necromancy add bonus for necromancer animate dead , in archmage add bonus for druid summon (more bears), for evil beholder hypnotise (higher lds), alchemist potions (more dmg), shaman totems (more hp) and such. I`ll check rest of your modding manual, but i hope to do it without big problems.

Last edited by Fatt_Shade; 12-21-2011 at 10:05 PM.
Reply With Quote
  #6  
Old 12-21-2011, 11:33 PM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Cool Super Awesome!

Quote:
Originally Posted by Fatt_Shade View Post
Finally i finished playthrough in this mod (had a lot work past days), and it was great. ! more time thx for great mod Matt.
I managed impossible/no loss and it was hard in some fights ( Raab Soten, Baal . . . pretty much any hero with intellect above 30 was boring to fight because double/triple cast but it was worth it
Great job! You successfully met my challenge! I'm glad that you were able to do it! Now I'm going to make it tougher!

But only a little bit, I've been experimenting with dropping unit morale as a function of combat duration as well as their initiative and speed (they are getting tired after all!). I've been limiting morale drop to everyone except Undead and Golems, but am not sure what to do with the Undead, Golems, and Plants with respect to speed and initiative. On the one hand, Undead, Golems, and Plants probably don't really get tired, but I was thinking that maybe since magic is decreasing the control of your Undead troops would start to wane, which would reduce their initiative and then speed. I was thinking of leaving Plants and Golems alone since they are different. Anyway, just struggling with what to do there...

The way it works now is that when the first long battle message occurs is that all units (except Undead and Golems) decrease 1 morale. Then when the second long battle message occurs, all units continue to decrease 1 morale (Undead and Golems are still not included), and all units (except Plants and Golems) drop 1 initiative. Then on the third long battle message, all troops continue to drop 1 morale (except those previously excluded), and then all troops drop 1 initiative and speed (except Plants and Golems). Lastly, for each successive set of stat decrease rounds (every 5 on impossible), morale, initiatve, and speed all continue to drop as they did before. This simulates your troops becoming more and more tired. This only applies to your troops as the enemy troops have no morale penalties (this is internal to the game apparently) and for initiative and speed I figured that since they are the defenders then that's their "homefield" advantage.

Also, I've added charges to all reloadable attacks so that for long combats every troop will eventually run out of using their special abilities since they are getting tired of fighting. The minimum round at which a troop will run out of an attack if they use it as soon as possible through their normal reload time is round 15. So that is plenty of time to use those abilities and you can always use Gift on them (same with AI).

I'm still experimenting with both of these changes... but I think that these won't have much an effect on combat since by round 15 pretty much everyone is dead anyway, except for maybe a few of the enemy hero battles. Also, you can always use Haste and Battle Cry to give your troops a speed or initiative boost as well as Gift to recharge their attacks in the latter rounds...

You have an interesting use for the word boring!

Quote:
Originally Posted by Fatt_Shade View Post
Found some weird thing in magic hero fights, when they cast some mass spell mana spent is like for 1 target (expl : Haas cast mass defenseless and spend only 8 mana(instead 40) , or mass magic shackles for 10 (instead 50). If enemy heroes got 2/3 spell casts per turn at least they should pend mana same as player hero. I`m not sure is this bug, or error in code but pls check it out. It`s bad enough to have enemy with 50/60 mana regen per turn, without them casting spells on low prices
I think I know what's going on with the enemy hero mana cast. Their spell level is set by the game internally (based on the enemy hero's level), but I overrode it in the LUA scripts. One of the things I couldn't do was give a mana cost bonus to spells because that is also internal as well. It seems like even though I'm overriding the enemy hero's spell level, it is somehow still referring to the spell level that the internal C/C++ code generates.

I thought I worked around it successfully and actually thought the mana was being subtracted correctly, but it looks like I might still be undershot by the internal workings of that part of the game. I'll look into it some more, but I'm probably stuck there!

Quote:
Originally Posted by Fatt_Shade View Post
And what did you give to Sonya as speciality ( i now remember her, but other enemy heroes also have this) her dryads are 2 lvl unit, but had 12-16 dmg(1-4 basic), so WTF did you put in her inventory for her to have that stats on dryads ? Dark mistycus hero(necromancer in death valley) had necromancers with 250 hp and 20-30 dmg . . . I saw dwarfs with 20-32 dmg (they had bonus fire dmg, but not form hell breath, didnt have buff in their stats screen). Every hero that have some unit speciality that unit have sick stats in battle. It`s not impossible to win this mod, but all i`m saying is that player cant ever get units in his army to that stats so it`s a little frustrating
This is part of my awesome enemy hero skill system! Just think about all the awesome skills you get as a hero! Well, now turnabout is fair play!

I'll lay it out sometime, because I'm going to use a similar system with AP/CW...

Mysticus is awesome! So is Raab Sotten and Baal like they should be! Like I mentioned previously, a hero with a level higher than yours is going to be pretty tough!

Quote:
Originally Posted by Fatt_Shade View Post
In the end, i can say warrior with rina/feanora/mirabella/diana/neoka/xeona working without problems.
Glad to hear it! By the way what were the final levels of your spirits with the Warrior? Did you get any up to level 40 or so?

Can you do me a favor and snap a screenshot (or two) of your hero's stat's and army setup after defeating Haas so I can see what you ended the game with? I'm just curious and it'll help me gauge some things...

Quote:
Originally Posted by Fatt_Shade View Post
Also had couple ideas, so what you ppl think about this ?
Priest have 26 hp, and heal 2x10hpm but cant cast it on undead as dmg.Heal spell can be used as dmg for undead, so why not priest healing ability?
I would lower it to 5 heal (when you lead more then 90 priests you dont have unit that can be healed for that much hp 90priest*10heal), and reload 2 so it wouldn`t be used 2 times in row then gift and imba dmg to undead. Thought`s ? ( i got this idea in just finished game i had 1400 priests, and who need 14000 hp healing ? so i thought to make them a bit more useful in fights against undead).
You did nice thing with healer skill and heal/revive abilities , so i though to add something similar to other units that have active abilities. In necromancy add bonus for necromancer animate dead , in archmage add bonus for druid summon (more bears), for evil beholder hypnotise (higher lds), alchemist potions (more dmg), shaman totems (more hp) and such. I`ll check rest of your modding manual, but i hope to do it without big problems.
You know what's funny? I actually thought I could use Priest's Heal on Undead for damage and just never checked it, I guess!

These are all excellent ideas - I'm pretty sure I have all the bonuses in place and just need to add them to the skill. I'll look into implementing them!

By the way, Erkki found an error in my implementation of the Shaman Dancing Axes skill so I'll have a fix out for that soon...

Have a happy holiday season!

/C\/C\
Reply With Quote
  #7  
Old 12-22-2011, 03:21 AM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

Quote:
You have an interesting use for the word boring!
Not boring as in gameplay, but for waiting couple rounds to revive all units and using chargers and gloth armor to stop enemy heroes from killing those that i already returned to full stack. Boring part is that i use only 1-2 unit at that time to gather chargers and spirits never get exp in that part of battle.

About enemy hero mana regen, and spell costs, problem i had mostly was with magic shackles and blind. They constantly used it on my inquisitors no matter that i almost never attacked enemy units with them after 5th turn, just reviving, but enemy kept blind/doom on them all time.

Quote:
This is part of my awesome enemy hero skill system! Just think about all the awesome skills you get as a hero! Well, now turnabout is fair play!
I'll lay it out sometime, because I'm going to use a similar system with AP/CW...
Ok it`s interesting to play against stronger enemy, but my question is if they use player skill buildup, what are skill that give 2nd lvl unit dmg from basic 1-4 to 12-16? I want those skills.

I finished game with :
Zerock 46lvl, Sleem 40 , Lina 36, Death 46. Here`s couple screens :
in hero screen image i showed new upgrade for heroism banner i made. I` not thinking what more items could use upgrading, since there are fewer items here then in AP/CW so at least i can add a bit stronger item of already existing for later in game (thought about upgrading memoirs for bonus exp% to give 15% hero/spirit exp , some other ideas still figuring out how to implement).
. . .cant upload image here`s links for screenshots
http://www.imgplace.com/viewimg819/2...ishingarmy.png
http://www.imgplace.com/viewimg407/9...heroscreen.png
http://www.imgplace.com/viewimg853/2...ndmgdealer.png
http://www.imgplace.com/viewimg155/1...edicalunit.png
http://www.imgplace.com/viewimg36/4049/28spirits.png
Reply With Quote
  #8  
Old 12-30-2011, 05:46 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Smile Almost gave up on this!

Quote:
Originally Posted by Fatt_Shade View Post
Also had couple ideas, so what you ppl think about this ?
Priest have 26 hp, and heal 2x10hpm but cant cast it on undead as dmg.Heal spell can be used as dmg for undead, so why not priest healing ability?
I would lower it to 5 heal (when you lead more then 90 priests you dont have unit that can be healed for that much hp 90priest*10heal), and reload 2 so it wouldn`t be used 2 times in row then gift and imba dmg to undead. Thought`s ? ( i got this idea in just finished game i had 1400 priests, and who need 14000 hp healing ? so i thought to make them a bit more useful in fights against undead).
I almost gave up on this one!

I had everything working, but the hint. As it turns out (I had a similar problem when implementing the Thorn's Gift of Life) certain abilities' hints are hard coded in the game.

The fact that it is called "cure" means that it has a built-in hint generator and it cannot be overriden! This was giving me fits all day today! So I called it "cure2" so I could use a custom hint - whew!

Screenies of the implementation are below.

Damage might be a little low, but we'll see how it goes - base heal is 2 and then priests do 2x damage to undead so base damage is 4. In your example, their Heal would be 2800 and then damage to undead would be 5600. If you had your Healer skill at level 3, you'd get an additional +30%, which would be 3640 healing and 7280 damage. That seems pretty reasonable for right now. Note that if the total cure value isn't consumed when healing then a charge isn't used - we'll have to see how that goes. I didn't put a reload value, but it may be a good idea to give them one. Also with respect to charges, it might be better to just let it consume a charge but give them a few more charges. Hmmm...

/C\/C\
Attached Images
File Type: jpg Priest Updated Healing Ability.jpg (162.9 KB, 4 views)
File Type: jpg Priest Updated Healing Ability 2.jpg (794.7 KB, 4 views)
File Type: jpg Priest Updated Healing Ability 3.jpg (390.2 KB, 4 views)
Reply With Quote
  #9  
Old 12-30-2011, 05:49 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Cool New Giant Feature - Thump!

Okay, here's a screenie of the new Giant Thump feature.

The idea behind this is that the Giant is able to knock out opponents (most likely so that it can take them back to its lair and eat them - especially EGD's)

Highly experimental, it'll be provided in the next update...

/C\/C\
Attached Images
File Type: jpg Giant New Thump Feature.jpg (198.5 KB, 7 views)
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:47 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.