Forum

> > CS2D > Scripts > [REQUEST] Zombie Lua
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch [REQUEST] Zombie Lua

24 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt [REQUEST] Zombie Lua

_Vipersiax
User Off Offline

Zitieren
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)

alt Re: [REQUEST] Zombie Lua

Mora
User Off Offline

Zitieren
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

alt Re: [REQUEST] Zombie Lua

Bowlinghead
User Off Offline

Zitieren
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..

alt Re: [REQUEST] Zombie Lua

Mora
User Off Offline

Zitieren
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.

alt not working

_Vipersiax
User Off Offline

Zitieren
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

alt Re: [REQUEST] Zombie Lua

Mora
User Off Offline

Zitieren
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?

alt Re: [REQUEST] Zombie Lua

_Vipersiax
User Off Offline

Zitieren
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

alt Re: [REQUEST] Zombie Lua

Mora
User Off Offline

Zitieren
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.

alt any

_Vipersiax
User Off Offline

Zitieren
Any help? any code? i need it

idk how luas work

alt Re: [REQUEST] Zombie Lua

Ajmin
User Off Offline

Zitieren
@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.

alt Re: [REQUEST] Zombie Lua

_Vipersiax
User Off Offline

Zitieren
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?

alt Re: [REQUEST] Zombie Lua

BcY
Reviewer Off Offline

Zitieren
user _Vipersiax hat geschrieben
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.

alt Re: [REQUEST] Zombie Lua

Talented Doge
User Off Offline

Zitieren
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.

alt Re: [REQUEST] Zombie Lua

_Vipersiax
User Off Offline

Zitieren
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?

alt Re: [REQUEST] Zombie Lua

Ajmin
User Off Offline

Zitieren
@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.

alt Re: [REQUEST] Zombie Lua

Jedediastwo
User Off Offline

Zitieren
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

alt Alright

_Vipersiax
User Off Offline

Zitieren
Alright, you know "Zombie Escape Mod" on CS 1.6? I Want "Zombie Waiting Time 10Second's On ZP" Thats Good?
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht