Dutchman101

[REL] New zombie-infested area script

Recommended Posts

https://community.mtasa.com/index.php?p=resources&s=details&id=14568

Decided to go for a zombies script from scratch instead of relying on old and outdated ''zday'' zombies or slothboth.

These zombies will follow you and try to kill you, once they get too close you'll be dead before you know it so make a good defense line.

Location is open field near SF airport, zombies will only spawn and work inside that colshape. When player enters it (atleast one player must be there for any zombies to spawn and exist) he will see a stats window counting and saving his zombiekills, deaths and headshots on zombies.

These stats will get saved to account if player is logged in.

I will add a video demonstration soon.

22808.jpg

Zombie skins total size (34 gore skins): 250kb only (heavily optimized) and zombie moan/groan sound files about 77kbit each, no strain on client performance nor server (by the way, you can edit the amount of zombies and other variables in the beginning of zombies_s.lua;

j6cTJbu.jpg

Edited by Dutchman101
  • Like 5

Share this post


Link to post

New update added, changes:

- This time actually made the promise of low server/client performance usage, true. More optimizations. (resource eats only about 0.15% server CPU now :)
- Improved sync, added option to select syncer by lowest ping (disabled by default; change in variable .lua, may cause issues with players that have low FPSes..)

- Added option to disallow players hurting eachother while in the zombie field (variable in clientside .lua, called 'noPVP')
- Added option to respawn back players in the zombie-field when they die while in the area, at the hands of a zombie. (so only for participants) (variable in serverside .lua)
- Adjusted position of player zombiekill stats and made its box scrollable if too many players join the area for it to fill up.

New admin commands:
- /wipefield (removes all players inside the zombiefield, you can use this for various purposes like many AFKers distracting zombies to their positions for no good)
- /populate (selects and warps 5 random players to the zombie field; use with care, depending on your gamemode it may disrupt players if they get warped without asking for it; might be useful hosting zombiekill events)


Bug fixes:
- Fix limitation you could only headshot zombies. Now, you can shoot them anywhere on the body or blow them up.

  • Like 3

Share this post


Link to post

Nice gonna check it out!

 

Is this script located in other dimension? 

Edited by Dziugasc
2

Share this post


Link to post
2 hours ago, Dziugasc said:

Is this script located in other dimension? 

Not by default, just go to the location with /zombies, and you must know the farm field its at right? (near SF airport)

  • Like 1

Share this post


Link to post

well i would recommend making zombies hit you for few damage + when they kill me they cut my head so i cant respawn i always die

 

Share this post


Link to post
43 minutes ago, Dziugasc said:

well i would recommend making zombies hit you for few damage + when they kill me they cut my head so i cant respawn i always die

 

It takes a while before they get to you, you have enough time to run after respawn. And the ease they kill you with adds to the difficulty factor, which I personally like. But you can easily change it ofcourse

Share this post


Link to post

im stuck at after respawning with the animation, it dont stop automattly unless you press F1 Freeroam panel then click stop animation.....

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.