Raised This Month: $32 Target: $400
 8% 

Help / Support [ZP 5.0.8] How do I make your nemesis have 250 damage?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Salmon12
Junior Member
Join Date: Aug 2022
Old 09-08-2022 , 23:29   [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #1

Anyone know how I can make the Nemesis maintain the damage of "250"? I put that amount in the "zombieplague.cfg" and the nemesis takes a lot of life like 7k and 10k in the head, if they tell me the solution I would appreciate them
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla (754).png
Views:	66
Size:	41.2 KB
ID:	196762  
Salmon12 is offline
Old 09-10-2022, 02:13
Salmon12
This message has been deleted by Salmon12.
zXCaptainXz
Member
Join Date: May 2017
Old 09-10-2022 , 14:43   Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #2

Do you want it to deal 250 damage in all cases? No matter if it's a stab/slash or headshot/backstab/body hit?
zXCaptainXz is offline
Salmon12
Junior Member
Join Date: Aug 2022
Old 09-14-2022 , 17:31   Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #3

no, anywhere the nemesis hits, only that it has 250 damage
Salmon12 is offline
Salmon12
Junior Member
Join Date: Aug 2022
Old 09-16-2022 , 03:15   Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #4

reply me
Salmon12 is offline
zXCaptainXz
Member
Join Date: May 2017
Old 09-18-2022 , 11:04   Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #5

Replace whatever's inside fw_TakeDamage in zp50_class_nemesis.sma with this
PHP Code:

// Ham Take Damage Forward
public fw_TakeDamage(victiminflictorattackerFloat:damagedamage_type)
{
    
// Non-player damage or self damage
    
if (victim == attacker || !is_user_alive(attacker))
        return 
HAM_IGNORED;
    
    
// Nemesis attacking human
    
if (flag_get(g_IsNemesisattacker))
    {
        
// Ignore nemesis damage override if damage comes from a 3rd party entity
        // (to prevent this from affecting a sub-plugin's rockets e.g.)
        
if (inflictor == attacker)
        {
            
SetHamParamFloat(4get_pcvar_float(cvar_nemesis_damage))
            return 
HAM_HANDLED;
        }
    }
    
    return 
HAM_IGNORED;

And set the cvar zp_nemesis_damage to 250 in zombieplague.cfg
zXCaptainXz is offline
Salmon12
Junior Member
Join Date: Aug 2022
Old 09-19-2022 , 00:42   Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #6

ok

Last edited by Salmon12; 09-19-2022 at 00:54.
Salmon12 is offline
Salmon12
Junior Member
Join Date: Aug 2022
Old 09-19-2022 , 00:59   Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #7

It doesn't work, the Nemesis takes a lot of life/HP, I put what you told me and it's still the same, best send the Nemesis .sma so you can modify it, I don't know about Scripting Pawn
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla (829).jpg
Views:	58
Size:	67.9 KB
ID:	196960   Click image for larger version

Name:	Captura de pantalla (830).jpg
Views:	44
Size:	64.9 KB
ID:	196961  
Attached Files
File Type: sma Get Plugin or Get Source (zp50_class_nemesis.sma - 74 views - 11.2 KB)

Last edited by Salmon12; 09-19-2022 at 01:06.
Salmon12 is offline
zXCaptainXz
Member
Join Date: May 2017
Old 09-19-2022 , 04:06   Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #8

Did you compile the .sma after editing it?
zXCaptainXz is offline
Salmon12
Junior Member
Join Date: Aug 2022
Old 09-20-2022 , 01:04   Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #9

yes
Salmon12 is offline
Salmon12
Junior Member
Join Date: Aug 2022
Old 09-21-2022 , 22:05   Re: [ZP 5.0.8] How do I make your nemesis have 250 damage?
Reply With Quote #10

But can you help me?
Salmon12 is offline
Reply


Thread Tools
Display Modes

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 10:01.


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