Forum

> > CS2D > General > super zombie?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English super zombie?

5 replies
To the start Previous 1 Next To the start

old super zombie?

Omegay
User Off Offline

Quote
Hello people!, I have a server with zombie zombie plague script (v1.5b) it has zombie classes, for items to buy and nemesis ....

In cs 1.6 on some servers have a NEMESIS (80000hp) SUPER every N rounds, and I would add this to the script, but I do not think anything about it, I have managed to make the zombie 80000hp but I need every N rounds, one would become the nemesis nEMESIS 80000hp with SUPER ...

PLEASE I NEED THIS, THANK EVERYONE help yourself, you can send me a script example, Example:

if round = (10,20,30 ....) then
nemesis hp = 80000

old Re: super zombie?

Yates
Reviewer Off Offline

Quote
Do a round check on round start, rounds = rounds + 1. Then if round is 3 (or whatever) then your code shit and rounds = 0 to reset this.

old Re: super zombie?

Dousea
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
roundsCount = 0
roundsTable = {[[rounds]]}

addhook('startround', 'func_startround')
function func_startround(mode)
	if mode > 0 then
		roundsCount = roundsCount + 1
		for tableCount = 1, #roundsTable do
			if roundsCount == roundsTable[tableCount] then
				[[nemesis health value]] = 80000
			end
		end
	end
end

Insert your rounds in roundsTable table by deleting [[rounds]] then insert the rounds (Example: {10, 20, 30, ...}) also change [[nemesis health value]] with your nemesis health value. I do not know it is working or not because I create this script with what that I learn in scripting.

old Re: super zombie?

Omegay
User Off Offline

Quote
user Dousea has written
1
2
3
4
5
6
7
8
9
10
11
12
13
14
roundsCount = 0
roundsTable = {[[rounds]]}

addhook('startround', 'func_startround')
function func_startround(mode)
	if mode > 0 then
		roundsCount = roundsCount + 1
		for tableCount = 1, #roundsTable do
			if roundsCount == roundsTable[tableCount] then
				[[nemesis health value]] = 80000
			end
		end
	end
end

Insert your rounds in roundsTable table by deleting [[rounds]] then insert the rounds (Example: {10, 20, 30, ...}) also change [[nemesis health value]] with your nemesis health value. I do not know it is working or not because I create this script with what that I learn in scripting.


ok, i test and awnser.

did not work
I do not know almost nothing about LUA then help me; (

hey,look at the code in this file :

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function zp_startround()
	p_light = arrays(p_cnt,nil)
	zp_create_flashlight()
	zp_wpndmg_set()
	if (zp_nemesis > 0) then
		local p_table = player(0,'table')
		for i = 1, #player(0,'table') do
			if (player(p_table[i],'team') ~= 0) then
				parse('makect '..p_table[i])
			end
		end
		zp_nemesis_sec = zp_nemesis_time
	end
	zp_on_tip = 1
end
edited 2×, last 18.12.13 02:43:08 pm

old Re: super zombie?

kalis
User Off Offline

Quote
hard to edit lua ~.~
because you did n't know anything about lua/scripts
You need a script like :
+ super ...bla bla (leader with 8000 hp after 20 second ) ?
it like zombie mod ?

old Re: super zombie?

XingGove
COMMUNITY BANNED Off Offline

Quote
it doesn't work the mod super zombie


I sorry



hey I live in Algeria et tu?
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview