Hack Request - Radiation Damage Fix
-
Normally, Freelancer appears to distribute radiation damage equally across your ship and all mounted equipment. As a result, if you have an item with very high hitpoints (such as a ship-specific item that should never be lost, like a cloaking device), you basically stop taking radiation damage.
Would there be a way to, instead of distributing the damage equally, just apply the flat damage value to ship hull and every item individually so that high-hitpoint items will no longer mess with radiation zones?
Thanks!
-
It doesn’t look I can do exactly what you want, but I can do the next best thing, which is to exclude cloaking devices from the total hit points calculations.
common.dll 04B4D2 1E->0E = exclude cloaking device from total hit points PART 1 ~adoxa common.dll 04B582 1E->0E = exclude cloaking device from total hit points PART 2 ~adoxa common.dll 04B63E 1E->0E = exclude cloaking device from total hit points PART 3 ~adoxa
-
Cool, thanks Adoxa. [d]Is there a chance you could do that hack for ShieldGenerator and Gun as well?[/d]
And w0dk4, does that properly protect the item from getting blown off, destroyed in space, etc.? I’ll have to play around with that.
Edit: Holy crap w0dk4, that works awesome. Setting invincible equipment to hit_pts = 0 not only removes its health bar from the inventory screen but fixes all issues with radiation zones while keeping the items properly invincible, both on ships and in space. Excellent tip, thanks!
-
armor scaling has no hit points for the ‘equipment’ itself. Having armor scaling on a ship greatly increases its resistance to radiation (no duh), but suppose I want the armor scaling to only protect against weapons fire? Is there a way to mod the armor scaling so that radiation damage is the same as if there were no armor scaling?
The only other solution I’ve been able to think of would be to increase radiation damage in all radiation zones which of course would throw the balance against ships with no armor scaling.
-
Can you verify the 0xA494 edit? My server.dll file shows 0xA494 - F as being 08 00 90 90 90 90 90 90 90 90 90 90
(0xA494->0xA49F) -
OK, I see what happened. The previous hex editor I used would automatically overwrite the block that I was typing in. Tiny Hexer you either have to highlight the block before you type, or hit delete to clear the existing entry.
My edit now reads:
0xA490 5DC2 0800 6681 7CE4 045A 1374 E291 EBCEI’ll give that a try. Thanks again Adoxa.