AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Zombie:Reloaded Infect Options (https://forums.alliedmods.net/showthread.php?t=185128)

TnTSCS 05-13-2012 02:36

Zombie:Reloaded Infect Options
 
3 Attachment(s)
Requires Zombie:Reloaded.

This was a request from this post:
Quote:

Originally Posted by Zerovize (Post 1703527)
Hey Guys,
... Is there an Addon that teleports a knifed zombie to the T's /CT's Spawn? So that the Zombie can't knife his mates?

DESCRIPTION:
What this plugin does is extend the infection options beyond the simple zr_infect_mzombie_respawn. This plugin allows you to teleport newly infected zombies, freeze newly infected zombies, and/or disarm newly infected zombies. You can apply these infection options to the mother zombie as well.

New in 0.0.1.2 are igniting and speed changing newly infected zombies for a specified time.

By disarming the zombies when they're infected, you can prevent the sometimes ultra mass zombie infection if everyone is in a choke point on a map and the infections just domino on top of one another.

Freezing the newly infected zombie (without disarming them) might allow for one or two more infections in a choke point.
sm_zrio_options
- Sepcifies the infection options which should be used. Add up the values below to get the functionality you want.
1: Teleport all newly infected zombies back to their spawn
2: Use sm_zrio_teleporttime
4: Disarm all newly infected zombies (remove their claws)
8: Only disarm zombies after teleport time expires
16: Freeze all newly infected zombies
32: Only freeze zombies after teleport time expires
64: Apply these infection options to Mother Zombies
128: Ignite all newly infected zombies (set time with sm_zrio_ignitetime)
256: Only ignite zombies after teleport time expires?
512: Set speed on newly infected zombies (set speed with sm_zrio_speed and time with sm_zrio_speedtime)
1024: Only alter speed after teleport time expires?
The above is the CVar to turn on and off the extra infection options. If you set sm_zrio_options to 65, then all, not just the mother, zombies will be transported back to their spawn point. If you set it to 67, then they will only be teleported back to spawn during the seconds defined in sm_zrio_teleporttime (see CVars below).

Use any one or all of the infection options, as you see fit. There are CVars to the freeze and disarm time limits so you can set how long a player will remain froze or disarmed (individually).

Currently I do not have Updater attached to this plugin (mainly because it's late right now), but I'll include it in a later update. I'm going to add an ignite option for newly infected zombies and possibly a speed option, both with timers.

CVars


Change Log


REQUIREMENTS:
Zombie:Reloaded 3.0-b2 patch-r675 (or latest)
SDKHooks

TO DO List
* Add more options (suggest some)

Credits:
* Richard and Greyscale for Zombie:Reloaded stuff
* berni for SMLib
* SDKHooks developers

Notes:
If you are going to compile yourself, you'll need the includes for SDKHooks, Zombie:Reloaded, and SMLib.

INSTALLATION:
Put the .smx in your plugins folder, then edit the automatically created config file plugin.zr_infect_options.cfg

I've included the cfg file here since the sm_zrio_options gets cut off when it gets auto-created.

If you want the debug version, edit the .sp and set the _DEBUG to 1 then compile.

Zerovize 05-14-2012 11:26

Re: Zombie:Reloaded Infect Options
 
Wow thanks you are amazing <3333

/edit
Looks nice but won´t work for me :/
I put the .smx in the plugins folder and the.sp in the script folder.
But i must say i dont know where to put:
sm_zrio_usefreeze
sm_zrio_usedisarm
sm_zrio_useteleport

:D

I installed the newest version of SDKHooks too.
But it dont create a .cfg :/

TnTSCS 05-14-2012 19:10

Re: Zombie:Reloaded Infect Options
 
works fine on my test Zombie:Reloaded server...

please post the outputs of the following rcon commands:

sm version
sm plugins list
zr_version

Zerovize 05-15-2012 06:29

Re: Zombie:Reloaded Infect Options
 
sm version: SourceMod Version: 1.4.2
sm plugins list: 01 "SM Parachute" (2.5) by SWAT_88
02 "MapChooser" (1.4.2) by AlliedModders LLC
03 "Admin File Reader" (1.4.2) by AlliedModders LLC
04 "SMAC Eye Angle Test" (0.7.8.2) by GoD-Tony, psychonic
05 "SMAC Aimbot Detector" (0.7.8.2) by GoD-Tony
06 "SMAC Anti-Speedhack" (0.7.8.2) by GoD-Tony
07 "Basic Chat" (1.4.2) by AlliedModders LLC
08 "Noblock Trigger" (1.01) by Heartless
09 "Basic Comm Control" (1.4.2) by AlliedModders LLC
10 "Anti-Flood" (1.4.2) by AlliedModders LLC
11 "Fun Votes" (1.4.2) by AlliedModders LLC
12 "SourceMod Anti-Cheat" (0.7.8.2) by GoD-Tony, psychonic
13 "Ammo Script for Zombie:Reloaded" (2.1) by [SG-10]Cpt.Moore, Richard Helgeby, Kyle Sanderson
14 "Player Commands" (1.4.2) by AlliedModders LLC
15 "Basic Ban Commands" (1.4.2) by AlliedModders LLC
16 "SMAC AutoTrigger Detector" (0.7.8.2) by GoD-Tony
17 "Basic Votes" (1.4.2) by AlliedModders LLC
18 "HLstatsX CE Ingame Plugin" (1.6.8) by psychonic
19 "ZR Infect Options" (0.0.1.0) by TnTSCS aka ClarkKent
20 "SMAC Spinhack Detector" (0.7.8.2) by GoD-Tony
21 "Basic Info Triggers" (1.4.2) by AlliedModders LLC
22 "Fun Commands" (1.4.2) by AlliedModders LLC
23 "Beacon Last Human" (1.0.0-stable) by alongub
24 "SMAC CS:S Anti-Rejoin" (0.7.8.2) by Kigen
25 "SMAC Rcon Locker" (0.7.8.2) by GoD-Tony, Kigen
26 "RandomCycle" (1.4.2) by AlliedModders LLC
27 "Admin Menu" (1.4.2) by AlliedModders LLC
28 "Reserved Slots" (1.4.2) by AlliedModders LLC
29 "Zombie:Reloaded" (3.0.0-b2) by Greyscale | Richard Helgeby
30 "Basic Commands" (1.4.2) by AlliedModders LLC
31 "Admin Help" (1.4.2) by AlliedModders LLC
32 "gameME Plugin" (4.0) by TTS Oetzel & Goerz GmbH
33 "Rock The Vote" (1.4.2) by AlliedModders LLC
34 "Players Votes" (1.5.0) by The Resident, pZv!
35 "Nextmap" (1.4.2) by AlliedModders LLC
36 "Sound Commands" (1.4.2) by AlliedModders LLC
37 "Client Preferences" (1.4.2) by AlliedModders LLC
38 "Map Nominations" (1.4.2) by AlliedModders LLC
39 <Failed> "SMAC KAC Global Banlist" (0.7.8.2) by Kigen
zr_version: 3.0.0-b2

And like i said i dont know where to put in these 3 lines^^:
sm_zrio_usefreeze
sm_zrio_usedisarm
sm_zrio_useteleport

Thanks for your help :D

TnTSCS 05-15-2012 09:23

Re: Zombie:Reloaded Infect Options
 
19 "ZR Infect Options" (0.0.1.0) by TnTSCS aka ClarkKent

It shows it's running...

plugin.infect.options.cfg in your cstrike/cfg folder (same location as your server.cfg).

one more thing... give the output of these commands:

meta list
sm exts list

Zerovize 05-15-2012 13:33

Re: Zombie:Reloaded Infect Options
 
Oh my godness is works <33
Thank you sooo much :D
Do you can make a Beacon for everyone too? xD

TnTSCS 05-15-2012 13:37

Re: Zombie:Reloaded Infect Options
 
a plugin where anyone can beacon themselves?

Zerovize 05-15-2012 13:42

Re: Zombie:Reloaded Infect Options
 
Yes :D
With nice colours xD And with an command like !beaconme or in short !bc

pillepallus 05-20-2012 09:18

Re: Zombie:Reloaded Infect Options
 
added... just need to say: many thanks!

TnTSCS 05-20-2012 12:22

Re: Zombie:Reloaded Infect Options
 
Plugin Updated to version 0.0.1.1:

Added teleport timer so you can define the amount of time to use the teleport feature so you don't send players to spawn on infection if the map you're on uses spawn killers. You define the time.


All times are GMT -4. The time now is 13:38.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.