aboutsummaryrefslogtreecommitdiff
path: root/gamemode
diff options
context:
space:
mode:
Diffstat (limited to 'gamemode')
-rw-r--r--gamemode/itemsystem/items/bow.lua4
-rw-r--r--gamemode/npcsystem/npcs/antlion1.lua2
-rw-r--r--gamemode/npcsystem/npcs/antlion2.lua2
-rw-r--r--gamemode/npcsystem/npcs/antlion3.lua4
-rw-r--r--gamemode/npcsystem/npcs/antlion4.lua2
-rw-r--r--gamemode/npcsystem/npcs/bird.lua2
-rw-r--r--gamemode/npcsystem/npcs/zombie.lua2
-rw-r--r--gamemode/server/damagemod.lua2
8 files changed, 10 insertions, 10 deletions
diff --git a/gamemode/itemsystem/items/bow.lua b/gamemode/itemsystem/items/bow.lua
index 3292ef6..4a7f203 100644
--- a/gamemode/itemsystem/items/bow.lua
+++ b/gamemode/itemsystem/items/bow.lua
@@ -43,11 +43,11 @@ ITEM.CD = 1
local arrow = {}
arrow["model"] = "models/mixerman3d/other/arrow.mdl"
-arrow["speed"] = 13000
+arrow["speed"] = 1300
arrow["drop"] = 50
arrow["init"] = function(fb) end
arrow["onhit"] = function (self,data,phys)
- print("Arrow hit ")
+ --print("Arrow hit ")
PrintTable(data.HitEntity)
if(data.Entity and data.Entity.TakeDamage) then
data.HitEntity:TakeDamage(25)
diff --git a/gamemode/npcsystem/npcs/antlion1.lua b/gamemode/npcsystem/npcs/antlion1.lua
index c9ae1b6..2c3d908 100644
--- a/gamemode/npcsystem/npcs/antlion1.lua
+++ b/gamemode/npcsystem/npcs/antlion1.lua
@@ -67,7 +67,7 @@ local dorun = function(self, ply)
self:StartActivity(ACT_WALK)
self:MoveToPos(ply:GetPos(),moveop)
else
- print("Could not find valid navmesh, suicideing to prevent server crash!")
+ --print("Could not find valid navmesh, suicideing to prevent server crash!")
self:BecomeRagdoll(DamageInfo())
end
end
diff --git a/gamemode/npcsystem/npcs/antlion2.lua b/gamemode/npcsystem/npcs/antlion2.lua
index e50cce4..5b53b8e 100644
--- a/gamemode/npcsystem/npcs/antlion2.lua
+++ b/gamemode/npcsystem/npcs/antlion2.lua
@@ -86,7 +86,7 @@ local dorun = function(self, ply)
self:StartActivity(ACT_WALK)
self:MoveToPos(ply:GetPos(),moveop)
else
- print("Could not find valid navmesh, suicideing to prevent server crash!")
+ --print("Could not find valid navmesh, suicideing to prevent server crash!")
self:BecomeRagdoll(DamageInfo())
end
end
diff --git a/gamemode/npcsystem/npcs/antlion3.lua b/gamemode/npcsystem/npcs/antlion3.lua
index f5f5486..984b779 100644
--- a/gamemode/npcsystem/npcs/antlion3.lua
+++ b/gamemode/npcsystem/npcs/antlion3.lua
@@ -73,7 +73,7 @@ local docharge = function(self,ply)
moveop.draw = true
self:MoveToPos(ply:GetPos(),moveop)
else
- print("Could not find valid navmesh, suicideing to prevent server crash!")
+ --print("Could not find valid navmesh, suicideing to prevent server crash!")
self:BecomeRagdoll(DamageInfo())
end
timer.Remove("Runcycle")
@@ -97,7 +97,7 @@ local dorun = function(self, ply)
self:StartActivity(ACT_WALK)
self:MoveToPos(ply:GetPos(),moveop)
else
- print("Could not find valid navmesh, suicideing to prevent server crash!")
+ --print("Could not find valid navmesh, suicideing to prevent server crash!")
self:BecomeRagdoll(DamageInfo())
end
end
diff --git a/gamemode/npcsystem/npcs/antlion4.lua b/gamemode/npcsystem/npcs/antlion4.lua
index cb39049..0b5825c 100644
--- a/gamemode/npcsystem/npcs/antlion4.lua
+++ b/gamemode/npcsystem/npcs/antlion4.lua
@@ -68,7 +68,7 @@ local dorun = function(self, ply)
self:StartActivity(ACT_WALK)
self:MoveToPos(ply:GetPos(),moveop)
else
- print("Could not find valid navmesh, suicideing to prevent server crash!")
+ --print("Could not find valid navmesh, suicideing to prevent server crash!")
self:BecomeRagdoll(DamageInfo())
end
end
diff --git a/gamemode/npcsystem/npcs/bird.lua b/gamemode/npcsystem/npcs/bird.lua
index 55a5c3d..0efa7b0 100644
--- a/gamemode/npcsystem/npcs/bird.lua
+++ b/gamemode/npcsystem/npcs/bird.lua
@@ -50,7 +50,7 @@ local dorun = function(self,ply)
if navarea:IsValid() then
self:MoveToPos(topos)
else
- print("Suicideing a bird to prevent server crash!")
+ --print("Suicideing a bird to prevent server crash!")
self:BecomeRagdoll(DamageInfo())
end
end
diff --git a/gamemode/npcsystem/npcs/zombie.lua b/gamemode/npcsystem/npcs/zombie.lua
index de4a389..41dad0f 100644
--- a/gamemode/npcsystem/npcs/zombie.lua
+++ b/gamemode/npcsystem/npcs/zombie.lua
@@ -68,7 +68,7 @@ local dorun = function(self, ply)
self:StartActivity(ACT_WALK)
self:MoveToPos(ply:GetPos(),moveop)
else
- print("Could not find valid navmesh, suicideing to prevent server crash!")
+ --print("Could not find valid navmesh, suicideing to prevent server crash!")
self:BecomeRagdoll(DamageInfo())
end
end
diff --git a/gamemode/server/damagemod.lua b/gamemode/server/damagemod.lua
index c90fb52..9da9805 100644
--- a/gamemode/server/damagemod.lua
+++ b/gamemode/server/damagemod.lua
@@ -1,6 +1,6 @@
function GM:GetFallDamage(ply, speed)
- print("Fall dammage detected:" .. speed)
+ --print("Fall dammage detected:" .. speed)
if(ply:HasItem("Feather-fall Rune",1)) then
ply:RemoveItem("Feather-fall Rune",1)
return 0