Ludeon Forums

Ludeon Forums

  • August 17, 2022, 03:38:28 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: CE Patch help request: ArmorRating_Blunt/Sharp not applying to attacks  (Read 342 times)

iceshard87

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile

(copied from my Steam workshop discussion post)
(If I am in the wrong place, let me know and I will move/delete this)

Looking for assistance troubleshooting a custom CE compatibility patch. The patch applies correctly, and all updated stats show in the creature's info box, but attacks seem to ignore the new ArmorRating_Blunt and ArmorRating_Sharp values. 23 MM RHA still takes bleeding wounds from low caliber handguns, buckshot, and small manhunting animals. 37 MPa blunt armor still takes full damage from unmodified, no-bionics/archotech, human fists.

Update: Bumped it to 230 MM RHA and 370 MPa, same results.

I suspect it may have something to do with how the race is defined in the original mod, but I don't know enough about it.

Patch (note, not remotely balanced yet): https://pastebin.com/iD9agDVm
Screenshot of attacks: https://imgur.com/a/0kSyOV8

Mods:
Combat Extended
A Rimworld of Magic (Defs/GolemDefs)

Tested with:
Marble Golem and Hollow Golem (Defs/GolemDefs/Golem_Race_Base.xml)
Logged

RawCode

  • Super Tester
  • Planetologist
  • ***
  • Posts: 1987
  • Refugee
    • View Profile

you should test in _vanilla_ first and only after getting something that works well in vanilla try with mods.

as due to current implementation of modding "framework" any mod may hijack logic behind wounds with custom code and no matter how hard you try something, it may just not work in your 1337 mods setup.
Logged

iceshard87

  • Muffalo
  • *
  • Posts: 2
  • Refugee
    • View Profile

you should test in _vanilla_ first and only after getting something that works well in vanilla try with mods.

as due to current implementation of modding "framework" any mod may hijack logic behind wounds with custom code and no matter how hard you try something, it may just not work in your 1337 mods setup.

I don't understand this ridiculous response.  I am literally trying to make a patch to make certain elements of a mod that I DID NOT MAKE compatible with CE.  I did, in point of fact, test it with nothing but the mod in question and CE enabled, and my patch did not work.  I am not sure what you are thinking I am should try, since the patch has no purpose if no mods are enabled.  Thank you for being an idiot, I guess?
Logged