nerfing speed
This commit is contained in:
parent
038780a805
commit
c41d60f60e
|
@ -65,7 +65,7 @@ function handleGpsAi(driver)
|
|||
local path = getElementData(driver,"gps-ai.path")
|
||||
local closestNodeID,closestNode = aiGetClosestNode(x,y,z,path)
|
||||
local checkNodeOneID,checkNodeOne = aiGetNextNode(path,closestNodeID,20 + ((speed * 0.15) * (speed * 0.01)))
|
||||
local checkNodeTwoID,checkNodeTwo = aiGetNextNode(path,closestNodeID,20 + ((speed * 0.4) * (speed * 0.01)))
|
||||
local checkNodeTwoID,checkNodeTwo = aiGetNextNode(path,closestNodeID,20 + ((speed * 0.8) * (speed * 0.008)))
|
||||
|
||||
--[[ hit = processLineOfSight(x,y,z,checkNodeOne.x,checkNodeOne.y,checkNodeOne.z + 0.5,true,false,false,true,false,false,false,false,nil,false,false)
|
||||
if hit then
|
||||
|
|
Loading…
Reference in New Issue