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-16-2011, 06: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
  #2  
Old 12-16-2011, 03: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
  #3  
Old 12-21-2011, 04: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 09:05 PM.
Reply With Quote
  #4  
Old 12-21-2011, 10: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
  #5  
Old 12-22-2011, 02: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
  #6  
Old 12-22-2011, 04:04 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Question Thanks - couple of questions...

Thanks for the screenies!

Okay, a couple of questions (well, okay more than a couple)...
  1. Did you use the Horsemen's new Charge Ability a lot? What'd you think of it?
  2. You made it to level 31 - how'd you do that? From level 30 to 31, its almost twice as much experience!
  3. You had a lot of gold left - did you try to buy any Crystals or Runes from Tibold?
  4. Is that Banner of Legends the item in the upper right (I can't see the pointer so I guess it is)?
  5. So you ended up with Mirabella, but took the other wives earlier?
  6. Did you just get Zerock and Reaper to level 46 at the end of the game or were they there for a while? Also it looks like you focused on Zerock and Reaper - is that true or were Sleem and Lina harder to level? (I've found that since Underground Blades and Black Hole give experience based on the number of units you damage that they give a lot of experience - same with Sleem Fishes, but that one's harder to damage a lot of units unless you start with a lot of rage).
  7. Did you use your Ice Orb a lot?
  8. Did you use Phoenix a lot?
  9. Did you use Sacrifice to get that many Inquisitors? I'm trying to remember, but I don't think I've ever seen that many for sale...
  10. What did you think of the Mana / Rage gain reduction throughout combat? Did you find it difficult to recharge your mana / rage later in the combat?
  11. What did you think of the overall Leadership Reduction bonuses? Do you still think they may be too high and that you can recruit too many units from the bonuses? I'm thinking of making a minor adjustment that would drop the bonus a couple of percent, not too much, but its behavior is nonlinear.

Quote:
Originally Posted by Fatt_Shade View Post
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.
Okay - I guess there's not much I can do there. Everyone plays that way!

Quote:
Originally Posted by Fatt_Shade View Post
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.
Okay, interesting...

Quote:
Originally Posted by Fatt_Shade View Post
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.
Hah! I bet you do! Well, not one skill does it, but I think it ends up being a combination of things. Enemy hero's get bonuses to their units and then they get skill bonuses. The bonuses to their units mimic items and then the skill bonuses mimic your skill tree. Everything is not quite 1-to-1, but they have a point system based on their level. I think the 1-4 to 12-16 is based on a number of bonuses - I think the +resistance damage that they get is applied first and then the difficulty level is applied last. Depending on class, they get +resistance damage based on a certain level. I'll go into this in more detail when I post the system. What I love about it is that it creates incredibly powerful heroes with incredibly powerful units. I think you can see that it took a lot of effort on your part to beat them, but the player's intellect is superior to the AI, so I think I've compensated fairly well.

Quote:
Originally Posted by Fatt_Shade View Post
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).
Do you think your items are overpowered at all? Do you think you could have done no loss without them? Just curious - I kind of like your item upgrades - what did you do to come up with the upgrade stack sizes?

Lastly, what would your change list be for my mod? Every time I play the game, I create a change list and either make things tougher or try to improve aspects of the game. So let me know what you'd change and I'll start thinking about how to improve it some more...

Well, thanks for playing! I'm glad you enjoyed it!

/C\/C\
Reply With Quote
  #7  
Old 12-22-2011, 04:13 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Exclamation Oh, by the way... about Orcs.

Ok, I've implemented the Catapult's Boiling Oil attack as well as changed the Furious Goblin such that it has one Throw Axe charge and is furious.

Screenies provided below...

Anyway, I plan on enterring the beta phase soon since there doesn't appear to be any show-stopping game crashes that prevent the player from reloading and continuing...

/C\/C\
Attached Images
File Type: jpg Catapul New Burning Oil Ability.jpg (166.4 KB, 10 views)
File Type: jpg Furious Goblin New Throw Axe Ability.jpg (156.2 KB, 10 views)

