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


[TF2] Escalation - an Upgrades Mod for TF2 (0.9.7, 5/10/2014)

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

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156

  • Postów:7280
  • Lokalizacja:AMXX.PL

Napisano 05.10.2014 05:59

<!-- BEGIN TEMPLATE: postbit_external -->
<div>This right here is the result of me thinking how I wanted a gamemode for TF2 that you could buy upgrades for weapons in TF2. So I started learning how to write plugins for SourceMod and then a few months (and several thousand lines of code) later this is the result.<br /><br />So what exactly is it? The idea is really quite simple, when you complete an objective, do something that helps your team or kill an enemy you earn credits. You then use those credits to buy upgrades. It currently has support for CP, PL and KOTH. (I aim to release 1.0 with support for the majority of TF2's gamemodes, if there is one you want to see supported let me know and I'll prioritize that.)<br /><br />And to solve the problem of when you're defending the last point and really don't have the time to buy upgrades each client (and each client's class) has an upgrade queue that you can populate when they first join the server. The upgrades on their queue are then brought for them (if they can afford them) whenever they resupply or respawn in the order they put them on their queue.<br /><br />Now I'm not going to lie, it probably needs a lot of improvements. If you do give it a go please give me some feedback. Something I would love some on is if I should keep the downsides on upgrades or get rid of them. Anything constructive you have to say is welcome though.<br /><br /><b>Sounds terrible, where can I try it out?</b><br /><ul><li><b>US</b> -</li>
<li><b>Australia</b> -</li>
</ul><br />If on the unlikely chance you install it to your server tell me the IP and I'll add it to the list!<br /><br /><b>How to Install?</b><br /><br />Step 1. Install <a href="http://TF2Attributes" target="_blank">https://forums.allie...t=210221</a><br />Step 2. (Optional, but recommended) Install <a href="http://TF2Items" target="_blank">https://forums.allie...=1050170</a><br />Step 3. (Optional, but recommended) Install <a href="" target="_blank">SteamTools</a><br />Step 4. Download<br />Step 5. Extract<br />Step 6. Using FTP, Drag and Drop the folders configs, plugins, scripting and translations into your server's SourceMod folder.<br />Step 7. Using rcon execute &quot;sm plugins refresh&quot;<br />Step 8. Enjoy?<br /><br /><b>Public Commands</b><br /><br />All are usable with '!' or '/' in chat as well. Unless you've changed your server's chat trigger.<br /><ul><li><b>upgrade</b> - Opens up the upgrade menu to let put upgrades on your queue and edit your queue.</li>
<li><b>credits</b> - Replies with how many credits you currently have. (Your credits are displayed on your HUD, this is just an old command left in place for when I get around to letting players disable the credits being displayed on their HUD.)</li>
<li><b>buyupgrade &lt;upgradename&gt;</b> - Manually adds an upgrade to your queue. The upgrade name is untranslated. (So it'll usually look something like UpgradeScattergunDamage, see the config files for a list. Or do the smart thing and just use the upgrade menu.)</li>
<li><b>clearupgrades &lt;class&gt;</b> - Clears a class's upgrade queue or all classes if class is left empty.</li>
</ul><br /><b>Admin Commands</b><br /><br />The plugin does have admin menu integration so you should really just use that, it's simpler. <br /><br />Also &quot;weapon index&quot; means the weapon's item definition index.<br /><ul><li><b>sm_reloadconfigs</b> - Reloads all of Escalation's config files. Be warned this may stall your server for a tiny bit. Defaults to CVar access flag.</li>
<li><b>sm_banupgrade &lt;upgradename&gt;</b> - Bans an upgrade by their untranslated name. Defaults to ban flag.</li>
<li><b>sm_bancombo &lt;upgradename&gt; &lt;weapon index&gt;</b> - Bans an upgrade/weapon combination, preventing the upgrade from being brought while the player has the specified weapon equipped. Defaults to ban flag.</li>
<li><b>sm_unbanupgrade &lt;upgradename&gt;</b> - Unbans an upgrade, allowing players to buy it again. Defaults to ban flag.</li>
<li><b>sm_unbancombo &lt;upgradename&gt; &lt;weapon index&gt;</b> - Unbans an upgrade/weapon combination, allowing them to be brought again. Defaults to ban flag.</li>
<li><b>sm_reset_bannedupgrades</b> - Resets all banned upgrades. Defaults to ban flag.</li>
<li><b>sm_reset_bannedcombos</b> - Resets all banned upgrade/weapon combinations. Defaults to ban flag.</li>
<li><b>sm_menu_banupgrade</b> - If for some reason you don't have the admin menu loaded you can use this to access the &quot;Ban Upgrade&quot; menu. Defaults to ban flag.</li>
<li><b>sm_menu_unbanupgrade</b> - If for some reason you don't have the admin menu loaded you can use this to access the &quot;Unban Upgrade&quot; menu. Defaults to ban flag.</li>
</ul><br /><b>CVar List</b><br /><ul><li><b>escalation_enabled</b> - When set to 1 the plugin is enabled,</li>
<li><b>escalation_version</b> - The version of the plugin. What else is there to say?</li>
</ul><br /><b>Developer Commands</b><br /><br />These only exist in the plugin if you compile it with DEV_BUILD defined. It's also worth keeping in mind if for some reason you decide that you do want access to them that they are not very well debugged and some of them are even dangerous to use.<br /><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'; }
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><ul><li><b>sm_givecredits &lt;credits&gt;</b> - Gives you X amount of credits.</li>
<li><b>sm_forceupgrade &lt;upgradename&gt; &lt;client&gt;</b> - Forces an upgrade onto another client's upgrade queue. (This can't force upgrade that they're not allowed onto their queue, it only acts as a way to act as though they used 'buyupgrade')</li>
<li><b>sm_printcredits</b> - Prints out the credits of all connected clients.</li>
<li><b>sm_printteamcredits</b> - Prints out each team's objective credits. (Credits that a client loses or gains when they switch teams.)</li>
<li><b>sm_printearnedcredits</b> - Prints out the credits of each client that will be used to get the average earned credits of them.</li>
<li><b>sm_forcemenu &lt;Weapon ID&gt;</b> - Forces the upgrade menu of Weapon ID to be displayed to the client using the command.</li>
<li><b>sm_forceattribute &lt;Custom Attribute Index&gt; &lt;Value&gt;</b> - Forces a custom attribute onto the client using the command.</li>
<li><b>sm_forcesupport</b> - Forces the plugin to enable itself on a map that was listed as NOSUPPORT in escalation_gameinfo.cfg.</li>
<li><b>sm_destroyobjects</b> - Destroys all of Escalation's global objects. This is designed to test for memory leaks. The plugin is broken after you use this command.</li>
</div><br /><br /><b>API Stuff</b><br /><br />There is an API for Escalation and it's custom attributes module. Simply go look at their respective include files to find out more. If there is something you would like added to it simply tell me about it and I'll see what I can do.<br /><br /><b>Future Plans</b><br /><ul><li>Add an Optional Plugin to allow saving of client's upgrade queues using SQL. (The API is in place and the next release will hopefully have this.)</li>
<li>Add support for the majority of TF2's official gamemodes and maybe some community ones.</li>
<li>Improve the API.</li>
</ul><br /><b>Change Log</b><br /><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"><ul><li>0.9.7<br />* First Public Release</li><br /></ul></code><hr />
<!-- END TEMPLATE: bbcode_code_printable --><b>Credits</b><br />Everyone behind Metamod Source and SourceMod.<br />Valve for making TF2.<br /><br />Dr. McKay - For<br />asherkin - For TF2Items and SteamTools<br />FlaminSarge - For TF2Attributes.<br /><br />linux_lover - I stole the code for checking if a round had started from his RTD plugin.<br />bl4nk - For this fine plugin here <a href="https://forums.allie...#38;postcount=2" target="_blank">https://forums.allie...tcount=2</a><br />psychonic - For solving the mystery of detecting when someone was jarated.<br />MasterOfTheXP - For this little code snippet here <a href=";postcount=2" target="_blank">https://forums.allie...tcount=2</a><br />Some-Person-Who's-Name-I-can't-Remember - Firstly, forgive me for forgetting your name and also thanks for the tip off in one of your posts about the new player condition for explosive jumping.<br />The folks behind Valve's developer Wiki, I used it to find out how to read from VPK files.<br />Js41637 - For reminding me of the importance of brackets and loads of other small things throughout the development of the plugin.<br />Everyone behind the official TF2Wiki, it came in handy more than once.<br /><br />The process of designing the upgrades was made so much easier thanks to this fine site here <a href="" target="_blank"></a> that was made by Lagg I do believe.<br />Their credits list can be found here <a href="" target="_blank"></a><br /><br />Obligatory Religious Credit Follows<br />God - For giving me the skills I needed to make the plugin.<br /><br /><br />If I forgot someone I am so sorry! The odds are you're a fantastic person (if you're reading the credits list you are anyway) who deserves credit for whatever you did.<br /><br /><br />Okay now what am I forgetting... GitHub, if you like GitHub <a href="" target="_blank"></a>. And I've probably forgotten at least ten other things, but oh well. <br /><br />If you take the time to give feedback it is greatly appreciated.</div>

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

<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<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>

<a href="https://forums.allie...38;d=1412483933"></a> (395.3 KB)

<!-- END TEMPLATE: postbit_attachment -->


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