There need to be a way to ignore walls, obstacles. So that you don't get stuck in them.
Forum
CS2D General Zombie Plague By BlazzingxxZombie Plague By Blazzingxx
38 repliesThere need to be a way to ignore walls, obstacles. So that you don't get stuck in them.
But i think its not very easy...
Maybe its possible with "if (tile==1) then" or something
2) Same as ammo packs but with exp. I don't get them most times when im a human and i kill a zombie.
3) I think that knockback should be a little less.
4) Extra items for zombies (like smoke grenade lol)
5) 10 secs before infection - more time to select weapons
6) less exp needed for next level
Anyway- this mod kicks asses
You should not put everything inside server.lua..
you should use tab to keep things clean..
for the rest, the dmg done by a glock is so low, u need like 100 shots to kill a zombie...
@Kaka024
@LilCoder
1. > You receive ammo packs only for infection!
2. > I dont understand... Ammopacks for buying ammo.
3. > You can set different knockback... you see that usp have less, m4a1 to much.
4. > Enough nemesis class. Buy I will add something to next version.
5. > 10 seconds? But at start is one zombie. Think, I tested it. First zombie will left game > if dedicaded client.
6. Wth is that? What games you are playing?
About scripting:
I made one file couse that its easier to instal. People even now sending messages to my email couse they dont know where to place server.lua
I deleted tabs and some conding difficulties couse copyrighting as*Holes.
mp_weapondmg or what ever , you can set it
Dont ask such a .... questions!
And first try to play real zombie plague!
In real zombie plague nemesis have 30000 health
Blazzingxx has written
I deleted tabs and some conding difficulties couse copyrighting as*Holes.
To be honest, you're using Lua, which doesn't create assembly-level intermediate code. If you want to make your code a secret try using some of the encryption libraries out there (There's one in amx2d, use encryption.encrypt and encryption.decrypt)
edited 1×, last 27.07.09 09:44:52 pm
You can make such a script if you can, because it's hard work, I know that by making my classes-script.
And Kaka, you can nearly change everything in this script, and if you are such a pro, then just change it...
omg
@blazz
1) Ok thx, but there is problem with getting exp still.
2) I mean - sometimes i dont get exp. For e.g. at lvl 3 it is hard to get some exp, at 5 im stucked 5-6 minutes at one number. I just dont get exp for every kill
3) yeah, my fault
4) Ok. No more questions
5) But the first zombie is nemesis, always!
6) Normal games. I've played a real plague, and there isnt level-gun, nemesis isnt all the time and its hard to get better lvl in 20-30 minutes if theres a mapcycle.
I know that this script needs a lot of work. I give you all honor that u made it, but me and other guys try to help you making it better and better. Theese are just ideas like ideas for cs2d!
P.S.
"Didnt u play a real plague". If u want make it a real plague - u cant. Some reasons:
1) Nemesis every round (sounds kinda stupid but "real plague" doesnt have it)
2) No one survivor (something like nemesis. Dont remember name)
3) Knockback isnt the same like in real cs.
BUT THIS IS NOT YOUR FAULT. I LOVE THIS MOD AND THANKS FOR MAKING IT. I JUST GIVE SOME IDEAS!
huh thx
@edit
can you make a special setting, that save lvl for certain ip? Only one (hoster of dedicated).
And one more bug: I cant buy extra items dont know why. I could but after more playing i cant
@edit2
how to change weapon's knockback? Like for m4a1, but not for glock?
edited 1×, last 27.07.09 10:53:49 pm
There's an initial predefined global knockback distance. We can overload this for individual weapons by creating a table IE:
kb_tab = {[30]:10}
if kn_tab[weapon] then
knockback = kn_tab[weapon]
end
In this case we can overload the knockback based on weapon used.
@edit
i tried this but it doesnt work:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
addhook("hit","hits") function hits(id,source,hpdmg,weapon) if (weapon<7) then if player(id,"team")==1 and player(id,"team")~=player(source,"team") then if player(source,"y")-16>player(id,"y") then parse("setpos "..id.." "..player(id,"x").." "..-hpdmg/2-zm_knock_lvl[zm_class[id]]+player(id,"y")) elseif player(source,"y")+16<player(id,"y") then parse("setpos "..id.." "..player(id,"x").." "..hpdmg/2+zm_knock_lvl[zm_class[id]]+player(id,"y")) end if player(source,"x")-16>player(id,"x") then parse("setpos "..id.." "..-hpdmg/2-zm_knock_lvl[zm_class[id]]+player(id,"x").." "..player(id,"y")) elseif player(source,"x")+16<player(id,"x") then parse("setpos "..id.." "..hpdmg/2+zm_knock_lvl[zm_class[id]]+player(id,"x").." "..player(id,"y")) end end end
@edit
nvm! FIXED!
edited 3×, last 28.07.09 01:32:56 pm
like if(weapon < 7) then
if (player(id, "team") ==1 ) then
setpos(blablalbal)
end
end
everything nice and cleaned up...
LilCoder has written
Why don't you write your code so that other coders can understand it easily too?
bla bla whitch wont work anyway...
everything nice and cleaned up...
bla bla whitch wont work anyway...
everything nice and cleaned up...
Read what I said before.
LilCoder has written
I deleted tabs and some conding difficulties couse copyrighting as*Holes.
Leegao have deleted one or two spams on lua file section.
Anyway , Dont worry... (zombie plague was fastest script I made.in some hours)
Then I will make final versions, I will make code readable.
@offtop
its a cool mod, but shame that its not ready yet, but i hope u can make it better.
1
culcsecs = 6
1
culcsecs = 11