OpenXcom Forum
Modding => Work In Progress => Topic started by: robin on July 08, 2014, 10:25:35 pm
-
The only way to make a melee weapon that can "attack tiles", is by making it a regular firearm (battleType: 1) and set
maxRange: 0
Right?
If I set it up like that, can I still have it dealing melee damage, using
damageType: 7
or 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: "
?
(https://abload.de/img/capture_09072014_005geu8n.png) (https://abload.de/image.php?img=capture_09072014_005geu8n.png)
(https://abload.de/img/capture_09072014_0045iup0.png) (https://abload.de/image.php?img=capture_09072014_0045iup0.png)
-
I also noticed that if I use the drill/axe weapons like this:
(https://abload.de/img/capture_09072014_0063ou7k.png) (https://abload.de/image.php?img=capture_09072014_0063ou7k.png)
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.
-
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).
-
Nice power axe there. :D
-
Nice power axe there. :D
Teh pistol alike too!