Author Topic: [Answered] (OXCE) Incendary shotgunPellets: only firing 1 projectile?  (Read 2864 times)

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Something isn't working as I was expecting.

In the past using
OpenXcom this code produced a Shotgun spread of 10 pellets each one creating a radius 1 incendary explosion.

Now that I'm using OXCE only a single bullet/explosion is occurring, rendering this ammo at 1/10 its expected firepower and thus useless.

I don't think I've altered the code so I'm unsure why it is producing different results.

Does OXCE handle shotgunPellets: based Incendary ammo differently?

Code: [Select]
# Alloy Shotgun
  - type: STR_SHOTGUN_ALLOY
    size: 0.2
    costSell: 1800
    weight: 5
    bigSprite: 269
    floorSprite: 237
    handSprite: 752
    bulletSprite: 3
    fireSound: 63
    compatibleAmmo:
      - STR_SHOTGUN_SHELLS
      - STR_SHOTGUN_SHELLS_AP
      - STR_SHOTGUN_AA_SHELLS_AP
      - STR_SHOTGUN_AA_SHELLS
      - STR_INC_SHELL
    accuracySnap: 136
    accuracyAimed: 156
    tuSnap: 27
    tuAimed: 64
    aimRange: 14
    snapRange: 8
    dropoff: 6
    battleType: 1
    twoHanded: true
    invWidth: 1
    invHeight: 3
    armor: 40
    attraction: 8
    listOrder: 2250
    accuracyAuto: 75
    tuAuto: 45
    autoShots: 6
    autoRange: 8
# Incendary Shells
  - type: STR_INC_SHELL
    size: 0.1
    costSell: 1500
    weight: 3
    bigSprite: 270
    floorSprite: 75
    hitSound: 0
    hitAnimation: 0
    power: 10
    damageType: 2
    clipSize: 6
    battleType: 2
    shotgunPellets: 10
    blastRadius: 1
    bulletSpeed: 50
    explosionSpeed: 7
    listOrder: 2254
« Last Edit: February 11, 2023, 06:41:37 pm by Meridian »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: (OXCE) Incendary shotgunPellets: only firing 1 projectile?
« Reply #1 on: September 07, 2019, 07:31:40 pm »
Does OXCE handle shotgunPellets: based Incendary ammo differently?

Yes, explosive shotgun pellets are currently disabled in OXCE.

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: (OXCE) Incendary shotgunPellets: only firing 1 projectile?
« Reply #2 on: September 07, 2019, 07:42:28 pm »
That is unfortunate.

Any word on when they will be making a return?

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9099
    • View Profile
Re: (OXCE) Incendary shotgunPellets: only firing 1 projectile?
« Reply #3 on: September 07, 2019, 07:49:42 pm »
That is unfortunate.
Any word on when they will be making a return?

Don't know, that's a question for Yankes.

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: (OXCE) Incendary shotgunPellets: only firing 1 projectile?
« Reply #4 on: September 07, 2019, 08:08:17 pm »
I may have found a way to work around it.

If you set blastRadius: 0 on the ammo instead of blastRadius: 1 it seems to function just like in
normal OpenXcom .

Is there a reason I should be cautious using this method, why was explosive shotgun pellets disabled in OXCE?
« Last Edit: September 07, 2019, 08:40:48 pm by The Martian »