View previous topic :: View next topic |
Author |
Message |
SoLan Very Active User
Joined: 13 Jan 2004 Posts: 183
|
Posted: Fri Feb 06, 2004 5:30 pm Post subject: How to Set Next Level? |
|
|
I am making a mission pack with three levels that follow each other. When the player finishes level 1, I want level 2 to be loaded. I have tried doing this with the "Set Next Level" trigger, but I can't get it right. The explanation to the trigger says that "the mission naming convention is "mission.lvl"." I have tried to use the name of my .ld (without the .ld) and I have tried to use the mission title .lvl, but none of these seem to work. What is my mission name - if it has any - and how do I set the mission name if I have to do that? _________________ --SoLan
Palm Tungsten|T3 |
|
Back to top |
|
|
crakerz Mega-Poster
Joined: 17 Sep 2003 Posts: 353 Location: California Bay Area
|
Posted: Fri Feb 06, 2004 10:22 pm Post subject: |
|
|
What is interesting is that you do not need to compile levels into one pdb to be able to call them from other levels. I called level S_03 (one of spiffcode's built-in ones) from one of my own levels.....
I'm wondering if the mission name is a persistant variable of some kind. _________________ Why negotiate when you can just blow things up?
------------------------------------------------------ |
|
Back to top |
|
|
scottlu WI Founder
Joined: 15 Aug 2003 Posts: 1773
|
Posted: Fri Feb 06, 2004 10:51 pm Post subject: |
|
|
Actually SoLan you've found a great bug. You can't do it with this version of M because the internal reference names of exported missions are auto-generated. I'll need to change that so you can reference a known mission. Good bug! _________________ Warfare Incorporated Development Team |
|
Back to top |
|
|
crakerz Mega-Poster
Joined: 17 Sep 2003 Posts: 353 Location: California Bay Area
|
Posted: Fri Feb 06, 2004 11:48 pm Post subject: |
|
|
Way to go, SoLan! It looks like you've just recently joined (or started posting to) this forum, and you've already made a number of great suggestions and finds. Glad you are on the team! |
|
Back to top |
|
|
SoLan Very Active User
Joined: 13 Jan 2004 Posts: 183
|
Posted: Mon Feb 09, 2004 12:41 pm Post subject: |
|
|
Are the internal reference names auto-generated every time you export a mission pack, or is there a way to guess what the names will be? Or maybe a way to read from an exported mission what the name is? Linking the missions is all that remains before I can finish my three level mission pack. _________________ --SoLan
Palm Tungsten|T3 |
|
Back to top |
|
|
SoLan Very Active User
Joined: 13 Jan 2004 Posts: 183
|
Posted: Tue Feb 10, 2004 2:37 am Post subject: |
|
|
I am answering my own question.
It seems like the internal reference names are auto-generated every time you export a mission pack. I have managed to read the level names from the exported packs, and exporting my levels in reverse order (three, then two, then one) I was able to get the Set Next Level references correct. this means, however, that I can not export all three levels into one mission pack.
Auto-generated names also means that levels that are numbered, do not appear in a correct sequence in the mission list in Warfare Inc, as it seems levels are sorted by their internal reference names.
For a more elegant solution, I guess I will have to wait for the next release of the editor and hope that the problem is solved there. _________________ --SoLan
Palm Tungsten|T3 |
|
Back to top |
|
|
Wizard Established Forum User
Joined: 30 Nov 2003 Posts: 68 Location: Bristol, England
|
Posted: Tue Feb 10, 2004 3:23 am Post subject: |
|
|
...talking of which, when is the next version coming out.? _________________ Wizard
There's no place like 127.0.0.1
HTML | JS | VB | KIX | CFM | English
Everyone is a 'disgruntled employee'. What kind of word is 'disgruntled' anyway.? Can someone be 'gruntled'.? |
|
Back to top |
|
|
scottlu WI Founder
Joined: 15 Aug 2003 Posts: 1773
|
Posted: Tue Feb 10, 2004 8:46 am Post subject: |
|
|
I'm at the PalmSource conference this week. M has all my attention right now, however I don't have a date other than "reasonably soon"! _________________ Warfare Incorporated Development Team |
|
Back to top |
|
|
|