Raised This Month: $51 Target: $400
 12% 

Zombie Plague 4.3 Fix5a Latest Version[UPDATE 16-June-2016]


Post New Thread Reply   
 
Thread Tools Display Modes
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 02-26-2016 , 17:56   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #11

Yes
GlobalPlague is offline
tfk94
Veteran Member
Join Date: Jan 2011
Location: [url=http://www.gametrac
Old 02-26-2016 , 18:16   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #12

i get
warning 204 : symbol is assigned a value that is never used "blue"
warning 204 : symbol is assigned a value that is never used "green"
warning 204 : symbol is assigned a value that is never used "red"

PHP Code:
        // Show name, health, class, and ammo packs
        
set_hudmessage(02550, -1.00.9010.013.00.010.01, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L: %d - %L %s - %L %d - %L %d"id"ZOMBIE_ATTRIB1"pev(ID_SHOWHUDpev_health), ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD], ID_SHOWHUD"ARMOR"pev(ID_SHOWHUDpev_armorvalue))
    }


Last edited by tfk94; 02-26-2016 at 18:16.
tfk94 is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 02-26-2016 , 18:18   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #13

Upload your .sma file here/PM, i will do it

Last edited by GlobalPlague; 02-26-2016 at 18:20.
GlobalPlague is offline
tfk94
Veteran Member
Join Date: Jan 2011
Location: [url=http://www.gametrac
Old 02-26-2016 , 18:27   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #14

..
Attached Files
File Type: sma Get Plugin or Get Source (zombie_plague40.sma - 968 views - 429.1 KB)
tfk94 is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 02-26-2016 , 18:39   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #15

PHP Code:
// Spectating someone else?
    
if (id != ID_SHOWHUD)
    {
        
// Show name, class, health, armor and ammo packs
        
set_hudmessage(02550HUD_SPECT_XHUD_SPECT_Y06.01.10.00.0, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L: %s^n%L: %s - %L: %d - %L: %d - %L: %d"ID_SHOWHUD"SPECTATING"g_playername[id], ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD"HEALTH"pev(idpev_health), ID_SHOWHUD"ARMOR"pev(idpev_armorvalue), ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[id])
    }
    else
    {
        
// Show class, health, armor and ammo packs
        
set_hudmessage(redgreenblueHUD_STATS_XHUD_STATS_Y06.01.10.00.0, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L: %s - %L: %d - %L: %d - %L: %d"id"CLASS_CLASS", class, ID_SHOWHUD"HEALTH"pev(ID_SHOWHUDpev_health), ID_SHOWHUD"ARMOR"pev(ID_SHOWHUDpev_armorvalue), ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD])
    }


Last edited by GlobalPlague; 02-26-2016 at 19:24.
GlobalPlague is offline
tfk94
Veteran Member
Join Date: Jan 2011
Location: [url=http://www.gametrac
Old 02-26-2016 , 18:42   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #16

брато виж си скайпа ако може да не спамим тука
tfk94 is offline
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 02-27-2016 , 10:03   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #17

For colors you need to edit in this line

see this

PHP Code:
// Show HUD Task
public ShowHUD(taskid)
{
    static 
id
    id 
ID_SHOWHUD;
    
    
// Player died?
    
if (!g_isalive[id])
    {
        
// Get spectating target
        
id pev(idPEV_SPEC_TARGET)
        
        
// Target not alive
        
if (!g_isalive[id]) return;
    }
    
    
// Format classname
    
static class[32], redgreenblue
    
    
if (g_zombie[id]) // zombies
    
{
        
red 180
        green 
4
        blue 
255
        
        
if (g_nemesis[id])
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_NEMESIS")
        else if (
g_assassin[id])
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_ASSASSIN")
        else
            
copy(class, charsmax(class), g_zombie_classname[id])
    }
    else 
// humans
    
{
        
red 218
        green 
255
        blue 
4
        
        
if (g_survivor[id])
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_SURVIVOR")
        else if (
g_sniper[id])
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_SNIPER")
        else
            
formatex(class, charsmax(class), "%L"ID_SHOWHUD"CLASS_HUMAN")
    }
    
    
// Spectating someone else?
    
if (id != ID_SHOWHUD)
    {
        
// Show name, health, class, and ammo packs
        
set_hudmessage(4182255HUD_SPECT_XHUD_SPECT_Y06.01.10.00.0, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L %s^nHP: %d - %L %s - %L %d - Armor: %d"ID_SHOWHUD"SPECTATING"g_playername[id], pev(idpev_health), ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[id], pev(idpev_armorvalue))
    }
    else
    {
        
// Show health, class and ammo packs
        
set_hudmessage(redgreenblue, -1.00.9010.013.00.010.01, -1)
        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"-=(%L:%d)-(%L %s)=- ^n-=(%L %d)-(%L %d)=-"id"ZOMBIE_ATTRIB1"pev(ID_SHOWHUDpev_health), ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD], ID_SHOWHUD"ARMOR"pev(ID_SHOWHUDpev_armorvalue))
    }

Edit these line
for Zombie , Assasin and Nemises
PHP Code:
    if (g_zombie[id]) // zombies
    
{
        
red 180 //Your color
        
green //Your color
        
blue 255 //Your color 
For Human , Survivor and Sniper
PHP Code:
else // humans
    
{
        
red 218 //Your color
        
green 255 //Your color
        
blue //Your color 
__________________



AssasinSniperNightmare ModArmageddon ModApolacyps Mod

Last edited by Kakarot47; 02-27-2016 at 10:05.
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
tfk94
Veteran Member
Join Date: Jan 2011
Location: [url=http://www.gametrac
Old 02-28-2016 , 17:52   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #18

now it is green but it keeps flashing
can you tell me how to fix that ?
tfk94 is offline
Carbona
Member
Join Date: Feb 2016
Old 02-29-2016 , 10:03   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #19

Greetings from me! Nice job you done with that mod , today i am gonna test it on my new server and hopefully it will work properly.

But i want to ask how to change the survivor clip to be Unlimited like in the original version(somewhere in your code i've seen that it was 31689 or something...
Carbona is offline
Kakarot47
Senior Member
Join Date: May 2015
Location: Pakistan
Old 02-29-2016 , 11:45   Re: Zombie Plague 4.3 Fix5a Latest Version
Reply With Quote #20

Quote:
Originally Posted by tfk94 View Post
now it is green but it keeps flashing
can you tell me how to fix that ?
What you mean by keep flashing can you send me picture plz.

Quote:
Originally Posted by Carbona View Post
Greetings from me! Nice job you done with that mod , today i am gonna test it on my new server and hopefully it will work properly.

But i want to ask how to change the survivor clip to be Unlimited like in the original version(somewhere in your code i've seen that it was 31689 or something...
Suvivor clip can done by zombieplague.cfg

on this line.

Code:
// Survivor
// -------
zp_surv_enabled 1 // Enable survivor mode
zp_surv_chance 20 // Chance (1 in X)
zp_surv_min_players 0 // Minimum players required
zp_surv_health 0 // Health  [0 - zombie count*base health]
zp_surv_base_health 0 // Base health [0 - use human's health]
zp_surv_speed 230 // Speed
zp_surv_gravity 1.25 // Gravity (0.5 = half)
zp_surv_glow 1 // Glow effect
zp_surv_aura 1 // Halo effect
zp_surv_painfree 1 // Pain shock free
zp_surv_ignore_frags 1 // Whether to earn frags
zp_surv_ignore_rewards 1 // Whether to earn ammo packs
zp_surv_weapon "weapon_m249" // Survivor's weapon (given by default)
zp_surv_unlimited_ammo 2 // Unlimited ammo for Survivor [0-disabled // 1-BP ammo // 2-clip ammo]
__________________



AssasinSniperNightmare ModArmageddon ModApolacyps Mod
Kakarot47 is offline
Send a message via Skype™ to Kakarot47
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:31.


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