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:GO] Easter egg day


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

Napisano 23.03.2016 18:23

<div><img src="http://i.imgur.com/E40Knt6.png"border="0" alt="" /><br /><br />Hey everybody!<br /><br />So soon is easter day, so I decided to create plugin. In Latvia we have tradition to hide eggs, and later other people go seach for them. Thats the main thing that I have created here. <br /><br />So again, the idea is that admins hide the egg/s around the map/s and other players search for them. If someone finds the egg, no one can't pick up the egg. Later admin check the config file, sees who has found the egg, and can give him some kind of bonus - vip, shop points or something. <br /><br /><font size="5">Admins can't pick up the eggs!</font><br /><br /><i>Later I will maybe create that it will support zephyrus store, and will automaticly give credits, when someone will find the egg</i>.<br /><br />Here are few images of the plugin in action<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 /><img src="http://i.imgur.com/PdekyEq.jpg"border="0" alt="" /><br /><img src="http://i.imgur.com/265F2gE.png" border="0" alt="" /><br /><img src="http://i.imgur.com/eIjwW7y.png" border="0" alt="" /><br /></div>
</div>
</div><br /><br /><br /><br /><img src="http://i.imgur.com/Na4lxQ9.png"border="0" alt="" /><br /><br />Config is pretty simple. So first of all you need to configure the<b> modelsinmap</b> plugin :<br /><br />____________________________________________<br /><br /><b><i>(sourcemod/configs/models/models.cfg)</i></b><br /><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 />
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"Egg"
<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/spk_easteregg.mdl"
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"solid"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"1"
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"size"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0.6"
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
<br />
<br />
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"Egg2"
<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/spk_easteregg.mdl"
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"solid"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"1"
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"size"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0.6"
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
<br />
<br />}&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>____________________________________________<br /><br />And second config is for easter day plugin.<br /><br /><b><i>(sourcemod/configs/eggs/eggs.cfg)</i></b><br /><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">"Eggs"
<br /></span><span style="color: #007700">{
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"Egg"
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"found"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"0"
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">}
<br />
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"Egg2"
<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">"found"&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><b>Name in model.cfg and in eggs.cfg need to be the same, otherwise it will not work!</b><br /><br /><i>Notes:</i><br /><i>When someone will find any egg, the eggs.cfg will change the egg row to something like this <a href="http://prntscr.com/aizv9v"target="_blank">http://prntscr.com/a...zv9v</a></i><br /><br />____________________________________________<br /><br /><br /><img src="http://i.imgur.com/DdKFveO.png" border="0" alt="" /><br /><br /><b>Here are no commands, only command is when someone is near to egg, he can press E to show that he found the egg! :)</b><br /><br />Command for plugin &quot;models in map&quot;, check in <a href="https://forums.alliedmods.net/showthread.php?p=2389415" target="_blank">this topic</a><br /><br /><br /><br /><img src="http://i.imgur.com/hhp72rl.png" border="0" alt="" /><br /><br /><font face="Arial Black"><font size="5"><a href="https://forums.alliedmods.net/showthread.php?p=2389415" target="_blank">Models in map</a></font></font><br /><br /><br /><br /><img src="http://i.imgur.com/MZUQOSQ.png" border="0" alt="" /><br /><ol style="list-style-type: decimal"><li>Install plugin - models for map (<a href="https://forums.alliedmods.net/showthread.php?p=2389415" target="_blank">link to plugin</a>)</li>
<li>Install easter egg plugin</li>
<li>Edit both plugin config files (examples bit higer)</li>
<li>Reload all plugins in server</li>
<li>Write command: !props , select your egg model, place it in map. Move it by E, MOUSE 1/2</li>
<li>Click save in the menu</li>
<li>Restart the round, your done!</li>
</ol><br /><b><font size="4">You can use only one egg for one map!</font></b><br /><br /><br /><br /><img src="http://i.imgur.com/kMvfm6W.png"border="0" alt="" /><br /><br /><a href="https://www.dropbox.com/s/gkx3gh4y37cmie2/easter%20egg%20models.rar?dl=1" target="_blank"><img src="http://i.imgur.com/mDxN5PU.png" border="0" alt="" /></a><br />This is egg model (fastdownload and server files :P)<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...8753587">Easteregg.7z</a> (17.2 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