temnix Posted November 30, 2016 Author Share Posted November 30, 2016 Kreso, have you tried it? No, you haven't. Or just read the guide. 189 and 190 are different. The round begins normally, but in baldur.bcs there a ONE_ROUND counter and an applied spell, both after Wait(2). Eh, nevermind then And there is no mechanism for actually worsening weapon speed. Only for improving Weird. When we've added speed factor penalty for heavy armors in IR, it was the other way around - penalties could stack together (e.g. shields and armor), but any bonus effect would be overwritten by a penalty. How did you do it with armor? Link to comment
Ardanis Posted November 30, 2016 Share Posted November 30, 2016 Item Revisions, the Revised Armor component. Link to comment
kreso Posted November 30, 2016 Share Posted November 30, 2016 Kreso, have you tried it? No, you haven't. Or just read the guide. 189 and 190 are different. Ofc I did not; It's just stuff I play with for years..... Link to comment
temnix Posted December 1, 2016 Author Share Posted December 1, 2016 I just tested 190 again to make sure. See for yourself, do what I did. Take Kagain. Give him a custom axe with -7 on 190, and see if he swings it any slower. Ardanis, I don't really want to download the entire mod to see how that part works. Can you give me a gist of it? Which opcode did you use? Link to comment
Ardanis Posted December 1, 2016 Share Posted December 1, 2016 The code is a bit more complex, but ultimately it boils down to COPY_EXISTING leat01.itm override LPF ADD_ITEM_EQEFFECT INT_VAR opcode=190 target=1 timing=2 parameter1=(0 - 1) END Link to comment
temnix Posted December 1, 2016 Author Share Posted December 1, 2016 So... this means increase speed by either 0 or 1? Or what? Link to comment
agb1 Posted December 1, 2016 Share Posted December 1, 2016 (0 - 1) is negative one, WeiDU doesn't like negative values unless you represent them with subtraction or put them in quotes. And I suspect a lot of coders, like me, shudder at the idea of putting quotes around an integer. Link to comment
temnix Posted December 3, 2016 Author Share Posted December 3, 2016 I'll shudder with you, if only out of companionship. But, Ardanis, 190 still doesn't work with negatives, I'm sorry to say. Link to comment
subtledoctor Posted December 3, 2016 Share Posted December 3, 2016 I just tested in BGEE 2.3, and putting a negative number in opcode 190 definitely, 100% certainly works as described. The character was swinging the sword exactly 1.2 seconds later, relative to the start of the round, when wearing an item that added a "-2" (sorry agb1) weapon speed penalty. Link to comment
Ardanis Posted December 3, 2016 Share Posted December 3, 2016 Well, we don't normally include components that fail to work as described. While I'm willing to assume that something about EE may have changed the behavior, if Subtledoctor says it works for him then I'm inclined to take his word for it Maybe you've got some rogue values left in the effect structure, like iirc you had with casting speed? Link to comment
subtledoctor Posted December 3, 2016 Share Posted December 3, 2016 I suspect he is failing due to some combination of 1) slow weapon; 2) large speed penalty; 3) high APR. Weapon speed penalty is very noticeable when applied to a thief swinging a dagger once per round. And weapon speed bonus is very noticeable to the cleric with a flail. But, for a 13th-level fighter, grandmaster in dual bastard swords? The effect disappears. Which is why it's not really worth messing with. It would be cool if instead of rounds, attacks and spells just worked at a rate of "1 attack per x seconds." And experience or skill or magic could drop x from 6, to 5, to 4, etc. But, that isn't this game. We are stuck with rounds and their weird behavior. (I actually decided a way to make spellcasting work the way I described... it would be super cool. But I don't think it could apply equally to the AI, and I have no interest in casting every 2 seconds when AI scripts for archwizards and liches only let them cast every 6 seconds. Link to comment
kreso Posted December 3, 2016 Share Posted December 3, 2016 I suspect he is failing due to some combination of 1) slow weapon; 2) large speed penalty; 3) high APR. Weapon speed penalty is very noticeable when applied to a thief swinging a dagger once per round. And weapon speed bonus is very noticeable to the cleric with a flail. But, for a 13th-level fighter, grandmaster in dual bastard swords? The effect disappears. It's noticable if you don't use Haste opcode, even with 4 apr. Link to comment
temnix Posted December 3, 2016 Author Share Posted December 3, 2016 Well, I'm going to test it with a dagger. I'll apologize if I see a difference. Link to comment
temnix Posted December 3, 2016 Author Share Posted December 3, 2016 Subtledoctor was right. My apologies. 190 does take negative modifiers. I don't know why it didn't seem to work with Kagain and an axe. I didn't time it, but it seemed to make no difference. Link to comment
temnix Posted December 4, 2016 Author Share Posted December 4, 2016 So what is the biggest penalty to attack speed that can be applied? What is the latest speed? 12? Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.