Raised This Month: $ Target: $400
 0% 

Solved cant change the description of the zombies


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
petrov2g
Junior Member
Join Date: Apr 2023
Old 05-01-2023 , 14:39   cant change the description of the zombies
Reply With Quote #1

Hello

I'm trying to change the Zombie Class description, but its not working.

Before it was
Fat Zombie Health++ Speed-

I want to change to only

Fat Zombie Health

I tried changing both files but its not working. Am i looking in the right files?

Here is the code

zp50_class_zombie_fat.sma

Code:
#include <amxmodx>
#include <zp50_class_zombie>

// Big Zombie Attributes
new const zombieclass4_name[] = "Fat Zombie"
new const zombieclass4_info[] = "Health"
new const zombieclass4_models[][] = { "zombie_source" }
new const zombieclass4_clawmodels[][] = { "models/zombie_plague/v_knife_zombie.mdl" }
const zombieclass4_health = 2700
const Float:zombieclass4_speed = 0.65
const Float:zombieclass4_gravity = 1.0
const Float:zombieclass4_knockback = 0.5

new g_ZombieClassID

public plugin_precache()
{
	register_plugin("[ZP] Class: Zombie: Fat", ZP_VERSION_STRING, "ZP Dev Team")
	
	new index
	
	g_ZombieClassID = zp_class_zombie_register(zombieclass4_name, zombieclass4_info, zombieclass4_health, zombieclass4_speed, zombieclass4_gravity)
	zp_class_zombie_register_kb(g_ZombieClassID, zombieclass4_knockback)
	for (index = 0; index < sizeof zombieclass4_models; index++)
		zp_class_zombie_register_model(g_ZombieClassID, zombieclass4_models[index])
	for (index = 0; index < sizeof zombieclass4_clawmodels; index++)
		zp_class_zombie_register_claw(g_ZombieClassID, zombieclass4_clawmodels[index])
}
]

here is the code for zp_zombieclasses.ini
Code:
[Fat Zombie]
NAME = Fat Zombie
INFO = Health
MODELS = zp62_bigzm
CLAWMODEL = models/zombie_plague/v_zp62_knife_bigzm.mdl
HEALTH = 4500
SPEED = 1.00
GRAVITY = 1.00
KNOCKBACK = 0.50

Last edited by petrov2g; 05-02-2023 at 07:47. Reason: solved
petrov2g is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 05-01-2023 , 16:15   Re: cant change the description of the zombies
Reply With Quote #2

I never runned a ZP server but this seems ok. Have you tried restart the server?
__________________
Jhob94 is offline
petrov2g
Junior Member
Join Date: Apr 2023
Old 05-01-2023 , 17:17   Re: cant change the description of the zombies
Reply With Quote #3

Quote:
Originally Posted by Jhob94 View Post
I never runned a ZP server but this seems ok. Have you tried restart the server?
yes i did, still no luck
petrov2g is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 05-01-2023 , 17:54   Re: cant change the description of the zombies
Reply With Quote #4

I used to run that mode a long time ago, to do those kind of edits if I remember correctly just modify the file ini
__________________
mlibre is offline
zXCaptainXz
Member
Join Date: May 2017
Old 05-02-2023 , 01:08   Re: cant change the description of the zombies
Reply With Quote #5

If I remember correctly, you could change it in amxmodx/data/lang/zombieplague.txt or zombieplague50.txt, just look for that file and search for Health++ and change it to what you need.
I don't remember why it would switch to taking input from the language files instead of zp_zombieclasses.ini though...
zXCaptainXz is offline
petrov2g
Junior Member
Join Date: Apr 2023
Old 05-02-2023 , 07:47   Re: cant change the description of the zombies
Reply With Quote #6

Quote:
Originally Posted by zXCaptainXz View Post
If I remember correctly, you could change it in amxmodx/data/lang/zombieplague.txt or zombieplague50.txt, just look for that file and search for Health++ and change it to what you need.
I don't remember why it would switch to taking input from the language files instead of zp_zombieclasses.ini though...
it worked, appriciate your help!
petrov2g 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 17:10.


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