Raised This Month: $ Target: $400
 0% 

Knife Models [XP System & Skills Support]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-01-2018 , 15:26   Re: Knife Models [XP System Support]
Reply With Quote #1

Ugh, why would you want to do that? It's much easier for people to know the required level number instead of remembering all of the the rank names. I'll add an option in the next update though.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
xeloxded
Member
Join Date: Dec 2016
Old 07-01-2018 , 15:55   Re: Knife Models [XP System Support]
Reply With Quote #2

Well, I mean its more beauty to look at Ranks instead of a flat number.. Waiting for that, thank you
xeloxded is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-02-2018 , 09:35   Re: Knife Models [XP System Support]
Reply With Quote #3


  • Added a cvar to save the selected knife via SteamID after leaving the server (km_save_choice 1).
  • Added an option in the .ini file to display the rank name instead of the level number when using the rank system (SHOW_RANK = 1).
  • Added an option to set a sound when selecting the knife from the menu.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
xeloxded
Member
Join Date: Dec 2016
Old 07-02-2018 , 13:47   Re: Knife Models [XP System Support]
Reply With Quote #4

Still shows LEVEL = 2
Quote:
[Test]
V_MODEL = models/v_knife.mdl
P_MODEL = models/p_knife.mdl
LEVEL = 2
SHOW_RANK = 1

Last edited by xeloxded; 07-02-2018 at 13:47.
xeloxded is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-02-2018 , 14:07   Re: Knife Models [XP System Support]
Reply With Quote #5

@Supergirl - you're right. I'll make separate parameters for both teams and you'll be able to have a different knife depending on which team you are.

@xeloxdex - you probably didn't fully update the plugin. Make sure you download and recompile the .sma file and replace the .amxx one. I tested it multiple times and it works perfectly.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Supergirl
Member
Join Date: Jul 2016
Old 07-03-2018 , 10:05   Re: Knife Models [XP System Support]
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
@Supergirl - you're right. I'll make separate parameters for both teams and you'll be able to have a different knife depending on which team you are.
Take your time. Once again, thank you and good work!
Edit - Having some thoughts... why not having more than custom knives for both teams: why not having default knives for both teams (for this I mean when you enter the server instead of the "Default" knife, it will have 2 "Default" knives, one for TE and one for CT)? Is it possible to manage the plugin to do so?

Last edited by Supergirl; 07-03-2018 at 17:28.
Supergirl is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-04-2018 , 08:36   Re: Knife Models [XP System Support]
Reply With Quote #7

Quote:
Originally Posted by Supergirl View Post
Edit - Having some thoughts... why not having more than custom knives for both teams: why not having default knives for both teams (for this I mean when you enter the server instead of the "Default" knife, it will have 2 "Default" knives, one for TE and one for CT)? Is it possible to manage the plugin to do so?
Not sure how I'm going to do this, but I'll see what I can do. I feel like the plugin's code is going to get a lot complicated.

Quote:
Originally Posted by xeloxded View Post
I got a bug, if you are CT then choose a custom knife and then you switch to TT, it will reset to your default CS knife but with your custom knife selected on menu

Edit: This does only happen because on Deathrun mode you only have a Knife as TT, it wont refresh, but if you give a TT a weapon it will give you your desired model.
Yup, just tested with a plugin that removes weapons on spawn, same thing happened. This is actually a bug from the hamsandwich module, looks like the function doesn't get called quickly enough to detect that the weapon was removed. Fixed (update the .sma file).

@HamletEagle - I'm switching back to using CurWeapon instead of Ham_Deploy because of this problem. I experienced something simillar in another plugin. I'll need to use a task in order to prevent it, but that doesn't feel right, so I prefer CurWeapon.

Quote:
Originally Posted by xeloxded View Post
Another suggestion is that Save selection has to be via Nick too, its useless if you are using your Rank System with Nick save.
Better not mention that you're using a non-steam server here.
__________________

Last edited by OciXCrom; 07-04-2018 at 08:36.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Supergirl
Member
Join Date: Jul 2016
Old 07-04-2018 , 22:01   Re: Knife Models [XP System Support]
Reply With Quote #8

Quote:
Originally Posted by OciXCrom View Post
Not sure how I'm going to do this, but I'll see what I can do. I feel like the plugin's code is going to get a lot complicated.
No hurries, mate!
Supergirl is offline
CzechPeter
New Member
Join Date: Jul 2018
Old 07-11-2018 , 12:17   Re: Knife Models [XP System Support]
Reply With Quote #9

Code:
"L 07/11/2018 - 18:15:16: [AMXX] Run time error 10: native error (native "clamp")
L 07/11/2018 - 18:15:16: [AMXX]    [0] yb983cxt.sma.p::use_vault (line 677)
L 07/11/2018 - 18:15:16: [AMXX]    [1] yb983cxt.sma.p::ReadData (line 452)
L 07/11/2018 - 18:15:16: [AMXX] Displaying debug trace (plugin "crx_ranksystem.amxx", version "unknown)"
Please help
CzechPeter is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-11-2018 , 17:04   Re: Knife Models [XP System Support]
Reply With Quote #10

Quote:
Originally Posted by CzechPeter View Post
Code:
"L 07/11/2018 - 18:15:16: [AMXX] Run time error 10: native error (native "clamp")
L 07/11/2018 - 18:15:16: [AMXX]    [0] yb983cxt.sma.p::use_vault (line 677)
L 07/11/2018 - 18:15:16: [AMXX]    [1] yb983cxt.sma.p::ReadData (line 452)
L 07/11/2018 - 18:15:16: [AMXX] Displaying debug trace (plugin "crx_ranksystem.amxx", version "unknown)"
Please help
Why did you post this here? Look in which plugin the error is.
__________________

Last edited by OciXCrom; 07-11-2018 at 17:04.
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 23:53.


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