Page 1 of 1
recreating dagobah's x-wing/gunship
Posted: Wed Mar 15, 2006 5:18 pm
by Random_Guy
How do I create a layer that is visible only in gcw/cw?
This would be similar to the crashed x-wing/gunship on dagobah. I know that it has something to do with layers, but I don't know how to make a layer that is visible whenever cw is loaded but not when gcw is loaded, or vice-versa. Are there any limitations when doing this?
P.S. This is the first time I have ever posted anything on any fourm anywhere, although I've been vewing them for a while. If there's something I need to be aware of, please alert me.
anyone?
Posted: Thu Mar 16, 2006 4:15 pm
by Random_Guy
I don't care if you just come and flame me for not reading a certain documentation. At least I'll know what to do...
RE: anyone?
Posted: Thu Mar 16, 2006 4:19 pm
by Schizo
Hmm... good question. I'm not sure how one would go about doing it. There is a layer in the space maps that contain GCW/CW specific ships, why wouldn't it work for ground? We might be able to do it.
Posted: Thu Mar 16, 2006 5:06 pm
by Random_Guy
I just created a space map with both gcw and cw in it. I think I found a good deal of the files. I have several side specific files in data_ABC/Worlds/ABC/world1 and an ABCc_cmn (cw common?) and an ABCg_cmn (gcw common?) in ABCdata_ABC/Common/scripts/ABC. Unfortunately, I'm flying blind once I open them up. The stuff inside makes a good bit of sense, but nothing I can see points to era specific layers.
Posted: Thu Mar 16, 2006 8:21 pm
by Captain_Mazda
'Tis a good question indeed. I would like to be able to place Rebel Transports on my Saleucami map for GCW.
Posted: Thu Mar 16, 2006 9:56 pm
by PAN-Fnord
A "game mode" from ZeroEditor is just a collection of which layers are loaded. So you'd have to create a game mode for GCW, and a separate game mode for CW, and have them each include a different layer. Then your _g lua loads the GCW mode, and your _c lua loads the CW mode.
Which layers are included in which game modes is specified in the .MRQ file for that game mode. Luckily, you don't have to edit these yourself...
At the top of ZeroEditor is a button that says Game Modes: Configure. If you load your level, create your new layer and all that, then use that button, you can set up which layer(s) are loaded in which game modes. You can assign a layer to either Common (always loaded) or as many individual game modes as you want - you can make new modes and everything.
Once you've set that up, click the big button at the bottom of the dialog, and don't forget to save your world afterwards!
Mike Z