Jump to content

Recommended Posts

Posted

00060.360 ERROR GRAPHICSVISTA: Can't open model ****_Cockpit.

 

I understand what this means(that it can't load the model for some reason?), but it doesn't make any sense.... model loads fine in Modelviewer and if I replace another aircraft's cockpit model also loads fine... any ideas why it wouldn't load? I have also a problem where cockpit_local_point appears to not actually do anything too but I'll work on that later(might rewrite mod from scratch)

 

 

00060.367 ERROR Lua::Config: load error ./Mods/aircraft/****/Cockpit/Scripts/HUD/Indicator/indication_page.lua:[string "./Mods/aircraft/****/Cockpit/Scripts/HUD/Indicator/indication..."]:45: '<eof>' expected near 'end'.

 

No idea what this one is? is it related to why my cockpit won't load? if it is can someone tell me what this actually means.. seems its expecting something that's not there? What could it be?

 

Thanks!!

Posted

I've never seen that first error. Is it looking for it in the correct directory? Make sure the model_path is properly mounted in the entry.lua.

 

The second error is just due to a lua syntax error in your indication_page.lua. You have too many "end"s in your code. If you can't spot where the error is originating, you might use a lua syntax checker to find the problem more specifically. I usually use LuaEdit2010.

Posted
I've never seen that first error. Is it looking for it in the correct directory? Make sure the model_path is properly mounted in the entry.lua.

 

The second error is just due to a lua syntax error in your indication_page.lua. You have too many "end"s in your code. If you can't spot where the error is originating, you might use a lua syntax checker to find the problem more specifically. I usually use LuaEdit2010.

 

Spot on about the first one, for some reason I guess I missed a mountvfsmodel line. Once inserted my models work again.. yay!

 

Will look for that in my lua code though, thanks!

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...