metaldc4life Posted September 8, 2014 Share Posted September 8, 2014 I found this really nice water script by Klepto I have been trying to integrate into my game but it is stuck in spectator mode and I can't seem to put the camera on the player character? If anyone could help that would be great! Quote Link to comment Share on other sites More sharing options...
Guppy Posted September 8, 2014 Share Posted September 8, 2014 This is where I'm tempted to simply post a snarky "could you possibly be a bit more vague?" But really you have very little information in your post for anyone trying to help you, perhaps include; What version of leadwerks your using How you attempted to integrate it what you have already tried in order to fix it Also this is a very handy document that far to few people have read; http://www.catb.org/esr/faqs/smart-questions.html Quote System: Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k Link to comment Share on other sites More sharing options...
metaldc4life Posted September 8, 2014 Author Share Posted September 8, 2014 Leadwerks 3.2 I don't know what you mean by placing in my game but it's the right way I know that much by unzipping into the right folder's.. But like you said I guess I could have been more detailed in my question. sorry =) as far as trying to get it to work it "kinda" works which for example it shows up just fine and runs the game ok and shows the water ok but it's in spectator mode and I don't know how to take out the spectator mode and make it the player character, it also has a skybox and when i remove it this is the error in the water.lua script i get: attempt to index field 'water' (a nil value) line 25 this is what i used and followed directions on but still errors occur http://www.leadwerks.com/werkspace/files/file/468-water-prefab-for-leadwerks-31-steam-ed/ Thx for helping me! =) Quote Link to comment Share on other sites More sharing options...
metaldc4life Posted September 8, 2014 Author Share Posted September 8, 2014 and also this is line 25 App.water:SetParent(nil) 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.