Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[CS:S] Custom Weapon Models Menu


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7170
  • Lokalizacja:AMXX.PL
Offline

Napisano 29.08.2016 21:09

<div>I developed this plugin a few years ago back when I still ran some CS:S servers. No new features will be added to this plugin and only urgent bugs will be fixed.<br /><br /><b>Description</b><br /><br />Allows server owners to install custom weapon skins on their server and provides a simple yet powerful menu so players can easily equip them. Supports World and View models or choose to use just one of these if you wish. Also lets users decide if they want to see the custom model they have equipped in first person. Supports Zombie Mod (use weapon_claws as the keyvalue category for that).<br />Uses morecolors, smartdm for processing the download list (disabled by default). Also changes the model of dropped weapons and thrown grenades if the player responsible for that has a skin equipped for that weapon.<br /><br /><b>Supports MySQL only.</b><br /><br /><b><a href="https://imgur.com/a/9XeKd"target="_blank">Screenshots</a></b><br /><br /><b>Cvars</b><ul><li>sm_wm_accessmethod &quot;public&quot; - <i>Method used to restrict clients from openning the weapon models menu. Choices: flag group public</i></li>
<li>sm_wm_accessflag &quot;&quot; - <i>Flag required to open weapon models menu</i></li>
<li>sm_wm_accessgroup &quot;vip&quot; - <i>Group the client must be in to open weapon models menu</i></li>
<li>sm_wm_chatcommands &quot;!weaponmodels !weapons&quot; - <i>Words players must type to open the weapon menu</i></li>
<li>sm_wm_vmodelsenabled &quot;1&quot; - <i>Enables Viewmodels portion of the plugin</i></li>
<li>sm_wm_wmodelsenabled &quot;1&quot; - <i>Enables Worldmodels portion of the plugin</i></li>
<li>sm_wm_dropmodelsenabled &quot;1&quot; - <i>Enables dropped models portion of the plugin - Dropped weapons will be changed to the world model of the skin the player dropped.</i></li>
<li>sm_wm_downloadparser &quot;1&quot; - <i>If 1 adds files on downloads.ini to download table.</i></li>
<li>sm_wm_useSmartDM &quot;0&quot; - <i>If 1 uses SmartDM to add .mdl and all files associated with it to download table.</i></li>
<li>sm_wm_lowercasedownloads &quot;0&quot; - <i>If 1 lowercases all lines in downloads.ini</i></li>
<li>sm_wm_informplayernumber &quot;1&quot; - <i>If 1 displays the users that use each skin description style</i></li>
<li>sm_wm_ask_about_public_skins_on_first_join &quot;1&quot; - <i>If 1 new players will be asked if they want to be equipped with public weapon models. If a model entry doesn't have a flag set then it is considered a public model.</i></li>
</ul><br />Edit those cvars at cfg/sourcemod/sm_weaponmodels.cfg to your liking.<br /><br /><b>Instalation</b><br /><ol style="list-style-type: decimal"><li> Download full_package.zip from this thread below and upload contents to server.</li>
<li> Create MySQL database/user and add the following config to databases.cfg<br /><br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

&quot;wmodels&quot;<br /> {<br /> &quot;driver&quot; &quot;mysql&quot;<br /> &quot;host&quot; &quot;hostname&quot;<br /> &quot;database&quot; &quot;database name&quot;<br /> &quot;user&quot; &quot;username&quot;<br /> &quot;pass&quot; &quot;password&quot;<br /> }

<hr />
</td>
</tr>
</table>
</div></li>
<li> Open addons/sourcemod/configs/weapon_models/ and edit downloads.ini and weapon_models.ini. The following skin pack <a href="http://gamebanana.com/skins/28421"target="_blank">http://gamebanana.co...skins/28421</a> comes pre-installed so you have some guidelines on how to add new skins.<br /></li>
<li> [Optional] Edit the translation file weaponmodels.phrases.txt to better suit your community name. There might be some typos in there because English is not my native language.<br /></li>
</ol><br /><b>Usage</b><br /><br />Type !weaponmodels or whatever string of text you chose (with sm_wm_chatcommands) to access the menu.<br /><br /><b>Known Bugs</b><br /><ul><li> Sometimes the weapon a player is using vanishes into another dimension. Far as I know this is a engine bug and not a bug of the plugin per se.</li>
</ul><br />If anyone wants, I have all the models I used to have on my CS:S server (probably 100+) along with the config files. Send me a PM and I'll upload them for you.<br />Also please excuse me for the state of the code. I had no intention in ever releasing this plugin when I started writing it so the variable names and function names are pretty confusing.</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...20"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1472501186">GetSource</a> (weaponmodels.sp - 80.4 KB)


</td>
</tr><tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...package.zip</a>(3.12 MB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych