Phoenix Point

Phoenix Point

177 ratings
Grenade Throw Range Fix
8
3
3
2
3
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
31.876 KB
22 Jul, 2022 @ 6:33am
23 Jul, 2022 @ 2:48am
3 Change Notes ( view )

Subscribe to download
Grenade Throw Range Fix

Description
The original method to calculate the throwing range doesn't take the defined ranges for hand thrown grenades into account.
This value is also shown to the player as 'EFFECTIVE RANGE' in the stats overview of grenades and is set to 16 for the PX Odin and Vita heal grenade and 12 for almost any other.

The vanilla calculation:

(Endurance * EnduranceToThrowMultiplier) / GrenadeWeight * RangeMultiplier + BonusAttackRange

- Endurance is the Strength of the actor
- EnduranceToThrowMultiplier is a fixed value for each actor and set to 0.6
- GrenadeWeight is from the grenades definition, all have a weight of 1
- RangeMultiplier is an input variable for the calculation function, fix 1.0 for each grenade
- BonusAttackRange is from abilities like Boom Blast (+50% range), so normally 0.0

This means that any grenade has always the same range regardless of its shown range value in the UI (12 tiles with 20 strength).

This mod changes the calculation to:

((Endurance * EnduranceToThrowMultiplier * GrenadeRange / 12) / GrenadeWeight * RangeMultiplier + BonusAttackRange) * (ThrowRangeMultiplier / 100)

- GrenadeRange is the value from the grenade defintions under DamagePayload.Range
- ThrowRangeMultiplier is a configurable value for this mod

To adjust the 'ThrowRangeMultiplier' see "MODS" -> "MOD SETTINGS" in the main menu, default set to 100 = with 20 strength the throw range in tiles will be what is shown in the grenade stats.

This mod is mainly a helper for other modders that want to tweak the throwing range of the grenades.
The vanilla ranges are 16 for the PX Odin and Vita heal grenade and 12 for almost any other grenade, so be aware that the Odin and Vita heal grenade get a significant buff with this mod from 12 up to 16 tiles range with 20 strength without changing their base range values.
38 Comments
MadSkunky  [author] 16 Jun @ 12:58pm 
@steelplayer36, yes, it is integrated in TFTV
steelplayer36 16 Jun @ 7:54am 
Is the grenade launch mod already in TFTV?
EvilNecroid 27 Apr, 2023 @ 4:50am 
we need more workshop mods
MadSkunky  [author] 29 Nov, 2022 @ 2:44pm 
@initium: I'm part of the Phoenix Rising Team (creators of TFTV) and Better Classes is the part I'm working on since quite a while. It is still available as standalone mod on Nexus for the Modnix mod loader (released before the Steam mod integration was out).
Now it is part of Terror from the Void (TFTV), our big overhaul mod. Take a look, it is quite nice ;-)
initium 16 Nov, 2022 @ 3:37pm 
@MadSkunky - Great job. Good to see someone from the PP forum backing up the game and their own words.
Dropping the question here as your profile is private. Any plans for other mods? No doubt there are a hell of a lot suggested :)
hottt3 12 Nov, 2022 @ 11:56pm 
Thanks!:steamthumbsup:
MadSkunky  [author] 12 Nov, 2022 @ 2:53pm 
@hottt3: It is compatible with TFTV
hottt3 10 Nov, 2022 @ 6:01pm 
Is it ok to use it with Terror from the Void mod?
MadSkunky  [author] 6 Nov, 2022 @ 1:05am 
Well, you can, if you have an Odin or Vita grenade and any other grenade then the Odin/Vita should have more max throwing range.
Slimebeast 2 Nov, 2022 @ 11:52am 
You can't lol :dwarven::dwarven: