English [REQUEST] Zombie Lua

24 replies
Goto Page
To the start Previous 1 2 Next To the start
06.07.17 12:43:06 pm
Up
_Vipersiax
User
Offline Off
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)
I Fixed It.
06.07.17 12:54:21 pm
Up
Mora_rus
User
Offline Off
Idk if it might work
Code:
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
06.07.17 12:54:44 pm
Up
Bowlinghead
User
Offline Off
Code:
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..
Share time limited free games here
06.07.17 01:01:08 pm
Up
Mora_rus
User
Offline Off
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.
06.07.17 01:31:30 pm
Up
_Vipersiax
User
Offline Off
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
I Fixed It.
06.07.17 01:50:11 pm
Up
Mora_rus
User
Offline Off
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?
07.07.17 11:46:50 am
Up
_Vipersiax
User
Offline Off
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
I Fixed It.
07.07.17 12:16:52 pm
Up
Mora_rus
User
Offline Off
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.
08.07.17 04:03:19 pm
Up
_Vipersiax
User
Offline Off
Any help? any code? i need it

idk how luas work
I Fixed It.
08.07.17 04:26:33 pm
Up
apex2d
User
Offline Off
You can pm me, i have alot of zombie escape map
Eat Sleep Conquer Repeat. www.Radeon2D.forumid.net
08.07.17 04:46:46 pm
Up
JeeewNazi
User
Offline Off
@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.
08.07.17 08:10:12 pm
Up
_Vipersiax
User
Offline Off
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?
I Fixed It.
08.07.17 08:24:19 pm
Up
BcY
Reviewer
Offline Off
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.
Kgb2d Community - Since 2012
09.07.17 07:10:59 am
Up
Talented Doge
User
Offline Off
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.
Talented Doge
09.07.17 06:04:07 pm
Up
_Vipersiax
User
Offline Off
i searched for this lua but i cant find it anywhere, how can i find this lua?
I Fixed It.
09.07.17 06:32:09 pm
Up
Jedediastwo
User
Offline Off
jbmaster here
http://unrealsoftware.de/files_show.php?file=17411

a zombie plague script
09.07.17 06:47:10 pm
Up
_Vipersiax
User
Offline Off
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?
I Fixed It.
09.07.17 07:23:16 pm
Up
JeeewNazi
User
Offline Off
@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.
09.07.17 08:26:41 pm
Up
Jedediastwo
User
Offline Off
Executiner create a notepad file in format: .lua

with this code and put in sys/lua/autorun

Code:
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
10.07.17 10:36:56 am
Up
_Vipersiax
User
Offline Off
Alright, you know "Zombie Escape Mod" on CS 1.6? I Want "Zombie Waiting Time 10Second's On ZP" Thats Good?
I Fixed It.
To the start Previous 1 2 Next To the start