Slimwaffle Posted June 22, 2018 Share Posted June 22, 2018 I have tried importing my own character. And attaching the default monster script. I loaded in animations and renamed them accordingly to interact with the script. However I am getting all sorts of random errors. And was wondering if someone could help. For this process I used fuse, mixamo and substance painter. First error is with meshing. When I create a material to apply the textures to my model.it doesn't let me apply textures to clothes and hair separately. The other issue is yes the character moves and the script appears to be working when selecting animations. But I get wild fps drop and stutter. And now the AI behaves erratic. Often stopping and doing nothing. The only thing I can think off is maybe slowing down the animation speeds. But I honestly don't know. Because they should work regardless of speed. Right now my dude has skin pants and his script and movement doesn't work properly. Is anyone able to help fix this? bandicam 2018-06-22 13-28-45-953.mp4 1 Quote Link to comment Share on other sites More sharing options...
Josh Posted June 22, 2018 Share Posted June 22, 2018 If you open the character in the model editor, you can drag a material onto one part of him, then save the model and you never have to do it again. For the other option, is it possible to upload your project? It's hard to diagnose otherwise. Scene looks cool! Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Yue Posted June 22, 2018 Share Posted June 22, 2018 One question, how many polygons is the humanoid model? Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 26, 2018 Author Share Posted June 26, 2018 19648 polygons. Seems like a lot Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 27, 2018 Author Share Posted June 27, 2018 turns out poly count is fine. Here is the attached project. I am getting all kinds of random errors e.g model T posing and not animating when textured. And no matter what massive reduction in fps. The model I am using now is in a folder called mixamo. Waffles.zip Quote Link to comment Share on other sites More sharing options...
Josh Posted June 27, 2018 Share Posted June 27, 2018 On 6/26/2018 at 11:30 AM, slimwaffle said: 19648 polygons. Seems like a lot Should not be an issue. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Yue Posted June 27, 2018 Share Posted June 27, 2018 I'm looking, and here it goes very slowly in the editor, I can't run the game since I don't have the additional packs that are purchased. What I think is that the models should have fewer polygons, since it seems that all those zombies add up to a lot of polygons on the scene, unless you have a very powerful computer. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 27, 2018 Author Share Posted June 27, 2018 Even if I delete them all. And only place in the custom one on its own. I still get the same issue Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 27, 2018 Author Share Posted June 27, 2018 This is just test scene while I am still building things and figuring out the engine. Eventually the project will be a sandbox level 1 Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 28, 2018 Author Share Posted June 28, 2018 Update - I don't get FPS lag anymore. And everything works fine. My only issue now. Is that when I generate material from tex and apply to character. It makes the character T pose. But from the shadows you can still see the animation playing. Without texture though this worked perfectly just from copying all the settings from crawler into new character. Quote Link to comment Share on other sites More sharing options...
Yue Posted June 28, 2018 Share Posted June 28, 2018 Click on the character in the aset tab, right click on it and then on the Reimport tab. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 28, 2018 Author Share Posted June 28, 2018 Ok I fixed the issue. I needed to make the shaders for the material animated. Apply to the character. (This removes animations) then reapply animations and save. Now my only Issue is the texture. Under closer inspection. I have discovered that. Fuse is creating the character and clothes on what I think on different layers. Because substance painter when the model is imported shows them on separate layers. But leadwerks is converting the model from obj all on one layer. Which makes the texture wrap over the clothes and hair. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 28, 2018 Author Share Posted June 28, 2018 And importing skinned FBX is worse because the textures just go black inside the engine. Quote Link to comment Share on other sites More sharing options...
Thirsty Panther Posted June 28, 2018 Share Posted June 28, 2018 From memory you do need to import the Fuse character skinned and import each animation separately. For the black texture check out Jorns video at the 2 minute mark. 1 Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 28, 2018 Author Share Posted June 28, 2018 yeah I followed this to fix the animations. The only issue now is that importing a skinned character generates blank materials that appear all black. Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 29, 2018 Author Share Posted June 29, 2018 I was able to get body and hair to separate properly. Because fuse puts body on one layer and everything else on a second layer when creating textures. I would add hair export. remove hair. So only hair was on second layer. And import skinned FBX to leadwerks. Then apply hair textures to blank material generated for hair. And repeat the process for each item (top, pants and so on). This worked great for hair. But now my problem is clothing items aren't texturing properly. Is there a way to combine surfaces in model editor into a single surface. So that I can do hair and clothes on a single texture? bandicam 2018-06-29 11-28-51-069.mp4 1 Quote Link to comment Share on other sites More sharing options...
Slimwaffle Posted June 29, 2018 Author Share Posted June 29, 2018 I fixed everything. Poly count is my only issue now. Thanks for the help guys. 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.