Technology (Read Only) > Releases

Modified TTT (Old [Version 20] but useful and still working)

(1/9) > >>

mrciku:
Hello, if anyone knows PubGamer, you should know me. I was the developer (a.k.a. lua coder) there which apparently got shut down because of stupid DDoSers.

I am 75% complete on editing the latest version. But I have stopped work.

The TTT there was heavily modified by me and has lots of custom stuff. :troll:

Here are the list of stuff I can remember and still have in my backups folder:

1) Achievements


2) VIP Weapon System (Spawning with weapons of choice [No grenades and traitor items] with a user friendly menu on a press of F3.) [Weapons will not be given if there are no ammo for that type of weapon in the map.] {Probably not gonna be implemented but oh well, just showing off.}



3) New weapons
Hunting Shotgun



More traitor weapons (Poison Needle, Jihad Bomb [Leroy Jenkins], Drug Gun. etc)


And a few more!

4) Unstuck system (Common in TheThing)

--- Code: ---function SpaceForPlayer(ply, pos)
if server_settings.Bool("sv_cheats", 0) then
game.ConsoleCommand("drawline " .. tostring(ply:GetPos()) .. " " .. tostring(pos) .. "\n")
game.ConsoleCommand("drawline " .. tostring(pos+Vector(0,0,(ply:Crouching() and 36 or 72))) .. " " .. tostring(pos) .. "\n")
game.ConsoleCommand("drawline " .. tostring(pos+Vector(16,0,(ply:Crouching() and 16 or 36))) .. " " .. tostring(pos+Vector(-16,0,(ply:Crouching() and 16 or 36))) .. "\n")
game.ConsoleCommand("drawline " .. tostring(pos+Vector(0,16,(ply:Crouching() and 16 or 36))) .. " " .. tostring(pos+Vector(0,-16,(ply:Crouching() and 16 or 36))) .. "\n")
game.ConsoleCommand("drawline " .. tostring(pos+Vector(-16,-16,(ply:Crouching() and 36 or 72))) .. " " .. tostring(pos+Vector(16,16,0)) .. "\n")
game.ConsoleCommand("drawline " .. tostring(pos+Vector(16,16,(ply:Crouching() and 36 or 72))) .. " " .. tostring(pos-Vector(16,16,0)) .. "\n")
end
if util.IsInWorld(pos) then
if !util.TraceLine({start=ply:GetPos(), endpos=pos, filter=ply, mask=MASK_PLAYERSOLID}).Hit then --Trace to location
if !util.TraceLine({start=pos+Vector(0,0,(ply:Crouching() and 36 or 72)), endpos=pos, filter=ply, mask=MASK_PLAYERSOLID}).Hit then
if !util.TraceLine({start=pos+Vector(16,0,(ply:Crouching() and 16 or 36)), endpos=pos+Vector(-16,0,(ply:Crouching() and 16 or 36)), filter=ply, mask=MASK_PLAYERSOLID}).Hit then
if !util.TraceLine({start=pos+Vector(0,16,(ply:Crouching() and 16 or 36)), endpos=pos+Vector(0,-16,(ply:Crouching() and 16 or 36)), filter=ply, mask=MASK_PLAYERSOLID}).Hit then
if !util.TraceLine({start=pos+Vector(-16,-16,(ply:Crouching() and 36 or 72)), endpos=pos-Vector(16,16,0), filter=ply, mask=MASK_PLAYERSOLID}).Hit then
if !util.TraceLine({start=pos+Vector(16,16,(ply:Crouching() and 36 or 72)), endpos=pos-Vector(16,16,0), filter=ply, mask=MASK_PLAYERSOLID}).Hit then
return true
end
end
end
end
end
end
end
return false
end
function GM:ShowTeam(ply)
if ValidEntity(ply) then
if !GetConVar("ttt_enableunstuck"):GetBool() then ply:ChatPrint("Unstuck is disabled by an admin.") return end
//if string.match(game.GetMap(), "lost_temple") != nil or string.match(game.GetMap(), "enclave") != nil then ply:ChatPrint("Unstuck is not allowed in this map") return end
if ply:IsSpec() then return end
if (ply.unstuck and CurTime() < ply.unstuck) and !server_settings.Bool("sv_cheats", 0) then
ply:ChatPrint("You need to wait " .. math.Round(ply.unstuck - CurTime()) .. " more seconds to use unstuck again.")
return
end
local position = nil
for _,v in pairs(PointsAroundSpawn(ply)) do
if GetConVar("ttt_enablespecialunstuck"):GetBool() and SpaceForPlayer(ply, v) then
position = v
break
end
end
if position == nil then //if ply.unstuck == nil or (ply.unstuck and CurTime() > ply.unstuck) then
ply:ChatPrint("You will be sent to a spawn in 10 seconds. For now you will be frozen.")
ply.unstuck = CurTime() + 15
ply:Freeze(true)
GameMsg(ply:Nick() .. (GetConVar("ttt_enablespecialunstuck"):GetBool() and " is" or " claims to be") .. " stuck and will be sent to a spawn in 10 seconds.")
timer.Simple(10, function() if !ply:IsSpec() then ply:SetPos(GAMEMODE:PlayerSelectSpawn(ply):GetPos()) ply:Freeze(false) end end)
else
ply:SetPos(position)
ply.unstuck = CurTime() + 10
end
end
end
--- End code ---

5) UBER COOL MODDED DISGUISERS!



6) Radio impersonator
VIDEO (Recorded on my really old computer, don't mind the FPS :D): My New TTT Radio Function

7) Useless announcing system


8) Admin damage logs to check for RDMers (Random (Damagers/ DeathMathers))



And some other bug fixes that aren't even fixed in the latest update.

All of these were just captured today, thus the gamemode is STILL WORKING :D!

ٶȻhriʂ:
but wait.
i thought Vips cant have any advantages in-game

mrciku:

--- Quote from: Me Likes Dis! :D on June 22, 2011, 09:47:43 AM ---but wait.
i thought Vips cant have any advantages in-game

--- End quote ---

This was at PubGamer, not rANdOm.

ٶȻhriʂ:

--- Quote from: mrciku on June 22, 2011, 09:54:51 AM ---This was at PubGamer, not rANdOm.

--- End quote ---
ya but...aren't you Requesting them here?

mrciku:
Oh crap, wrong section, should be at the Releases.

But watcha think? If you overlook the VIP thingy.

Navigation

[0] Message Index

[#] Next page

Go to full version