question about prerequisite and question about stolen tech

Information and discussion for custom maps and mods.
Post Reply
salvakiya
Posts: 36
Joined: Fri Jul 27, 2012 5:26 am

question about prerequisite and question about stolen tech

Post 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
Last edited by salvakiya on Thu Feb 13, 2014 8:34 pm, edited 1 time in total.

Matt
Posts: 1144
Joined: Tue May 01, 2012 12:21 pm
Location: Germany

Post 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

salvakiya
Posts: 36
Joined: Fri Jul 27, 2012 5:26 am

Post 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.

Post Reply