AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   Models Human Class ZP 4.3 Fix5a (Doubt) (https://forums.alliedmods.net/showthread.php?t=337295)

MeliMeli 04-12-2022 16:42

Models Human Class ZP 4.3 Fix5a (Doubt)
 
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?

CrazY. 04-12-2022 22:11

Re: Models Human Class ZP 4.3 Fix5a (Doubt)
 
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.

MeliMeli 04-13-2022 15:42

Re: Models Human Class ZP 4.3 Fix5a (Doubt)
 
Mas eu teria que reescrever várias partes do Plugin principal de ZP 4.3 né?

CrazY. 04-14-2022 16:47

Re: Models Human Class ZP 4.3 Fix5a (Doubt)
 
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.

MeliMeli 04-22-2022 21:38

Re: Models Human Class ZP 4.3 Fix5a (Doubt)
 
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

CrazY. 04-24-2022 11:36

Re: Models Human Class ZP 4.3 Fix5a (Doubt)
 
1 Attachment(s)
This seems to be working

https://i.imgur.com/v8HsVir.png

MeliMeli 04-24-2022 16:38

Re: Models Human Class ZP 4.3 Fix5a (Doubt)
 
well I downloaded everything and it still didn't work. All files, nothing edited. Added in Plugins.ini


All times are GMT -4. The time now is 10:28.

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