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

Models Human Class ZP 4.3 Fix5a (Doubt)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-12-2022 , 16:42   Models Human Class ZP 4.3 Fix5a (Doubt)
Reply With Quote #1

Hello dear community, I would like to ask members with ZP experience, preferably ZP 4.3 Fix5a. I would like to know if ZP 4.3 Fix5a supports different Models? But don't just change the HUMAN="model", change the model of a specific human class. If yes, is there any Plugin compatible with ZP 4.3? Is there anything to add?
MeliMeli is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-12-2022 , 22:11   Re: Models Human Class ZP 4.3 Fix5a (Doubt)
Reply With Quote #2

This feature is not available in zp 4.3, you would need a third-party plugin or edit the main one.
With a couple of tweaks, one can adapt zp50_class_human to work with zp43. It's actually quite simple, just 5 lines

Delete
Code:
#include <zp50_core>

Replace
Code:
ZP_VERSION_STRING
with "1.0" or any other value that you desire, have to be surrounded by quotes.

---

Replace
Code:
zp_fw_core_infect
with
Code:
zp_user_infected_pre

---

Replace
Code:
zp_fw_core_cure_post
with
Code:
zp_user_humanized_post

---

Finally, replace zp_core_is_zombie with zp_get_user_zombie.

That's it.

You'll need the following includes
Code:
amx_settings_api
cs_player_models_api
cs_weap_models_api
cs_maxspeed_api
cs_weap_restrict_api
zp50_colorchat
zp50_class_human_const
and the following plugins

Code:
amx_settings_api
cs_player_models_api
cs_weap_models_api
cs_maxspeed_api
cs_weap_restrict_api
You can get them from zp50.
__________________









Last edited by CrazY.; 04-12-2022 at 22:18.
CrazY. is offline
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-13-2022 , 15:42   Re: Models Human Class ZP 4.3 Fix5a (Doubt)
Reply With Quote #3

Mas eu teria que reescrever várias partes do Plugin principal de ZP 4.3 né?
MeliMeli is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-14-2022 , 16:47   Re: Models Human Class ZP 4.3 Fix5a (Doubt)
Reply With Quote #4

Se você optar por editar o plugin principal, sim. Se for utilizar o plugin do zp50, você só precisaria adicionar um botão no menu principal do zp43 para abrir a seleção de classes, como a dos zumbis.

--------------------------

If you opt for editing the main plugin, yea. If you instead edit the zp50 one, you would just need to add a "Choose Human Class" option to the zp43 main menu.
__________________








CrazY. is offline
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-22-2022 , 21:38   Re: Models Human Class ZP 4.3 Fix5a (Doubt)
Reply With Quote #5

Opa, tentei isso agora pouco e não funcionou. Fiz tudo direitinho, existe algum outro método? o ZP 4.3 Fix5a tem modelos para diferentes modos, e usando o "Make Survivor" por exemplo, ele troca a pele imediatamente. isso poderia ser tipo uma base
MeliMeli is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 04-24-2022 , 11:36   Re: Models Human Class ZP 4.3 Fix5a (Doubt)
Reply With Quote #6

This seems to be working

Attached Files
File Type: zip stuff.zip (14.7 KB, 33 views)
__________________








CrazY. is offline
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-24-2022 , 16:38   Re: Models Human Class ZP 4.3 Fix5a (Doubt)
Reply With Quote #7

well I downloaded everything and it still didn't work. All files, nothing edited. Added in Plugins.ini
MeliMeli 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 16:10.


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