Forum

> > CS2D > Scripts > New kind of game mode
Forums overviewCS2D overview Scripts overviewLog in to reply

English New kind of game mode

24 replies
Page
To the start Previous 1 2 Next To the start

old New kind of game mode

Jaso
BANNED Off Offline

Quote
I need a game like this:
One random player will be selected as the killer.
He will have unlimited health and speed +5 and he need a stealth suit.
The object of the killer is to kill everyone if he succeseed the game will say ...(name of player) wins and the game restarts and selects another player the be the killer.
But if the killers fails to kill everyone than the game will say this player or players have won.
If the killer wins he recives 5 points and if some player wins he recive 10 points.
The gamemode has to go on standart.
And the other players cant hurt each other so only the killer can deal damage.
So the objective is the survive in those minutes.
Also please try to make something so you know that the guys is the killer like the game says this player is the killer.

I hope some one will take some time to make this.
Would be nice trough.

Ty
edited 2×, last 22.04.11 03:17:35 pm

old Re: New kind of game mode

Jaso
BANNED Off Offline

Quote
players can buy more health like +10 for 60 points or something maybe you also add some flashbangs or smoke grenades that can be bought by players

old Re: New kind of game mode

Homam
User Off Offline

Quote
I'm done with little things.. that might help who will create it.

Points Hud Script:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function initArray(m)
	local array = {}
	for i = 1, m do
		array[i] = 0
	end
	return array
end

points = initArray(32)

addhook("ms100","pointhud")
function pointhud()
	for _, id in pairs(player(0,"table")) do
		parse('hudtxt2 '..id..' 1 "©000255000 Points: '..points[id]..'" 10 410 0')
	end
end

For every kill a player get 1 point:

1
2
3
4
addhook("kill","pointget")
function pointget(killer)
	point[killer] = point[killer] + 1
end

I'm thinking to make the others...
edited 1×, last 22.04.11 01:06:59 pm

old Re: New kind of game mode

Homam
User Off Offline

Quote
Ugh, I will quit creating it...
I always work hard on a script and errors say: Hi :D.

Btw, here's what i created from now...

More >


Hope this code will help, and if it's done and you want to publish it on usgn. I wanna see my creditz .
edited 4×, last 22.04.11 06:40:20 pm
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview