Author Topic: making an HWP weapon buyable  (Read 249 times)

Offline ufodefguy

  • Squaddie
  • *
  • Posts: 5
    • View Profile
making an HWP weapon buyable
« on: February 17, 2025, 07:01:22 pm »
i need help
so i want to make the tank HWP rocket launcher buyable
when i visited items.rul (of ufo defense) i would only see the strings for the entire HWP, not its weapon
i would be grateful if someone helped me figure out how do i make the hwp weapon buyable, without the chassis (and the unit)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11856
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: making an HWP weapon buyable
« Reply #1 on: February 17, 2025, 08:11:06 pm »
HWPs are weird in many regards; long story short, you can't separate the weapon from the chassis.

I suppose you want to have an interchangeable weapon on a given chassis. The simplest way to do so would be to make a manufacturing project which requires tank with weapon X as well as weapon Y, and the result is tank with weapon Y and an item for the weapon X.
« Last Edit: February 17, 2025, 09:55:36 pm by Solarius Scorch »

Offline ufodefguy

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: making an HWP weapon buyable
« Reply #2 on: February 17, 2025, 08:18:16 pm »
k, ill try it