aliens

Author Topic: Flare-guns in addion to electro-flares  (Read 6442 times)

Offline 7Saturn

  • Colonel
  • ****
  • Posts: 457
    • View Profile
Flare-guns in addion to electro-flares
« on: July 20, 2014, 11:41:20 am »
I just wondered if it would be possible to create flare-guns. In standard Openxcom you just have the old electro flares. But on a real battlefield you will find, that they often use flare-guns to shed some light on the area ahead. I was thinking to a one-shot-clip, pistol like equipment item, that you use on a desired point of the map and then the bullet is flying above that point for, lets say, 5 rounds, lighting a greater area than the normal electro-flares. So you will have the benefit of a greater area to see but for a limited time, with the usual aiming disadvantage when you let a soldier with low aiming accuracy use it.

Offline Sectoid_Soldier

  • Sergeant
  • **
  • Posts: 43
    • View Profile
Re: Flare-guns in addion to electro-flares
« Reply #1 on: July 20, 2014, 11:49:40 am »
So many good suggestions.

Offline Gifty

  • Colonel
  • ****
  • Posts: 138
    • View Profile
Re: Flare-guns in addion to electro-flares
« Reply #2 on: July 20, 2014, 12:32:20 pm »
Say, this is a good idea! Might end up stealing it. :P

Offline Falko

  • Commander
  • *****
  • Posts: 802
    • View Profile
Re: Flare-guns in addion to electro-flares
« Reply #3 on: July 20, 2014, 12:38:22 pm »
its not possible (at the moment) and yes i tried to do something like that a "grenadelauncher" that shoots flares, a "shotgun" that shoots multiple flares or flares with timelimit with the current code its not doable

Offline 7Saturn

  • Colonel
  • ****
  • Posts: 457
    • View Profile
Re: Flare-guns in addion to electro-flares
« Reply #4 on: July 20, 2014, 12:46:40 pm »
its not possible (at the moment) and yes i tried to do something like that a "grenadelauncher" that shoots flares, a "shotgun" that shoots multiple flares or flares with timelimit with the current code its not doable
What a pity. :-|

Offline yrizoud

  • Commander
  • *****
  • Posts: 1014
    • View Profile
Re: Flare-guns in addion to electro-flares
« Reply #5 on: May 22, 2015, 02:51:02 pm »
Just wanted to report a somewhat successful experimentation with a pistol whose ammunition is an electro-flare :
  • I chose an ammo amount of 6 incendiary, power 10 to make it single-tile blaze
    • -> The target tiles catch fire, and the fire tile itself causes illumination of neighbor tiles (note: like in vanilla, each tile on fire illuminates 9 tiles. Same as an electro-flare )
    • -> On non-flammable grounds (mountain, desert, steel), fire illuminates during current turn and your next turn.
  • Setting the clip's battleType to 10 makes it shine like a normal electro-flare
    • -> You can throw it
    • -> The extra clips lying in the transport shine too
  • With the correct listOrder, the clip can appear right under the gun in lists. Minor annoyance : it's not indented like a clip :(
  • Auto-equipment correctly fills the gun with the flare ammo.  :) I've even tested if the gun allows multiple clips : Auto-equip favors the first one to load the weapon, and assigns one extra clip of each type (including the flare ammo)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Flare-guns in addion to electro-flares
« Reply #6 on: May 22, 2015, 04:32:41 pm »
Can you set Sectoids on fire with this? :)

Offline yrizoud

  • Commander
  • *****
  • Posts: 1014
    • View Profile
Re: Flare-guns in addion to electro-flares
« Reply #7 on: May 22, 2015, 05:00:12 pm »
Of course - I even killed a muton using only flares and stubborness.
Unfortunately vanilla UFO doesn't consider blazing aliens as light sources, I'll make some tests to check if OpenXcom mimics this behavior. (If it does, I'll file a feature request : I want human alien torches to lighten my nights)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Flare-guns in addion to electro-flares
« Reply #8 on: May 22, 2015, 05:35:02 pm »
I wonder if it can be extended to carried items. To enable torches, lanterns, lightsabers, this sort of stuff.

Offline TKO

  • Sergeant
  • **
  • Posts: 23
    • View Profile
Re: Flare-guns in addion to electro-flares
« Reply #9 on: May 25, 2015, 03:24:35 am »
You know, I think flare guns are worth consideration, even if they behaved just the same as electro-flares currently - in that they fly in an arc, grenade style, and land on the ground immediately, without any hover-time. 

Just being able to avoid the routine: inventory -> move flare to hand -> exit inventory -> throw -> repeat.  I like the darkness missions, but this flare-throwing procedure it just tedious.  I now try to avoid night missions purely to avoid all the flare-throwing.

Perhaps then there could be a heavy flare-gun, that shoots three or five flares in a (kinda random) spread pattern too?  That would be a neat upgrade.  (Even more so if the aliens had some cockroach-like intelligence where they suddenly find themselves exposed in the middle of a lit field and scamper for the shadows.) :)