Page 1 of 1

How do i load certain layers for certain era's?

Posted: Tue Jun 28, 2011 3:34 pm
by linksith
Hi, I was wanting certain layers to be loaded for a certain era because of different props. I'm not sure how to do this because it is a land map. I did some searching around gt but I couldn't seem to find anything. Could someone help me? Thanks.

Re: How do i load certain layers for certain era's?

Posted: Tue Jun 28, 2011 4:25 pm
by DarthD.U.C.K.
you do it like that:

Code: Select all

ReadDataFile("dc:AAA\\AAA.lvl", "AAA_conquest")
this loads the layer "conquest" from the custom world "AAA"

Code: Select all

ReadDataFile("fel\\fel1.lvl", "fel1_campaign")
this loads the layer "campaign" from the shipped world "fel"
so if you want to load another layer, put in an additional readdatafileline with the layername in the eras luas.

Re: How do i load certain layers for certain era's?

Posted: Wed Jun 29, 2011 8:16 pm
by linksith
Thanks for the info. :wink:

Re: How do i load certain layers for certain era's?

Posted: Wed Jun 29, 2011 10:03 pm
by Teancum
A great example is Dagobah. Take a look at how they put the LAAT/i in CW and the X-Wing in GCW. The luas and map should put the pieces together for you.

Re: How do i load certain layers for certain era's?

Posted: Wed Jun 29, 2011 10:51 pm
by MrCrayon
It actually tells you in the tutorial in the documentation (I was reading it today).

Its easy to miss though so I am happy this is cleared up now.