AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [T] List of Modified + Requested Plugins (https://forums.alliedmods.net/showthread.php?t=243959)

Just4Games 07-14-2014 06:30

Re: [ZP] List of Modified Version Plugin
 
The correct orders of ZP Shade modes is:
Quote:

Normal Infection
Nemesis
Survivor
Swarm
Multiple Infection
Plague
Sniper
Assassin
Bombardier
Armageddon
By the way, zmd how about the other version of Display the current mode plugin i showed you?
It counts the alive humans and alive zombies, the score between the teams and shows the current mode :)
It uses the Direct Hud Messages(which in my opinion it's very cool).
This plugin was edited for ZP Shade!

Here is the code:

PHP Code:

#include <amxmodx>
#include <amxmisc>
#include <zombieplague>
#include <dhudmessage>

#define PLUGIN    "Zombie Addon : HUD Stats "
#define VERSION    "1.0"
#define AUTHOR    "KiA"

/* Initialization */

new ZombieWins
new HumanWins
new g_Mode

new const hud_tag[] = "Current mode:"  //"Curent Mode"

// Name for each Hudmessage Mode
new const mode_names[][] =
{
    
"Waiting for a mode to start...",        // No mode Started
    
"[Normal Infection]",        // Normal Infection, single round
    
"[Nemesis]",            // Nemesis Mode (zombie boss)
    
"[Survivor]",        // Survivor Mode (human boss)
    
"[Swarm]",            // Swarm round (no infections)
    
"[Multiple Infection]",        // Multiple Infection (like single round, but, more than 1 zombie)
    
"[Plague]",            // Plague round (nemesis & zombies vs. survivors & humans)
    
"[Sniper]",            // Sniper Mode (human boss)
    
"[Assassin]",            // Assasin Mode (zombie boss)
    
"[Bombardier]",            // Bombardier Mode (zombie boss)
    
"[Armageddon]"            // LNJ round (nemesis & zombies vs. survivors & humans)
}

public 
plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_event("HLTV""event_RoundStart""a""1=0""2=0")
    
    
set_task(0.5,"HUDUpdate"0,"",0,"b")
    
    
/* CVARS */
    
    
register_cvar("zphud_rcolor","255"// RED
    
register_cvar("zphud_gcolor","0"// GREEN
    
register_cvar("zphud_bcolor","0"// BLUE
    
    
}

public 
event_RoundStart()
{
    
// Update var (no mode started / in delay)
    
g_Mode 0
}

public 
zp_round_started(modeid)
{
    
// Update var with Mode num
    
g_Mode mode
    
    
// An unofficial mode
    
if(!(<= mode < (sizeof(mode_names) - 1)))
        
g_Mode sizeof(mode_names) - 1


public 
zp_round_ended(WinTeam)
{
    switch(
WinTeam
    {
        case 
ZP_TEAM_ZOMBIE: {
            
ZombieWins ZombieWins 1
        
}
        case 
ZP_TEAM_HUMAN: {
            
HumanWins HumanWins 1
        
}
    }
}

public 
HUDUpdate()
{
    new 
zombies zp_get_zombie_count()
    new 
humans zp_get_human_count()
    
    
set_dhudmessage(get_cvar_num("zphud_rcolor"),get_cvar_num("zphud_gcolor"),get_cvar_num("zphud_bcolor"), -1.00.0506.012.06.01.0)
    
show_dhudmessage(0"Zombies [%i] <|> [%i] Humans^nZombie wins [%i] <|> [%i] Human wins^n%s %s" zombieshumansZombieWinsHumanWins, (g_Mode == "" hud_tag), mode_names[g_Mode])




zmd94 07-14-2014 07:13

Re: [ZP] List of Modified Version Plugin
 


This is the list of my plugins. Feel free to use it.
Quote:

If you have encountered any problems, just inform me. I will fix it.
Below are the tutorials:
Below is my project. Feel free to suggest anything:
Below are others related thread:

zmd94 07-14-2014 10:20

Re: [ZP] List of Modified Version Plugin
 
1 Attachment(s)
New update!

This plugin will only working with Zombie Plague Shade (ZPS).
Quote:

Adding new addon: Stat Huds+Current Mode.
Credits:
Quote:

1. Kia for Stat Huds plugin.
2. meTaLiCroSS for DTCM plugin.
3. Just4Games for modifying and combining the plugins.
If you want to use this plugin, you have to download this .inc file:
Screenshot:

http://img.ctrlv.in/img/14/07/14/53c3e70d464c7.jpg

Just4Games 07-14-2014 10:25

Re: [ZP] List of Modified Version Plugin
 
Don't forget to mention that is only working for ZP Shade!

zmd94 07-14-2014 10:50

Re: [ZP] List of Modified Version Plugin
 
1 Attachment(s)
Quote:

Originally Posted by Just4Games (Post 2167461)
Don't forget to mention that is only working for ZP Shade!

Thank you for reminding me. I have updated the thread.
Quote:

Originally Posted by Ren0k (Post 2167366)
Yes, ZP Shade 1.0.5. Can you edit/change it then?

Yes, just use below.

New update!
Quote:

Adding Display the Current Mode plugin which will be working with ZPS only.
Please download this .inc file:

Ren0k 07-15-2014 02:41

Re: [ZP] List of Modified Version Plugin
 
Error from compiling...

Quote:

fatal error 100: cannot read from file: "zombieplaguenew1.3"
there isnt zombieplaguenew1.3 bro:D

Just4Games 07-15-2014 03:52

Re: [ZP] List of Modified Version Plugin
 
Quote:

Originally Posted by Ren0k (Post 2167864)
Error from compiling...

there isnt zombieplaguenew1.3 bro:D

You need zombieplaguenew1.3.inc . And i guess there is...

Ren0k 07-15-2014 04:31

Re: [ZP] List of Modified Version Plugin
 
I cant compile it anywhere...

zmd94 07-15-2014 06:58

Re: [ZP] List of Modified Version Plugin
 
1 Attachment(s)
Quote:

Originally Posted by Ren0k (Post 2167886)
I can't compile it anywhere.

Just download this .ins file. Then add in scripting/include folder.

zmd94 07-15-2014 08:33

Re: [ZP] List of Modified Version Plugin
 
2 Attachment(s)
Quote:

Simple Rank Info
Original thread, here.

Screenshot:

http://www.shy22.com/upfilpng/p7m02821.png

Just say/rank, then a menu like above picture will appear. After 10 second the menu will disappear or you can press any of 1, 2 or 3 button to close the menu.

Quote:

Adding addon: Screen Fade.
Original thread, here.

Description:

When you kill enemy then you can see low blue screen at ¼ of second. (I can't upload the screenshoot since the effect is too fast. However, you still can see it.)


All times are GMT -4. The time now is 15:12.

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