Firebringer4 Posted April 15, 2017 Share Posted April 15, 2017 So I tried doing tutorial number 1 of the scripting lessons. I created a script, and tried to run it after attaching it to the fan and got the following error: Failed to load model "C:/Users/Owner/Documents/Leadwerks/Projects/deletetutorial/fan_blades.mdl". I also notice the error Error: Failed to load material "C:/Users/Owner/Documents/Leadwerks/Projects/deletetutorial/fan1.mat". in red text when loading the map in general on the bottom output box. Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted April 15, 2017 Share Posted April 15, 2017 Your right. There is a problem with this tutorial. The problem is that the fan model is not in the folder ( nor are its materials) that Leadwerks is expecting. Solution: drag a new fan from Assets- Models- Fan- fan_blades.mdl near to where the original model is. Click on the old fan and press delete (on your keyboard). Now attach your "MyScript.Lua" script to your new fan. As described in the tutorial. Your script should work now. You will get an error about "fan1_dot3.tex" missing but your game should work. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.