changed things?#
This commit is contained in:
parent
274a9d3ea9
commit
d07c8b132b
190
LICENSE.md
190
LICENSE.md
@ -1,95 +1,95 @@
|
|||||||
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License
|
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License
|
||||||
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
|
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
|
||||||
|
|
||||||
Section 1 – Definitions.
|
Section 1 – Definitions.
|
||||||
|
|
||||||
Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
|
Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
|
||||||
Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
|
Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
|
||||||
BY-NC-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License.
|
BY-NC-SA Compatible License means a license listed at creativecommons.org/compatiblelicenses, approved by Creative Commons as essentially the equivalent of this Public License.
|
||||||
Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
|
||||||
Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
|
Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
|
||||||
Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
|
Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
|
||||||
License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution, NonCommercial, and ShareAlike.
|
License Elements means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution, NonCommercial, and ShareAlike.
|
||||||
Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
|
Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
|
||||||
Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
|
Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
|
||||||
Licensor means the individual(s) or entity(ies) granting rights under this Public License.
|
Licensor means the individual(s) or entity(ies) granting rights under this Public License.
|
||||||
NonCommercial means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange.
|
NonCommercial means not primarily intended for or directed towards commercial advantage or monetary compensation. For purposes of this Public License, the exchange of the Licensed Material for other material subject to Copyright and Similar Rights by digital file-sharing or similar means is NonCommercial provided there is no payment of monetary compensation in connection with the exchange.
|
||||||
Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
|
Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
|
||||||
Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
|
Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
|
||||||
You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
|
You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
|
||||||
Section 2 – Scope.
|
Section 2 – Scope.
|
||||||
|
|
||||||
License grant.
|
License grant.
|
||||||
Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
|
Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
|
||||||
reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only; and
|
reproduce and Share the Licensed Material, in whole or in part, for NonCommercial purposes only; and
|
||||||
produce, reproduce, and Share Adapted Material for NonCommercial purposes only.
|
produce, reproduce, and Share Adapted Material for NonCommercial purposes only.
|
||||||
Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
|
Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
|
||||||
Term. The term of this Public License is specified in Section 6(a).
|
Term. The term of this Public License is specified in Section 6(a).
|
||||||
Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
|
Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
|
||||||
Downstream recipients.
|
Downstream recipients.
|
||||||
Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
|
Offer from the Licensor – Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
|
||||||
Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply.
|
Additional offer from the Licensor – Adapted Material. Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapter’s License You apply.
|
||||||
No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
|
No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
|
||||||
No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
|
No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
|
||||||
Other rights.
|
Other rights.
|
||||||
|
|
||||||
Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
|
Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
|
||||||
Patent and trademark rights are not licensed under this Public License.
|
Patent and trademark rights are not licensed under this Public License.
|
||||||
To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial purposes.
|
To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties, including when the Licensed Material is used other than for NonCommercial purposes.
|
||||||
Section 3 – License Conditions.
|
Section 3 – License Conditions.
|
||||||
|
|
||||||
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
|
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
|
||||||
|
|
||||||
Attribution.
|
Attribution.
|
||||||
|
|
||||||
If You Share the Licensed Material (including in modified form), You must:
|
If You Share the Licensed Material (including in modified form), You must:
|
||||||
|
|
||||||
retain the following if it is supplied by the Licensor with the Licensed Material:
|
retain the following if it is supplied by the Licensor with the Licensed Material:
|
||||||
identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
|
identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
|
||||||
a copyright notice;
|
a copyright notice;
|
||||||
a notice that refers to this Public License;
|
a notice that refers to this Public License;
|
||||||
a notice that refers to the disclaimer of warranties;
|
a notice that refers to the disclaimer of warranties;
|
||||||
a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
|
||||||
indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
|
indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
|
||||||
indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
|
indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
|
||||||
You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
|
You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
|
||||||
If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
|
If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
|
||||||
ShareAlike.
|
ShareAlike.
|
||||||
In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
|
In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
|
||||||
|
|
||||||
The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-NC-SA Compatible License.
|
The Adapter’s License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-NC-SA Compatible License.
|
||||||
You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
|
You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
|
||||||
You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
|
You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
|
||||||
Section 4 – Sui Generis Database Rights.
|
Section 4 – Sui Generis Database Rights.
|
||||||
|
|
||||||
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
|
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
|
||||||
|
|
||||||
for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial purposes only;
|
for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database for NonCommercial purposes only;
|
||||||
if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
|
if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
|
||||||
You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
|
You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
|
||||||
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
|
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
|
||||||
Section 5 – Disclaimer of Warranties and Limitation of Liability.
|
Section 5 – Disclaimer of Warranties and Limitation of Liability.
|
||||||
|
|
||||||
Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
|
Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
|
||||||
To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
|
To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
|
||||||
The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
|
The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
|
||||||
Section 6 – Term and Termination.
|
Section 6 – Term and Termination.
|
||||||
|
|
||||||
This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
|
This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
|
||||||
Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
|
Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
|
||||||
|
|
||||||
automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
|
automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
|
||||||
upon express reinstatement by the Licensor.
|
upon express reinstatement by the Licensor.
|
||||||
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
|
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
|
||||||
For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
|
For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
|
||||||
Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
|
||||||
Section 7 – Other Terms and Conditions.
|
Section 7 – Other Terms and Conditions.
|
||||||
|
|
||||||
The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
|
The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
|
||||||
Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
|
Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
|
||||||
Section 8 – Interpretation.
|
Section 8 – Interpretation.
|
||||||
|
|
||||||
For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
|
For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
|
||||||
To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
|
To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
|
||||||
No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
|
No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
|
||||||
Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
|
Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
|
||||||
|
522
create.php
522
create.php
@ -1,261 +1,261 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>TTT2 Role Adder</title>
|
<title>TTT2 Role Adder</title>
|
||||||
<meta name="description" content="Add a new TTT2 Role">
|
<meta name="description" content="Add a new TTT2 Role">
|
||||||
<meta name="author" content="James">
|
<meta name="author" content="James">
|
||||||
<meta property="og:title" content="TTT2 Role Adder">
|
<meta property="og:title" content="TTT2 Role Adder">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="https://ttt.james-things.com">
|
<meta property="og:url" content="https://ttt.james-things.com">
|
||||||
<meta property="og:description" content="All TTT2 Roles documented halfheartedly">
|
<meta property="og:description" content="All TTT2 Roles documented halfheartedly">
|
||||||
<meta property="og:image" content="https://e7.pngegg.com/pngimages/710/403/png-clipart-the-embodiment-of-scarlet-devil-team-shanghai-alice-video-game-banjo-tooie-mario-luigi-partners-in-time-marisa-logo-computer-wallpaper.png">
|
<meta property="og:image" content="https://e7.pngegg.com/pngimages/710/403/png-clipart-the-embodiment-of-scarlet-devil-team-shanghai-alice-video-game-banjo-tooie-mario-luigi-partners-in-time-marisa-logo-computer-wallpaper.png">
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||||
<!--MATERIALIZE-->
|
<!--MATERIALIZE-->
|
||||||
<!--Import jQuery-->
|
<!--Import jQuery-->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<!--Import Google Icon Font-->
|
<!--Import Google Icon Font-->
|
||||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||||
<!--Import materialize.css-->
|
<!--Import materialize.css-->
|
||||||
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
|
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
|
||||||
<!--My Custom Stylesheet-->
|
<!--My Custom Stylesheet-->
|
||||||
<link rel="stylesheet" href="css/styles.css">
|
<link rel="stylesheet" href="css/styles.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s6">
|
<div class="col s6">
|
||||||
<div class="card-panel white">
|
<div class="card-panel white">
|
||||||
<form>
|
<form>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s3">
|
<div class="input-field col s3">
|
||||||
<input id="name" type="text" onchange="updateName()" class="validate">
|
<input id="name" type="text" onchange="updateName()" class="validate">
|
||||||
<label for="name">Rolename</label>
|
<label for="name">Rolename</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s9">
|
<div class="input-field col s9">
|
||||||
<input id="description" type="text" onchange="updateDescription()">
|
<input id="description" type="text" onchange="updateDescription()">
|
||||||
<label for="description">Roledescription</label>
|
<label for="description">Roledescription</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s3">
|
<div class="input-field col s3">
|
||||||
<select id="rolecolor" onchange="updateColor()">
|
<select id="rolecolor" onchange="updateColor()">
|
||||||
<option value="" disabled selected>Color</option>
|
<option value="" disabled selected>Color</option>
|
||||||
<option value="red">Red</option>
|
<option value="red">Red</option>
|
||||||
<option value="pink">Pink</option>
|
<option value="pink">Pink</option>
|
||||||
<option value="purple">Purple</option>
|
<option value="purple">Purple</option>
|
||||||
<option value="deep-purple">Deep-purple</option>
|
<option value="deep-purple">Deep-purple</option>
|
||||||
<option value="indigo">Indigo</option>
|
<option value="indigo">Indigo</option>
|
||||||
<option value="blue">Blue</option>
|
<option value="blue">Blue</option>
|
||||||
<option value="light-blue">Light-blue</option>
|
<option value="light-blue">Light-blue</option>
|
||||||
<option value="cyan">Cyan</option>
|
<option value="cyan">Cyan</option>
|
||||||
<option value="teal">Teal</option>
|
<option value="teal">Teal</option>
|
||||||
<option value="green">Green</option>
|
<option value="green">Green</option>
|
||||||
<option value="light-green">Light-green</option>
|
<option value="light-green">Light-green</option>
|
||||||
<option value="lime">Lime</option>
|
<option value="lime">Lime</option>
|
||||||
<option value="yellow">Yellow</option>
|
<option value="yellow">Yellow</option>
|
||||||
<option value="amber">Amber</option>
|
<option value="amber">Amber</option>
|
||||||
<option value="orange">Orange</option>
|
<option value="orange">Orange</option>
|
||||||
<option value="deep-orange">Deep-orange</option>
|
<option value="deep-orange">Deep-orange</option>
|
||||||
<option value="brown">Brown</option>
|
<option value="brown">Brown</option>
|
||||||
<option value="grey">Grey</option>
|
<option value="grey">Grey</option>
|
||||||
<option value="blue-grey">Blue-grey</option>
|
<option value="blue-grey">Blue-grey</option>
|
||||||
<option value="black">Black</option>
|
<option value="black">Black</option>
|
||||||
<option value="white">White</option>
|
<option value="white">White</option>
|
||||||
<option value="transparent">Transparent</option>
|
<option value="transparent">Transparent</option>
|
||||||
</select>
|
</select>
|
||||||
<label>Select color</label>
|
<label>Select color</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s3">
|
<div class="input-field col s3">
|
||||||
<select id="modifier" onchange="updateColor()">
|
<select id="modifier" onchange="updateColor()">
|
||||||
<option value="" selected>None</option>
|
<option value="" selected>None</option>
|
||||||
<option value="lighten">lighten</option>
|
<option value="lighten">lighten</option>
|
||||||
<option value="darken">darken</option>
|
<option value="darken">darken</option>
|
||||||
<option value="accent">accent</option>
|
<option value="accent">accent</option>
|
||||||
</select>
|
</select>
|
||||||
<label>Select Modifier</label>
|
<label>Select Modifier</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s3">
|
<div class="input-field col s3">
|
||||||
<select id="strength" onchange="updateColor()">
|
<select id="strength" onchange="updateColor()">
|
||||||
<option value="" disabled selected>Strength</option>
|
<option value="" disabled selected>Strength</option>
|
||||||
<option value="1">1</option>
|
<option value="1">1</option>
|
||||||
<option value="2">2</option>
|
<option value="2">2</option>
|
||||||
<option value="3">3</option>
|
<option value="3">3</option>
|
||||||
<option value="4">4</option>
|
<option value="4">4</option>
|
||||||
</select>
|
</select>
|
||||||
<label>Select Strength</label>
|
<label>Select Strength</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s3">
|
<div class="input-field col s3">
|
||||||
<select id="tcolor" onchange="updateColor()">
|
<select id="tcolor" onchange="updateColor()">
|
||||||
<option value="" disabled selected>Textcolor</option>
|
<option value="" disabled selected>Textcolor</option>
|
||||||
<option value="black-text">Black</option>
|
<option value="black-text">Black</option>
|
||||||
<option value="white-text">White</option>
|
<option value="white-text">White</option>
|
||||||
</select>
|
</select>
|
||||||
<label>Select Textcolor</label>
|
<label>Select Textcolor</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
<textarea id="howtoplay" onchange="updateHowToPlay()" class="materialize-textarea"></textarea>
|
<textarea id="howtoplay" onchange="updateHowToPlay()" class="materialize-textarea"></textarea>
|
||||||
<label for="howtoplay">Text to describe how to play</label>
|
<label for="howtoplay">Text to describe how to play</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
<select id="goodRoles" onchange="updateGoodRoles()" multiple>
|
<select id="goodRoles" onchange="updateGoodRoles()" multiple>
|
||||||
<option value="" disabled> Choose your option </option>
|
<option value="" disabled> Choose your option </option>
|
||||||
<?php
|
<?php
|
||||||
$files = glob("roles/en/*.php");
|
$files = glob("roles/en/*.php");
|
||||||
$count = 1;
|
$count = 1;
|
||||||
|
|
||||||
foreach ($files as $filename) {
|
foreach ($files as $filename) {
|
||||||
include $filename;
|
include $filename;
|
||||||
|
|
||||||
$shortname = substr($filename, 9);
|
$shortname = substr($filename, 9);
|
||||||
$shortname = substr($shortname, 0, -4);
|
$shortname = substr($shortname, 0, -4);
|
||||||
echo "<option value=".$count.">".ucfirst($shortname)."</option>";
|
echo "<option value=".$count.">".ucfirst($shortname)."</option>";
|
||||||
$count++;
|
$count++;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select>
|
||||||
<label>Select good Roles that go with this role</label>
|
<label>Select good Roles that go with this role</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
<textarea id="credits" class="materialize-textarea"></textarea>
|
<textarea id="credits" class="materialize-textarea"></textarea>
|
||||||
<label for="credits">Drop your credits here!</label>
|
<label for="credits">Drop your credits here!</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="input-field col s6">
|
<div class="input-field col s6">
|
||||||
<textarea id="gconvars" class="materialize-textarea"></textarea>
|
<textarea id="gconvars" class="materialize-textarea"></textarea>
|
||||||
<label for="convars">Paste your general convars</label>
|
<label for="convars">Paste your general convars</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="input-field col s6">
|
<div class="input-field col s6">
|
||||||
<textarea id="cconvars" class="materialize-textarea"></textarea>
|
<textarea id="cconvars" class="materialize-textarea"></textarea>
|
||||||
<label for="convars">Paste your role specific convars</label>
|
<label for="convars">Paste your role specific convars</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<button class="btn waves-effect waves-light" type="submit" name="action">Submit <i class="material-icons right">send</i>
|
<button class="btn waves-effect waves-light" type="submit" name="action">Submit <i class="material-icons right">send</i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Cardpreview -->
|
<!-- Cardpreview -->
|
||||||
<div class="col s6">
|
<div class="col s6">
|
||||||
<div class="blurry">
|
<div class="blurry">
|
||||||
<div id="rolecard" class="card">
|
<div id="rolecard" class="card">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<span class="card-title" id="cardname"></span>
|
<span class="card-title" id="cardname"></span>
|
||||||
<p id="carddescription"></p>
|
<p id="carddescription"></p>
|
||||||
</div>
|
</div>
|
||||||
<ul class="collapsible black-text white">
|
<ul class="collapsible black-text white">
|
||||||
<li class="active">
|
<li class="active">
|
||||||
<div class="collapsible-header">
|
<div class="collapsible-header">
|
||||||
<i class="material-icons">help_outline</i>How to Play
|
<i class="material-icons">help_outline</i>How to Play
|
||||||
</div>
|
</div>
|
||||||
<div class="collapsible-body">
|
<div class="collapsible-body">
|
||||||
<pre id="thowtoplay">Soup</pre>
|
<pre id="thowtoplay">Soup</pre>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="collapsible-header">
|
<div class="collapsible-header">
|
||||||
<i class="material-icons">check</i>Plays best with
|
<i class="material-icons">check</i>Plays best with
|
||||||
</div>
|
</div>
|
||||||
<div class="collapsible-body">
|
<div class="collapsible-body">
|
||||||
<span>
|
<span>
|
||||||
<ul id="tplaysbestwith">
|
<ul id="tplaysbestwith">
|
||||||
</ul>
|
</ul>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="collapsible-header">
|
<div class="collapsible-header">
|
||||||
<i class="material-icons">code</i>Convars
|
<i class="material-icons">code</i>Convars
|
||||||
</div>
|
</div>
|
||||||
<div class="collapsible-body">
|
<div class="collapsible-body">
|
||||||
<pre >Normal Role Convars (also found in ULX):
|
<pre >Normal Role Convars (also found in ULX):
|
||||||
<code id="cvars"></code>
|
<code id="cvars"></code>
|
||||||
|
|
||||||
Rolespecific Convars:
|
Rolespecific Convars:
|
||||||
<code id="rcvars"></code></pre>
|
<code id="rcvars"></code></pre>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="collapsible-header">
|
<div class="collapsible-header">
|
||||||
<i class="material-icons">whatshot</i>Credits
|
<i class="material-icons">whatshot</i>Credits
|
||||||
</div>
|
</div>
|
||||||
<div class="collapsible-body">
|
<div class="collapsible-body">
|
||||||
<span>Main Creator: <a id="authorurl" href="{AUTHORURL}">{AUTHORNAME}</a>
|
<span>Main Creator: <a id="authorurl" href="{AUTHORURL}">{AUTHORNAME}</a>
|
||||||
<br>
|
<br>
|
||||||
<pre id="credits"></pre>
|
<pre id="credits"></pre>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="collapsible-header">
|
<div class="collapsible-header">
|
||||||
<i class="material-icons">link</i>Links
|
<i class="material-icons">link</i>Links
|
||||||
</div>
|
</div>
|
||||||
<div class="center collapsible-body">
|
<div class="center collapsible-body">
|
||||||
<span>
|
<span>
|
||||||
<a id="steamurl" href="">Steam Workshop</a>
|
<a id="steamurl" href="">Steam Workshop</a>
|
||||||
<br>
|
<br>
|
||||||
<a id="githuburl" href="">Github Source</a>
|
<a id="githuburl" href="">Github Source</a>
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Updatescript -->
|
<!-- Updatescript -->
|
||||||
<script>
|
<script>
|
||||||
function updateName() {
|
function updateName() {
|
||||||
document.getElementById("cardname").innerHTML = $('#name').val();
|
document.getElementById("cardname").innerHTML = $('#name').val();
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateHowToPlay() {
|
function updateHowToPlay() {
|
||||||
document.getElementById("thowtoplay").innerHTML = $('#howtoplay').val();
|
document.getElementById("thowtoplay").innerHTML = $('#howtoplay').val();
|
||||||
}
|
}
|
||||||
|
|
||||||
function createMenuItem(name) {
|
function createMenuItem(name) {
|
||||||
let li = document.createElement('li');
|
let li = document.createElement('li');
|
||||||
li.textContent = name;
|
li.textContent = name;
|
||||||
return li;
|
return li;
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateGoodRoles() {
|
function updateGoodRoles() {
|
||||||
goodRoles = $('#goodRoles').val();
|
goodRoles = $('#goodRoles').val();
|
||||||
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendChild(createMenuItem(element)); )
|
goodRoles.forEach(element => document.getElementById("tplaysbestwith").appendChild(createMenuItem(element)); )
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateDescription() {
|
function updateDescription() {
|
||||||
document.getElementById("carddescription").innerHTML = $('#description').val();
|
document.getElementById("carddescription").innerHTML = $('#description').val();
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateColor() {
|
function updateColor() {
|
||||||
document.getElementById("rolecard").className = "card " + $('#rolecolor').val() +" "+ $('#modifier').val() +"-"+ $('#strength').val() + " " + $('#tcolor').val();
|
document.getElementById("rolecard").className = "card " + $('#rolecolor').val() +" "+ $('#modifier').val() +"-"+ $('#strength').val() + " " + $('#tcolor').val();
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<!-- Start Tab init -->
|
<!-- Start Tab init -->
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$('select').formSelect();
|
$('select').formSelect();
|
||||||
$('.collapsible').collapsible();
|
$('.collapsible').collapsible();
|
||||||
M.updateTextFields();
|
M.updateTextFields();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<!-- End Tab init -->
|
<!-- End Tab init -->
|
||||||
<!--JavaScript at end of body for optimized loading-->
|
<!--JavaScript at end of body for optimized loading-->
|
||||||
<script type="text/javascript" src="js/materialize.min.js"></script>
|
<script type="text/javascript" src="js/materialize.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
BIN
css/@eaDir/materialize.css@SynoEAStream
Normal file
BIN
css/@eaDir/materialize.css@SynoEAStream
Normal file
Binary file not shown.
BIN
css/@eaDir/materialize.min.css@SynoEAStream
Normal file
BIN
css/@eaDir/materialize.min.css@SynoEAStream
Normal file
Binary file not shown.
136
css/styles.css
136
css/styles.css
@ -1,68 +1,68 @@
|
|||||||
html {
|
html {
|
||||||
/* background: url("https://cutewallpaper.org/21/gmod-backgrounds/Garrys-Mod-Ttt-Addons-Kesho-Wazo.jpg") no-repeat center center fixed; */
|
/* background: url("https://cutewallpaper.org/21/gmod-backgrounds/Garrys-Mod-Ttt-Addons-Kesho-Wazo.jpg") no-repeat center center fixed; */
|
||||||
background: url("https://img4.goodfon.com/wallpaper/nbig/2/39/tokho-toukhou-devushka-fon-mech.jpg") no-repeat center center fixed;
|
background: url("https://img4.goodfon.com/wallpaper/nbig/2/39/tokho-toukhou-devushka-fon-mech.jpg") no-repeat center center fixed;
|
||||||
-webkit-background-size: cover;
|
-webkit-background-size: cover;
|
||||||
-moz-background-size: cover;
|
-moz-background-size: cover;
|
||||||
-o-background-size: cover;
|
-o-background-size: cover;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
|
|
||||||
--scrollbarBG: #CFD8DC00;
|
--scrollbarBG: #CFD8DC00;
|
||||||
--thumbBG: #90A4AE00;
|
--thumbBG: #90A4AE00;
|
||||||
}
|
}
|
||||||
body::-webkit-scrollbar {
|
body::-webkit-scrollbar {
|
||||||
width: 0px;
|
width: 0px;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
scrollbar-color: var(--thumbBG) var(--scrollbarBG);
|
scrollbar-color: var(--thumbBG) var(--scrollbarBG);
|
||||||
}
|
}
|
||||||
body::-webkit-scrollbar-track {
|
body::-webkit-scrollbar-track {
|
||||||
background: var(--scrollbarBG);
|
background: var(--scrollbarBG);
|
||||||
}
|
}
|
||||||
body::-webkit-scrollbar-thumb {
|
body::-webkit-scrollbar-thumb {
|
||||||
background-color: var(--thumbBG) ;
|
background-color: var(--thumbBG) ;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
border: 3px solid var(--scrollbarBG);
|
border: 3px solid var(--scrollbarBG);
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
border-top-right-radius: 42px;
|
border-top-right-radius: 42px;
|
||||||
opacity: 0.9;
|
opacity: 0.9;
|
||||||
background: url("data:image/png;base64,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") repeat center center;
|
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrmQDeuv3powQ5ta2eN0FY0InkqDD73lT9c9lEzwUNqgFHs9VQce3TVClFCQrSTfOiYkVJQBmpbq2L6iZavPnAPcoU0dSw0SUTqz/GtrGuXfbyyBniKykOWQWGqwwMA7QiYAxi+IlPdqo+hYHnUt5ZPfnsHJyNiDtnpJyayNBkF6cWoYGAMY92U2hXHF/C1M8uP/ZtYdiuj26UdAdQQSXQErwSOMzt/XWRWAz5GuSBIkwG1H3FabJ2OsUOUhGC6tK4EMtJO0ttC6IBD3kM0ve0tJwMdSfjZo+EEISaeTr9P3wYrGjXqyC1krcKdhMpxEnt5JetoulscpyzhXN5FRpuPHvbeQaKxFAEB6EN+cYN6xD7RYGpXpNndMmZgM5Dcs3YSNFDHUo2LGfZuukSWyUYirJAdYbF3MfqEKmjM+I2EfhA94iG3L7uKrR+GdWD73ydlIB+6hgref1QTlmgmbM3/LeX5GI1Ux1RWpgxpLuZ2+I+IjzZ8wqE4nilvQdkUdfhzI5QDWy+kw5Wgg2pGpeEVeCCA7b85BO3F9DzxB3cdqvBzWcmzbyMiqhzuYqtHRVG2y4x+KOlnyqla8AoWWpuBoYRxzXrfKuILl6SfiWCbjxoZJUaCBj1CjH7GIaDbc9kqBY3W/Rgjda1iqQcOJu2WW+76pZC9QG7M00dffe9hNnseupFL53r8F7YHSwJWUKP2q+k7RdsxyOB11n0xtOvnW4irMMFNV4H0uqwS5ExsmP9AxbDTc9JwgneAT5vTiUSm1E7BSflSt3bfa1tv8Di3R8n3Af7MNWzs49hmauE2wP+ttrq+AsWpFG2awvsuOqbipWHgtuvuaAE+A1Z/7gC9hesnr+7wqCwG8c5yAg3AL1fm8T9AZtp/bbJGwl1pNrE7RuOX7PeMRUERVaPpEs+yqeoSmuOlokqw49pgomjLeh7icHNlG19yjs6XXOMedYm5xH2YxpV2tc0Ro2jJfxC50ApuxGob7lMsxfTbeUv07TyYxpeLucEH1gNd4IKH2LAg5TdVhlCafZvpskfncCfx8pOhJzd76bJWeYFnFciwcYfubRc12Ip/ppIhA1/mSZ/RxjFDrJC5xifFjJpY2Xl5zXdguFqYyTR1zSp1Y9p+tktDYYSNflcxI0iyO4TPBdlRcpeqjK/piF5bklq77VSEaA+z8qmJTFzIWiitbnzR794USKBUaT0NTEsVjZqLaFVqJoPN9ODG70IPbfBHKK+/q/AWR0tJzYHRULOa4MP+W/HfGadZUbfw177G7j/OGbIs8TahLyynl4X4RinF793Oz+BU0saXtUHrVBFT/DnA3ctNPoGbs4hRIjTok8i+algT1lTHi4SxFvONKNrgQFAq2/gFnWMXgwffgYMJpiKYkmW3tTg3ZQ9Jq+f8XN+A5eeUKHWvJWJ2sgJ1Sop+wwhqFVijqWaJhwtD8MNlSBeWNNWTa5Z5kPZw5+LbVT99wqTdx29lMUH4OIG/D86ruKEauBjvH5xy6um/Sfj7ei6UUVk4AIl3MyD4MSSTOFgSwsH/QJWaQ5as7ZcmgBZkzjjU1UrQ74ci1gWBCSGHtuV1H2mhSnO3Wp/3fEV5a+4wz//6qy8JxjZsmxxy5+4w9CDNJY09T072iKG0EnOS0arEYgXqYnXcYHwjTtUNAcMelOd4xpkoqiTYICWFq0JSiPfPDQdnt+4/wuqcXY47QILbgAAAABJRU5ErkJggg==") repeat center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.blurry {
|
.blurry {
|
||||||
backdrop-filter: blur(7px) !important;
|
backdrop-filter: blur(7px) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidenav-overlay {
|
.sidenav-overlay {
|
||||||
backdrop-filter: blur(10px) !important;
|
backdrop-filter: blur(10px) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
|
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
white-space: -moz-pre-wrap;
|
white-space: -moz-pre-wrap;
|
||||||
white-space: -pre-wrap;
|
white-space: -pre-wrap;
|
||||||
white-space: -o-pre-wrap;
|
white-space: -o-pre-wrap;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre code {
|
pre code {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #aaa;
|
background-color: #aaa;
|
||||||
border: 1px solid #999;
|
border: 1px solid #999;
|
||||||
display: block;
|
display: block;
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
white-space: -moz-pre-wrap;
|
white-space: -moz-pre-wrap;
|
||||||
white-space: -pre-wrap;
|
white-space: -pre-wrap;
|
||||||
white-space: -o-pre-wrap;
|
white-space: -o-pre-wrap;
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.background img {
|
.background img {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
462
index.php
462
index.php
@ -1,231 +1,231 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<title>TTT2 Role Overview</title>
|
<title>TTT2 Role Overview</title>
|
||||||
<meta name="description" content="All TTT2 Roles halfheartedly documented">
|
<meta name="description" content="All TTT2 Roles halfheartedly documented">
|
||||||
<meta name="author" content="James">
|
<meta name="author" content="James">
|
||||||
<meta property="og:title" content="TTT2 Role Overview">
|
<meta property="og:title" content="TTT2 Role Overview">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="https://ttt.james-things.com">
|
<meta property="og:url" content="https://ttt.james-things.com">
|
||||||
<meta property="og:description" content="All TTT2 Roles documented halfheartedly">
|
<meta property="og:description" content="All TTT2 Roles documented halfheartedly">
|
||||||
<meta property="og:image" content="https://e7.pngegg.com/pngimages/710/403/png-clipart-the-embodiment-of-scarlet-devil-team-shanghai-alice-video-game-banjo-tooie-mario-luigi-partners-in-time-marisa-logo-computer-wallpaper.png">
|
<meta property="og:image" content="https://e7.pngegg.com/pngimages/710/403/png-clipart-the-embodiment-of-scarlet-devil-team-shanghai-alice-video-game-banjo-tooie-mario-luigi-partners-in-time-marisa-logo-computer-wallpaper.png">
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||||
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--MATERIALIZE-->
|
<!--MATERIALIZE-->
|
||||||
<!--Import jQuery-->
|
<!--Import jQuery-->
|
||||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
|
||||||
<!--Import Google Icon Font-->
|
<!--Import Google Icon Font-->
|
||||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||||
<!--Import materialize.css-->
|
<!--Import materialize.css-->
|
||||||
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
|
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
|
||||||
|
|
||||||
<!--My Custom Stylesheet-->
|
<!--My Custom Stylesheet-->
|
||||||
<link rel="stylesheet" href="css/styles.css">
|
<link rel="stylesheet" href="css/styles.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|
||||||
<ul id="slide-out" class="sidenav">
|
<ul id="slide-out" class="sidenav">
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<div class="user-view">
|
<div class="user-view">
|
||||||
<div class="background">
|
<div class="background">
|
||||||
<img src="https://external-preview.redd.it/7j49A5chcbjitz5C6QHYbZ80EW4QMKPO7dEZwJDu2PM.jpg?auto=webp&s=3d2518085b02a5e80dcb34c31479499d2e9a14d1">
|
<img src="https://external-preview.redd.it/7j49A5chcbjitz5C6QHYbZ80EW4QMKPO7dEZwJDu2PM.jpg?auto=webp&s=3d2518085b02a5e80dcb34c31479499d2e9a14d1">
|
||||||
</div>
|
</div>
|
||||||
<div class="blurry">
|
<div class="blurry">
|
||||||
<a href="https://steamcommunity.com/workshop/filedetails/?id=1737053146"><span class="center white-text name">TTT2 Role Overview</span></a>
|
<a href="https://steamcommunity.com/workshop/filedetails/?id=1737053146"><span class="center white-text name">TTT2 Role Overview</span></a>
|
||||||
<a href="https://steamcommunity.com/id/truebaka/"><span class="center white-text email">Made by James</span></a>
|
<a href="https://steamcommunity.com/id/truebaka/"><span class="center white-text email">Made by James</span></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="https://discord.gg/Npcbb4W">Official TTT2 Discord</a></li>
|
<li><a href="https://discord.gg/Npcbb4W">Official TTT2 Discord</a></li>
|
||||||
<li><div class="divider"></div></li>
|
<li><div class="divider"></div></li>
|
||||||
<li><a class="subheader">Roles</a></li>
|
<li><a class="subheader">Roles</a></li>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$defaultlanguage = "en";
|
$defaultlanguage = "en";
|
||||||
|
|
||||||
# Get language from URL
|
# Get language from URL
|
||||||
if(isset($_GET["lang"])) {
|
if(isset($_GET["lang"])) {
|
||||||
$language = $_GET["lang"];
|
$language = $_GET["lang"];
|
||||||
} else {
|
} else {
|
||||||
$language = $defaultlanguage;
|
$language = $defaultlanguage;
|
||||||
}
|
}
|
||||||
|
|
||||||
#Check if Language folder exists
|
#Check if Language folder exists
|
||||||
if(file_exists("roles/".$language."/")) {
|
if(file_exists("roles/".$language."/")) {
|
||||||
$files = glob("roles/".$language."/*.php");
|
$files = glob("roles/".$language."/*.php");
|
||||||
} else {
|
} else {
|
||||||
$language = $defaultlanguage;
|
$language = $defaultlanguage;
|
||||||
$files = glob("roles/".$language."/*.php");
|
$files = glob("roles/".$language."/*.php");
|
||||||
}
|
}
|
||||||
#Get all files from the language folder
|
#Get all files from the language folder
|
||||||
sort($files);
|
sort($files);
|
||||||
|
|
||||||
foreach ($files as $filename) {
|
foreach ($files as $filename) {
|
||||||
include $filename;
|
include $filename;
|
||||||
|
|
||||||
$shortname = substr($filename, 9);
|
$shortname = substr($filename, 9);
|
||||||
$shortname = substr($shortname, 0, -4);
|
$shortname = substr($shortname, 0, -4);
|
||||||
|
|
||||||
echo '
|
echo '
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
|
|
||||||
<div class="card-panel '.$color.' '.$tcolor.'-text">
|
<div class="card-panel '.$color.' '.$tcolor.'-text">
|
||||||
<li>
|
<li>
|
||||||
<a class="sidenav-close waves-effect '.$tcolor.'-text" href="#'.$shortname.'">
|
<a class="sidenav-close waves-effect '.$tcolor.'-text" href="#'.$shortname.'">
|
||||||
<span class="card-title">'.$name.'</span>
|
<span class="card-title">'.$name.'</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
';
|
';
|
||||||
};
|
};
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<div class="fixed-action-btn">
|
<div class="fixed-action-btn">
|
||||||
<a id="menu" href="#" data-target="slide-out" class="sidenav-trigger btn-floating btn-large waves-effect waves-dark brown"><i class="material-icons">menu</i></a>
|
<a id="menu" href="#" data-target="slide-out" class="sidenav-trigger btn-floating btn-large waves-effect waves-dark brown"><i class="material-icons">menu</i></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Tap Target Structure -->
|
<!-- Tap Target Structure -->
|
||||||
<div class="tap-target indigo white-text" data-target="menu">
|
<div class="tap-target indigo white-text" data-target="menu">
|
||||||
<div class="tap-target-content">
|
<div class="tap-target-content">
|
||||||
<h5 class="center">Menu</h5>
|
<h5 class="center">Menu</h5>
|
||||||
<p>You can find an overview to all the Roles over here!</p>
|
<p>You can find an overview to all the Roles over here!</p>
|
||||||
<p>Also is it just me or might this be a bit overkill? You know, this huge bubble which informs you about a Menu you probably have found yourself</p>
|
<p>Also is it just me or might this be a bit overkill? You know, this huge bubble which informs you about a Menu you probably have found yourself</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$defaultlanguage = "en";
|
$defaultlanguage = "en";
|
||||||
|
|
||||||
# Get language from URL
|
# Get language from URL
|
||||||
if(isset($_GET["lang"])) {
|
if(isset($_GET["lang"])) {
|
||||||
$language = $_GET["lang"];
|
$language = $_GET["lang"];
|
||||||
} else {
|
} else {
|
||||||
$language = $defaultlanguage;
|
$language = $defaultlanguage;
|
||||||
}
|
}
|
||||||
|
|
||||||
#Check if Language folder exists
|
#Check if Language folder exists
|
||||||
if(file_exists("roles/".$language."/")) {
|
if(file_exists("roles/".$language."/")) {
|
||||||
$files = glob("roles/".$language."/*.php");
|
$files = glob("roles/".$language."/*.php");
|
||||||
} else {
|
} else {
|
||||||
$language = $defaultlanguage;
|
$language = $defaultlanguage;
|
||||||
$files = glob("roles/".$language."/*.php");
|
$files = glob("roles/".$language."/*.php");
|
||||||
}
|
}
|
||||||
#Get all files from the language folder
|
#Get all files from the language folder
|
||||||
|
|
||||||
sort($files);
|
sort($files);
|
||||||
$count = 1;
|
$count = 1;
|
||||||
|
|
||||||
foreach ($files as $filename) {
|
foreach ($files as $filename) {
|
||||||
include $filename;
|
include $filename;
|
||||||
|
|
||||||
$shortname = substr($filename, 9);
|
$shortname = substr($filename, 9);
|
||||||
$shortname = substr($shortname, 0, -4);
|
$shortname = substr($shortname, 0, -4);
|
||||||
/*
|
/*
|
||||||
if ($count%2 == 1)
|
if ($count%2 == 1)
|
||||||
{
|
{
|
||||||
echo "<div class='row'>";
|
echo "<div class='row'>";
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
echo '
|
echo '
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<div class="blurry">
|
<div class="blurry">
|
||||||
<div class="card '.$color.' '.$tcolor.'-text">
|
<div class="card '.$color.' '.$tcolor.'-text">
|
||||||
<div class="card-content">
|
<div class="card-content">
|
||||||
<span class="card-title" id="'.$shortname.'">'.$name.'</span>
|
<span class="card-title" id="'.$shortname.'">'.$name.'</span>
|
||||||
<p>'.$description.'</p>
|
<p>'.$description.'</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="collapsible black-text white">
|
<ul class="collapsible black-text white">
|
||||||
<li class="active">
|
<li class="active">
|
||||||
<div class="collapsible-header"><i class="material-icons">help_outline</i>How to Play</div>
|
<div class="collapsible-header"><i class="material-icons">help_outline</i>How to Play</div>
|
||||||
<div class="collapsible-body"><pre>'.$howtoplay.'</pre></div>
|
<div class="collapsible-body"><pre>'.$howtoplay.'</pre></div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="collapsible-header"><i class="material-icons">check</i>Plays best with</div>
|
<div class="collapsible-header"><i class="material-icons">check</i>Plays best with</div>
|
||||||
<div class="collapsible-body"><span>'.$playsbestwith.'</span></div>
|
<div class="collapsible-body"><span>'.$playsbestwith.'</span></div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="collapsible-header"><i class="material-icons">code</i>Convars</div>
|
<div class="collapsible-header"><i class="material-icons">code</i>Convars</div>
|
||||||
<div class="collapsible-body"><pre>'.$convars.'</pre></div>
|
<div class="collapsible-body"><pre>'.$convars.'</pre></div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="collapsible-header"><i class="material-icons">whatshot</i>Credits</div>
|
<div class="collapsible-header"><i class="material-icons">whatshot</i>Credits</div>
|
||||||
<div class="collapsible-body"><span>Main Creator: <a href="'.$authorurl.'">'.$author.'</a><br><pre>'.$ctext.'</pre></span></div>
|
<div class="collapsible-body"><span>Main Creator: <a href="'.$authorurl.'">'.$author.'</a><br><pre>'.$ctext.'</pre></span></div>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<div class="collapsible-header"><i class="material-icons">link</i>Links</div>
|
<div class="collapsible-header"><i class="material-icons">link</i>Links</div>
|
||||||
<div class="center collapsible-body">
|
<div class="center collapsible-body">
|
||||||
<span>
|
<span>
|
||||||
<a href="'.$steam.' ">Steam Workshop</a>
|
<a href="'.$steam.' ">Steam Workshop</a>
|
||||||
<br>
|
<br>
|
||||||
<a href="'.$source.'">Github Source</a></div>
|
<a href="'.$source.'">Github Source</a></div>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
';
|
';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if ($count%2 == 0)
|
if ($count%2 == 0)
|
||||||
{
|
{
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
}
|
}
|
||||||
$count++;
|
$count++;
|
||||||
*/
|
*/
|
||||||
}
|
}
|
||||||
// if ($count%2 != 1) echo "</div>";
|
// if ($count%2 != 1) echo "</div>";
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<footer class="page-footer indigo">
|
<footer class="page-footer indigo">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col l6 s12">
|
<div class="col l6 s12">
|
||||||
<h5 class="white-text">Thanks for using this list</h5>
|
<h5 class="white-text">Thanks for using this list</h5>
|
||||||
<p class="grey-text text-lighten-4">You might not think of it, but the fact that you are reading this is allready confirmation enough, that this project was worth the weight</p> <!-- Also bonus points for reading the source ;) -->
|
<p class="grey-text text-lighten-4">You might not think of it, but the fact that you are reading this is allready confirmation enough, that this project was worth the weight</p> <!-- Also bonus points for reading the source ;) -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="footer-copyright indigo darken-1">
|
<div class="footer-copyright indigo darken-1">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
© <?php echo date("Y"); ?> Jesse James Isler
|
© <?php echo date("Y"); ?> Jesse James Isler
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
|
|
||||||
<!-- Start Tab init -->
|
<!-- Start Tab init -->
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$('.collapsible').collapsible();
|
$('.collapsible').collapsible();
|
||||||
// $('.tabs').tabs();
|
// $('.tabs').tabs();
|
||||||
$('.sidenav').sidenav();
|
$('.sidenav').sidenav();
|
||||||
$('.tap-target').tapTarget();
|
$('.tap-target').tapTarget();
|
||||||
$('.tap-target').tapTarget('open');
|
$('.tap-target').tapTarget('open');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<!-- End Tab init -->
|
<!-- End Tab init -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--JavaScript at end of body for optimized loading-->
|
<!--JavaScript at end of body for optimized loading-->
|
||||||
<script type="text/javascript" src="js/materialize.min.js"></script>
|
<script type="text/javascript" src="js/materialize.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
BIN
js/@eaDir/materialize.js@SynoEAStream
Normal file
BIN
js/@eaDir/materialize.js@SynoEAStream
Normal file
Binary file not shown.
BIN
js/@eaDir/materialize.min.js@SynoEAStream
Normal file
BIN
js/@eaDir/materialize.min.js@SynoEAStream
Normal file
Binary file not shown.
@ -1,92 +1,92 @@
|
|||||||
<?php
|
<?php
|
||||||
#
|
#
|
||||||
# COLORS
|
# COLORS
|
||||||
#
|
#
|
||||||
|
|
||||||
# Text Color
|
# Text Color
|
||||||
$tcolor = 'white';
|
$tcolor = 'white';
|
||||||
# This is the color defined by https://materializecss.com/color.html
|
# This is the color defined by https://materializecss.com/color.html
|
||||||
$color = 'grey darken-4';
|
$color = 'grey darken-4';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# BASEINFO
|
# BASEINFO
|
||||||
#
|
#
|
||||||
|
|
||||||
#The Name of the Role
|
#The Name of the Role
|
||||||
$name = 'Hidden';
|
$name = 'Hidden';
|
||||||
#The Description of the Role, HTML conform :)
|
#The Description of the Role, HTML conform :)
|
||||||
$description = 'A terrifying threat stalks the shadows';
|
$description = 'A terrifying threat stalks the shadows';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# TABS
|
# TABS
|
||||||
#
|
#
|
||||||
|
|
||||||
#How To play
|
#How To play
|
||||||
$howtoplay = "The Hidden is a neutral killer role. The Hidden must activate their powers to start killing, they do this by pressing reload (default 'R').
|
$howtoplay = "The Hidden is a neutral killer role. The Hidden must activate their powers to start killing, they do this by pressing reload (default 'R').
|
||||||
|
|
||||||
After activating their powers, they become invisible, lose the ability to use guns, gain the Climber item, gain bonus HP, and gain a speed boost. Their vision changes and they gain wall hacks when standing still. Finally, it is announced to everyone that they are the Hidden.
|
After activating their powers, they become invisible, lose the ability to use guns, gain the Climber item, gain bonus HP, and gain a speed boost. Their vision changes and they gain wall hacks when standing still. Finally, it is announced to everyone that they are the Hidden.
|
||||||
|
|
||||||
Their knife works like the Traitor weapon, dealing melee damage and is capable of being thrown. If the Hidden doesn't pick up their knife, it returns to them after a short delay.
|
Their knife works like the Traitor weapon, dealing melee damage and is capable of being thrown. If the Hidden doesn't pick up their knife, it returns to them after a short delay.
|
||||||
|
|
||||||
Their stun grenade causes those in its Area of Effect to have an intense motion blur effect for a short duration. It will restock after a delay.
|
Their stun grenade causes those in its Area of Effect to have an intense motion blur effect for a short duration. It will restock after a delay.
|
||||||
|
|
||||||
After the Hidden takes enough damage, they become partially visible, return to complete invisibility after a delay.
|
After the Hidden takes enough damage, they become partially visible, return to complete invisibility after a delay.
|
||||||
|
|
||||||
If the Hidden is killed, their death is announced to everyone.";
|
If the Hidden is killed, their death is announced to everyone.";
|
||||||
#With what roles does this role play best?
|
#With what roles does this role play best?
|
||||||
$playsbestwith = '
|
$playsbestwith = '
|
||||||
<ul>
|
<ul>
|
||||||
<li></li>
|
<li></li>
|
||||||
<li></li>
|
<li></li>
|
||||||
<li></li>
|
<li></li>
|
||||||
<ul>
|
<ul>
|
||||||
';
|
';
|
||||||
#Convars
|
#Convars
|
||||||
$convars = "Normal Role Convars (also found in ULX):
|
$convars = "Normal Role Convars (also found in ULX):
|
||||||
<code># enable or disable this role
|
<code># enable or disable this role
|
||||||
ttt_hidden_enabled [0/1] (default: 1)
|
ttt_hidden_enabled [0/1] (default: 1)
|
||||||
# the percentage of players that are spawned as this role
|
# the percentage of players that are spawned as this role
|
||||||
ttt_hidden_pct [0.0..1.0] (default 0.15)
|
ttt_hidden_pct [0.0..1.0] (default 0.15)
|
||||||
# the limit of players that spawn as this role each round, this overwrites the percentage
|
# the limit of players that spawn as this role each round, this overwrites the percentage
|
||||||
ttt_hidden_max [0.0..n] (default: 1)
|
ttt_hidden_max [0.0..n] (default: 1)
|
||||||
# the probility each round of this role being spawned at all
|
# the probility each round of this role being spawned at all
|
||||||
ttt_hidden_random [0..100] (default: 33)
|
ttt_hidden_random [0..100] (default: 33)
|
||||||
# the amount of players needed for this role to spawn
|
# the amount of players needed for this role to spawn
|
||||||
ttt_hidden_min_players: [0..n] (default: 6)</code>
|
ttt_hidden_min_players: [0..n] (default: 6)</code>
|
||||||
|
|
||||||
Rolespecific Convars:
|
Rolespecific Convars:
|
||||||
<code># the delay before the hidden's knife returns after being thrown
|
<code># the delay before the hidden's knife returns after being thrown
|
||||||
ttt2_hdn_knife_delay (default: 15)
|
ttt2_hdn_knife_delay (default: 15)
|
||||||
# the delay before the hidden's grenade restocks
|
# the delay before the hidden's grenade restocks
|
||||||
ttt2_hdn_nade_delay (default: 30)
|
ttt2_hdn_nade_delay (default: 30)
|
||||||
# the duration of the hidden's stun grenade's effect
|
# the duration of the hidden's stun grenade's effect
|
||||||
ttt2_hdn_stun_duration (default: 5)</code>";
|
ttt2_hdn_stun_duration (default: 5)</code>";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Credits
|
# Credits
|
||||||
#
|
#
|
||||||
|
|
||||||
#The Steam URL to your addon
|
#The Steam URL to your addon
|
||||||
$steam = '';
|
$steam = '';
|
||||||
#The Source URL to your addon
|
#The Source URL to your addon
|
||||||
$source = '';
|
$source = '';
|
||||||
|
|
||||||
#Creator of the Addon
|
#Creator of the Addon
|
||||||
$author = 'Wasted';
|
$author = 'Wasted';
|
||||||
#Creatorlink
|
#Creatorlink
|
||||||
$authorurl = 'https://steamcommunity.com/id/Zzzaaaccc13';
|
$authorurl = 'https://steamcommunity.com/id/Zzzaaaccc13';
|
||||||
|
|
||||||
# Credittext (can use the above variables)
|
# Credittext (can use the above variables)
|
||||||
$ctext = "Wasted: creator of this role addon
|
$ctext = "Wasted: creator of this role addon
|
||||||
The Hidden Source[www.hidden-source.com]: Inspiration for role
|
The Hidden Source[www.hidden-source.com]: Inspiration for role
|
||||||
fortune: creator of the port of The Hidden gamemode for Garry's Mod whose vision effect I used for this role.";
|
fortune: creator of the port of The Hidden gamemode for Garry's Mod whose vision effect I used for this role.";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user