Last edited by MattCaspermeyer; 12-22-2011 at 10:59 AM. Reason: Updated status of change...
Reply With Quote
  #8  
Old 12-30-2011, 04: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, 04: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
  #10  
Old 12-30-2011, 08:14 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Exclamation To Do List...

Here's a list of things I'm currently working on, thinking about implementing, or simply dreaming about implementing...
  • Change Undead Resurrection to Necro Call. Done!
  • Check ArchDemon Amalgamation ability from human player's viewpoint. Fixed minor issue - done!
  • Check Priest's new Healing (cure2) from AI viewpoint and make sure AI can use it properly. Done!
  • Go through Fatt_Shade's item upgrades.
  • Check Giant's new Thump from human player's viewpoint.
  • Check Ogre's new Clobber from human player's viewpoint.
  • I tried enabling Thorn's Gift of Life when they are cast on a corpse, but I felt it made resurrecting plants too easy. Still under consideration though if I drop resurrection value. Parked for now - the way it works is okay!
  • I experimented a bit with Necromancy skill and Undead ability bonuses; I've done the following:
    • Neromancers can now resurrect Undead with their Raise Undead ability if you have the Necromancy skill
    • Necromancer Raise Undead power is improved by the Necromancy skill
    • Ghost Cry damage is increased by the Necromancy skill
    • Doing the other Undead abilities is more difficult because the damage is computed internally, but I may still be able to give the ability a bonus by adding a "hack" to compute the damage when done, but I think for now I'm not going to do this because the only other ability I was thinking about doing would be the Bone Dragon Poison Cloud and it seems the implementation would be a a bit kludgy. I may just look at the damage done and increase it to be more in line with the other Dragon's if warranted.
  • I'm still brainstorming (Veteran) Orc abilities...
  • Go through and experiment with some of Fatt_Shade's other comments.
  • Tolerance level 2 no longer gives +1 Morale all as the bonus has been partially shifted to Diplomacy.
  • Diplomacy - now also increases morale of races:
    • Level 1: Dwarf Morale: +1
    • Level 2: Dwarf and Elf Morale: +1
    • Level 3: Dwarf, Elf, and Orc Morale: +1
  • Keeper of Light - now also acts similar to Dark Commander except for troops of the light:
    • Level 1: All Elves, Dwarves, Humans except Robbers, and Griffins: Defense: +2
    • Level 2: Same group: Defense: +4, Speed: +1
    • Level 3: Same group: Defense: +8, Speed and Initiative: +1
  • Trade - could aid Dwarves, aren't Dwarves greedy? Just a thought...
  • Learning now also adds to the critical hit of the hero's troops: +5, +15, +30%
  • Shaman Dancing Axes - I think I'm going to leave this be for now...
  • Shaman Healing Totem - look into other bonuses possibly...
  • Phoenix Resurrection - transfers its life to another unit's (any troop) and dies. If it has another life, then you can still resurrect it and use the ability again on same or another troop and then that will kill the Phoenix for good.
  • Gerda's Ordwald's HOMM3 skills are unknown, so I may change his Dwarf bonus to an Offensive bonus so that Gerda will have 1 baby with Offense! I'll keep his +1 init and +1 speed, though.
  • Baby upgrades?! Not sure how to implement, but the idea is that maybe after X battles, you can upgrade a baby to the next level (i.e. Rina baby from 6 to 7 (so it'll have bonuses like a Feanora baby)), by fighting the baby's keepers (just like upgradeable items).
  • Wife upgrades?! Same as above, but with wives after Y battles.
  • This is probably not doable, but experience system for babies that would allow you to select new skills for your babies after they level up! This would be similar to how it worked in HOMM3!
Thoughts?

/C\/C\

Last edited by MattCaspermeyer; 01-08-2012 at 05:45 PM. Reason: Updated status of some tasks...
Reply With Quote
Reply


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 07:34 AM.


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