Problema model

Discutii legate de instalarea, configurarea si modificarea unui server de Counter-Strike.

Moderators: Moderatori ajutatori, Moderatori

Post Reply
AsSaS1Nu
Membru, skill 0
Membru, skill 0
Posts: 26
Joined: 05 Jul 2018, 18:48
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

12 Jul 2019, 10:26

Am si eu o problema cu modelul de hand ,am scris modelul de hand in sursa ,am facut un fisier in models/zombieplague cu numele respectiv al modelului si am pus acolo modelulul ,dar cand repornesc sv imi da eroarea asta mod_numforname:models/zombie_plague/v_strong_psyho2.z7.mdl ,ce trebuie sa fac sa nu imi mai da aceasta eroare?
IG-BOOST.org - Instagram Followers Best, Cheap, Reliable
User avatar
Laurentiu P.
Super moderator
Super moderator
Posts: 2164
Joined: 10 Jul 2013, 20:26
Detinator Steam: Da
CS Status: Activitate scazuta !
Detinator server CS: Da
SteamID: trust_ro
Reputatie: Moderator > Super moderator
Nume anterior: Do[N]e ;3
Fond eXtream: 1
Location: Constanta
Has thanked: 4 times
Been thanked: 12 times

12 Jul 2019, 11:15

posteaza sursa/bucata de cod unde ai trecut modelu
Image
AsSaS1Nu
Membru, skill 0
Membru, skill 0
Posts: 26
Joined: 05 Jul 2018, 18:48
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

12 Jul 2019, 11:31

/*================================================================================

-----------------------------------
-*- [ZP] Default Zombie Classes -*-
-----------------------------------

~~~~~~~~~~~~~~~
- Description -
~~~~~~~~~~~~~~~

This plugin adds the default zombie classes to Zombie Plague.
Feel free to modify their attributes to your liking.

Note: If zombie classes are disabled, the first registered class
will be used for all players (by default, Classic Zombie).

================================================================================*/

#include <amxmodx>
#include <fakemeta>
#include <zombieplague>

/*================================================================================
[Plugin Customization]
=================================================================================*/

// Classic Zombie Attributes
new const zclass1_name[] = { "Classic Zombie" }
new const zclass1_info[] = { "=Balanced=" }
new const zclass1_model[] = { "strong_psyho2_z7p" }
new const zclass1_clawmodel[] = { "v_strong_psyho2_z7_.mdl" }
const zclass1_health = 3800
const zclass1_speed = 200
const Float:zclass1_gravity = 1.0
const Float:zclass1_knockback = 1.0

// Raptor Zombie Attributes
new const zclass2_name[] = { "Raptor Zombie" }
new const zclass2_info[] = { "HP-- Speed++ Knockback++" }
new const zclass2_model[] = { "zombimod_raptor" }
new const zclass2_clawmodel[] = { "v_knife_raptor.mdl" }
const zclass2_health = 2300
const zclass2_speed = 230
const Float:zclass2_gravity = 1.0
const Float:zclass2_knockback = 1.5

// Poison Zombie Attributes
new const zclass3_name[] = { "Poison Zombie" }
new const zclass3_info[] = { "HP- Jump+ Knockback+" }
new const zclass3_model[] = { "zombimod_pozitie" }
new const zclass3_clawmodel[] = { "v_knife_zombipo.mdl" }
const zclass3_health = 2000
const zclass3_speed = 190
const Float:zclass3_gravity = 0.75
const Float:zclass3_knockback = 1.25

// Big Zombie Attributes
new const zclass4_name[] = { "Big Zombie" }
new const zclass4_info[] = { "HP++ Speed- Knockback--" }
new const zclass4_model[] = { "zombimod_big" }
new const zclass4_clawmodel[] = { "v_knife_zombibig.mdl" }
const zclass4_health = 2700
const zclass4_speed = 155
const Float:zclass4_gravity = 1.0
const Float:zclass4_knockback = 0.5

