Raised This Month: $ Target: $400
 0% 

Weapon Model Replacement v1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
djaa2807
Junior Member
Join Date: Jul 2011
Old 01-29-2012 , 04:48   Weapon Model Replacement v1.3
Reply With Quote #1

  • What is this plugin?
    This plugin allows you to replace all client's weapon models + sounds to custom skins from your server. In Example: You found a pretty M4A1 model that you want everyone to use cause it's so leet, you can download it and put it onto your server and edit the config file to use the custom M4A1's models. Sounds however only work for melee weapons (IE: knife, crowbar).
  • Config file Info:
    Quote:
    file: | amxmodx/configs/new_weapons.ini

    syntax: | "old model/sound file" "new model/sound file" ["Team"]
    example : | "models/model.mdl" "models/newmodel.mdl"
    example : | "sound/weapons/sound.wav" "sound/weapons/newsound.wav" "CT"
    example : | "models/v_knife.mdl" "models/v_knife2.mdl" "T"
    example : | "models/p_rocketlauncher.mdl" "models/p_rocketlauncher2.mdl" "Axis"
  • new_weapons.ini is read for every map if new_weapons_mapname.ini is not found. (IE: new_weapons_de_dust2.ini)

  • Team name that comes after the models/sounds can be both without or with quotes. The team is optional, if no team specified the model/sound will be applied to all players on all teams. If you do specify a team it should be one of the following:
    • T
    • Terrorist
    • Terrorists
    • Blue
    • B
    • Allies
    • 1
    • CT
    • Counter
    • Counter-Terrorist
    • Counter-Terrorists
    • CounterTerrorists
    • CounterTerrorist
    • Red
    • R
    • Axis
    • 2
    • Yellow
    • Y
    • 3
    • Green
    • G
    • 4

  • Notes:
    o Note 1: The more models + sounds you replace into the config file the less efficient this plugin will become. This doesn't mean that you cannot put a bunch of models + sounds into the config file, nor that it is not recommended, just that if your server experiences higher ping, consider reducing the number of replaced models + sounds.
    o Note 2: By default you can replace a max of 50 v_models + 50 p_models + 50 w_models + 50 sounds. You can change this on lines 5 - 9 of the .sma file then you'll have to recompile+replace the plugin with the new .sma file and you are good2go.
    o Note 3: Remember, the client has to download every model + sound that you are replacing upon entering the server. Don't go overboard please.
    o Note 4: you cannot replace any sound files except for melee weapons.
    o Note 5: Stay away from using symbols in your file and folder names. Example: "sound/weapons/==GHW==/knife_slash1.wav" is a bad name. "sound/weapons/GHW/knife_slash1-2.wav" is also a bad name.
    o Note 6: Can't replace shield models.

  • Recommendations:
    Fps Banana Skins
  • Disclaimer:
    I take no credit for making the entire plugin as a whole as i did copy most of the code from GHW_Chronic's weapon model replacement.
    What i did was that i added two functions which would allow each individual players to choose whether they would like to have the new models or not:

    *New* Client Usage for v1.3:
    F4: allow new models
    F3: use default models

  • By default the models are disabled! So each client needs to press F4 atleast once on entering the server to allow new models. But all models will be precached for all clients, so anyone entering the server will download all models.

  • Incentive:
    Most people entering my server asked for this feature
Attached Files
File Type: ini new_weapons.ini (41 Bytes, 143 views)
File Type: ini new_weapons_de_dust2.ini (47 Bytes, 51 views)

Last edited by Arkshine; 01-29-2012 at 05:27.
djaa2807 is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-29-2012 , 05:32   Re: Weapon Model Replacement v1.3
Reply With Quote #2

I'm trashing this.

Don't post existing plugin with minor changes.
Don't insert slowhacking in your code.
Don't release again such thing.
__________________
Arkshine 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 20:46.


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