Raised This Month: $32 Target: $400
 8% 

Deathrun Knives Enhanced 1.3 by Crackhead69


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Crackhead69
Member
Join Date: Feb 2021
Old 03-14-2021 , 10:08   Deathrun Knives Enhanced 1.3 by Crackhead69
Reply With Quote #1

Deathrun Knives Enhanced 1.3


Description
»Plugin was made specificly for Deathrun mod type of servers, but it can be used however and wherever you seem suitable, it has 6 different type of knives, with unique skins and abilities. The limits of the abilities are complitely customizable, so you can adjust them by your own preference.

Images
|

Cvars
DR cvars


Custmizations inside source
»From the plugin you can customize several options:
»For a custom header message with cvar dr_header_info:
Code:
Line 28: new const szCustomHeader[] = "Custom Header Message"
»To change the sound of when player chooses a knife from menu
Code:
Line 30: new const szSoundSuccess[] = "dr_knives/success.wav"
»To change the sound of when player don't have access to menu
Code:
Line 29:new const szSoundDeny[] = "dr_knives/denied.wav"
»To change the sound of when player does an extra jump
Code:
Line 31:new const szSoundJump[] = "dr_knives/jump.wav"
»To change the color of the screenfade effect when player picks a knife
Code:
Line: 11-14:
#define SCREENFADE_COLOR_R 212
#define SCREENFADE_COLOR_G 170
#define SCREENFADE_COLOR_B 255
#define SCREENFADE_COLOR_A 45
»To change the VIP accessability
Code:
Line 16: #define VIP_FLAG ADMIN_CHAT
»To change the knife models
Code:
Line:33 new const szKnifeModels[][] =
»The knife skins go from 1 to 6 whichever line is the model, so if you want to replace Butterfly knife's model for example, just change the pathing to the first line of the const: "models/dr_knives/Butterfly/v_butterfly.mdl" to whatever you want.

Disclaimer
»This is my first code i publish, as far as my knowledge it's the best way to form it. If you have any suggestions for improvements i should made, i will try and fulfill them if they are within my ability. Updates are for sure to be expected.
Attached Files
File Type: zip knf_resources.zip (5.41 MB, 107 views)
File Type: sma Get Plugin or Get Source (dr_knives_enh.sma - 186 views - 10.3 KB)

Last edited by Crackhead69; 03-14-2021 at 10:43.
Crackhead69 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-14-2021 , 11:04   Re: Deathrun Knives Enhanced 1.3 by Crackhead69
Reply With Quote #2

An enhancement has been made a while ago:
https://forums.alliedmods.net/showthread.php?t=293632
https://forums.alliedmods.net/showthread.php?t=314299

You should try to post something better or different.

Customization inside the source isn't really customization. People shouldn't have to edit the source in order to do that, that's hardcoding. Cvars/ini file is the way to go.

I understand it's your first code, but this has no chance of being approved in 2021. You should keep learning and post something unique and worth using over other plugins.
__________________

Last edited by OciXCrom; 03-14-2021 at 11:06.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 00:58.


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