Page 1 of 1

question about prerequisite and question about stolen tech

Posted: Thu Feb 13, 2014 3:57 pm
by salvakiya
Hello there I have 2 modding questions for you

q1: is it possible to not have a unit show up in the players sidebar until the prerequisites are met?
answer: Yes, when you put "Hidden: true" without quotations under the buildable trait.

q2: is it possible to have a prerequisite be stolen tech? like in RA2?
answer: Yes, use InfiltrateForSupportPower and have a powerproxy provide a custom prerequisite

Posted: Thu Feb 13, 2014 8:01 pm
by Matt
We currently have InfiltrateForExploration, InfiltrateForCash and InfiltrateForSupportPower. Stolen tech is missing. Create a feature request for it at http://bugs.open-ra.org

Posted: Thu Feb 13, 2014 8:35 pm
by salvakiya
Cmd. Matt wrote: We currently have InfiltrateForExploration, InfiltrateForCash and InfiltrateForSupportPower. Stolen tech is missing. Create a feature request for it at http://bugs.open-ra.org
I have been on the IRC and we were able to figure it out!

by using InfiltrateForSupportPower you can create a powerproxy that provides a custom prerequisite.

you use Hidden: True to hide the unit before you can actually build it.