OpenXcom Forum

OpenXcom => Suggestions => Topic started by: x-com_player on July 03, 2022, 02:03:24 am

Title: Proper instastly primed granades
Post by: x-com_player on July 03, 2022, 02:03:24 am
Currently granades that primed instantly are technically shots: see screenshot.

Suggestion: add prime+throw single action (without priming screen).

For example it may be made by adding 'costPrimeThrow' parameter to ruleset. In that case object is thrown as normal granage, no priming screen, explodes on landing
Or perhaps by adding sub-parameter to 'costPrime' 'throwImmediately=True|False' for same purpose. First option seems more valid, but ofc actual implementation up to developers.

If that already been proposed, excuse me, but I have not found such request.
Title: Re: Proper instastly primed granades
Post by: Fomka on July 03, 2022, 02:10:06 pm
Currently granades that primed instantly are technically shots: see screenshot.

Suggestion: add prime+throw single action (without priming screen).

Currently flashbang grenade in X-Com Files mod work this way: you issue a single command and it goes off after a throw. Did you see that?
Title: Re: Proper instastly primed granades
Post by: x-com_player on July 03, 2022, 06:14:35 pm
Currently flashbang grenade in X-Com Files mod work this way: you issue a single command and it goes off after a throw. Did you see that?

No I have not. Probably its also a shot, not a granade, like molotov cocktail on screenshot.
Title: Re: Proper instastly primed granades
Post by: Solarius Scorch on July 03, 2022, 06:58:34 pm
No I have not. Probably its also a shot, not a granade, like molotov cocktail on screenshot.

Yes, it's a firing weapon.
Title: Re: Proper instastly primed granades
Post by: Yankes on July 03, 2022, 09:43:30 pm
Technically this is already possible, probaby script are needed to pre-prime every grenade and make it trigger explosion only on throw.
Title: Re: Proper instastly primed granades
Post by: x-com_player on July 03, 2022, 10:52:50 pm
Technically this is already possible, probaby script are needed to pre-prime every grenade and make it trigger explosion only on throw.

Soldiers death will cause explosion, also putting it onto ground...
Title: Re: Proper instastly primed granades
Post by: Yankes on July 04, 2022, 11:01:30 am
Did you read what I write?

"trigger explosion only on throw."
Title: Re: Proper instastly primed granades
Post by: LuckyClover on July 04, 2022, 07:16:05 pm
So it would only cost time units of throw or cost of priming granade would be added to throwing?
Title: Re: Proper instastly primed granades
Post by: x-com_player on July 04, 2022, 08:41:11 pm
Did you read what I write?

"trigger explosion only on throw."

Sorry, have not realized that. But in any case that is more a workaround rather a good solution and unfortunately I really dont know how exactly write such script.
Title: Re: Proper instastly primed granades
Post by: Yankes on July 04, 2022, 09:17:35 pm
There are already couple of example of scripts that have similar function, if you find correct one you probably could copy-paste it to your mod.
Title: Re: Proper instastly primed granades
Post by: krautbernd on July 20, 2022, 11:05:50 am
Currently granades that primed instantly are technically shots: see screenshot.

Suggestion: add prime+throw single action (without priming screen).
Why is this needed? What is the benefit of this?
Title: Re: Proper instastly primed granades
Post by: x-com_player on July 21, 2022, 06:46:48 pm
Why is this needed? What is the benefit of this?

Granade throwing would be more logical and easier to use ;)