Jump to content

Explosion Damage Scaling


Recommended Posts

Someone helped me find the variable to control the damage scale of explosives. MinExplosiveDamageLevel variable in config.xml, to control how much damage you take depending on how far you are from the explosion. Thanks to Solver for that.

Edited by Mask
Link to comment
Share on other sites

I'm fairly certain that the 'damage scaling' variable always affected distance-from-target rather than distance-from-point-of-impact. The latter also used to be in game, you're right, but I think it was something that was simply applied to all explosive damage rather than a separate variable.

Nevertheless, I'd quite like to see this too. Have you suggested it in the community edition mod thread?

Link to comment
Share on other sites

I'll go and suggest it to the community edition mod thread now. Thank you for reminding me of this.

I thought it was a separate variable in one version. I might be getting it mixed up with something else. Been to long since I was involved in modding the game.

Link to comment
Share on other sites

I thought that was set by the disabledamagescaling flag in weapons_gc.xml?

Setting it to 1 made explosions flat damage across the whole area and setting 0 made the explosions do less damage the further from the impact point you were.

If not what does that flag actually do?

Link to comment
Share on other sites

No, that flag stops damage falloff beyond maximum effective range (mostly used on explosive weapons to stop rockets from doing less damage when fired out of range).

Solver indicated on the X:CE thread that the variable for distance-from-impact damage is set in config.xml (ExplosiveMinDamage or something like that). I thought that was used to put a minimum threshold on damage randomisation from explosions, but apparently it's the proportion of damage which is done on the edge of the blast radius.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...