Hellfire Patch v1.02.A5: Classic HF with less bugs and more polish!
(08-04-2015, 05:30 PM)Belix Wrote:
(08-04-2015, 10:51 AM)Hammerskjold Wrote: From the posting of that older thread, at least the way I read it the change might have been inadvertent. But in a roundabout way it was also what sparked my interest in what else could be tweaked, if changing the bard speed with a mace was possible.
Looked at Lemming's post specifically this time, and checked my suspicion of which values he might of altered - yep, checking code between HF:Fixed and vanilla Hellfire shows a few differences in the animation lengths given to the game, but only for the Monk (2 anims 2 frames shorter) and Bard (2 anims 2 frames shorter, 2 anims 1 frame shorter). I don't have each value associated yet with the actual animation they effect, but of the ones I do, it looks like the Monk's spellcasting and Bard's attack and spellcast animations were shortened. As he said in his post, for weapons that just returns to the stand animation faster. But, for some of these, like blocking or hit recovery, it would probably have the desired effect, since there isn't an action that happens on a specific frame but the player is in a helpless state until the animation finishes.

By the way, it's quite likely the way the Bard was changed in HF:Fixed that the Mace animation isn't the only one that ends faster. I suspect she snaps back to her standing animation a little faster with other weapons too. But it certainly might give the illusion of striking faster.

Ok, forgive my nubularity when it comes to code reading. I'm still just taking baby steps here. I downloaded a collection of mod tools from khanduras.net, ver 1.05 since 1.06 download link doesn't seem to be working for me.

I'm still trying to figure out which exact program to use, and I'm still guessing here that it's the .exe file of Hellfire that I want to modify for the changes I'm seeking?

And scouring from the older posts and googling, this seems similar to what you are describing. I could be mistaken on that though, due to my inexpertise in code reading.

http://www.lurkerlounge.com/forums/thread-8121.html
http://www.thedark5.com/

Quote:Character Data

Diablo

The starting stats are located at offset 9FE50 (9EDDF) and are 4 bytes long each.
Warrior Rogue Sorcerer
Strength...... 1E00 0000 1400 0000 0F00 0000 0000 0000
Magic......... 0A00 0000 0F00 0000 2300 0000 0000 0000
Dexterity..... 1400 0000 1E00 0000 0F00 0000 0000 0000
Vitality...... 1900 0000 1400 0000 1400 0000 0000 0000

The max stats are located at offset 9FEB0 (9EE24) and is 4 bytes long each as well.
Strength Magic Dexterity Vitality
Warrior...... FA00 0000 3200 0000 3C00 0000 6400 0000
Rogue........ 3700 0000 4600 0000 FA00 0000 5000 0000
Sorcerer..... 2D00 0000 FA00 0000 5500 0000 5000 0000

The blocking bonuses are at offset 9FE90 (9EE0F) and are 4 bytes long each. The values are in percentages. Referring to Diablo, the Warrior has a 30% blocking bonus.
Warrior Rogue Sorcerer
1E00 0000 1400 0000 0A00 0000 0000 0000

The rest of the bonus and framesets are located at offset 9FDF0 (9ED88) and are one byte each for each bonus. Each character has 11 bonuses and framesets.
Byte Effect
0 Idle frameset in the dungeon
1 Attacking frameset
2 Walking frameset in dungeon
3 Blocking speed
4 Death frameset
5 Frameset for magic casting
6 Hit recovery speed
7 Idle frameset in town
8 Walking frameset in town
9 Single handed weapon attacking speed
10 Spell casting speed

Note about the speeds.....
To get the actual "time" of the speeds, multiply the value by 0.05. The number you get is the speed in seconds. AND...if you set the framesets lower than the speed value, that action will not work. For example, you set byte 5, which is the frameset for magic casting, to 0A...and the spell casting speed to 09, the character will not perform the spell. Same goes for attacking.

Feels like I'm seeing a foggy horizon, but at least it's a horizon.
Reply


Messages In This Thread
A5 progress update - by Belix - 02-02-2015, 09:28 AM
RE: Hellfire Patch v1.02.A5: Classic HF with less bugs and more polish! - by Hammerskjold - 08-12-2015, 05:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)