Jump to content

Recommended Posts

Posted

Why Day & Night script isn't working anymore? It works in editor, but when i compile my project in Blitzmax sky is black and script is missing. Still working with my old project even after re-compile. I tried to use old shaders.pak and scripts but still nothing shows up.

Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax

Posted

LE2 with Blitzmax. I don't understand why it's not working anymore. O_o And i think environment_atmosphere.gmf was working months ago when i just put it in map with editor, but now i need to load skybox in code. I think problem is same with this script. Any way to load script in Blitzmax code?

 

I really need this script in my project.

Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax

Posted

Is environment_atmosphere.gmf required with 'Day night script'?

 

Edit:

When i do this in my code:

Print entityposition(FindChild( scene, "daynight_2" )).x

 

It gives correct X axis of daynight entity. So it exists.

Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax

Posted

Waterplane isn't working either... What happened to LE2

Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax

Posted

More info!

 

I have been using old "lua-gluefunctions.bmx". When i created new one with this code:

Framework leadwerks.engine
Import "C:\Leadwerks Engine SDK\BMX\Framework\framework.bmx"
Import lugi.generator
AppTitle:String = "Create Lua Functions"
generateGlueCode("lua-gluefunctions.bmx")
Notify("All Done", 0)
End

 

Then is compile my project and i get error from new lua-gluefunctions.bmx.

"Compile Error Missing function parameter 'extra'"

Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax

Posted

Alright it's solved! My code was missing "SetScriptObject("fw", fw)" :D Thanks for Dennis in Google+ ;)

  • Upvote 1

Windows 7 Ultimate | Intel Core i7 930 @ 2.80 ghz | Nvidia GeForce GTX 560 | Leadwerks 2.5 | Blitzmax

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...