\-TODO: Set up jump so target lands on parabola. Local maxAttackDistance = npc\_Cesar\_attack\_distance:GetInt() Local zDifference = targetPos.z - self:GetPos().z Local xyDistSqr = (targetPos - self:GetPos()):Length2DSqr() Local targetPos = self.CurrentTarget:GetPos() if not self:IsOnGround() then return end Huh? In the code the slash is not backwards. gma format you have to go to the gmod source files and find the operation called Gmad. I will put my test nextbot's link so you can reskin that. You can use the link to download a nextbot and reskin it. Comment if this helped you.įinal option: If all else fails then you can always reskin an already made nextbot by downloading the bot and adding your own sound and pictures. Your nextbot will work fine if capitalized but won't play the chase music, only if it's lowercase. ![]() Naming: If you have a nextbot called Bob you have to name the nextbot like this "npc_bob" not "npc_Bob" in other words don't capitalize the name of your nextbot. here are the lines of code I had that needed to be fixed, this might not be the same for you. I recommend starting with a new Lua file and making sure the word attempt isn't overwritten with the name of your nextbot. This affects the words "attempt" in the file messing up the code. They say to replace all "temp" text with the name of your nextbot, however, if you do this for all this breaks the sound. When you make a nextbot from the online tutorials they give you a template to work off of. Lua File: This was the problem for me when I made my nextbot. ![]() Sound file: Your sound file could be the reason your sound isn't working at all. If you find any new ways to fix the sound leave a conmment. I have collected information from this post and have done my own research/investigations to provide tips to help fix the nextbot's sound.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |