View Single Post
Author Message
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 12-03-2015 , 22:59   [CS:GO ZR] Custom Claws (first person view models)
Reply With Quote #1

Description:

Set custom claws in CS:GO for zombiereloaded servers.

Screenshot: http://steamcommunity.com/sharedfile.../?id=568084115


Requeriments:

Configuration:

-Upload the .smx file to addons/sourcemod/plugins

-Put all the claws files into addons/sourcemod/configs/zr/downloads.txt
Example:
Code:
// zombie claws
//**************  Claws textures **************//

// Default
materials/models/zombie/normal_f/hand/normal_f_hand.vmt
materials/models/zombie/normal_f/normal_f_hand.vtf
materials/models/zombie/normal_f/normal_f_hand_normal.vtf
models/zombie/normal_f/hand/hand_zombie_normal_f.mdl
models/zombie/normal_f/hand/hand_zombie_normal_f.dx90.vtx
models/zombie/normal_f/hand/hand_zombie_normal_f.vvd

// Fast
materials/models/zombie/normalhost_female/hand/normalhost_f_arm.vmt
materials/models/zombie/normalhost_female/normalhost_f_arm.vtf
materials/models/zombie/normalhost_female/normalhost_f_arm_normal.vtf
models/zombie/normalhost_female/hand/hand_zombie_normalhost_f.mdl
models/zombie/normalhost_female/hand/hand_zombie_normalhost_f.dx90.vtx
models/zombie/normalhost_female/hand/hand_zombie_normalhost_f.vvd

// Tank
materials/models/zombie/normal/hand/zombie_normal_hand.vmt
materials/models/zombie/normal/zombie_normal_hand.vtf
materials/models/zombie/normal/zombie_normal_hand_normal.vtf
models/zombie/normal/hand/hand_zombie_normal_fix.mdl
models/zombie/normal/hand/hand_zombie_normal_fix.dx90.vtx
models/zombie/normal/hand/hand_zombie_normal_fix.vvd

// Psyh
materials/models/zombie/normalhost/hand/zombie_normalhost_hand.vmt
materials/models/zombie/normalhost/zombie_normalhost_hand.vtf
materials/models/zombie/normalhost/zombie_normalhost_hand_normal.vtf
models/zombie/normalhost/hand/hand_zombie_normalhost.mdl
models/zombie/normalhost/hand/hand_zombie_normalhost.dx90.vtx
models/zombie/normalhost/hand/hand_zombie_normalhost.vvd


// the rest

// team win overlays
materials/overlays/zr/zombies_win.vtf
materials/overlays/zr/zombies_win.vmt
materials/overlays/zr/humans_win.vtf
materials/overlays/zr/humans_win.vmt

models/player/others/zombie.mdl
models/player/others/zombie.phy
models/player/others/zombie.vtx
models/player/others/zombie.vvd

materials\models\player\freddykrueger\body.vmt
materials\models\player\freddykrueger\body.vtf
materials\models\player\freddykrueger\body2.vmt
materials\models\player\freddykrueger\body2.vtf
materials\models\player\freddykrueger\body_n.vtf
materials\models\player\freddykrueger\body_s.vtf
materials\models\player\freddykrueger\hat.vmt
materials\models\player\freddykrueger\hat.vtf
materials\models\player\freddykrueger\hat_n.vtf
materials\models\player\freddykrueger\hat_s.vtf

models\player\freddykrueger\freddykrueger.dx90.vtx
models\player\freddykrueger\freddykrueger.mdl
models\player\freddykrueger\freddykrueger.phy
models\player\freddykrueger\freddykrueger.vvd

sound/music/zr/fz_scream1.mp3
sound/music/zr/zombie_die1.mp3
sound/music/zr/zombie_die2.mp3
sound/music/zr/zombie_die3.mp3
sound/music/zr/zombie_pain1.mp3
sound/music/zr/zombie_pain2.mp3
sound/music/zr/zombie_pain3.mp3
sound/music/zr/zombie_pain4.mp3
sound/music/zr/zombie_pain5.mp3
sound/music/zr/zombie_pain6.mp3
sound/music/zr/zombie_voice_idle1.mp3
sound/music/zr/zombie_voice_idle10.mp3
sound/music/zr/zombie_voice_idle11.mp3
sound/music/zr/zombie_voice_idle12.mp3
sound/music/zr/zombie_voice_idle13.mp3
sound/music/zr/zombie_voice_idle14.mp3
sound/music/zr/zombie_voice_idle2.mp3
sound/music/zr/zombie_voice_idle3.mp3
sound/music/zr/zombie_voice_idle4.mp3
sound/music/zr/zombie_voice_idle5.mp3
sound/music/zr/zombie_voice_idle6.mp3
sound/music/zr/zombie_voice_idle7.mp3
sound/music/zr/zombie_voice_idle8.mp3
sound/music/zr/zombie_voice_idle9.mp3
sound/music/zr/zr_ambience.mp3
-In the file addons/sourcemod/configs/zr/playerclasses.txt you need to add a entry called "claws_path" for add a arms model for these class
Example:
Code:
    "zombie_classic2"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "yes"
        "flags"                 "0"
        "group"                 "VIP"
        
        "name"                  "Freddy krueger"
        "description"           "Admin model"
        
        // Model
	"model_path"            "models/player/freddykrueger/freddykrueger.mdl"
	"claws_path"            "models/zombie/normal_f/hand/hand_zombie_normal_f.mdl" // claws model for this class
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "no"
        "napalm_time"           "7.0"
        
        // Player behavior
        "immunity_mode"         "none"
        "immunity_amount"       "1"
        "immunity_cooldown"     "60"
        "no_fall_damage"        "yes"
        
        "health"                "6000"
        "health_regen_interval" "1.0"
        "health_regen_amount"   "10"
        "health_infect_gain"    "500"
        "kill_bonus"            "2"
        
        "speed"                 "310"
        "knockback"             "4.0"
        "jump_height"           "1.0"
        "jump_distance"         "1.0"
    }
Note: if you dont add a entry called "claws_path" to a class, then this class will use the default model.


Requeriments:

ZombieReloaded


Credits:

Models taken from the zombie plague of gubka
Custom viewmodel snippet - https://forums.alliedmods.net/showthread.php?t=273885


Donations (optional):

If you apreciate my work, you can donate me via paypal or with a trade offer


Download:

Main repository
Direct download
Code changes
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 12-31-2015 at 23:13.
Franc1sco is offline
Send a message via MSN to Franc1sco