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

Installation of models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
yRestrict
BANNED
Join Date: Apr 2019
Old 05-04-2019 , 06:06   Installation of models
Reply With Quote #1

I do not know if here and correct area to post a doubt

I'm still starting to meche with amx
I already know how to copy everything correctly, but I have a big question
I recently downloaded "OciXCrom's Rank System" and it works perfectly. I ended up seeing two other plugins that I got very involved with first and "Knife Models" and "AWP Models"
problem and I do not know install the skins
and I also do not have the slightest idea how she pulls it in .ini
Could someone help me?

Remembering the plugins I mentioned before are working perfectly, I just need to put the models but I do not know how to do that and neither does the models for .ini
yRestrict is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-04-2019 , 10:03   Re: Installation of models
Reply With Quote #2

You should have asked this question in the plugin's thread rather than creating a new one.

I really don't see what you exactly don't understand. If you put the model in "models/some_folder/model_name.mdl", you will write exactly that in the configuration file. It doesn't matter in which folder you put it, as long it's in the main "models" folder - you don't even have to put it in another folder inside this one, you can use the "models" folder itself.

You can choose whatever folder you like and name it whatever you want. It doesn't matter. You have full control over the model's location.

There's even an example with the default knife in the configuration file. It's "models/v_knife.mdl" - you can use this and find where it's located in order to understand better.
__________________

Last edited by OciXCrom; 05-04-2019 at 10:04.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
yRestrict
BANNED
Join Date: Apr 2019
Old 05-04-2019 , 15:09   Re: Installation of models
Reply With Quote #3

I understood how it works thank you very much.
Let me ask another question.
when the knife has sounds where I put it, and how I add other attributes on the knife

an example of my
Code:
[Bayonet Polymer]
V_MODEL = models/skins/v_knife.mdl
P_MODEL = models/skins/P_knife.mdl

I do not know where to install sounds from her you could show me an example add all attributes

@edit I have a knife with the following sounds
knife_hit1
knife_hit2
knife_hit3
knife_hit4
knife_hitwall1
knife_slash1 and 2

Last edited by yRestrict; 05-04-2019 at 16:20.
yRestrict is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-05-2019 , 13:29   Re: Installation of models
Reply With Quote #4

In any folder inside the "sound" folder, but make sure NOT to include the "sound" folder in the configuration file.

For example, go in the "sound" folder and create a new folder named "yrestrict_knife" and put the .wav files inside it.

Then in the .ini file you would write:
SOUND_OPTION = yrestrict_knife/file_name.wav

Just replace SOUND_OPTION with the attribute name and "file_name" with the actual filename, e.g. "knife_hit1". Do this for each one of the sounds.
__________________

Last edited by OciXCrom; 05-05-2019 at 13:30.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-06-2019 , 15:03   Re: Installation of models
Reply With Quote #5

Here's an example knife including each one of the attributes. I added this in the plugin thread as well.

PHP Code:
[Crom Knife]
V_MODEL models/crom_knife/v_crom_knife.mdl
P_MODEL 
models/crom_knife/p_crom_knife.mdl
FLAG 
b
DEPLOY_SOUND 
crom_knife/knife_deploy1.wav
HIT_SOUND 
crom_knife/knife_hit1.wav
HITWALL_SOUND 
crom_knife/knife_hitwall1.wav
SLASH_SOUND 
crom_knife/knife_slash1.wav
STAB_SOUND 
crom_knife/knife_stab.wav
SELECT_SOUND 
crom_knife/knife_select.wav
SELECT_MESSAGE 
You have &x03selected &x01the knife &x04Crom Knife
LEVEL 
15
SHOW_RANK 
1
XP 
3000 
__________________

Last edited by OciXCrom; 05-06-2019 at 15:04.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply


Thread Tools
Display Modes

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 16:37.


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