Warfare Incorporated :: View topic - How to Set Next Level?
Warfare Incorporated Forum Index
 FAQ   Search   Memberlist   Usergroups 
 Profile   Log in to check your private messages   Log in 
 
How to Set Next Level?

 
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring
View previous topic :: View next topic  
Author Message
SoLan
Very Active User


Joined: 13 Jan 2004
Posts: 183

PostPosted: Fri Feb 06, 2004 5:30 pm    Post subject: How to Set Next Level? Reply with quote

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
View user's profile Send private message
crakerz
Mega-Poster


Joined: 17 Sep 2003
Posts: 353
Location: California Bay Area

PostPosted: Fri Feb 06, 2004 10:22 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
scottlu
WI Founder


Joined: 15 Aug 2003
Posts: 1773

PostPosted: Fri Feb 06, 2004 10:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
crakerz
Mega-Poster


Joined: 17 Sep 2003
Posts: 353
Location: California Bay Area

PostPosted: Fri Feb 06, 2004 11:48 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
SoLan
Very Active User


Joined: 13 Jan 2004
Posts: 183

PostPosted: Mon Feb 09, 2004 12:41 pm    Post subject: Reply with quote

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. Confused
_________________
--SoLan
Palm Tungsten|T3
Back to top
View user's profile Send private message
SoLan
Very Active User


Joined: 13 Jan 2004
Posts: 183

PostPosted: Tue Feb 10, 2004 2:37 am    Post subject: Reply with quote

I am answering my own question. Wink

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. Sad

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. Rolling Eyes

_________________
--SoLan
Palm Tungsten|T3
Back to top
View user's profile Send private message
Wizard
Established Forum User


Joined: 30 Nov 2003
Posts: 68
Location: Bristol, England

PostPosted: Tue Feb 10, 2004 3:23 am    Post subject: Reply with quote

...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
View user's profile Send private message
scottlu
WI Founder


Joined: 15 Aug 2003
Posts: 1773

PostPosted: Tue Feb 10, 2004 8:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2002 phpBB Group