Forum

> > CS2D > Scripts > [REQUEST] Zombie Lua
Forums overviewCS2D overview Scripts overviewLog in to reply

English [REQUEST] Zombie Lua

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

old [REQUEST] Zombie Lua

_Vipersiax
User Off Offline

Quote
i have a idea but i cant find this lua anywhere, someone can help me?

when zp starts 10seconds later i want freeze zombie just 10seconds and free to move (zombie escape)

old Re: [REQUEST] Zombie Lua

Mora
User Off Offline

Quote
Idk if it might work
1
2
3
4
5
6
7
8
9
10
addhook("startround","_startround")
function _startround()
	freetimer()
	for _,id in pairs(player(0,"table")) do
		if player(id,"team")==1 then
			parse("speedmod "..id.." -100")
			timer(10000,"parse","speedmod "..id.." 0")
		end
	end
end

old Re: [REQUEST] Zombie Lua

Bowlinghead
User Off Offline

Quote
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
-- untested
addhook("startround","hiSir")
function hiSir()
	for k,v in ipairs(player(0,"tableliving")) do
		if (player(v,"team")==1) then -- if zombie
			parse("speedmod "..v.." -100") -- freeze
			timer(10000,"unfreezehim",v)
		end
	end
end


function unfreezehim(id)
	parse("speedmod "..v.." 0")
end
Freeze all zombies at the start.
Unfreeze them after 10 seconds (with speed 0, not their original speed)

Im no ninja..

old Re: [REQUEST] Zombie Lua

Mora
User Off Offline

Quote
You might be needed speed value from your class.
parse(speedmode "..id.." "..zombie[class].speed)

Example..
But when some1 joined the game and spawned or died using suicide (/kill) it would free him. You might be needed something more smart than this.

old not working

_Vipersiax
User Off Offline

Quote
yeah i tried but not working im using zombie plague lua too and on round start i need freeze zombie 10sec, im working on zombie escape creating map and packing luas

old Re: [REQUEST] Zombie Lua

Mora
User Off Offline

Quote
What exactly you tried? What's not working? Provide us some more info maybe with a part of the code or errors(if have any). I get what you needed.
Maybe there is other timers in this lua. Maybe you not edited "startround" hook of this ZP but just added mine/user Bowlinghead's hook into file?

old Re: [REQUEST] Zombie Lua

_Vipersiax
User Off Offline

Quote
I Checked theres no errors, and i need some lua's too;

-Frezee Bomb(smoke bomb)
-Multiple Bomb(He)
-Lighting Bomb(flash)

and how can i make zombie plague items like cs1.6 GoldenAK or someting like that

old Re: [REQUEST] Zombie Lua

Mora
User Off Offline

Quote
No errors? Do you have other hooks? I asked for more info but i wont be able to help you until i learn how2extrasense..

You can't do custom weapons, but you're able to place images over your player while holding certain weapon and you have iid (is like item id on the floor/hand, which is not itemtype id but just id in game) which is possible to set it special value when you pick special iid.

old any

_Vipersiax
User Off Offline

Quote
Any help? any code? i need it

idk how luas work

old Re: [REQUEST] Zombie Lua

Ajmin
User Off Offline

Quote
@user _Vipersiax: Let me say a truth no one is actually going to help you. If u wanna make a script with your own ideas and stuffs u better learn lua and try something.
If u are ready to give up on your ideas and request for some zombie scripts that would work. Or if u need a particular function as u mentioned earlier that would also work.
Thank you.

old Re: [REQUEST] Zombie Lua

_Vipersiax
User Off Offline

Quote
Why nobody gonna help me? you are so man. IDK how to lua And there somemany kind people to code a little thing Okey? I just want a little zombie freeze lua. just a little lua with 10min or 5?

old Re: [REQUEST] Zombie Lua

BcY
Reviewer Off Offline

Quote
user _Vipersiax has written
i have a idea but i cant find this lua anywhere, someone can help me?

when zp starts 10seconds later i want freeze zombie just 10seconds and free to move (zombie escape)


that idea looked familiar to me. hmm.

old Re: [REQUEST] Zombie Lua

Talented Doge
User Off Offline

Quote
You could actually search, and there are already plenty of zombie scripts available out there. You could just pay a little amount of time to investigate in it and figure out how to modify the game via lua.

If you are lazy even to learn, no help.

old Re: [REQUEST] Zombie Lua

_Vipersiax
User Off Offline

Quote
dude, no zp script i need special script for zp because im making a Zombie Escape server and i need someone be zombie and freeze them 10second's and let him go, because zombie gonna be fast you know?

old Re: [REQUEST] Zombie Lua

Ajmin
User Off Offline

Quote
@user _Vipersiax: Dude i express my sympathy towards you for not finding a script which suits ur mind. well If u will atleast learn a bit english and explain what you really need in an earthly language we could modify that word sympathy to empathy.

old Re: [REQUEST] Zombie Lua

Jedediastwo
User Off Offline

Quote
Executiner create a notepad file in format: .lua

with this code and put in sys/lua/autorun

1
2
3
4
5
6
7
8
9
10
addhook("startround","_startround")
function _startround()
     freetimer()
     for _,id in pairs(player(0,"table")) do
          if player(id,"team")==1 then
               parse("speedmod "..id.." -100")
               timer(10000,"parse","speedmod "..id.." 0")
          end
     end
end

old Alright

_Vipersiax
User Off Offline

Quote
Alright, you know "Zombie Escape Mod" on CS 1.6? I Want "Zombie Waiting Time 10Second's On ZP" Thats Good?
To the start Previous 1 2 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview