Wanted list - Script
+13
MetaKnight
Dimi
Dappleblood
Soushiant.iR
«[B]lack [S]uit»
-Limon.#
Bonzo
drcamper
Nighthawk
Mew~
Ipomme13
_Yank
lubo
17 posters
-[IFwsI]- :: CS2D :: Servers :: -[IFwsI]- Jail
Page 2 of 2
Page 2 of 2 • 1, 2
Re: Wanted list - Script
Well I've got a solution for all this ?
Basically , If you kill 1 ct your name turns White , So white means the person can surrender !
If you kill 2 cts , Your name turns orange , The CT has the right to kill you if he wants , but if he wants you to surrender then he can allow you to .
If you kill 3 cts , Your name turns red , and then you cannot surrender anymore , Then you got to live free or die hard .
Anyone supporting this ?
Basically , If you kill 1 ct your name turns White , So white means the person can surrender !
If you kill 2 cts , Your name turns orange , The CT has the right to kill you if he wants , but if he wants you to surrender then he can allow you to .
If you kill 3 cts , Your name turns red , and then you cannot surrender anymore , Then you got to live free or die hard .
Anyone supporting this ?
RuzzleFury- Site user
- Gender : Posts : 720
Points : 819
Join date : 2014-06-15
Age : 23
Location : Egypt
Re: Wanted list - Script
I support the idea of killing 2 CT first,
anyway, How about an extra hp for killing anyone in the wanted list ?
@RuzzleFury it's not possible to change the name color.
anyway, How about an extra hp for killing anyone in the wanted list ?
@RuzzleFury it's not possible to change the name color.
Chero- Site user
- Gender : Posts : 425
Points : 1082
Join date : 2012-02-02
Location : Egypt
Re: Wanted list - Script
Keep it simple people enough with the color sh*t.
I have three years experience with cs2d and I kind of know how the lil brain of the cs2d player works, they wants it simple and casual. Everyone wants to make this script more friendly for the terrorists that in the end it will be useless. I want this script to be for the counter terrorists not for the both teams, don't worry people will still kill to be terrorist but we will just bring a job for the counter terrorist, simple job kill the wanted.
Think of it this way:
If two kills equals wanted level this means that the wanted list will be max eight players. - less fun for the counter terrorists.
If one kill equals wanted level this means that the wanted list will be max sixteen players. - more fun for the counter terrorists.
Please people think like you're playing counter terrorist. Terrorists already have all the awesome stuff in the maps well it's time to make something for the counter terrorists.
And after all we can update the script as long as it needs to.
I have three years experience with cs2d and I kind of know how the lil brain of the cs2d player works, they wants it simple and casual. Everyone wants to make this script more friendly for the terrorists that in the end it will be useless. I want this script to be for the counter terrorists not for the both teams, don't worry people will still kill to be terrorist but we will just bring a job for the counter terrorist, simple job kill the wanted.
Think of it this way:
If two kills equals wanted level this means that the wanted list will be max eight players. - less fun for the counter terrorists.
If one kill equals wanted level this means that the wanted list will be max sixteen players. - more fun for the counter terrorists.
Please people think like you're playing counter terrorist. Terrorists already have all the awesome stuff in the maps well it's time to make something for the counter terrorists.
And after all we can update the script as long as it needs to.
lubo- Map Maker
- Gender : Posts : 1415
Points : 3395
Join date : 2011-08-26
Age : 28
Re: Wanted list - Script
Lubo is (twice) right: keep it simple and give more awesome stuff for the CT. There is always a list of 5 specs who are waiting to become a terrorist. However cookies are good...
«[B]lack [S]uit»- Site user
- Gender : Posts : 33
Points : 37
Join date : 2014-07-24
Age : 27
Location : Belgium
Re: Wanted list - Script
The ''wanted list'' text didn't appear in the beginning of the round, not sure if you did on purpose but I've fixed it. Fixed the colors so they could be more visible but still not to annoy the player.
- Code:
-----------------------------
-- Wanted System (and kinda advanced simple ( O.o ) Lua tutorial)
-- Fairy n Limon :3
-----------------------------
-- Config
local silenceKills = false -- Set it to true if you want a silence kill system. (If terrorist used a knife, he wont be on the wanted list)
local colorList = false -- Set it to false if you don't want the wanted list to be coloured (Higher the wanted level, darker the color)
local displayNumber = 3 -- Set this to the number of players from the wanted list to display. (0 to display all)
-- Values
local wantedList = {}
-- Utilities
local function sortTable(table1,table2) return table1[2] > table2[2] end
-- Functions
parse('hudtxt 20 "©250250250Wanted List:" 5 100')
local function updateHud(killer)
if killer > 0 then
local alreadyIn = false
for k = 1, #wantedList do
if wantedList[k][1] == killer then
wantedList[k][2] = wantedList[k][2] + 1
alreadyIn = true
break
end
end
if not alreadyIn then table.insert(wantedList,{killer,1}) end
table.sort(wantedList,sortTable)
end
for k = 1, #wantedList do
local hudid = k + 21
local name = player(wantedList[k][1],"name")
local yposition = (k * 15) + 100
local color = '\169'.. 255 - (10 * k) ..'025000'
if killer == -1 then name = "" end
if not colorList then color = "" end
parse('hudtxt '..hudid..' "'..color.."©220220220"..name..'" 5 '..yposition)
if displayNumber > 0 then if k >= displayNumber then break end end
end
end
function removeWantedLevel(id)
for k = 1, #wantedList do
if wantedList[k][1] == id then
table.remove(wantedList,k)
parse('hudtxt '.. #wantedList + 1 + 21 ..' " " 5 0')
break
end
end
updateHud(0)
end
-- Hooks
addhook("leave","removeWantedLevel")
addhook("die","removeWantedLevel")
addhook("startround","wl_startround")
function wl_startround()
updateHud(-1)
wantedList = {}
end
addhook("kill","wl_kill")
function wl_kill(killer,victim)
if player(killer,"team") ~= 1 or (silenceKills and itemtype(weapon,"slot") == 16) then return end
updateHud(killer)
end
Last edited by lubo on Fri Aug 01, 2014 12:08 am; edited 1 time in total
lubo- Map Maker
- Gender : Posts : 1415
Points : 3395
Join date : 2011-08-26
Age : 28
Re: Wanted list - Script
@lubo wanted list text appears in the beginning there wouldnt be any problem here. Anyway, in your edit there are only adding 3 player into the wanted list. Why did you do that?
Re: Wanted list - Script
I made that. You know that the server is popular and having something like 7 wanted players, display all that would disturb the gameplay. So I made a simple setup variable where you can set the max number of players to display.-Limon.# wrote:@lubo wanted list text appears in the beginning there wouldnt be any problem here. Anyway, in your edit there are only adding 3 player into the wanted list. Why did you do that?
Re: Wanted list - Script
Fixed to maximum 16 wanted players, I doubt that we will ever see 16 players in the list.
lubo- Map Maker
- Gender : Posts : 1415
Points : 3395
Join date : 2011-08-26
Age : 28
Re: Wanted list - Script
If you're talking about the displayNumber value, it isn't the max number of wanted players but the max number of wanted players that's going to be displayed on the screen.lubo wrote:Fixed to maximum 16 wanted players, I doubt that we will ever see 16 players in the list.
Re: Wanted list - Script
Well i have an idea: if when a ct kills a tt with 3 kills the ct wins 3 BPs (bounty points) and vice-versa!
Re: Wanted list - Script
It think it's a good idea. Just if a CT kills a TT on the 'Wanted List'. But what can a CT do with those 'bounty points'?
«[B]lack [S]uit»- Site user
- Gender : Posts : 33
Points : 37
Join date : 2014-07-24
Age : 27
Location : Belgium
Re: Wanted list - Script
Why the hell is pastebin banned in my country? Can you send me the code as
- Code:
Re: Wanted list - Script
The Wanted list is now running in fws jail, thanks to Soushiant.iR.
I've added a rule about it in F1.
I've added a rule about it in F1.
lubo- Map Maker
- Gender : Posts : 1415
Points : 3395
Join date : 2011-08-26
Age : 28
Re: Wanted list - Script
I've asked Soushiant.iR. (Playr) to make a new script since the last one wasn't working well (because of HC admin script). It was pain in the baby maker to make it work with HC admin script but he made it.
@-Limon.# @CkelviN thanks for helping me, I really do appreciate it.
@-Limon.# @CkelviN thanks for helping me, I really do appreciate it.
lubo- Map Maker
- Gender : Posts : 1415
Points : 3395
Join date : 2011-08-26
Age : 28
Re: Wanted list - Script
Well they can be kill on sight... Unless they surrender in front of CTRs.
Inferno- Site user
- Gender : Posts : 1349
Points : 1494
Join date : 2014-08-05
Age : 23
Re: Wanted list - Script
Oh, I seelubo wrote:I've asked Soushiant.iR. (Playr) to make a new script since the last one wasn't working well (because of HC admin script). It was pain in the baby maker to make it work with HC admin script but he made it.
@-Limon.# @CkelviN thanks for helping me, I really do appreciate it.
Sorry for that
Cool that Fws has lots of talented scripters. I kinda feel jealous, I don't have this type of help on Ares O.O
Re: Wanted list - Script
Dont have time to read all this so, here what i want to add -
When you kill more ct, you will be '' most wanted'' like, i killed 3 ct im in WANTED 1. Glix , and mikasa killed 2 ct, so hes in 2nd. + Smaller font, its too big. No one likes when text is too big.
Edit: Got one idea. I think all will try to be on terrorist side to get to top wanted. So what about making first high scored ct '' swat ''. Ofc some of them will fk to get to this list, but i think fws have enough mods there. Is it possible to add to them uniform ? hat ?
When you kill more ct, you will be '' most wanted'' like, i killed 3 ct im in WANTED 1. Glix , and mikasa killed 2 ct, so hes in 2nd. + Smaller font, its too big. No one likes when text is too big.
Edit: Got one idea. I think all will try to be on terrorist side to get to top wanted. So what about making first high scored ct '' swat ''. Ofc some of them will fk to get to this list, but i think fws have enough mods there. Is it possible to add to them uniform ? hat ?
Re: Wanted list - Script
Glixable wrote:Dont have time to read all this so, here what i want to add -
When you kill more ct, you will be '' most wanted'' like, i killed 3 ct im in WANTED 1. Glix , and mikasa killed 2 ct, so hes in 2nd. + Smaller font, its too big. No one likes when text is too big.
I've already made something like this, not with size but with colors. The sorting process would be the same, but it'll look better if we use colors. A few more changes and maybe it's added to the server.
The wantedlist's purpose was to enhance the gameplay for the counter-terrorists. What you are saying is something different -customizing-. And I'm not sure if it's worth itGlixable wrote:Edit: Got one idea. I think all will try to be on terrorist side to get to top wanted. So what about making first high scored ct '' swat ''. Ofc some of them will fk to get to this list, but i think fws have enough mods there. Is it possible to add to them uniform ? hat ?
Page 2 of 2 • 1, 2
-[IFwsI]- :: CS2D :: Servers :: -[IFwsI]- Jail
Page 2 of 2
Permissions in this forum:
You cannot reply to topics in this forum
|
|