Mr.Wolfas Posted August 10, 2017 Share Posted August 10, 2017 hello. I'm creating my first game, so I'm like a noob in here. I geting error: Player mass should be greaten than 0. but I set my player mass to 10. I tried to rise it up, but it doesn't work. I tried to delete player and player.lua script, then go to project manager and update my game, but that doesn,t help at all. I was trying to make my player climb up the ladders( I folowed youtube video), but it was unsuccessful. So I deleted all things and start to do something like a elevator. then I created it, I pressed debug button. but I get that error. I trying to fix almost few hours. please help my and I'm sorry for my english misstakes. I hope picture will help Quote Link to comment Share on other sites More sharing options...
cassius Posted August 10, 2017 Share Posted August 10, 2017 If you are using fpsplayer you can set mass in its properties ( in scene panel) I set mine to 40. 1 Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
AggrorJorn Posted August 11, 2017 Share Posted August 11, 2017 Can you also post a screenshot of your player's physics tab properties? Make sure the mass of the entity is adjusted that has the player script attached. 1 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 11, 2017 Author Share Posted August 11, 2017 thank you guys for help. Aggror I'm sending player's ohysics tab Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted August 12, 2017 Share Posted August 12, 2017 Its been awhile since I watched those videos but doesn't Jorn (Aggror) modify the Player script in the ladder video. If you have deleted it you will lose any changes that were made to it. It would be helpful if you show us your Ladder script and your player script showing the movement section where the player is climbing. 1 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 12, 2017 Author Share Posted August 12, 2017 I deleted ladder script and I tried delet all changes in player's script. Then somewhere I readed that someone also breaked player's script and leadwerks said" You can delete the file and then update your project (File > Project Manager) and it will see the file is missing and copy it over from the template". So I did it, but it doesn't helped at all Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted August 12, 2017 Share Posted August 12, 2017 I've attached original copies of Jorns scripts from the videos. LadderTrigger.lua FPSPlayer.lua Hope these help. 1 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 13, 2017 Author Share Posted August 13, 2017 nope... that doesn't helped... I change this line" if self.entity:GetMass()==0 then Debug:Error("Player mass should be greater than 0.") " to this" if self.entity:GetMass()==1 then Debug:Error("Player mass should be greater than 0.") ", then game turned on. but controls doesn't worked( maybe this is important). By the way I'm really thankful for your help Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted August 14, 2017 Share Posted August 14, 2017 Can you post your map + scripts? Without a mass the player won't move, so input controls are discarded. For some reason the mass is not set or being removed before you take your first steps. 1 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 14, 2017 Author Share Posted August 14, 2017 okay. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted August 14, 2017 Share Posted August 14, 2017 I mean the actual project files, so that we can try it out ourselves. Additionaly a screenshot of your player structure. To which object is your player attached. Your previous screenshots show the script tab, but not the actual entity it is attached to in your scene. 1 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 14, 2017 Author Share Posted August 14, 2017 okay. You wanna get all map and script files or just some of them? And if some of them, then which ones? By the way tanks Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 14, 2017 Author Share Posted August 14, 2017 hi guys, I just a moment get this error( maybe this will help). Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 15, 2017 Author Share Posted August 15, 2017 hi. I get another error( I'm sending these error, because maybe of them my game not turning on). Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted August 16, 2017 Share Posted August 16, 2017 Those are some odd errors. Make sure you have the latest graphics drivers. Could you also post your specs. 1 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 16, 2017 Author Share Posted August 16, 2017 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 17, 2017 Author Share Posted August 17, 2017 hello guys. I don't what is heppening... It looks like my leadwerks break down completely. Now I can't even open my project. I deleted a lot of things I was downoalded to leadwerks and leaved only one project. But it doesn't work... Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted August 18, 2017 Share Posted August 18, 2017 just a longshot, but try deletin leadwerks and reinstalling it. 1 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 18, 2017 Author Share Posted August 18, 2017 no, still doesn't work... Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted August 18, 2017 Share Posted August 18, 2017 Last attempt before creating a bug report: - If you create a new project, do you get the same errors? If not, then there is something wrong inside your current map. I create a bug report and attach your map. Export your project and see if the map opens when there are no models in exported project. 1 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 18, 2017 Author Share Posted August 18, 2017 As I remeber I wasn't getting such errors like I geting now. First then I start to work, it seems to me that I don't any errors at all. By the way thank you for help Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 18, 2017 Author Share Posted August 18, 2017 How to turn on Leadwerks project manager? Because I try my old way, but then I get that shadow map error leadwerks shut down. Quote Link to comment Share on other sites More sharing options...
AggrorJorn Posted August 18, 2017 Share Posted August 18, 2017 I don't know what the file is called from the top of my head, but I think you can change the leadwerks config file, so that Leadwerks does not start with the last loaded project/map. 1 Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 18, 2017 Author Share Posted August 18, 2017 okay I will try Quote Link to comment Share on other sites More sharing options...
Mr.Wolfas Posted August 18, 2017 Author Share Posted August 18, 2017 No, I can't find that, sorry 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.