aliens

Author Topic: Aircraft Storage?  (Read 7835 times)

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1510
    • View Profile
Re: Aircraft Storage?
« Reply #15 on: June 26, 2017, 11:22:04 am »
Can someone explain it to me a bit better? I downloaded the mod and checked it out. Much of the code is alien to me, I can't find any mention of a way to change the Mudranger to airborne, I don't see it in the code, and playing the mod for a few hours suggested it'll be a while before I find it in game.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11454
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Aircraft Storage?
« Reply #16 on: June 26, 2017, 06:40:07 pm »
It's actually pretty simple. Here's the mudranger -> better mudranger process:

Code: [Select]
manufacture:
  - name: STR_IMPROVED_MUDRANGER
    category: STR_CRAFT
    requires:
      - STR_IMPROVED_MUDRANGER
    space: 20
    time: 2000
    cost: 100000
    requiredItems:
      STR_MUDRANGER: 1
    listOrder: 732

This is a case of a craft being used to make another craft. But I'm fairly sure you can also use it to make something else.

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1510
    • View Profile
Re: Aircraft Storage?
« Reply #17 on: June 26, 2017, 07:27:17 pm »
Was this a change made very recently to openxcom or does it require something else I'm missing? I tried this on the 2017-02-09 snapshot and it didn't work. The game didn't recognize Interceptor-1 as a STR_INTERCEPTOR for a manufacturing project.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8616
    • View Profile
Re: Aircraft Storage?
« Reply #18 on: June 27, 2017, 10:47:17 am »
Was this a change made very recently to openxcom or does it require something else I'm missing?

As I said above, it was done in January 2016.

I tried this on the 2017-02-09 snapshot and it didn't work. The game didn't recognize Interceptor-1 as a STR_INTERCEPTOR for a manufacturing project.

Here's a vanilla example of converting Interceptor into a Motion Scanner...

Code: [Select]
manufacture:
  - name: STR_INTERCEPTOR_INTO_MOTION_SCANNER
    category: STR_EQUIPMENT
    space: 0
    time: 10
    cost: 100
    requiredItems:
      STR_INTERCEPTOR: 1
    producedItems:
      STR_MOTION_SCANNER: 1

... and back.

Code: [Select]
manufacture:
  - name: STR_MOTION_SCANNER_INTO_INTERCEPTOR
    category: STR_CRAFT # important!
    space: 0
    time: 10
    cost: 100
    requiredItems:
      STR_MOTION_SCANNER: 1
    producedItems:
      STR_INTERCEPTOR: 1

Offline The Reaver of Darkness

  • Commander
  • *****
  • Posts: 1510
    • View Profile
Re: Aircraft Storage?
« Reply #19 on: June 27, 2017, 08:26:22 pm »
It works now. I don't know what I was doing wrong before. Oh well, thanks.