Here is the code, you also need to modify the perk data in perk table, you can find some infomation in Kanhef's post
00478492 8BC1 MOV EAX,ECX ;load char ptr
00478494 BA 0B000000 MOV EDX,0B ;melee dmg stat index
00478499 E8 AA6A0300 CALL fallout2.004AEF48...
Yea, it probably can be fixed.
The attack mode is stored at offset 56d2b4, and the value can be retrieved in damage calcaulation.
For using weapon in right slot
thrust = 3
swing = 2
For using weapon in left slot
thrust = 1
swing = 0
The numbers are related to the attack mode...
Hi, Timeslip
I make a new damage formula and I will do some tweak on perks and traits, is it possible for you to add them to your next version of sfall when they are finished. I would like to use your traits "jack of all trades" and "diligent learner" to replace two chem related traits, also...
I just read your post, it seems my formula is the same as yours except for the ammo part :D, yeah, we share the same idea. I think you only need a small modification to get the correct damage multiplier, then the code will work again. There is a function some lines before the damage loop will...
The dmg_res_modifier of ammo is included in the dmg_multi
dmg_multi = ammo_multi * critical_multi, the code is right before the damage calculation loop, some more detail
DT = armor DT
DS = armor DS
damage divisor = 1
damage multiplier = critical multiplier(2, 4, 6)
if (armor bypass)...
I use ollydbg to debug fallout, it is a free and good window debugger. Assembly is not that hard, you can learn by yourself if you want.
The reason I want to change to formula is the damage range is so unreliable. When it is a critical hit and bypass armor, both DR and DT reduce to 1/5, and...
I try to change the damage formula so the damage range will be more acceptable, the bonus range attack now works as a percentage damage bonus, and I also make the hth evade perk works on both melee and unarmed attack.
The new damage formula is:
(base_dmg - dmg_tresh)*(100-dmg...
Hi, Timeslip
Is it possible to change npc level when they join or rejoin the party based on the player's level?
For example, Cassidy will be level 1 when I recruit him at level 5, but he will be level 5 when I recruit him at level 28.
I don't know how the engine keeps track of current...
Those proto files in save are compressed in gzip format, you can rename the extension to .zip and decompress/compress using gzip window version.
The AI packet_num also exists in the save.dat file in slotXX folder. The structure can be found in the fallout wikia...
Magnus,
You can use datman to extract all files in master.dat and then use dat2frame to compress files into a new master.dat, both can be downloaded in the files center.
All critter numbers can be found here, the wrong one of cassidy is 89
http://www.fanmadefallout.com/procrit/
I like...