<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="5">Super Targeting</font><br />=========<br /><br />Super Targeting adds in a config for server operators to make their own filter for the ProcessTargetString which is used in many of the SM commands.<br /><br /><font size="4">Future Work</font><br />-----------<br /><br />I plan on adding a few more things to this plugin, which insnese will break the older one.<br /><br />A few that come to mind are:<br /> - Alive<br /> - Conditions<br /><br /><br /><br /><font size="5">Installation & Setup</font><br />===========<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">SuperTargeting.smx -> Sourcemod/plugins/<br />SuperTargeting.cfg -> Sourcemod/configs/</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font size="4">Configuration</font><br />------------<br /><br />The format is so:<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">"@<filtername>"<br />{<br /> "text" "<language text>"<br /> "team" "<team>"<br /> "class" "<class>"<br />}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Here is what can be put into each one:<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"><filtername> : this can be anything, but i would refrain from making it anything that is already in use. Start it off with an exclamation point (!) to negate the filter<br /><team> : this can be 0 to 3, anything else it will ignore the filter. Set to 0 to ignore the team number.<br /><class> : this is a number from 0 to 9, anything other than that the filter will be ignored.<br /><language text> : This is the text that is printed out when a plugin uses this filter</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->List of all the class/team numbers:<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">Classes:<br />0 : Any Class<br />1 : Scout<br />2 : Sniper<br />3 : Soldier<br />4 : Demoman<br />5 : Medic<br />6 : Heavy<br />7 : Pyro<br />8 : Spy<br />9 : Engineer<br /><br />Teams:<br />0 : Any team<br />1 : Spectator<br />2 : RED<br />3 : BLU</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->Below this is an example that will target all scouts<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">"@scout"<br />{<br /> "text" "all Scouts"<br /> "team" "0"<br /> "class" "1"<br />}<br />When used it will display: ***** all Scouts.<br />i.e.: [SM] Slayed all Scouts.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font size="4">Updater</font><br />-----------<br />This plugin doesn't require Updater, but it does support it.<br />to disable Updating on the specific plugin go here: tf/cfg/sourcemod/plugin.SuperTargeting.cfg<br />and change sm_supertargeting_update to 0<br /><br /><font size="4">Credit where it's due</font><br />-----------<br /> - <a href="https://forums.allie...er.php?u=149090" target="_blank">ReFlexPoison</a> : Created the base of the code and most of the filters syntax for the config. <a href="https://forums.alliedmods.net/showthread.php?t=214895" target="_blank">[Class Target Filters]</a><br /> - <a href="https://forums.alliedmods.net/member.php?u=180597" target="_blank">ddhoward</a> : He also made a similar plugin of ReFlexPoison's, it had a few custom filters that I appended onto the config. <a href="https://forums.alliedmods.net/showthread.php?t=226986" target="_blank">[Class Targeting]</a><br /><br /><font size="5">DOWNLOAD</font><br />=========<br />These are all the current version on the main branch in bitbucket.<br /><a href="https://bitbucket.org/MitchDizzle/super-targeting/raw/master/plugins/SuperTargeting.smx" target="_blank"><b><font size="4">PLUGIN</font></b></a><br /><a href="https://bitbucket.org/MitchDizzle/super-targeting/raw/master/configs/SuperTargeting.cfg" target="_blank"><b><font size="4">CONFIG</font></b></a> <font size="1">-right click -> save as...</font><br /><a href="https://bitbucket.org/MitchDizzle/super-targeting/raw/master/scripting/SuperTargeting.sp" target="_blank"><font size="1">SOURCE</font></a></div>
<!-- END TEMPLATE: postbit_external -->
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse

[TF] Super Targeting (Filters)
Temat rozp. Adminek AMXX.PL, 27.02.2014 18:44
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych