OpenXcom Forum
Modding => Help => Topic started by: RedRibbonArmy 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.
-
https://www.ufopaedia.org/index.php/Ruleset_Reference_Nightly_(OpenXcom)#Item_Damage_Types
look for `ToTile` and similar named other parameters.
-
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.