Jump to content

Jazz

Members
  • Posts

    265
  • Joined

  • Last visited

Everything posted by Jazz

  1. Jazz

    Level 3

  2. Quick level 1 full play through.
  3. Jazz

    pointentity

    This thread is from 2011. There is no PointEntity anymore, it is Point. self.entity:Point(Entity2) self.entity is the entity the script is attached to.
  4. Did you create a navmesh?
  5. Here's the function for the staff I did in this old video. Offsets were trial and error and need changing for each model. It's called in UpdateWorld() That was my only attempt so there's probably a better way. function Script:AttachWeapon() if self.fingerBone == nil then self.fingerBone = self.entity:FindChild("Bone R Finger11") if self.fingerBone == nil then Debug:Error("Finger bone to attach weapon to not found.") end end local fingerPos = self.fingerBone:GetPosition(true) local fingerRot = self.entity:GetRotation(true) local tscale = self.entity:GetScale() local fPos = Transform:Point(0.01 / tscale.x, .02 / tscale.y, .03 / tscale.z, self.fingerBone, nil) --offset playerInfo[ourID].weaponEntity:SetPosition(fPos.x, fPos.y, fPos.z, true) playerInfo[ourID].weaponEntity:SetRotation(fingerRot.x-23, fingerRot.y, fingerRot.z, true) end
  6. Put that command in your .bat file. It will output it in output.txt
  7. cscdvmp.exe > output.txt Lua Error: [string "/Scripts/Custom Scripts/Menu/MenuFunctions.lua"]:69: attempt to index a nil value
  8. I've had that happen as well as tree shadows appearing where there are no trees.
  9. Still plans for a road tool? SetLayerAlpha/GetLayerAlpha appear to be broken so it can't be done that way.
  10. Here's a compiled version to try. terraintest.rar · 23.58 MB https://www.dropbox.com/s/0wbgdtz1huytp4d/terraintest.rar?dl=0
  11. Not yet. That will be done later.
  12. Testing new camera collision in multiplayer. https://youtu.be/rE215rmE6Gs
  13. Was playing with terrain the other day for fun so I put it in the workshop. It's too bad not all the terrain commands are working/exposed to lua. " terrainCutter.lua Lowers terrain the size of the model/CSG it's attached to. terrainRemove.lua lowers it when you enter the model's AABB then restores it when not in it's AABB. " https://www.leadwerks.com/workshopitem?tags=&queryType=1&fileType=0&fileid=938356115
  14. Maybe I missed something. I'm talking about the character falling through the platform.
  15. What happens if you run it and don't move the mouse either?
×
×
  • Create New...