Author Topic: meleeing melee weapons (robin's stupid questions, episode #255)  (Read 4695 times)

Offline robin

  • Commander
  • *****
  • Posts: 1222
  • ULTIMATE ROOKIE
    • View Profile
The only way to make a melee weapon that can "attack tiles", is by making it a regular firearm (battleType: 1) and set
Code: [Select]
maxRange: 0Right?

If I set it up like that, can I still have it dealing melee damage, using
Code: [Select]
damageType: 7or is that damage "forbidden" since it' not of the appropriate battleType?

Thanks
This seems ok.

More questions:

- What is the value for the sound of throwing something?
  Ruleset Reference links to this ( https://www.ufopaedia.org/index.php?title=SOUND#SAMPLE2.CAT) list but the correspondence of the numbers doesn't seem the same.

- What value I have to use this https://www.ufopaedia.org/index.php?title=HIT.PCK as
 " hitAnimation: "
  ?


« Last Edit: July 09, 2014, 01:49:20 am by robin »

Offline robin

  • Commander
  • *****
  • Posts: 1222
  • ULTIMATE ROOKIE
    • View Profile
Re: melee vs. tiles (robin's stupid questions, episode #255)
« Reply #1 on: July 09, 2014, 01:31:10 am »
I also noticed that if I use the drill/axe weapons  like this:



they hit at the bottom of the ramp (while aiming just at the top of it), even though they have "maxRange: 0" (which works correctly, saying "Out of Range" if I try to aim further than 1 tile).
Is it normal? I haven't tested stairs. This is with the latest build.
« Last Edit: July 09, 2014, 01:35:25 am by robin »

Offline robin

  • Commander
  • *****
  • Posts: 1222
  • ULTIMATE ROOKIE
    • View Profile
Re: meleeing melee weapons (robin's stupid questions, episode #255)
« Reply #2 on: July 09, 2014, 11:36:46 am »
Ok.

The throwing sound is 39

The "hit" anim.. I ended up adapting it myself from this https://www.ufopaedia.org/index.php?title=File:HITPCK.png
I've added it in case someone else needs it. It's a "SMOKE.PCK" kind of anim, it needs to be used like this:
=================================

extraSprites:
  - type: SMOKE.PCK
    height: 80
    width: 160
    subX: 32
    subY: 40
    files:
      66: Resources/apoc/SMOKE/fire_blue.gif
      76: Resources/apoc/SMOKE/hit_plasma_blue.gif
      86: Resources/apoc/SMOKE/hit_plasma_purple.gif
      96: Resources/apoc/SMOKE/hit_zing.gif
      106: Resources/apoc/SMOKE/hit_zing_double.gif


=================================
(ofc the directory and the numbers "96" and "106", may be different for you).

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11662
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: meleeing melee weapons (robin's stupid questions, episode #255)
« Reply #3 on: July 09, 2014, 03:48:33 pm »
Nice power axe there. :D

niculinux

  • Guest
Re: meleeing melee weapons (robin's stupid questions, episode #255)
« Reply #4 on: July 10, 2014, 04:03:52 pm »
Nice power axe there. :D

Teh pistol alike too!