Mask Posted July 1, 2014 Share Posted July 1, 2014 (edited) 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 July 1, 2014 by Mask Quote Link to comment Share on other sites More sharing options...
kabill Posted July 1, 2014 Share Posted July 1, 2014 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? Quote Link to comment Share on other sites More sharing options...
Mask Posted July 1, 2014 Author Share Posted July 1, 2014 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. Quote Link to comment Share on other sites More sharing options...
Gauddlike Posted July 1, 2014 Share Posted July 1, 2014 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? Quote Link to comment Share on other sites More sharing options...
kabill Posted July 1, 2014 Share Posted July 1, 2014 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. Quote Link to comment Share on other sites More sharing options...
Gauddlike Posted July 1, 2014 Share Posted July 1, 2014 Ah yeah I do remember a discussion about that now you mention it. Been a while since I played with explosive weapon modding, guess I have lost track. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.