I've been trying to get two different world files to be loaded depending on the gamemode, but so far my results have been less than stellar. One gamemode runs and has functioning CPs, but there is no terrain, sky, or any objects. The other mode doesn't even have CPs (obviously, the layers aren't loading correctly).
Perhaps this is not possible, but before I say that, I need to know more about how the game loads the world, terrain, sky file, etc. If it loads all of this from the layers (which I doubt), it should be working. If not, I would like to know how it loads all the aspects of the world.
What I've done so far:
*Saved a new world file, changing the lighting in one of them.
*Put the base layer on BOTH maps under the conquest gamemode.
*Updated the .reqs and .mrqs in the gamemode editing tool in ZE (in both)
*Saved the world file (in both)
*Refrenced TST_conquest and TSN_conquest in their respective CW and GCW Conquest LUAs (TST and TSN are the two different world file names).
Thanks in advance!
Two world files for one map - possible?
Moderator: Moderators
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
It is possible. I did it by accident when I was making Kamino: Clone Command.
You need a world1 folder and a world2 folder. Put the TST files in one and the TSN files in the other. Put all your ODF/MSHs etc. in the proper folder. Then, in your LUA, find a line that looks like this:
In your game mode LUA, change the 'ABC.LVL' to 'TSN.LVL' and the 'ABC_conquest' to 'TSN_conquest'. (and change conquest to eli or whatever mode (also, change TSN to TST if thats what you need.)
That should work. I think.
You need a world1 folder and a world2 folder. Put the TST files in one and the TSN files in the other. Put all your ODF/MSHs etc. in the proper folder. Then, in your LUA, find a line that looks like this:
Code: Select all
ReadDataFile("dc:ABC\\ABC.lvl", "ABC_conquest") That should work. I think.
- jangoisbaddest
- Lieutenant General

- Posts: 661
- Joined: Mon Feb 27, 2006 12:10 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: All Along The Watchtower
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
-
Ace_Azzameen_5
- Jedi

- Posts: 1119
- Joined: Sat Apr 23, 2005 8:52 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Darth_Z13
- Jedi High Council

- Posts: 2275
- Joined: Sat Jun 17, 2006 9:51 am
- xbox live or psn: Xanthius Wylon
- Location: Canada
- [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:
-
The_Emperor
- Supreme Galactic Ruler
- Posts: 2118
- Joined: Sat Dec 10, 2005 6:30 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Waaaaay over there.
