Raised This Month: $ Target: $400
 0% 

ZP 5.0 Betas/Updates


Post New Thread Closed Thread   
 
Thread Tools Display Modes
INst1Nct
Member
Join Date: Sep 2011
Location: Romania , Bucharest
Old 01-09-2012 , 09:14   Re: ZP 5.0 Betas/Updates
#741

I 've some questions about this new Mod.

- how can i change the size of aura to nemesis /survivor
- how to change color glow of survivor ( i've changed the color of aura but glow color still remain the same ...dark blue )
- how can i set when a zombie is frozen to take HP?

And a possible bug.
- the aura of nemesis is red , the nightvision color is set to red : 150 but when i'm nemesis why the nightvision color is green?
INst1Nct is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 01-09-2012 , 11:13   Re: ZP 5.0 Betas/Updates
#742

Quote:
Originally Posted by INst1Nct View Post
I 've some questions about this new Mod.

- how can i change the size of aura to nemesis /survivor
- how to change color glow of survivor ( i've changed the color of aura but glow color still remain the same ...dark blue )
- how can i set when a zombie is frozen to take HP?

And a possible bug.
- the aura of nemesis is red , the nightvision color is set to red : 150 but when i'm nemesis why the nightvision color is green?
Code:
- how can i set when a zombie is frozen to take HP?

And a possible bug.
- the aura of nemesis is red , the nightvision color is set to red : 150  but when i'm nemesis why the nightvision color is green? :|
This two are bugs that are not yet fixed in zp 5.0
__________________
H.RED.ZONE is offline
fmfs10
Senior Member
Join Date: Mar 2009
Location: Brasil
Old 01-09-2012 , 12:00   Re: ZP 5.0 Betas/Updates
#743

Hey! I've noticed an EXTRA CHECK on zp50_item_weapons.sma
PHP Code:
// plugin_precache...
if (ArraySize(g_weapon_names) == 0)
{
        for (
index 0index sizeof weapon_namesindex++)
            
ArrayPushString(g_weapon_namesweapon_names[index])
        
        
// Save to external file
        
amx_save_setting_string_arr(ZP_SETTINGS_FILE"Extra Items: Weapons and their costs""NAMES"g_weapon_names)
}
if (
ArraySize(g_weapon_items) == 0)
{
        for (
index 0index sizeof weapon_itemsindex++)
            
ArrayPushString(g_weapon_itemsweapon_items[index])
        
        
// Save to external file
        
amx_save_setting_string_arr(ZP_SETTINGS_FILE"Extra Items: Weapons and their costs""ITEMS"g_weapon_items)


Last edited by fmfs10; 01-09-2012 at 12:01.
fmfs10 is offline
bartek93tbg
Member
Join Date: Apr 2011
Location: Poland
Old 01-09-2012 , 15:47   Re: ZP 5.0 Betas/Updates
#744

Quote:
Originally Posted by INst1Nct View Post
And a possible bug.
- the aura of nemesis is red , the nightvision color is set to red : 150 but when i'm nemesis why the nightvision color is green?
For first, you have to enable custom nightvision (look into your ZP config).
bartek93tbg is offline
INst1Nct
Member
Join Date: Sep 2011
Location: Romania , Bucharest
Old 01-09-2012 , 16:15   Re: ZP 5.0 Betas/Updates
#745

Quote:
Originally Posted by bartek93tbg View Post
For first, you have to enable custom nightvision (look into your ZP config).
it is enabled...but nightvision color is still green.
Whatever if it wasn't enabled why nemesis had nightvision?
Now i'm sure here is a BUG

* how about
- the size of aura ( where can be changed )
- glow color of survivor why can't be changed ( only aura can be )
- where you can set to take HP when a zombie is frozen?

Last edited by INst1Nct; 01-09-2012 at 16:17.
INst1Nct is offline
bartek93tbg
Member
Join Date: Apr 2011
Location: Poland
Old 01-09-2012 , 16:45   Re: ZP 5.0 Betas/Updates
#746

Quote:
Originally Posted by INst1Nct View Post
it is enabled...but nightvision color is still green.
Whatever if it wasn't enabled why nemesis had nightvision?
Now i'm sure here is a BUG

* how about
- the size of aura ( where can be changed )
- glow color of survivor why can't be changed ( only aura can be )
- where you can set to take HP when a zombie is frozen?
This is nasty. It works for me, I'm sure you did something wrong =)



Size of aura (same steps for survivor/nemesis). Here is example for Survivor:

1. Open zp50_class_survivor.sma
2. Edit the line with bold font (find using CTRL+F)

Code:
// Survivor aura task
public survivor_aura(taskid)
{
    // Get player's origin
    static origin[3]
    get_user_origin(ID_AURA, origin)
    
    // Colored Aura
    message_begin(MSG_PVS, SVC_TEMPENTITY, origin)
    write_byte(TE_DLIGHT) // TE id
    write_coord(origin[0]) // x
    write_coord(origin[1]) // y
    write_coord(origin[2]) // z
    write_byte(50) // radius
    write_byte(get_pcvar_num(cvar_survivor_aura_color_R)) // r
    write_byte(get_pcvar_num(cvar_survivor_aura_color_G)) // g
    write_byte(get_pcvar_num(cvar_survivor_aura_color_B)) // b
    write_byte(2) // life
    write_byte(0) // decay rate
    message_end()
}
The bigger value you set, the bigger aura survivor has.

3. Compile



Survivor/Nemesis glow color:

1. Open zp50_class_survivor.sma
2. Edit the line with bold font:
Code:
    // Survivor glow
    if (get_pcvar_num(cvar_survivor_glow))
        set_user_rendering(id, kRenderFxGlowShell, 0, 0, 255, kRenderNormal, 25)
To change color you have to use RGB code, find generator using google. It has 3 values.

3. Compile



Enable damages when zombie is frozen:

1. Open zp50_grenade_frost.sma
2. Edit/Remove/Comment these lines:

Code:
    RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage")
    RegisterHamBots(Ham_TakeDamage, "fw_TakeDamage")
and

Code:
// Ham Take Damage Forward (needed to block explosion damage too)
public fw_TakeDamage(victim, inflictor, attacker, Float:damage, damage_type)
{
    // Non-player damage or self damage
    if (victim == attacker || !is_user_alive(attacker))
        return HAM_IGNORED;
    
    // Block damage while frozen, as it makes killing zombies too easy
    if (flag_get(g_IsFrozen, victim))
        return HAM_SUPERCEDE;
    
    return HAM_IGNORED;
}
3. Compile

Last edited by bartek93tbg; 01-09-2012 at 16:51.
bartek93tbg is offline
Snaker beatter
Veteran Member
Join Date: Sep 2011
Location: Manila, Philippines
Old 01-10-2012 , 08:41   Re: ZP 5.0 Betas/Updates
#747

@MerCyLeZZ:

thanks for update:

BUG: (5.0.8 & 5.0.7)
When the last human killed by non-player (world spawn kill or fall) the sever will
Not start a new round untill round time ends
this is a horrible bug
__________________
Snaker beatter is offline
Slavut1chh
Member
Join Date: Jul 2010
Location: N/A
Old 01-11-2012 , 06:10   Re: ZP 5.0 Betas/Updates
#748

It occurs so rarely.
__________________
Quote:
Originally Posted by tei1995 View Post
nobody care about fps when play zombie mod
Slavut1chh is offline
Isaac999
Senior Member
Join Date: Nov 2011
Location: Home
Old 01-11-2012 , 06:26   Re: ZP 5.0 Betas/Updates
#749

Yeah i hate that bug. My maps is high so when they fall it always bugged!
__________________
Isaac999 is offline
H.RED.ZONE
Veteran Member
Join Date: Sep 2011
Location: Serbia, Belgrade
Old 01-11-2012 , 09:38   Re: ZP 5.0 Betas/Updates
#750

Its a huge bug if you play on escape maps...
__________________
H.RED.ZONE is offline
Closed Thread



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 06:28.


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