Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portuguese Brazilian translation #50

Open
wants to merge 93 commits into
base: daryl-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
aa9bb27
Update ru.lua
realpack Aug 2, 2017
5b474a2
Update ru.lua
realpack Aug 2, 2017
4cbd882
Merge pull request #11 from RealPackages/patch-1
Guilhem-Pech Aug 2, 2017
bd01c88
Revert "Adding the Russian language."
Garrus2142 Aug 2, 2017
677c5c2
Revert fucking daryl merge
Garrus2142 Aug 2, 2017
62918d3
German Translation added
Sodak Aug 6, 2017
8ada941
Little fixs: Spam / Name error
Guilhem-Pech Aug 7, 2017
e05ae3b
Added Oneline before Daryl forget it :D
Aug 7, 2017
2e3aaa1
better Radius 200 was to close
Aug 7, 2017
cfbe6a9
Test if FirstTimePredicted
Guilhem-Pech Aug 7, 2017
ce5de9d
Better radius but it'll probably be increased again
Guilhem-Pech Aug 7, 2017
b10ddc5
Hopefully fix the votemap persistant error
Guilhem-Pech Aug 7, 2017
eae263d
Content into workshop.
Aug 9, 2017
bd5cd84
Made the the entityindicator great again
Guilhem-Pech Aug 9, 2017
0264d5b
Merge pull request #29 from Sodak/patch-2
Garrus2142 Aug 9, 2017
7e75262
Dead chat
Guilhem-Pech Aug 9, 2017
6e4154c
Merge branch 'dev' of https://github.com/Garrus2142/Slashers into dev
Guilhem-Pech Aug 9, 2017
e4752e4
Fix start message console do not print survivors class.
Aug 9, 2017
a64a945
Remove old killer class
Aug 9, 2017
c5ee87b
Remove unused vars
Aug 9, 2017
9ea1b51
Fix value
Aug 9, 2017
80b3426
Change killer/map system.
Aug 9, 2017
83a5c93
Fix votemap
Aug 9, 2017
ba3b703
Merge branch 'garrus-dev' into dev
Aug 9, 2017
308647a
Fix syntax error generator
Aug 9, 2017
dbb4416
Add config convars
Aug 9, 2017
2c771b3
Shy girl ability
Guilhem-Pech Aug 10, 2017
258f97d
Merge branch 'dev' of https://github.com/Garrus2142/Slashers into dev
Guilhem-Pech Aug 10, 2017
ac7577f
None provided - Merge
Guilhem-Pech Aug 10, 2017
14a2922
Fix merge issue
Guilhem-Pech Aug 10, 2017
6faf24d
Added shy ability onto the new system
Guilhem-Pech Aug 10, 2017
34cdea2
Remove bizarre stuff - Failed merge
Guilhem-Pech Aug 10, 2017
626fb50
Old variable never replaced
Guilhem-Pech Aug 10, 2017
c956444
Remove unused config variable.
Aug 10, 2017
1e7b552
Add convars list
Aug 10, 2017
01be75a
Fix shy proxy
Guilhem-Pech Aug 10, 2017
c0d0157
Fix Shygirl lodge
Guilhem-Pech Aug 10, 2017
df5e79a
Fix votemap - Convar
Guilhem-Pech Aug 10, 2017
e18ae57
Fix console saying
Aug 10, 2017
3ba357a
Fix votemap autostart.
Aug 10, 2017
d401136
Fix bug with reopen frame.
Aug 10, 2017
0822c27
Add changelog
Aug 10, 2017
6caef73
Make votemap great again (again)
Guilhem-Pech Aug 10, 2017
b00a8af
Add version into gamemode.
Aug 10, 2017
0139cbf
Merge branch 'experimental'
Aug 10, 2017
e65b873
Create pl.lua
danx91 Aug 12, 2017
aa07a71
Add language support
Aug 12, 2017
56ce0dc
Merge branch 'danx91-master' into dev
Aug 12, 2017
d7f2496
German translation modifications
Aug 12, 2017
cd18f43
Merge pull request #41 from fnoah/master
Garrus2142 Aug 12, 2017
6c363a4
Fixs: Killer help Shy Ability Votemap
Guilhem-Pech Aug 12, 2017
33a492e
New objectives spawn positions Highschool
Guilhem-Pech Aug 13, 2017
7521cb6
Fix sounds path
Aug 13, 2017
df0b9de
Merge branch 'dev' of https://github.com/garrus2142/slashers into dev
Aug 13, 2017
a915888
Fix Killerabilities
Guilhem-Pech Aug 13, 2017
3d455d1
Merge branch 'dev' of https://github.com/Garrus2142/Slashers into dev
Guilhem-Pech Aug 13, 2017
c1b899d
Update changelog to 1.1.1
Aug 13, 2017
de9b144
Improve votemap
Guilhem-Pech Aug 13, 2017
2a6654f
Merge branch 'dev' of https://github.com/Garrus2142/Slashers into dev
Guilhem-Pech Aug 13, 2017
82f2e50
Not extend forever
Guilhem-Pech Aug 13, 2017
39cd90d
Cleaning stuff :cow:
Guilhem-Pech Jan 8, 2018
125ea19
Begin slash_motel integration
Guilhem-Pech Jan 8, 2018
886c11c
Merge branch 'dev' of https://github.com/Garrus2142/Slashers into dev
Guilhem-Pech Jan 8, 2018
2569152
Add Brazilian Portuguese translation
Guilhem-Pech Feb 15, 2018
2765852
Maj Bates
Guilhem-Pech Aug 6, 2018
1d26151
Update README.md
Guilhem-Pech Aug 6, 2018
8bb8416
Update changelog
Guilhem-Pech Aug 6, 2018
3c65e56
Fix chasemode and killers
Guilhem-Pech Oct 21, 2018
8b483ac
Update ru.lua
keytruth Jan 2, 2020
224041d
Merge pull request #57 from keytruth/patch-2
Garrus2142 Jan 2, 2020
d06ae92
ZH-TW translation. 繁體中文翻譯
henry753951 Feb 21, 2021
fde865b
Fix slash_subway
Frosty1940 May 27, 2021
8b4db33
Korean language
Frosty1940 May 27, 2021
c9b739e
Merge pull request #65 from Frosty1940/master
Guilhem-Pech May 27, 2021
514f548
Merge pull request #64 from Frosty1940/patch-2
Guilhem-Pech May 27, 2021
9121dde
Merge pull request #62 from henry753951/patch-1
Guilhem-Pech May 27, 2021
527794a
Little Correct : String -> Function
Yoshi-OOF Jun 26, 2022
bdc7894
Merge pull request #68 from Yoshi-OOF/patch-1
Guilhem-Pech Jun 27, 2022
d10ceb4
Check if ENT is valid before checking line
Yoshi-OOF Jul 4, 2022
84c13cb
Merge pull request #69 from Yoshi-OOF/patch-2
Guilhem-Pech Jul 5, 2022
036bb46
health fix
KurimuzonAkuma Aug 21, 2022
3daaab5
Merge pull request #70 from KurimuzonAkuma/master
Garrus2142 Aug 21, 2022
84e54ed
Add "category" field in gamemode text file
KurimuzonAkuma Oct 14, 2022
626fe86
Update slashers.txt
KurimuzonAkuma Oct 14, 2022
6a452de
stun_gun fix #44
KurimuzonAkuma Oct 14, 2022
e370e9e
Update ru.lua
KurimuzonAkuma Oct 14, 2022
30abedc
Add Simplified Chinese
sbzlzh Mar 20, 2023
97147b1
Merge pull request #75 from sbzlzh/master
Garrus2142 Mar 20, 2023
8c75a60
update
sbzlzh Dec 12, 2023
b41225c
Update sv_hook.lua
sbzlzh Dec 12, 2023
ebb87aa
update
sbzlzh Dec 12, 2023
def4e6f
Update cl_rounds.lua
sbzlzh Dec 12, 2023
7375b13
Update deprecated functions
Apr 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [1.2.0] - 2018-08-06
### Added
- New map (slash_motel)
- New killer (Norman Bates)
- Add Brazilian Portuguese translation by @Viking321

