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

[HL2:DM] BlackMarket (1.0, 2015-03-10)


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

Napisano 11.03.2015 03:45

<div><font size="5">BlackMarket: Store for HL2: Deathmatch</font><br /><br /><font size="3"><b>-Description</b></font><br /><br />A fully customizable money and store system for Half-Life 2: Deathmatch. This is a SourceMod remake of a plugin I made 4 or 5 years ago for EventScripts. I made this mostly for my own enjoyment and to gain experience writing SourceMod plugins, and decided it wouldn't hurt to release and support it even though the DM community is rather depressed compared to back when I made the original plugin.<br /><br />The plugin allows users to gain money by getting kills. Each weapon rewards a different amount of money as dictated by the plugin's CVARs. Within 20 seconds (default) of spawning, the player can make item purchases using the money they gained in their previous life. The money that will be awarded to the player after they die always starts at zero.<br /><br /><font size="3"><b>-CVars and Commands</b></font><br /><br /><b>sm_bm</b>: Open the store menu. (Can only be used within 20 (default) seconds of spawning).<br /><br /><b>CVars:</b><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 />

// ConVars for plugin &quot;blackmarket.smx&quot;<br /><br /><br />// Sets whether BlackMarket is enabled<br />// -<br />// Default: &quot;1&quot;<br />bm_enable &quot;1&quot;<br /><br />// Amount of time after a player spawns to allow purchases.<br />// -<br />// Default: &quot;20.0&quot;<br />bm_buytime &quot;20.0&quot;<br /><br />// Cost to buy a 357.<br />// -<br />// Default: &quot;750&quot;<br />bm_cost_357 &quot;750&quot;<br /><br />// Cost to buy 357 ammo.<br />// -<br />// Default: &quot;50&quot;<br />bm_cost_ammo_357 &quot;50&quot;<br /><br />// Cost to buy AR2 ammo.<br />// -<br />// Default: &quot;50&quot;<br />bm_cost_ammo_ar2 &quot;50&quot;<br /><br />// Cost to buy shotgun ammo.<br />// -<br />// Default: &quot;50&quot;<br />bm_cost_ammo_shotgun &quot;50&quot;<br /><br />// Cost to buy an AR2.<br />// -<br />// Default: &quot;300&quot;<br />bm_cost_ar2 &quot;300&quot;<br /><br />// Cost to buy an AR2 ball.<br />// -<br />// Default: &quot;200&quot;<br />bm_cost_ar2ball &quot;200&quot;<br /><br />// Cost to buy a battery.<br />// -<br />// Default: &quot;100&quot;<br />bm_cost_battery &quot;100&quot;<br /><br />// Cost to buy an RPG.<br />// -<br />// Default: &quot;1500&quot;<br />bm_cost_rpg &quot;1500&quot;<br /><br />// Cost to buy a shotgun.<br />// -<br />// Default: &quot;400&quot;<br />bm_cost_shotgun &quot;400&quot;<br /><br />// Cost to buy a S.L.A.M.<br />// -<br />// Default: &quot;200&quot;<br />bm_cost_slam &quot;200&quot;<br /><br />// Cost to buy a SMG nade.<br />// -<br />// Default: &quot;200&quot;<br />bm_cost_smgnade &quot;200&quot;<br /><br />// Reward from a kill using the 357.<br />// -<br />// Default: &quot;100&quot;<br />bm_reward_357 &quot;100&quot;<br /><br />// Reward from a kill using the AR2.<br />// -<br />// Default: &quot;150&quot;<br />bm_reward_ar2 &quot;150&quot;<br /><br />// Reward from a kill using the crossbow.<br />// -<br />// Default: &quot;100&quot;<br />bm_reward_crossbow &quot;100&quot;<br /><br />// Reward from a kill using the crowbar.<br />// -<br />// Default: &quot;300&quot;<br />bm_reward_crowbar &quot;300&quot;<br /><br />// Reward from a kill using a grenade.<br />// -<br />// Default: &quot;150&quot;<br />bm_reward_grenade &quot;150&quot;<br /><br />// Reward from a kill using a physics prop.<br />// -<br />// Default: &quot;150&quot;<br />bm_reward_physics &quot;150&quot;<br /><br />// Reward from a kill using the pistol.<br />// -<br />// Default: &quot;250&quot;<br />bm_reward_pistol &quot;250&quot;<br /><br />// Reward from a kill using the RPG.<br />// -<br />// Default: &quot;100&quot;<br />bm_reward_rpg &quot;100&quot;<br /><br />// Reward from a kill using the shotgun.<br />// -<br />// Default: &quot;150&quot;<br />bm_reward_shotgun &quot;150&quot;<br /><br />// Reward from a kill using the S.L.A.M.<br />// -<br />// Default: &quot;150&quot;<br />bm_reward_slam &quot;150&quot;<br /><br />// Reward from a kill using the SMG.<br />// -<br />// Default: &quot;200&quot;<br />bm_reward_smg &quot;200&quot;<br /><br />// Reward from a kill using a SMG grenade.<br />// -<br />// Default: &quot;100&quot;<br />bm_reward_smgnade &quot;100&quot;<br /><br />// Reward from a kill using the stunstick.<br />// -<br />// Default: &quot;300&quot;<br />bm_reward_stunstick &quot;300&quot;<br /><br /><br />
<hr />
</td>
</tr>
</table>
</div><font size="3"><b>-Changelog</b></font><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 />

2015-03-10 (v1.0)<br />-Initial Release

<hr />
</td>
</tr>
</table>
</div><font size="3"><b>-Installation</b></font><br /><br />-Extract the contents of the zip archive to your hl2mp folder. Alternatively, put the .smx file in your plugins folder.<br /><br />-Configure cfg/sourcemod/blackmarket.cfg. If you did not download it in the archive it will be generated automatically with the default settings.<br /><br /><font size="3"><b>-Dependencies</b></font><br /><br />This plugin uses the custom include file morecolors.inc, which can be found <a href="https://forums.allie...d.php?t=185016"target="_blank">here</a>. It is only required if you are compiling the source yourself.<br /><br />EDIT: It appears the forum's &quot;get plugin&quot; option will compile it using the web compiler, I assume this will not work properly.<br /><br /><font size="3"><b>-Plans</b></font><br /><br />-Possibly add CVar control to disable certain items from displaying in the store.<br /><br /><font size="3"><b>-Screenshots</b></font><br /><br /><a href="http://i.imgur.com/kf9ViPQ.jpg" target="_blank">One</a> <a href="http://i.imgur.com/PWo1OdU.jpg" target="_blank">Two</a><br /><br /><font size="3"><b>-More Info</b></font><br /><br />-I recommend running this plugin alongside a spawn protection plugin, to prevent users from getting shot while buying items.<br /><br />-This plugin has only been tested on linux, although I'm sure it's simple enough of a plugin to work on both platforms fine.</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/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...et_v1.0.zip</a>(28.1 KB)


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


<a href="https://forums.allie...kmarket.smx</a>(16.6 KB)


</td>
</tr><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...87"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1426041889">GetSource</a> (blackmarket.sp - 18.7 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