Author Topic: Changing weapon damage ranges against terrain  (Read 1849 times)

Offline RedRibbonArmy

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Changing weapon damage ranges against terrain
« on: September 04, 2021, 12:25:06 am »
I was surprised that after long search and considering the extensive modding documentation of OpenXcom and particularly the Extended version, there's apparently no mention on how to change the damage ranges of both regular weapons and explosives against terrain. The only reference I have is from the wiki (25%-75% for normal weapons, flat 50% for explosives) but no idea of where these numbers are actually stored or if they are in fact hardcoded even in OpenXcomExtended (which I doubt).

My goal is to make explosives better at demolishing things and reduce the ridiculous damage of the blaster launcher without sacrificing its ability to break UFO walls.
« Last Edit: September 04, 2021, 12:59:50 am by RedRibbonArmy »

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Changing weapon damage ranges against terrain
« Reply #1 on: September 04, 2021, 01:04:17 am »

Offline RedRibbonArmy

  • Squaddie
  • *
  • Posts: 2
    • View Profile
Re: Changing weapon damage ranges against terrain
« Reply #2 on: September 04, 2021, 01:17:28 am »
Oh wow can't believe I missed that... Thanks, and sorry for not being more thorough, guess I was looking for a global variable but an item modifier makes more sense.