Deployment problem

Deployment problem

donied
Collaborator Collaborator
780 Views
5 Replies
Message 1 of 6

Deployment problem

donied
Collaborator
Collaborator

I have just started playing with Max Interactive. Set up a new project using the basic template I have brought in a basic building from Max . Saved my building to a new scene

 

When I run or deploy my project it runs the basic level with the yellow cube not my level. If I test the level it works fine. How can I get the program to deploy my level

Reply
Reply
0 Likes
781 Views
5 Replies
Replies (5)
Message 2 of 6

paul.kind
Alumni
Alumni

Oh, that is just because you have not told your project to load your level.  This is an easy fix (just not very obvious).

 

Heres what you need to do.

 

1.  locate the following file and open it.

script/lua/project.lua

 

2. Change the line that says 

basic = "content/levels/basic"

and change it to the path of your level liks so...

 

basic = "content/levels/my_awesome_level"

 

Save and hit run project.

 

Areas of Expertise - MayaLT : Mudbox : 3DS Max : Inventor : Game Dev
Follow me on Twitter : @paulkind3d

Please remember to give kudos freely and mark acceptable answers as solved!

PLEASE do not send me private messages unless asked to do so. If you have a question, start a thread, and ask me on the public forums where answering your question may help others.

Did you know there was a YouTube learning channel for Autodesk Games? New videos are posted regularly with all sorts of content relative to Stingray, Maya/MayaLT, 3DS Max, and other game related tools. Get your game on @ https://www.youtube.com/user/autodeskgameshowtos
Reply
Reply
Message 3 of 6

donied
Collaborator
Collaborator

Thanks for your reply. I have tried that and it doesn't work

 

Project.level_names = {
menu = "content/levels/main_menu",
basic = "content/levels/ChaletS"

}

 

I have tried shutting down and reloading

 

Reply
Reply
0 Likes
Message 4 of 6

paul.kind
Alumni
Alumni

Hrm, so just to ask a fairly obvious question....   is your level saved in the levels folder?

 

Paul

 

Areas of Expertise - MayaLT : Mudbox : 3DS Max : Inventor : Game Dev
Follow me on Twitter : @paulkind3d

Please remember to give kudos freely and mark acceptable answers as solved!

PLEASE do not send me private messages unless asked to do so. If you have a question, start a thread, and ask me on the public forums where answering your question may help others.

Did you know there was a YouTube learning channel for Autodesk Games? New videos are posted regularly with all sorts of content relative to Stingray, Maya/MayaLT, 3DS Max, and other game related tools. Get your game on @ https://www.youtube.com/user/autodeskgameshowtos
Reply
Reply
0 Likes
Message 5 of 6

donied
Collaborator
Collaborator

No problem for he obvious question. Because I'm probably not doing something really simple.

 

Yes it is saved to the Levels folder beside the basic Level

 

 

Reply
Reply
0 Likes
Message 6 of 6

Anonymous
Not applicable

@paul.kind 

I know this was an old post, but it saved me last night when I was run up against a hard deadline, thanks!


@paul.kind wrote:

Oh, that is just because you have not told your project to load your level.  This is an easy fix (just not very obvious).

 

Heres what you need to do.

 

1.  locate the following file and open it.

script/lua/project.lua

 

2. Change the line that says 

basic = "content/levels/basic"

and change it to the path of your level liks so...

 

basic = "content/levels/my_awesome_level"

 

Save and hit run project.

 




Reply
Reply
0 Likes