// Leech Zombie Attributes
new const zclass5_name[] = { "Leech Zombie" }
new const zclass5_info[] = { "HP- Knockback+ Leech++" }
new const zclass5_model[] = { "zombimod_lee" }
new const zclass5_clawmodel[] = { "v_knife_zombioo.mdl" }
const zclass5_health = 1900
const zclass5_speed = 190
const Float:zclass5_gravity = 1.0
const Float:zclass5_knockback = 1.25
const zclass5_infecthp = 200 // extra hp for infections

/*============================================================================*/

// Class IDs
new g_zclass_leech

// Zombie Classes MUST be registered on plugin_precache
public plugin_precache()
{
register_plugin("[ZP] Default Zombie Classes", "4.1", "MeRcyLeZZ")

// Register all classes
zp_register_zombie_class(zclass1_name, zclass1_info, zclass1_model, zclass1_clawmodel, zclass1_health, zclass1_speed, zclass1_gravity, zclass1_knockback)
zp_register_zombie_class(zclass2_name, zclass2_info, zclass2_model, zclass2_clawmodel, zclass2_health, zclass2_speed, zclass2_gravity, zclass2_knockback)
zp_register_zombie_class(zclass3_name, zclass3_info, zclass3_model, zclass3_clawmodel, zclass3_health, zclass3_speed, zclass3_gravity, zclass3_knockback)
zp_register_zombie_class(zclass4_name, zclass4_info, zclass4_model, zclass4_clawmodel, zclass4_health, zclass4_speed, zclass4_gravity, zclass4_knockback)
g_zclass_leech = zp_register_zombie_class(zclass5_name, zclass5_info, zclass5_model, zclass5_clawmodel, zclass5_health, zclass5_speed, zclass5_gravity, zclass5_knockback)
}

// User Infected forward
public zp_user_infected_post(id, infector)
{
// If attacker is a leech zombie, gets extra hp
if (zp_get_user_zombie_class(infector) == g_zclass_leech)
set_pev(infector, pev_health, float(pev(infector, pev_health) + zclass5_infecthp))
}
User avatar
L E V I N
Scripter eXtreamCS
Scripter eXtreamCS
Posts: 2189
Joined: 24 Aug 2011, 11:24
Detinator Steam: Da
CS Status:
Detinator server CS: ☯∴
SteamID: riseofevo
Reputatie: Scripter eXtreamCS
Nume anterior: Adryyy
Location: ҳ̸Ҳ̸ҳ
Has thanked: 33 times
Been thanked: 349 times
Contact:

12 Jul 2019, 18:47

v_strong_psyho2_z7_.mdl-v_strong_psyho2_z7.mdl
pentru model player faci un folder în /models/player/strong_psyho2_z7p/strong_psyho2_z7p.mdl
Nu fac nimic contra cost! Faceți cerere bine detaliată aici, pe forum. Nu-mi mai dați add pe Steam doar pentru a mă avea în lista de prieteni.
Am cont și activez doar aici! Aveți grijă la cei ce încearcă să mă copieze..Puteți lua legătura cu mine dacă aveți o problemă/nelămurire în acest caz.
AsSaS1Nu
Membru, skill 0
Membru, skill 0
Posts: 26
Joined: 05 Jul 2018, 18:48
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

12 Jul 2019, 19:21

Modelul de zm merge ,imi da eroare la modelul de maini zm ,l-am pus in models/zombie_plague ,am facut un fisier in care am mutat modelul si tot imi da eroare mod_numforname:models/zombie_plague/v_strong_psyho2.z7.mdl
AsSaS1Nu
Membru, skill 0
Membru, skill 0
Posts: 26
Joined: 05 Jul 2018, 18:48
Detinator Steam: Nu
CS Status: Citesc forumul eXtreamCS.com...!
Fond eXtream: 0
Contact:

14 Jul 2019, 18:43

Ma ajuta si pe mine cineva sau nu?
Post Reply

Return to “Probleme la servere dedicate de Counter-Strike”

  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 6 guests