Skocz do zawartości

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

[ANY] Random Player Skins [CPS]


  • 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:7 492
  • Lokalizacja:AMXX.PL
Offline

Napisano 20.05.2014 23:30

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b><font size="6">Random Player Skins</font></b><br />Uses the Custom Player Skins core to assign random skins, this is mainly for Fistful of Frags and CS:GO but I haven't tested this in any other games.<br />This plugin WILL NOT force download custom models.<br /><br /><font color="Red">Mere warning for those who ask if this will work in tf2, the answer is no, nor am i going to make a version that works for tf2.</font><br /><br /><b><font size="5">Installation</font></b><br /><a href="https://forums.allie...ad.php?t=240703" target="_blank">Install Custom Player Skins Core</a><br /><font color="Red">You may get unexpected results due to bone merging, only certain models have the same bone structure as one another. Fistful of Frags has the same bone structure as all human/combine/zombie npcs, making this perfect for the game.</font><br />Drag and drop the randomplayermodels.cfg into the sourcemod/configs folder.<br />Edit the config file to your liking. (right now it is customized with models of hl2 characters.<br />Drag and drop the compiled plugin (RandomPlayerModels.smx) into the sourcemod/plugins folder.<br /><br /><b><font size="5">Config Examples</font></b><br /><b><font size="4">Fistful of Frags</font></b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">//Fistful Of Frags Example Config (HL2 Characters)<br /><br />//FoF Team: (Blue)<br />&quot;2&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/combine_soldier.mdl&quot;<br />&quot;2&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/combine_super_soldier.mdl&quot;<br />&quot;2&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/police.mdl&quot;<br /><br />//FoF Team: (Red)<br />&quot;3&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/corpse1.mdl&quot;<br />&quot;3&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/zombie/classic.mdl&quot;<br />&quot;3&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/zombie/fast.mdl&quot;<br />&quot;3&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/zombie/poison.mdl&quot;<br /><br />//FoF Team: (Yellow)<br />&quot;4&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/alyx.mdl&quot;,<br />&quot;4&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/breen.mdl&quot;,<br />&quot;4&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/gman.mdl&quot;,<br />&quot;4&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/eli.mdl&quot;,<br />&quot;4&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/kleiner.mdl&quot;,<br />&quot;4&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/monk.mdl&quot;,<br />&quot;4&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/mossman.mdl&quot;<br /><br />//FoF Team: (Green)<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/female_01.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/female_02.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/female_03.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/female_04.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/female_05.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/female_06.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/female_07.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/male_01.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/male_02.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/male_03.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/male_04.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/male_05.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/male_06.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/male_07.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/male_08.mdl&quot;<br />&quot;5&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group03/male_09.mdl&quot;<br /><br />//FoF Free For All (Unassigned)<br />//These models are not team specefic, so if the game goes FFA then these will be in play.<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/female_01.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/female_02.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/female_03.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/female_04.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/female_05.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/female_06.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/female_07.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/male_01.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/male_02.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/male_03.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/male_04.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/male_05.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/male_06.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/male_07.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/male_08.mdl&quot;<br />&quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;models/humans/group01/male_09.mdl&quot;</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>
</div>
</div><br /><b><font size="4">CS: Global Offensive</font></b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">//Major todo, i know that the hostage models will work, and any custom playermodels will work</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></div>
</div>
</div><br /><br /><b><font size="5">Known Issues</font></b><br />If you were to forget to put the config file in the configs folder, or for some reason is not setup to what the server expects there to be atleast one skin inputted. This is not a very user friendly plugin.<br /><br /><b><font size="5">Planned Features</font></b><ul><li>Little less guessing, more checking.</li>
<li>If a skin is not found then it should probably not try and set one...</li>
</ul><br /><b><font size="5">Downloads</font></b><br /><a href="https://github.com/M...layerModels.smx" target="_blank">Plugin</a><br /><a href="https://raw.githubusercontent.com/MitchDizzle/Custom-Player-Skins/master/scripting/RandomPlayerModels.sp" target="_blank">Config</a><br /><a href="https://raw.githubusercontent.com/MitchDizzle/Custom-Player-Skins/master/scripting/RandomPlayerModels.sp" target="_blank">Source</a><br /><br /><a href="https://github.com/MitchDizzle/Custom-Player-Skins" target="_blank">GitHub Link</a><br /><br /><b><font size="5"><font color="red">PLEASE READ!</font></font></b><br />This is Pre-Alpha, as in i just made this all in one day, and have yet to test it. I have no idea if it will work, i will test this later on this week.<br /><br /><font color="Red">I DO NOT EXPECT THIS OR THE MODULE TO WORK RIGHT NOW, BUT TESTERS ARE WELCOME :)</font></div>


<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




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

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