## [1.1.1] - 2017-08-13
### Added
- Polish translation by @danx91

### Changed
- Change objectives spawn positions on slash_highschool.

### Fixed
- Fixed shy ability on slash_subway
- Fixed shy ability on slash_selvage
- Fixed votemap

## [1.1.0] - 2017-08-10
### Added
- Language support system. (Make your own in gamemode/languages/xx.lua)
- Russian translation by @RealPackages.
- German translation by @Sodak.
- French translation by @Guilhem-Pech.
- Votemap.
- Add config convars. See convars.txt for description.

### Changed
- Add toggle for f1menu.
- Ghostface's ability has now a detection radius.
- Myers's ability has now a cooldown.
- Dead player can't chat with a live player.
- The shy girl can see trap on slash_lodge and see the Proxy icon if he invisible on slash_subway.
- [*For developpers*] New killer/map system. Incompatible with older custom killer/map.

### Removed
- Config vars in config.lua replaced by convars.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ If you found bug, please create an issue on github.
Join the Steam group to get the latest news :
http://steamcommunity.com/groups/gslashers

Play now on the official servers :
* [Server #1](steam://connect/utopia-games.net:27075) : utopia-games.net:27075
* [Server #2](steam://connect/utopia-games.net:27107) : utopia-games.net:27107
* [Server #3](steam://connect/utopia-games.net:27109) : utopia-games.net:27109
* [Server #4](steam://connect/utopia-games.net:27110) : utopia-games.net:27110

If you like this gamemode, feel free to join the Utopia-Games Steam group to get the latest news about our other and upcoming projects :
http://steamcommunity.com/groups/utopia-games

Expand Down
Binary file removed content/materials/votemap/votemap_1.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_2.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_3.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_4.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_5.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_exiticon.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_extend.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_highschool.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_lodge.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_random.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_selvage.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_subway.png
Binary file not shown.
Binary file removed content/materials/votemap/votemap_summercamp.png
Binary file not shown.
43 changes: 43 additions & 0 deletions convars.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
"slashers_antiafk_afkmsgtime" = "15"
game server_can_execute lua_server
- Set afk message duration before being kick

"slashers_antiafk_afktime" = "60"
game server_can_execute lua_server
- Set afktime duration in seconds

"slashers_antiafk_enable" = "0" ( def. "1" )
game server_can_execute lua_server
- Enable / Disable antiafk

"slashers_round_max" = "5"
game replicated server_can_execute lua_server
- Max round before change map.

"slashers_duration_waitingpolice_addsurv" = "22.500000" ( def. "22.5" )
game replicated server_can_execute lua_server
- Added duration per each survivors before police arrived. (in seconds)

"slashers_duration_waitingpolice_base" = "32.500000" ( def. "32.5" )
game replicated server_can_execute lua_server
- Initial duration before police arrived. (in seconds)

"slashers_duration_addobj" = "120"
game replicated server_can_execute lua_server
- Added duration per each objective completed. (in seconds)

"slashers_duration_addsurv" = "52.500000" ( def. "52.5" )
game replicated server_can_execute lua_server
- Added duration per each survivors. (in seconds)

"slashers_duration_base" = "67.500000" ( def. "67.5" )
game replicated server_can_execute lua_server
- Initial round duration. (in seconds)

"slashers_round_min_player" = "3"
game replicated server_can_execute lua_server
- Set minimum players required to start a round.

"slashers_lang_default" = "en"
game replicated server_can_execute lua_server
- Set default language of gamemode.
12 changes: 12 additions & 0 deletions entities/entities/batesmum/cl_init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
-- Utopia Games - Slashers
--
-- @Author: Vyn
-- @Date: 2017-07-26 00:53:59
-- @Last modified by: Guilhem PECH
-- @Last modified time: 2018-01-09 17:05:52

include('shared.lua')

function ENT:Draw()
self:DrawModel()
end
93 changes: 93 additions & 0 deletions entities/entities/batesmum/init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
-- @Author: Guilhem PECH <Daryl_Winters>
-- @Date: 2018-01-09 11:09:22
-- @Email: guilhempech@gmail.com
-- @Project: Slashers
-- @Last modified by: Guilhem PECH
-- @Last modified time: 2018-01-11 16:59:23
local GM = GM or GAMEMODE
AddCSLuaFile("cl_init.lua") -- Make sure clientside
AddCSLuaFile("shared.lua") -- and shared scripts are sent.
include("shared.lua")
util.AddNetworkString("slash_mother_bates")
local timer = 0

local radiusFar = 500
local radiusMedium = 400
local radiusClose = 200

local function getDistanceNearestPlayer(table, origin)
local result = false

for k, v in ipairs(table) do
if v:IsValid() and v:IsPlayer() and v:Team() ~= TEAM_KILLER and (not result or v:GetPos():Distance(origin) < result) then
result = v:GetPos():Distance(origin)
end
end

return result
end

function ENT:Think()
local status = 0
if not GM.ROUND.Active then return end
if (timer + 0.5) < CurTime() then
timer = CurTime()

proximityPlayers = getDistanceNearestPlayer(ents.FindInSphere(self:GetPos(), radiusFar or 500), self:GetPos())

if not proximityPlayers then
print("Not")
GM.ROUND.Killer:SetWalkSpeed( GM.MAP.Killer.WalkSpeed )
GM.ROUND.Killer:SetRunSpeed(GM.MAP.Killer.RunSpeed )
status = 0
elseif proximityPlayers <= radiusClose then
print("Supplosed =", GM.MAP.Killer.WalkSpeed * 1.8)
GM.ROUND.Killer:SetWalkSpeed( GM.MAP.Killer.WalkSpeed * 1.8 )
GM.ROUND.Killer:SetRunSpeed(GM.MAP.Killer.RunSpeed * 1.8)
status = 3
elseif proximityPlayers <= radiusMedium then
print("Supplosed =", GM.MAP.Killer.WalkSpeed * 1.3)
GM.ROUND.Killer:SetWalkSpeed( GM.MAP.Killer.WalkSpeed * 1.3 )
GM.ROUND.Killer:SetRunSpeed(GM.MAP.Killer.RunSpeed * 1.3)
status = 2
else
print("Supplosed =", GM.MAP.Killer.WalkSpeed * 1.1)
GM.ROUND.Killer:SetWalkSpeed( GM.MAP.Killer.WalkSpeed * 1.1 )
GM.ROUND.Killer:SetRunSpeed(GM.MAP.Killer.RunSpeed * 1.1)
status = 1
end

net.Start("slash_mother_bates")
net.WriteUInt(status, 3)
net.Broadcast()
end
end

local ragdoll = ents.Create("prop_ragdoll")

function ENT:Initialize()
if ConVarExists("slashers_bates_far_radius") and ConVarExists("slashers_bates_medium_radius") and ConVarExists("slashers_bates_close_radius") then
radiusFar = GetConVar("slashers_bates_far_radius"):GetInt()
radiusMedium = GetConVar("slashers_bates_medium_radius"):GetInt()
radiusClose = GetConVar("slashers_bates_close_radius"):GetInt()
end
for k,v in pairs(ents.GetAll()) do
if v:GetName() == "slash_bates_points" then
v:Remove()
end
end
if (not IsValid(ragdoll)) then
ragdoll = ents.Create("prop_ragdoll")
end
ragdoll:SetModel("models/skeleton/skeleton_whole_noskins.mdl")
ragdoll:PhysicsInit(SOLID_VPHYSICS)
ragdoll:GetPhysicsObject():EnableDrag(true)
ragdoll:SetPos(self:GetPos())
self:SetParent(ragdoll)
ragdoll:Spawn()
ragdoll:SetName("slash_bates_mother")
self:SetName("slash_bates_points")
end

function ENT:Touch(ent)
end
15 changes: 15 additions & 0 deletions entities/entities/batesmum/shared.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
-- @Author: Guilhem PECH <Daryl_Winters>
-- @Date: 2018-01-09 11:09:22
-- @Email: guilhempech@gmail.com
-- @Project: Slashers
-- @Last modified by: Guilhem PECH
-- @Last modified time: 2018-01-09 17:05:43


ENT.Type = "point"
ENT.Author = "Daryl Winters"
ENT.PrintName = "Bates Mother"
ENT.Spawnable = true
--ENT.AutomaticFrameAdvance = true

slashers_batesmum_maxtap = 1
12 changes: 7 additions & 5 deletions entities/entities/sls_generator/cl_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,22 @@
--
-- @Author: Guilhem PECH
-- @Date: 2017-07-26T13:54:42+02:00
-- @Last Modified by: Guilhem PECH
-- @Last Modified time: 2017-07-26T15:16:10+02:00
-- @Last Modified by: Daryl_Winters
-- @Last Modified time: 2017-08-10T14:50:49+02:00



include("shared.lua")

ENT.RenderGroup = RENDERGROUP_BOTH
function ENT:Initialize()
end

function ENT:Draw()
self.Entity:DrawModel()
end

function ENT:Think()

function ENT:DrawTranslucent()
if LocalPlayer():IsLineOfSightClear( self.Entity ) and self.Entity:GetPos():Distance( LocalPlayer():GetPos()) < 150 and LocalPlayer():Team() != TEAM_KILLER then
DrawIndicator(self.Entity)
end
end
11 changes: 9 additions & 2 deletions entities/entities/sls_jerrican/cl_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
--
-- @Author: Guilhem PECH
-- @Date: 2017-07-26T13:54:42+02:00
-- @Last Modified by: Guilhem PECH
-- @Last Modified time: 2017-07-26T15:16:12+02:00
-- @Last Modified by: Daryl_Winters
-- @Last Modified time: 2017-08-09T15:07:21+02:00



include("shared.lua")
ENT.RenderGroup = RENDERGROUP_BOTH

function ENT:Initialize()
end
Expand All @@ -16,6 +17,12 @@ function ENT:Draw()
self.Entity:DrawModel()
end

function ENT:DrawTranslucent()
if LocalPlayer():IsLineOfSightClear( self.Entity ) and self.Entity:GetPos():Distance( LocalPlayer():GetPos()) < 150 and LocalPlayer():Team() != TEAM_KILLER then
DrawIndicator(self.Entity)
end
end

function ENT:Think()

end
66 changes: 66 additions & 0 deletions entities/entities/sls_motherbates/cl_init.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
-- Utopia Games - Slashers
--
-- @Author: Guilhem PECH
-- @Date: 2017-07-26T13:54:42+02:00
-- @Last modified by: Guilhem PECH
-- @Last modified time: 15-Apr-2018

include("shared.lua")


local GM = GM or GAMEMODE


GM.oldLevel = null
GM.SoundPlayed = null

ENT.RenderGroup = RENDERGROUP_BOTH

GM.MommyEntity = nil

function ENT:Initialize()
GM.MommyEntity = self
end

function ENT:Draw()
self.Entity:DrawModel()
end

local function HUDPaintBackground()
if LocalPlayer():Team() != TEAM_KILLER || !GM.ROUND.Active || !IsValid(GM.MommyEntity) then return end

local pos = GM.MommyEntity:GetPos():ToScreen()
local color = Color(255,255,255)
if GM.oldLevel == 3 then
color = Color(255,0,0)
elseif GM.oldLevel == 1 then
color = Color(0,255,0)
elseif GM.oldLevel == 2 then
color = Color(255, 239, 0)
else
color = Color(255, 255, 255)
end

surface.SetDrawColor(color)
surface.SetMaterial(Material("icons/icon_mother.png"))
surface.DrawTexturedRect(pos.x - 50, pos.y -100, 64, 64)
end
hook.Add("HUDPaintBackground", "sls_kability_HUDPaintBackground", HUDPaintBackground)

function ENT:DrawTranslucent()
if LocalPlayer():IsLineOfSightClear( self.Entity ) and self.Entity:GetPos():Distance( LocalPlayer():GetPos()) < 150 and LocalPlayer():Team() != TEAM_KILLER then
DrawIndicator(self.Entity)
end
end

function ENT:Think()

end

function ENT:OnRemove()
if IsValid(GM.SoundPlayed) then
GM.SoundPlayed:Stop()
end
GM.oldLevel = null
GM.MommyEntity = null
end
Loading