OpenXcom Forum

Modding => Work In Progress => Topic started by: Phaedris on June 23, 2014, 11:29:18 pm

Title: Max range for thrown weapons
Post by: Phaedris on June 23, 2014, 11:29:18 pm
Is there a way of applying a max range to thrown weapons like grenades?
I've tried maxRange: but it didn't work I assume it's only for weapons with firing modes.
Also is it possible to have a different throw weight compared to the real item so it's harder to throw?
Title: Re: Max range for thrown weapons
Post by: Warboy1982 on June 24, 2014, 02:44:22 am
1: make it heavier
2: correct
3: no, it's the same stat
Title: Re: Max range for thrown weapons
Post by: Solarius Scorch on June 24, 2014, 02:35:13 pm
I wonder what kind of item would have a different "throwing weight" than their mass?

Hey, I know: a balloon! :)
Title: Re: Max range for thrown weapons
Post by: Phaedris on June 24, 2014, 07:14:03 pm
I mainly wanted to change the range all items could be thrown but I didn't want to increase the weight as this would make them encumbered and alter their movement range.
Is there a way to change the multiplier for the throw range or is this hardcoded?
Title: Re: Max range for thrown weapons
Post by: Solarius Scorch on June 25, 2014, 01:03:05 am
I mainly wanted to change the range all items could be thrown but I didn't want to increase the weight as this would make them encumbered and alter their movement range.
Is there a way to change the multiplier for the throw range or is this hardcoded?

But that would be... illogical at best.
Unless you're dealing with balloons. :)
Title: Re: Max range for thrown weapons
Post by: Warboy1982 on June 25, 2014, 04:02:39 am
nah, it's hardcoded.
Title: Re: Max range for thrown weapons
Post by: Phaedris on June 25, 2014, 08:14:15 pm
But that would be... illogical at best.
Unless you're dealing with balloons. :)

Damn! you've figured out what I was doing ;)
(https://i234.photobucket.com/albums/ee155/Phaedris/Misc/balloonwars_zps2e591db3.png)
Lighter than air warfare :P
Title: Re: Max range for thrown weapons
Post by: Falko on June 25, 2014, 08:34:28 pm
yeah great idea
ahh a Chryssalid! hurry take your ballons out of your backpack and start flying!
who needs flying suit if we have helium? :D
Title: Re: Max range for thrown weapons
Post by: Solarius Scorch on June 25, 2014, 09:58:51 pm
Well played, Phaedris. Well played.

You've brightened my evening. :D