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: Warriors of the North

King`s Bounty: Warriors of the North Next game in the award-winning King’s Bounty series

Reply
 
Thread Tools Display Modes
  #1  
Old 11-05-2012, 03:39 PM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

Ok, figured out what the problem is. There's a big section of code that only triggers if an ability/attack is considered "offensive". That handles most normal attacks, and most ordinary special abilities like the snake's Strike. There's another section, however, that handles the more special abilities, and unfortunately there's no check here for whether an action is "offensive" or not. It includes lots of abilities that should still be able to be used (Priest's Bless ability to name an example), but it includes quite a few other abilities that shouldn't - such as the Catapult's Fiery Shot.

edit: Turns out that it might just be the one offensive ability - has anyone seen it happen for anything besides Slingers/Catapults?

edit x2: Oddly it doesn't seem to be having the same trouble with invisibility, which I thought it would be.

Last edited by Bhruic; 11-05-2012 at 04:40 PM.
Reply With Quote
  #2  
Old 11-05-2012, 05:12 PM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

Ok, was able to come up with a fix for Slingers/Catapults... Now to figure out if it's happening for any other abilities...
Reply With Quote
  #3  
Old 11-05-2012, 06:45 PM
camelotcrusade's Avatar
camelotcrusade camelotcrusade is offline
Approved Member
 
Join Date: Apr 2009
Location: San Francisco, CA
Posts: 448
Default

Very cool. I can code the fear entry as green once you think its read.

Another test you could do would be whether ice storm is castable from a feared soothsayer on a level 5 unit. Sure, it won't come up much, but I think that one could also target a non-occupied square and still hit an illegal mob. Maybe imp fireball would fall into this category too, but I haven't had those in so long I don't know if you can target an empty square.

Or is that totally unrelated and it's really whether or not an ability is coded as offensive?
Reply With Quote
  #4  
Old 11-05-2012, 06:48 PM
Mandea Mandea is offline
Approved Member
 
Join Date: Mar 2009
Location: Romania
Posts: 346
Default

Add this: artefact Courtly Garb cannot be upgraded allthough you have this option. When you click OK nothing happens.

quests:
-- fly the banner - although you kill the orc in the citadel you have no option to raise the flag and you cannot finish the quest
-- a star is born - see above, no flag no dress no quest
-- luckless hunter - although you kill the unicorn you get no artifact so you cannot finish the quest
-- paper for the professor - maybe not a bug but I didn't manage to get ink for the professor (paper yes, ink not)
-- Dead man can't be pirates - sirius pale atacked me before I got the quest so now I cannot finish it.

Last edited by Mandea; 11-05-2012 at 07:03 PM.
Reply With Quote
  #5  
Old 11-05-2012, 07:26 PM
Bhruic Bhruic is offline
Approved Member
 
Join Date: Oct 2012
Posts: 233
Default

Quote:
Originally Posted by camelotcrusade View Post
Another test you could do would be whether ice storm is castable from a feared soothsayer on a level 5 unit. Sure, it won't come up much, but I think that one could also target a non-occupied square and still hit an illegal mob. Maybe imp fireball would fall into this category too, but I haven't had those in so long I don't know if you can target an empty square.

Or is that totally unrelated and it's really whether or not an ability is coded as offensive?
The problem is that it's really hard to arrange those sorts of fights. Wish the game had a built-in arena so you could pick units (on both sides). That'd make a lot of this testing much, much easier.
Reply With Quote
  #6  
Old 11-05-2012, 07:50 PM
camelotcrusade's Avatar
camelotcrusade camelotcrusade is offline
Approved Member
 
Join Date: Apr 2009
Location: San Francisco, CA
Posts: 448
Default

Quote:
Originally Posted by Bhruic View Post
The problem is that it's really hard to arrange those sorts of fights. Wish the game had a built-in arena so you could pick units (on both sides). That'd make a lot of this testing much, much easier.
No kidding. And here I thought you had discovered some magical unit spawner or console command to swap units. In any case the fix you made is very appreciated. I'm going to mod it in now and go look for a catapult.
Reply With Quote
  #7  
Old 11-05-2012, 08:00 PM
Handel Handel is offline
Approved Member
 
Join Date: Nov 2008
Posts: 100
Default

"Action Rage" skill don't reduce the rest time of Hilda Arrows - it starts from 2 and remains at 2 even at lv 3 action rage skill. Don't know what happens if you upgrade it and increase the rest time.
Reply With Quote
  #8  
Old 11-05-2012, 09:33 PM
Xargon Xargon is offline
Approved Member
 
Join Date: Nov 2008
Posts: 122
Default

I'm not really sure about this, maybe someone else noticed it as well:

When casting Greasy Mist lvl3 (-70% ranged damage) on skeleton archers, their damage shows 0-0. But I suspect the game somehow treats this wrong, as they seem to be doing normal damage. When using the lvl2 spell, they have 1-1 damage and it seems to be less damage. I'll observe this further when I get around to it.

On a side note, on one or two occasions, they really did close to no damage (I believe 1 damage, but not 100% sure) when under the effect of the lvl3 mist, but I have no idea when this happens...
Reply With Quote
  #9  
Old 11-05-2012, 10:26 PM
Zechnophobe's Avatar
Zechnophobe Zechnophobe is offline
Approved Member
 
Join Date: Nov 2009
Posts: 991
Default

Quote:
Originally Posted by Handel View Post
"Action Rage" skill don't reduce the rest time of Hilda Arrows - it starts from 2 and remains at 2 even at lv 3 action rage skill. Don't know what happens if you upgrade it and increase the rest time.
Rage Ready skill only effects Olafs skills (the top row).

I think I'm going to make this more obvious in my next release of the Language Mod.
Reply With Quote
  #10  
Old 11-05-2012, 11:51 PM
Loopy Loopy is offline
Approved Member
 
Join Date: Mar 2011
Posts: 71
Default

Quote:
Originally Posted by Bhruic View Post
The problem is that it's really hard to arrange those sorts of fights. Wish the game had a built-in arena so you could pick units (on both sides). That'd make a lot of this testing much, much easier.
You could always decompile your save game, edit it, and then recompile it. Not sure if the tool for recompiling saves works for WotN though.
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 07:58 PM.


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