Author Topic: Miniguns and vulcan guns  (Read 6675 times)

Offline GarlandSP

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Miniguns and vulcan guns
« on: April 08, 2016, 12:45:42 am »
In my second run in the game i started testing the miniguns, what i dislike is that they are too boring, discharging 20-25 rounds takes too much time.

The auto-shot consist of the following:

  • fire sound: blocks auto-fire but is not sensible enough
  • bullet travel time: blocks auto-fire until bullet reaches its destination ( reasonable )
  • hit animation: this one is the main blocker in auto-fire, as auto fire cannot continue until the animation is finished
  • hit sound:  blocks auto-fire but is not sensible enough
  • Repeat

So what i did for smoothing auto-fire for miniguns is searching for the ruleset and modifying the hit-animation:

changed this:

Spoiler:
  - type: STR_MINIGUN_2_AMMO
    size: 0.2
    costSell: 4000
    weight: 12
    bigSprite: 415
    floorSprite: 102
    hitSound: 122
    hitAnimation: 26
    power: 65
    damageType: 1
    damageAlter:
      ToArmorPre: 0.05
      ToStun: 0.5
    clipSize: 100
    costThrow:
      energy: 20
    battleType: 2
    armor: 35
    invWidth: 1
    invHeight: 3
    listOrder: 3631

for this:

Spoiler:
  - type: STR_MINIGUN_2_AMMO
    size: 0.2
    costSell: 4000
    weight: 12
    bigSprite: 415
    floorSprite: 102
    hitSound: 122
    hitAnimation: -1
    power: 65
    damageType: 1
    damageAlter:
      ToArmorPre: 0.05
      ToStun: 0.5
    clipSize: 100
    costThrow:
      energy: 20
    battleType: 2
    armor: 35
    invWidth: 1
    invHeight: 3
    listOrder: 3631

While the hit animation will be gone, the autofire will be much smoother and much more rewarding, specialy if you max fire speed.

I wanted to ask you if something can be done with the hit animation so that it does not block autofire, perhaps restricting the hit animation for 1 frame only instead of a 5 frame animation.

As the wise mun tzu said, you can never have too much dakka, but is boring to wait half a minute to discharge 20-25 rounds.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5455
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Miniguns and vulcan guns
« Reply #1 on: April 08, 2016, 12:59:13 am »
Good catch. I wasn't aware of this option. I'll add it to all 6+ autofire weapons. Also, fire and hit sounds don't slow down the autofire, I think.

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Miniguns and vulcan guns
« Reply #2 on: April 08, 2016, 01:07:15 am »
Right now engine not allow skipping animations to do next shoot because previous shoot do not "hit" until animation reach end.
This would need rewriting hit handling to support it.

Offline BetaSpectre

  • Colonel
  • ****
  • Posts: 128
    • View Profile
Re: Miniguns and vulcan guns
« Reply #3 on: April 08, 2016, 01:08:46 am »
reducing the animation time, and making the bullets move faster would quicken things up. Though I generally don't use miniguns/vulcans because they're too heavy and don't penetrate armor very well.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5455
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Miniguns and vulcan guns
« Reply #4 on: April 08, 2016, 01:15:03 am »
This option simply removes the animation altogether. Tested it already, works wonderfully.

Offline GarlandSP

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: Miniguns and vulcan guns
« Reply #5 on: April 08, 2016, 01:18:37 am »
Thats why i said if it was posible to reduce the animation to one frame instead of 10. ( check https://www.ufopaedia.org/index.php/SMOKE.PCK ).

BetaSpectre, Vulcans are awesome area denial weapon, and also for destruction of enemy cover, a Gal with a loader suit can carry the vulcan, 2 packs of ammo and a panzerfaust, what i often do is placing the loader Gal near the transport, while a Recon Gal scouts for enemies, once enemy is found i shoot it with the vulcan, if the enemy is behind cover i ctrl-click it, its a secure kill most of the time as the vulcan gun can destoy walls.


 ;D mun tzu is wise  ;D

Offline Boltgun

  • Colonel
  • ****
  • Posts: 257
  • [UTTERANCES]
    • View Profile
    • Piratez let's play
Re: Miniguns and vulcan guns
« Reply #6 on: April 08, 2016, 10:52:32 am »
Even if the vulcan does not kill the enemy, the destruction of all the scenery make it easy for any sniper to pick.

Not to mention the number of gals you save by not having them run into dark corners.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11722
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Miniguns and vulcan guns
« Reply #7 on: April 08, 2016, 11:27:35 am »
Just for fun, what's your killing record with one Minigun attack? For me I think it's 4 (Floaters, not in Piratez but it's the same weapon).

Offline legionof1

  • Moderator
  • Commander
  • ***
  • Posts: 1900
  • Bullets go that way. Money comes this way.
    • View Profile
Re: Miniguns and vulcan guns
« Reply #8 on: April 08, 2016, 06:30:47 pm »
I've managed 3 kills when I used one to hose down the entrance room on a gunboat. 3x3 room many bullets from the door.

Offline Loengrinn

  • Squaddie
  • *
  • Posts: 8
    • View Profile
Re: Miniguns and vulcan guns
« Reply #9 on: April 16, 2016, 11:38:59 am »
I got 3, not entirely intentional, but I took it.  2 were in a hallway on a supply ship.  1 was just past the corner.  The 2 were standing 2 squares apart, slightly diagonal, so I was happy but not surprised.  3rd guy I was shocked about.  Almost felt bad.  Spray and pray ftw!