Author Topic: Stun Rod from distance?  (Read 7539 times)

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Stun Rod from distance?
« on: January 21, 2014, 11:15:11 pm »
I tried to add weapon to stun aliens from distance. Of course we have Small Launcher but I want to make a stun rod as a weapon - teazer?
I described weapon as:
Damage Type: 6 - Stun
BattleType: 1- Firearm
.. and heres the problem. We have explosion like in Small Launcher :( Any idea how to make normal hit effect with stun damage?

Offline yrizoud

  • Commander
  • *****
  • Posts: 1014
    • View Profile
Re: Stun Rod from distance?
« Reply #1 on: January 21, 2014, 11:45:07 pm »
Ryskeliini made a taser, here:
https://openxcom.org/forum/index.php/topic,1598.msg14729.html#msg14729

He used a blastRadius of 0 to disable area of effect.


Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Stun Rod from distance?
« Reply #3 on: January 22, 2014, 12:18:23 am »
With blastradius: 0 still I have explosion :/

- type: STR_TEAZER
    size: 0.1
    costBuy: 1000
    costSell: 600
    weight: 3
    bigSprite: 75
    floorSprite: 3
    handSprite: 96
    hitAnimation: 26
    hitSound: 19
    power: 200
    bulletSprite: 5   
    fireSound: 11
    accuracySnap: 100
    tuSnap: 1
    battleType: 1
    damageType: 6
    maxRange: 15
    blastradius: 0
    clipSize: -1
    invWidth: 1
    invHeight: 2
    attraction: 1

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Stun Rod from distance?
« Reply #4 on: January 22, 2014, 12:27:38 am »
blastradius != blastRadius

use camelCase

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Stun Rod from distance?
« Reply #5 on: January 22, 2014, 12:33:10 am »
..still the same. Explosion appear

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Stun Rod from distance?
« Reply #6 on: January 22, 2014, 04:25:43 am »
are you using the nightly?

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Stun Rod from distance?
« Reply #7 on: January 22, 2014, 09:05:07 pm »
Yep, always the latest one.
Maybe it doesn't work coz explosion size is depend of power....
« Last Edit: January 22, 2014, 09:32:24 pm by Amiga »

Offline Align

  • Colonel
  • ****
  • Posts: 196
    • View Profile
Re: Stun Rod from distance?
« Reply #8 on: January 22, 2014, 10:57:46 pm »
Is the spacing at the start of the line identical to that of the rest of the ruleset?

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Stun Rod from distance?
« Reply #9 on: January 23, 2014, 12:02:36 am »
Yes, its the same. Weapon works fine except explosion.

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: Stun Rod from distance?
« Reply #10 on: January 23, 2014, 02:50:28 am »
please attach your .rul file so i can take a look, i can't diagnose this remotely.

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Stun Rod from distance?
« Reply #11 on: January 23, 2014, 09:24:02 am »
Ok thx, I will send it tonight after work :/

Offline Amiga

  • Colonel
  • ****
  • Posts: 128
  • Amiga4ever....
    • View Profile
    • White Wolf Untold Story PL (my rpg game based on Witcher saga)
Re: Stun Rod from distance?
« Reply #12 on: January 28, 2014, 12:31:35 am »
With latest GIT working excellent: THX Warboy1982