karmacomposer Posted June 24, 2017 Share Posted June 24, 2017 I have no idea how to use the 3rd person camera from the store. I added a character and a camera. It seems I need to load the 3rd person lua script to the camera. Fine. Did that. I have no way to point to the turtle character. If I try to load a render target, it wants a .tex file (a texture). WTF??? Then, when I test it with just a terrain and a turtle character, the camera and a few lights, I fall through the terrain as does everything else. How do I set up the terrain so it has physics and I can stand on it - and other models don't fall through to oblivion. How do I set up the models so they don't fall through the terrain? Most importantly, how do I choose the turtle as the 3rd person character? If I attach the 3rd person script to the turtle, I get only blackness when running. Nothing shows up. I assume that's not the way to do it. Help please. Thanks. Mike Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com Link to comment Share on other sites More sharing options...
Thirsty Panther Posted June 24, 2017 Share Posted June 24, 2017 Usually the 3rd person script is attached to your "player". Remove your camera from your screen and attach the 3rd person script to your turtle. Set your turtles physics mode to "character controller" and collision type to "character" Other models should be set as physic mode to "rigid body" and collision type to "prop". This should fix your problem. Quote Link to comment Share on other sites More sharing options...
karmacomposer Posted June 24, 2017 Author Share Posted June 24, 2017 Nope. That did not work for me. I wish there was a step by step tutorial on how to create a 3rd person game. Mike Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com Link to comment Share on other sites More sharing options...
AggrorJorn Posted June 29, 2017 Share Posted June 29, 2017 On 6/24/2017 at 7:26 AM, karmacomposer said: The terrain so it has physics and I can stand on it - and other models don't fall through to oblivion. Terrain created in the editor, has terrain physics by default. Do you want things to work out of the box or are you willing to code yourself? What third person script are you using? Posting a link to the items you are using helps people understanding your problem. Without seeing the script or even screenshots, we can only guess. Quote Link to comment Share on other sites More sharing options...
karmacomposer Posted June 29, 2017 Author Share Posted June 29, 2017 Sorry. I am using the 3rd person script that comes with Leadwerks in the scripts/player folder. Not really working for me at all. FPS works fine. Mike Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com Link to comment Share on other sites More sharing options...
AggrorJorn Posted June 29, 2017 Share Posted June 29, 2017 I haven't tried that one, but the one from the workshop works by simply attaching it to an entity that has the character controller physics. https://steamcommunity.com/sharedfiles/filedetails/?id=853889224&searchtext=Third-Person+Player+Script Quote Link to comment Share on other sites More sharing options...
karmacomposer Posted June 29, 2017 Author Share Posted June 29, 2017 That one does work - kind of. The character is facing forward and the walk animation looks stupid. How do I turn him around on the y axis 180 degrees, i believe in this function: function Script:Start() if self.entity:GetMass()==0 then self.entity:SetMass(10) end self.entity:SetPhysicsMode(Entity.CharacterPhysics) self.camera = Camera:Create() self.angle = self.entity:GetRotation().y self.cameraangle = self.angle + self.entity:GetCharacterControllerAngle() end How do I edit all of the animations (idle, walk, run, etc)? Thank you. Mike Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com Link to comment Share on other sites More sharing options...
karmacomposer Posted June 29, 2017 Author Share Posted June 29, 2017 I figured out how to slow the character down, but the camera facing the character's front is driving me nuts! I cannot figure out how to turn the 3rd person character or camera around to face away from the character. Any ideas? I also need to figure out how to allow the mouse up and down to allow the camera to move up and down like most 3rd person controllers. This script only limits you to rotation around the character. Mike Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com Link to comment Share on other sites More sharing options...
AggrorJorn Posted June 30, 2017 Share Posted June 30, 2017 When you select the character, go to the physics tab and there you see character rotation angle (or something like it.) Just set it to 180. I still have a Lua script somewhere that allows full control of the mouse as well. I will send it to you this weekend. It is a lua version of this C++ tutorial: Quote Link to comment Share on other sites More sharing options...
karmacomposer Posted June 30, 2017 Author Share Posted June 30, 2017 Thank you so much. I bought the Pro version but am NOT a c++ coder. Lua, yes. c++, no. Mike Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com 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.