OpenXcom Forum

Modding => OpenXcom Extended => OXCE Suggestions DONE => Topic started by: bulletdesigner on January 13, 2021, 12:58:18 pm

Title: [DONE][Suggestion]craft built-in weapon
Post by: bulletdesigner on January 13, 2021, 12:58:18 pm
Can it be possible to buy or manufacture a craft and it comes with a fixed craft weapon that canĀ“t be changed.
This can add specific roles to craft, also lock the craft with the battlespace look
Title: Re: [Suggestion]craft built-in weapon
Post by: Meridian on January 13, 2021, 02:04:56 pm
No, but you can specify that a craft can use only one (or several) specific weapon types.

E.g. you could say that Interceptor can only use Stingray launcher and nothing else... but it can always have no weapon at all.
Title: Re: [Suggestion]craft built-in weapon
Post by: ohartenstein23 on January 13, 2021, 03:30:56 pm
I believe this is a request. There are a few craft in the 40k mod that are supposed to have a specific signature weapon manufactured along with them, and this would skip the management step of making and equipping it. The craft already have the weapon slot that only allows that weapon.
Title: Re: [Suggestion]craft built-in weapon
Post by: Solarius Scorch on January 13, 2021, 06:44:32 pm
There's also one craft in the X-Com Files which would also benefit from this (Buck Rogers' Starfighter).
Title: Re: [Suggestion]craft built-in weapon
Post by: Meridian on January 13, 2021, 06:56:31 pm
ok, todolisted

PS: I like bulletdesigner's requests, they are always straighforward and accompanied by a real example
Title: Re: [DONE][Suggestion]craft built-in weapon
Post by: Meridian on January 16, 2021, 02:24:52 pm
Added.

Code: [Select]
crafts:
  - type: STR_INTERCEPTOR
    fixedWeapons: ["", STR_STINGRAY, "", ""]
Title: Re: [DONE][Suggestion]craft built-in weapon
Post by: bulletdesigner on January 16, 2021, 03:13:14 pm
Nice, thks