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

[CS:GO] Models in map


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

Napisano 02.02.2016 21:14

<div><img src="http://i.imgur.com/E40Knt6.png"border="0" alt="" /><br /><br />This is a plugin that allows you to place in map models for all rounds and for every map. And ofcourse you can move them around aswell. It also allows to make props to rotate, set prop solid/not solid.<br /><br />Over here are two examples of the plugin<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 />Not solid / rotating block<br /><img src="https://giant.gfycat...rahmanbull.gif"border="0" alt="" /><br /><br />Not slid / not rotating<br /><img src="http://i.imgur.com/mjGbAfz.jpg" border="0" alt="" /><br /><br />Just crate in de_dust2 map<br /><img src="http://i.imgur.com/LhzNPCQ.jpg" border="0" alt="" /><br /></div>
</div>
</div><br /><br /><img src="http://i.imgur.com/Na4lxQ9.png"border="0" alt="" /><br /><br />There are two config files, but mainly you just need to use one - <b>models.cfg</b> <i>(sourcemod/configs/models/models.cfg)</i><br /><br /><b>Every model that you add, can only be once placed in one map.</b> If you want to place two same models in one map, then you need to create two same models with different name.<br /><br />Exapmple<br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #DD0000">"models"<br /></span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"Big&nbsp;banner"<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"model_path"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"models/props/banner/mybanner.mdl"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"solid"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"rotate"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0"<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"Big&nbsp;banner&nbsp;2"<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"model_path"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"models/props/banner/mybanner.mdl"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"solid"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0"<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"rotate"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0"<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}<br />}&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div><br /><br /><img src="http://i.imgur.com/DdKFveO.png"border="0" alt="" /><br /><br /><b>!models</b> - requires <b>d flag</b><i>(BAN)</i><br />It will open up menu, which will allow you to add models, that you have added in <b>models.cfg</b>. <br /><br />You can move the block with <b>E</b> <i>(When move models is turned on)</i><br />You can rotate block by 10° with <b>R</b> <i>(When your holding the block)</i><br />You can push/pull block with <b>Mouse 1, Mouse 2</b> <i>(When your holding the block)</i><br /><br /><i>btw, after placing not solid block in the map, it will become non solid after round restart. ;)</i><br /><br /><br /><br /><img src="http://i.imgur.com/hhp72rl.png" border="0" alt="" /><br /><br /><a href="https://forums.alliedmods.net/showthread.php?p=602270" target="_blank"><img src="http://i.imgur.com/4jpoJ9S.png" border="0" alt="" /></a><br /><br /><br /><br /><img src="http://i.imgur.com/MZUQOSQ.png" border="0" alt="" /><br /><ol style="list-style-type: decimal"><li>Download files &amp; extract them</li>
<li>Add models in <b>sourcemod/configs/models/models.cfg</b>. If your adding custom models, download sm downloader, that will allow you to download &amp; precache files.</li>
<li>Change map</li>
</ol><br /><br /><br /><img src="http://i.imgur.com/4LXBwd2.png"border="0" alt="" /><br /><br /><b>Lord Cheaterfield SSS♥</b> - for plugin idea. <br /><b>boomix</b> - for creating this plugin.<br /><br /><br /><br /><img src="http://i.imgur.com/yvzQaDW.png" border="0" alt="" /><br /><br /><a href="https://steamcommunity.com/tradeoffer/new/?partner=110947069&amp;token=73EA67v8" target="_blank"><img src="http://i.imgur.com/k9M4DF6.png" border="0" alt="" /></a></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/7z.gif"alt="File Type: 7z" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...4443557">Modelsin map.7z</a> (24.5 KB)


</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