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

Help / Support [SOLVED][ZP 4.3] How to change survivor aura color ?


Post New Thread Reply   
 
Thread Tools Display Modes
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-04-2015 , 23:35   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #11

Just find below code from your zombie_plague40.sma file. Then, change it:
Code:
// Nemesis/madness aura task
public zombie_aura(taskid)
{
    // Not nemesis, not in zombie madness
    if (!g_nemesis[ID_AURA] && !g_nodamage[ID_AURA])
    {
        // Task not needed anymore
        remove_task(taskid);
        return;
    }
    
    // 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(20) // radius
    write_byte(get_pcvar_num(cvar_nemnvgcolor[0])) // r
    write_byte(get_pcvar_num(cvar_nemnvgcolor[1])) // g
    write_byte(get_pcvar_num(cvar_nemnvgcolor[2])) // b
    write_byte(2) // life
    write_byte(0) // decay rate
    message_end()
}
-->
Code:
// Nemesis/madness aura task
public zombie_aura(taskid)
{
    // Not nemesis, not in zombie madness
    if (!g_nemesis[ID_AURA] && !g_nodamage[ID_AURA])
    {
        // Task not needed anymore
        remove_task(taskid);
        return;
    }
    
    // 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(20) // radius
    write_byte(get_pcvar_num(0) // r
    write_byte(get_pcvar_num(0) // g
    write_byte(get_pcvar_num(250) // b
    write_byte(2) // life
    write_byte(0) // decay rate
    message_end()
}

Last edited by zmd94; 07-05-2015 at 09:28.
zmd94 is offline
WaLkMaN
Senior Member
Join Date: Oct 2010
Location: Varna, Bulgaria
Old 07-05-2015 , 05:58   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #12

This is only for nemesis (extra item madness) aura.
WaLkMaN is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-05-2015 , 09:29   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #13

Walkman, what do you mean?
zmd94 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-05-2015 , 10:26   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #14

I think he meant that the code that you modified affects the aura of nemesis and zombie madness :p
CrazY. is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-05-2015 , 13:18   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #15

If that, he is right.
zmd94 is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-06-2015 , 08:36   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #16

But I do not want to change it , I change the survivor 's aura reminds O.o
CrazY. is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 07-10-2015 , 20:17   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #17

first, this is the last time im gonna help you..
why?
because:
1. You double post in a topic
2. You double post a topic

Second, go and get ZPS or ZPA, in case you dont like ZP 5.0
Depresie is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-14-2015 , 14:27   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #18

'-' See the title of the topic = [Help] [ZP 4.3] How to change survivor aura color ?

In this topic I ask you how to change the color of Survivor aura , and the second topic , I post how to do just that this kind of buggy code , so if anyone knows another way , help me '-'

Last edited by CrazY.; 07-14-2015 at 14:28.
CrazY. is offline
Depresie
Veteran Member
Join Date: Nov 2013
Old 07-15-2015 , 13:53   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #19

zmd showed you the way...
just search the aura code of the survivor
Depresie is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 07-15-2015 , 22:13   Re: [Help] [ZP 4.3] How to change survivor aura color ?
Reply With Quote #20

The code that zmd posted does not change the aura of nemesis and the zombie madness ? only changes the aura survivor ?
CrazY. is offline
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 03:29.


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