Page 1 of 1

How to change Props from era to era

Posted: Sat Aug 15, 2009 1:32 pm
by Rends
At the moment i have an nondrivable ATSt prop in my Mos Eisley Map.
I would like to change the model to Gunship or something like that if you switch from GCW to CW era.
Can anyone explain me how to do it?

Re: How to change Props from era to era

Posted: Sat Aug 15, 2009 1:42 pm
by MercuryNoodles
There should be a separate layer for each era. Just place the prop in that layer, and it'll only show when that layer is called for. It's in the docs as well.

Re: How to change Props from era to era

Posted: Sat Aug 15, 2009 2:35 pm
by Xavious
Or you could place them both normally and use KillObject on the one you don't want in each specific game mode. For example, the Clone Wars lua would have the KillObject function delete the AT-ST, and the Galactic Civil War lua would have KillObject delete the LA-AT. No need for extra layers.

Re: How to change Props from era to era

Posted: Sat Aug 15, 2009 3:47 pm
by Rends
Well my map has gamemode layers like conquest flags and ELI layers but there arn´t any era layers.
guess i would need to create them.

But the Killobject function seems to be easier todo. Hm might search the docs for more info about it.

Re: How to change Props from era to era

Posted: Sun Aug 16, 2009 11:09 am
by Teancum
The layer thing is how it's done. Take a look at Dagobah in ZeroEdit, then look at the LUAs to see how the loaded the LAAT/X-Wing. It's not hard, just not documented. :P

Re: How to change Props from era to era

Posted: Mon Aug 17, 2009 4:14 pm
by Rends
Guess it´s easier with layers if you have a couple of objects to change but i only have 2 so the killobject function seems to work fine.