OpenXcom Forum
Modding => Work In Progress => Topic started by: Roxis231 on October 31, 2015, 01:27:00 am
-
I've been thinking, can you use a Craft (ie Skyranger, Interceptor) as a required item for makeing a new Craft?
And If so what code/text would you have to use in the ruleset?
-
I've been thinking, can you use a Craft (ie Skyranger, Interceptor) as a required item for makeing a new Craft?
And If so what code/text would you have to use in the ruleset?
Haven't tried it but I don't see why not, since I already use vanilla HWPs as required items for the upgraded HWPs. You should need something like this:
requiredItems:
STR_SKYRANGER: 1
-
Ok I'll test try a rule set this weekend and see how it goes.
Any more sugestions or help is nice though.
-
Ok I'll test try a rule set this weekend and see how it goes.
Any more sugestions or help is nice though.
Just tried it without success - the issue is that planes are Craft and it doesn't seem possible to set them as Items.
-
I thought Dioxine had done something like this in Piratez? or was he just able to make it seem that way?
-
No, I had that idea long time ago but it's impossible.
-
I thought Dioxine had done something like this in Piratez? or was he just able to make it seem that way?
No, I'm pretty sure that's not possible. The reason being, craft is a composite item, since it also contains weapons and possibly soldiers/items.
-
Damm - Looks like I'll have to go with the other plan then, unless some one changes the code - and that's probably not a good idea.
-
I thought Dioxine had done something like this in Piratez? or was he just able to make it seem that way?
I think he just made it look this way, if you are referring to old aircraft hulls being requirement to manufacture new aircraft. IIRC there are two types of old hulls, one is normal item used in game, other is "hidden" craft that cant be bought but is used only for bootypedia entry.
-
What about using live aliens as a component in manufacturing? Anyone tried that yet? (wrings hands together evilly)
-
Yup, Piratez does it, mostly to slaughter them and get components from them. Or for human captives enslaving them and keeping all their possessions for yourself.
-
Live alien is just like any other item, with the exception it takes Containment space and (thus?) can be shipped despite size = 0.
-
I tried to tackle this a while back. What I came up with was possibly being able to add an option to "repackage" the craft, trading it in for an inventory item which can be traded back for the actual craft. The inventory item would carry the same name and monetary value but would take up storage space instead of a hangar. You could then use it as an item in production.
You would just need to make some way to swap one craft for another. I was trying to use it for alloy interceptors--what I finally did was grant two options in the purchase menu: the actual interceptor, or a packaged interceptor. There was no way to swap between them except if you accidentally bought the packaged interceptor when you wanted the actual interceptor, you could sell the packaged one and get most of the money back.
That's the best I came up with.
-
This has been added in the latest nightly.
-
This has been added in the latest nightly.
Thanks!!
How do I use the feature?