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

[ZR] Class [Humans] Medic


Post New Thread Reply   
 
Thread Tools Display Modes
Author
000
Member
Join Date: Jul 2022
Plugin ID:
8186
Plugin Version:
Plugin Category:
All
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Unapprover:
    Reason for Unapproving:
    No source code / plugin, upload source and use the Report Post button for a new review.
    Old 09-14-2022 , 09:45   [ZR] Class [Humans] Medic
    Reply With Quote #1

    Description:
    This is intended for immunity_mode "infect" servers.
    Just plug n play. It is self-explanatory. There are ingame instructions as well...

    Requirements:
    SourceMod 1.11+
    Zombie:Reloaded
    [ZR] Tools

    Installation:
    - Put all files from the release folder in your game root folder ("csgo" and/or "cstrike"). Note however that CS:S and CS:GO files addons/sourcemod/plugins are separated.
    - Put file from sound folder in your to zr/downloads.txt.
    - If CS:GO, put file from materials/panorama/images/icons/equipment in your to zr/downloads.txt.
    - reload map

    If the plugin is not working as intended, check your logs in addons/sourcemod/logs and report here.
    If error logs are not available, report nevertheless.

    Configuration:
    PHP Code:
    // We are going to do these next steps because this plugin chooses medics randomly to balance the game.
    // Each time the infection starts, medics will be randomly picked and the medic class assignend to them instantly.
    // Every 4th will be chosen a medic.
     
    #1. Put class attribute to a class named "human_medic".
    "medic"    "yes" // This enables medic for class

    #2. You must name the class "human_medic".
    // This is because plugin will search for this class name to assign to random players.

    #3. You must name the default class "human_normal".
    // This is because plugin will set default class for previous medics.

    #4. Disable the class ("enabled" "no") in playerclasses.txt.
    // This is to avoid player choosing this class. 
    // Alternatively, you can make this class a flag class (Admin/VIP) for the spicy extra.

    #5. Go to your zombiereloaded.cfg and find under the "Classes (core)" section the cvar "zr_classes_change_timelimit" and set value to the value of "zr_infect_spawntime_max" + 2.
    // This is because we want to change class of player instantly after infection started.

    #6. Done. 
    Translation:
    If you will, and the translation to be used does not exist, you can upload the file in a reply.

    Models:
    - CS:S: (see attachments).
    - CS:GO: none, fried my previous pc and can barely open games using an old laptop.

    Comment:
    Unfrtnly, the native ZR_GetClassByName of Z:R is not working at the moment.
    We have to set the class indices (default and medic) manually in the source file.
    If you have questions regarding that, post below or PM.

    Credits:
    - d0nn & smithy: For CS:S model.

    Changelog:
    Code:
    - v1.0
    • initial release.

    Last edited by DarkDeviL; 06-15-2023 at 12:57. Reason: Restore to previous version.
    000 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 01:53.


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