When I started mapping, I had no idea that you needed to put common objects (buildings) in base, and I put them all in conquest. However, recently, I began scripting for campaign when it hit me. Nothing would show up ingame since all my stuff was in my conquest layer! If my buildings are in my conquest layer, how do I get it so that the objects appear the same in campaign?
My questions:
Will objects in conquestn show up in my other gamemodes?
If they dont, how would I transport them to base?
If I can't transport them, how can I make it so that each mode applies to the same layer?
Layers
Moderator: Moderators
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
-
Fingerfood
- Sith

- Posts: 1262
- Joined: Fri Nov 30, 2007 9:40 pm
Re: Layers
I think there's an option to port stuff from one layer to another, but you could always rename the conquest layer to base, and make it a common layer (that appears in all game modes).
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: Layers
1. See N°3Grev wrote:My questions:
1. Will objects in conquestn show up in my other gamemodes?
2. If they dont, how would I transport them to base?
3. If I can't transport them, how can I make it so that each mode applies to the same layer?
2. This will merge your (selected) layers into one:
>>Click here<<
Sorry for the bad quality.
3. You want for example to use the conquest layer for your campaign mode, then open your XXXc_c.lua and change this line
Code: Select all
ReadDataFile("dc:XXX\\XXX.lvl", "XXX_campaign")Code: Select all
ReadDataFile("dc:XXX\\XXX.lvl", "XXX_conquest")-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Layers
Wait, in n2, does that merge the layers, so that everything in conquest is in base? Or does it make it the same layer?
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: Layers
The conquest layer dissappears and the conquest layer stuff is merged into the base layer.Grev wrote:Wait, in n2, does that merge the layers, so that everything in conquest is in base? Or does it make it the same layer?
(Note: To put the conquest stuff into the base stuff you have to rightclick on the base layer, if you rightclick on the conquestlayer the base stuff will be merged into the conquest layer.)
-
Grev
- Hoth Battle Chief

- Posts: 3132
- Joined: Sun Dec 09, 2007 11:45 pm
- Projects :: No Mod project currently.
- Location: A Certain Box Canyon
Re: Layers
Wiat, but dont I need a conquest layer?
-
Aman/Pinguin
- Jedi

- Posts: 1104
- Joined: Tue Jan 30, 2007 6:04 am
- Projects :: Inactive
- Location: Germany
Re: Layers
You can create a new one.Grev wrote:Wait, but dont I need a conquest layer?
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Layers
You could have just loaded both modes:Just be sure to disable the CPs from Conquest (or anything else from Conquest you don't want) in the Campaign's lua.
Code: Select all
ReadDataFile("dc:XXX\\XXX.lvl", "XXX_campaign")
ReadDataFile("dc:XXX\\XXX.lvl", "XXX_conquest")