aliens

Author Topic: [FIXED] Non-explosive grenades exploding when primed to 0  (Read 2505 times)

Offline MontyDrake

  • Sergeant
  • **
  • Posts: 18
    • View Profile
[FIXED] Non-explosive grenades exploding when primed to 0
« on: October 12, 2020, 06:52:03 am »
Hi everybody.

I'm experimenting with my first grenade mod in OXCE 6.5, and I'm trying with my own incendiary grenade. While testing, I noticed the grenade exploded as if it was a common grenade. Then one of my soldiers got shot after priming one, and after the alien turn, the grenade blow off as the incendiary grenade it was meant to be.

I tested priming some grenades to 1, and all of them worked as intended with incendiary damage. I also changed the damageType to 9, and when primed to 0, those worked still as common grenades, but when primed to one, they actually worked as smoke grenades. In order to have some reference, I tried the same with the vanilla smoke grenades, and the same thing happened, when primed to 0, they behaved as explosives, but when primed to 1, they acted like common smoke grenades.

So, is this intended somehow? Is it a bug? Have I messed somehow?

In case it is of any help, this is the ruleset for my Fire Grenades
Code: [Select]
- type: STR_FIRE_GRENADE # Fire Grenade
    size: 0.05
    costBuy: 300
    costSell: 190
    weight: 2
    bigSprite: 350
    floorSprite: 350
    handSprite: 350
    power: 75
    damageType: 2
    battleType: 4
    damageAlter:
      FixRadius: 8
    armor: 5

Thanks in advance.
« Last Edit: February 02, 2023, 03:13:04 pm by Meridian »

Online Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9096
    • View Profile
Re: Non-explosive grenades exploding when primed to 0
« Reply #1 on: October 12, 2020, 09:49:10 am »
A bug.
Update OXCE to v6.5.1 or higher.

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: Non-explosive grenades exploding when primed to 0
« Reply #2 on: October 12, 2020, 11:52:21 am »
As fun fact, this was not normal explosion but Power Source Explosion :)

Offline MontyDrake

  • Sergeant
  • **
  • Posts: 18
    • View Profile
Re: Non-explosive grenades exploding when primed to 0
« Reply #3 on: October 12, 2020, 01:23:06 pm »
Quote
As fun fact, this was not normal explosion but Power Source Explosio
Amazing!

Thank you