Page 1 of 1

(Grenade) damage modifiers don't get updated

Posted: Tue Jun 18, 2019 5:36 pm
by ownlyme
I manually adjusted my force's damage modifier of grenades (to 0), the tooltip also says 35, but it actually does 91 damage..
sometimes it's suddenly correct, but i really dont know why.

Savegame:

Re: (Grenade) damage modifiers don't get updated

Posted: Wed Jun 19, 2019 11:08 am
by Rseding91
One of the mods you're using (or through a console command) - has changed the turret damage modifier on the force such that it now thinks the player character is a turret and it's modifying the damage through that.

It's a side effect of the "shooting" system running the same logic for a rocket as a grenade as a laser turret as a player. The tooltips where never designed for that value to ever be non-zero and so they don't show accurate values.

I can't just change the tooltips because it would cause things like bullets to show wrong values if you used them in a turret vs you shot them.

Re: (Grenade) damage modifiers don't get updated

Posted: Wed Jun 19, 2019 11:17 am
by ownlyme
Ahhh thanks.
Indeed, using

Code: Select all

game.player.force.set_turret_attack_modifier("character",0)
fixes it.
Interesting, gives me new ideas :P