Author Topic: Ufopedia craft description missing equipment slot listings  (Read 1210 times)

Offline jepeman

  • Squaddie
  • *
  • Posts: 9
    • View Profile
Ufopedia craft description missing equipment slot listings
« on: February 01, 2018, 01:43:41 pm »
Some vehicles in ufopedia don't have a breakdown on what equipment slots they have. Light missile, heavy missile, cannon, beam, engine slot, shield slot, electronics slot, etc.

For example, how it should be:
MiG-31 has 2 slots and description says they are 1 cannon, 1 light missile.

Following vehicle descriptions don't say what the slots are used for.
Humvee, 1 slot
Interceptor, 2 slots
Lightning, 3 slots
Firestorms, 4 slots
Avenger, 4 slots


These do say what the slots are used for:
Darkstar (ultimate radar craft)
MiG-31
Raven
Thunderstorm
Sentinel
Tormentor
Ironfist


Some of the craft weapons ufopedia entries have the same issue, not saying what type they are (slot they go into).
Stingray  (there is the heavy stingray that says its heavy, and normal stingray that says nothing)
Avalance, doesn't straight up say the type, but does say its "extremely heavy load".
Fusion Ball
Cannon, doesn't say type, though is obvious
Laser cannon, again says its a beam weapon in description, just no straight up type: beam
Plasma beam, again says its a beam weapon in description, just no straight up type: beam

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 8398
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Ufopedia craft description missing equipment slot listings
« Reply #1 on: February 01, 2018, 08:26:56 pm »
Yeah, I'm reworking all this. Sorry, will be ready when it's done.

Offline tkzv

  • Colonel
  • ****
  • Posts: 472
    • View Profile
Re: Ufopedia craft description missing equipment slot listings
« Reply #2 on: February 08, 2018, 10:07:24 pm »
Yeah, I'm reworking all this. Sorry, will be ready when it's done.
While you are at it, what is the in-game reason for being unable to mount ray weapons on airplanes?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 8398
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Ufopedia craft description missing equipment slot listings
« Reply #3 on: February 09, 2018, 02:21:51 am »
While you are at it, what is the in-game reason for being unable to mount ray weapons on airplanes?

Just that a classin interceptors aren't suited for this - they don't have certain energy-related systems. That's why they use cannons and rockets.

Offline tkzv

  • Colonel
  • ****
  • Posts: 472
    • View Profile
Re: Ufopedia craft description missing equipment slot listings
« Reply #4 on: February 09, 2018, 08:14:15 am »
Just that a classin interceptors aren't suited for this - they don't have certain energy-related systems. That's why they use cannons and rockets.
What about fusion blaster technology then? Hand weapons don't need an external power source. Is there a similar ray cannon?

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 8398
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Ufopedia craft description missing equipment slot listings
« Reply #5 on: February 09, 2018, 10:51:34 am »
What about fusion blaster technology then? Hand weapons don't need an external power source. Is there a similar ray cannon?

I can rethink the model, but I don't think the engine allows more. I don't think a slot can have two types (like cannon and rockets), and that's a big limitation... Unless I'm wrong.

Offline ohartenstein23

  • Commander
  • *****
  • Posts: 1626
  • Flamethrowers fry cyberdisk circuits
    • View Profile
Re: Ufopedia craft description missing equipment slot listings
« Reply #6 on: February 09, 2018, 03:37:13 pm »
I can rethink the model, but I don't think the engine allows more. I don't think a slot can have two types (like cannon and rockets), and that's a big limitation... Unless I'm wrong.

You should be able to define multiple weapon types per slot, the code accepts both single-number and lists of numbers for the type definition. I'll test in a bit.

Edit: Yes, you can make the weaponTypes definition a list of lists to let slots hold multiple types:
Code: [Select]
crafts:
  - type: STR_SOME_INTERCEPTOR
    weaponTypes:
      - [0, 2] # First slot holds either cannon or light rocket
      - [2, 3] # Second slot holds either light or heavy rockets

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • ***
  • Posts: 8398
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Ufopedia craft description missing equipment slot listings
« Reply #7 on: February 09, 2018, 03:42:57 pm »
Oh great, now I have to redesign everything again. :P
But seriously, thanks. I need to address air combat at some point, so I will take it into consideration.

Offline tkzv

  • Colonel
  • ****
  • Posts: 472
    • View Profile
Re: Ufopedia craft description missing equipment slot listings
« Reply #8 on: February 11, 2018, 05:33:29 pm »
Oh great, now I have to redesign everything again. :P
But seriously, thanks. I need to address air combat at some point, so I will take it into consideration.
In the vanilla Interceptor could use laser and plasma without problems. This mod gives Tormentor, which has all Interceptor's benefits plus better armour, but neither can use lasers. That made me sad.