OpenXcom Forum

Modding => Help => Topic started by: pjlasl on January 15, 2022, 05:54:47 pm

Title: SpecialWeapons Question [Solved]
Post by: pjlasl on January 15, 2022, 05:54:47 pm
I am trying to learn how to use the specialweapons property.
I have added a couple different ones and they show up in the ufopaedia, but I am not sure how to access them in the battlescape.

Can someone help?
Title: Re: SpecialWeapons Question
Post by: ohartenstein23 on January 15, 2022, 10:00:59 pm
"Special Weapons" are just another way to access a weapon that isn't placing a gun in a soldier's hand. To get them to appear, you need:

Title: Re: SpecialWeapons Question [Solved]
Post by: pjlasl on January 16, 2022, 12:35:41 am
With your explanation I figured out how to put it together!

Items:
   specialUseEmptyHand: true
   specialIconSprite: 2 # 0,1 used by SPICONS.DAT

extraSprites:
  - type: SPICONS.DAT
    width: 32
    height: 24
    files:
      2: Resources/Spicons1.gif