diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..9473a1acc --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,22 @@ +name: Build Release Artifacts + +on: + release: + types: [created] + +jobs: + build-sdz: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - uses: FranzDiebold/github-env-vars-action@v2.3.0 + - run: sudo apt install -y zip + - run: zip -r repo.sdz * -x .git @ + - uses: actions/upload-release-asset@v1.0.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ github.event.release.upload_url }} + asset_path: ./repo.sdz + asset_name: ${{ env.CI_REPOSITORY_NAME }}-${{ env.CI_REF_NAME }}.sdz + asset_content_type: application/zip diff --git a/CC-BY-SA-4.0.txt b/CC-BY-SA-4.0.txt new file mode 100644 index 000000000..3b7b82d0d --- /dev/null +++ b/CC-BY-SA-4.0.txt @@ -0,0 +1,427 @@ +Attribution-ShareAlike 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution-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-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. + + a. 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. + + b. 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. + + c. BY-SA Compatible License means a license listed at + creativecommons.org/compatiblelicenses, approved by Creative + Commons as essentially the equivalent of this Public License. + + d. 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. + + e. 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. + + f. 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. + + g. 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 and ShareAlike. + + h. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + i. 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. + + j. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + k. 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. + + l. 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. + + m. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. 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: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. 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. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. 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. + + 5. Downstream recipients. + + a. 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. + + b. 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. + + c. 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. + + 6. 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). + + b. Other rights. + + 1. 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. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. 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. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. 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); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. 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. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + b. ShareAlike. + + In addition to the conditions in Section 3(a), if You Share + Adapted Material You produce, the following conditions also apply. + + 1. The Adapter's License You apply must be a Creative Commons + license with the same License Elements, this version or + later, or a BY-SA Compatible License. + + 2. 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. + + 3. 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. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. 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; + + b. 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 + c. 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. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. 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. + + b. 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. + + c. 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. + + a. 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. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. 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. + + c. 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. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. 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. + + a. 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. + + b. 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. + + c. 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. + + d. 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. + + +======================================================================= + +Creative Commons is not a party to its public +licenses. Notwithstanding, Creative Commons may elect to apply one of +its public licenses to material it publishes and in those instances +will be considered the “Licensor.” The text of the Creative Commons +public licenses is dedicated to the public domain under the CC0 Public +Domain Dedication. Except for the limited purpose of indicating that +material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the +public licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git "a/Creative Commons \342\200\224 Attribution-ShareAlike 4.0 International \342\200\224 CC BY-SA 4.pdf" "b/Creative Commons \342\200\224 Attribution-ShareAlike 4.0 International \342\200\224 CC BY-SA 4.pdf" deleted file mode 100644 index 55dc821f9..000000000 Binary files "a/Creative Commons \342\200\224 Attribution-ShareAlike 4.0 International \342\200\224 CC BY-SA 4.pdf" and /dev/null differ diff --git a/DummyCommit.txt b/DummyCommit.txt index a45c19b7b..bdbe4075c 100644 --- a/DummyCommit.txt +++ b/DummyCommit.txt @@ -1 +1 @@ -VERSION{v14.00} \ No newline at end of file +VERSION{v15.01} \ No newline at end of file diff --git a/GPL-2.0.txt b/GPL-2.0.txt new file mode 100644 index 000000000..d159169d1 --- /dev/null +++ b/GPL-2.0.txt @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/Gamedata/alldefs_post.lua b/Gamedata/alldefs_post.lua index 233d9d866..d698a7574 100644 --- a/Gamedata/alldefs_post.lua +++ b/Gamedata/alldefs_post.lua @@ -19,14 +19,17 @@ SaveDefsToCustomParams = false ------------------------- --- Process relevant modoptions first +-- Process relevant modoptions and gamewide features first ------------------------- unitHealthModifier = tonumber(Spring.GetModOptions().unithealthmodifier) if unitHealthModifier == nil then - unitHealthModifier = 250 + unitHealthModifier = 500 end + unitHealthModifier = unitHealthModifier * 0.01 +canAnyUnitsReclaim = false + ------------------------- -- DEFS POST PROCESSING ------------------------- @@ -140,6 +143,8 @@ function UnitDef_Post(name, uDef) local radius = 8 * sqrt((fx * fx) + (fz * fz)) if uDef.customparams and uDef.customparams.decloakradiusmodifier then uDef.mincloakdistance = (radius * uDef.customparams.decloakradiusmodifier) + elseif uDef.customparams and uDef.customparams.decloakradiushalved then + uDef.mincloakdistance = (radius * 3) else uDef.mincloakdistance = (radius * 6) end @@ -162,6 +167,14 @@ function UnitDef_Post(name, uDef) if uDef.usegrounddecal == true and uDef.customparams and uDef.customparams.customgrounddecal ~= true then if uDef.customparams and uDef.customparams.factionname == "ateran" then uDef.buildinggrounddecaltype = "groundplate.dds" + --Make decals sizing easy + if uDef.footprintx ~= nil and uDef.footprintz ~= nil then + uDef.buildinggrounddecalsizex = uDef.footprintx + 2 + uDef.buildinggrounddecalsizey = uDef.footprintz + 2 + uDef.buildinggrounddecaldecayspeed = 0.9 + else + Spring.Echo("[AllDefsPost] " .. uDef.name .. " Does not have it's footprint defined") + end end if uDef.customparams and uDef.customparams.factionname == "zaal" then uDef.buildinggrounddecaltype = "zgroundtexture2.dds" @@ -178,6 +191,14 @@ function UnitDef_Post(name, uDef) uDef.shownanospray = false end + -------------------------------------------------------------------------------- + -------------------------------------------------------------------------------- Make units unable to be built in the water + if uDef.maxwaterdepth then + uDef.maxwaterdepth = 25 + end + if uDef.floater then + uDef.floater = false + end -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Turn off Chicken Egg drops @@ -189,7 +210,14 @@ function UnitDef_Post(name, uDef) VFS.Include("gamedata/scavengers/unitdef_post.lua") uDef = scav_Udef_Post(name, uDef) end - + + -------------------------------------------------------------------------------- + -------------------------------------------------------------------------------- + -- Use per piece collision volumes + -- !Potentially very expensive! + -- I'm using this to save myself a boatload of time + uDef.usePieceCollisionVolumes = false + end -------------------------------------------------------------------------------- @@ -223,10 +251,18 @@ function WeaponDef_Post(name, wDef) --Potentially fix times when weapons explode without doing damage if tonumber(wDef.areaofeffect) ~= nil and tonumber(wDef.areaofeffect) <= 25 then - wDef.areaofeffect = 25 + if wDef.customparams and wDef.customparams.aoeoverride == true then + wDef.areaofeffect = wDef.areaofeffect + else + wDef.areaofeffect = 25 + end end if tonumber(wDef.areaofeffect) ~= nil and tonumber(wDef.areaofeffect) <= 25 then - wDef.edgeeffectiveness = 1 + if wDef.customparams and wDef.customparams.edgeeffectiveness == true then + wDef.edgeeffectiveness = wDef.edgeeffectiveness + else + wDef.edgeeffectiveness = 1 + end end --Override map gravity for all weapons @@ -272,7 +308,11 @@ function WeaponDef_Post(name, wDef) wDef.energypershot = math.floor(wDef.damage.default * 0.05 * wDef.projectiles * ((wDef.areaofeffect * 0.001) + 1) * wDef.range^0.25 * 0.5 * 10 + 0.5) * 0.1 end - + -------------------------------------------------------------------------------- + -------------------------------------------------------------------------------- Turn off waterweapons + if wDef.waterweapon then + wDef.waterweapon = false + end -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Disable Friendly Fire Completely @@ -319,7 +359,9 @@ function ModOptions_Post (UnitDefs, WeaponDefs) -- Set building Hitpoints -- Ateran - if unitDef.customparams and unitDef.customparams.factionname == "ateran" then + if unitDef.customparams and unitDef.customparams.factionname == "ateran" + or unitDef.customparams and unitDef.customparams.factionname == "Federation of Kala" + or unitDef.customparams and unitDef.customparams.factionname == "Loz Alliance" then if unitDef.customparams then if unitDef.customparams.unittype == "building" then unitDef.maxdamage = unitDef.buildcostmetal * 5 @@ -355,14 +397,14 @@ function ModOptions_Post (UnitDefs, WeaponDefs) end -- Make sure that land based defense weapons and turrets are scaled up to match - for id,wDef in pairs(WeaponDefs) do - if wDef.customparams and wDef.customparams.effectedbyunithealthmodifier == true then - if wDef.damage.default then - wDef.damage.default = wDef.damage.default * unitHealthModifier - end - --Spring.Echo(wDef.damage.default) - end - end + -- for id,wDef in pairs(WeaponDefs) do + -- if wDef.customparams and wDef.customparams.effectedbyunithealthmodifier == true then + -- if wDef.damage.default then + -- wDef.damage.default = wDef.damage.default * (unitHealthModifier * 0.33) + -- end + -- --Spring.Echo(wDef.damage.default) + -- end + -- end -------------------------------------------------------------------------------- -- Process Upgrades -- @@ -546,6 +588,9 @@ function ModOptions_Post (UnitDefs, WeaponDefs) if unitDef.customparams and unitDef.customparams.noenergycost == true then unitDef.buildcostenergy = 0 end + if unitDef.customparams and unitDef.customparams.buildcostenergyoverride ~= nil then + unitDef.buildcostenergy = unitDef.customparams.buildcostenergyoverride + end end -- Set Rules for Zaal race @@ -564,6 +609,9 @@ function ModOptions_Post (UnitDefs, WeaponDefs) if unitDef.customparams and unitDef.customparams.noenergycost == true then unitDef.buildcostenergy = 0 end + if unitDef.customparams and unitDef.customparams.buildcostenergyoverride ~= nil then + unitDef.buildcostenergy = unitDef.customparams.buildcostenergyoverride + end end -- This is a catchall for units that don't have a factionname declared @@ -577,6 +625,14 @@ function ModOptions_Post (UnitDefs, WeaponDefs) if unitDef.workertime and unitDef.workertime >= 8 then unitDef.workertime = 8 end + -- Set reclaimspeed to be a multiple of workertime. This relies on max defaults set in featuredefs post. Without some max defaults there, this will be a funny result. + unitDef.reclaimspeed = unitDef.workertime + + if canAnyUnitsReclaim == false then + if unitDef.canreclaim == true then + unitDef.canreclaim = false + end + end end end end \ No newline at end of file diff --git a/Gamedata/configs/damageTypes.lua b/Gamedata/configs/damageTypes.lua index 4ab54afaf..2028a90c3 100644 --- a/Gamedata/configs/damageTypes.lua +++ b/Gamedata/configs/damageTypes.lua @@ -4,47 +4,91 @@ local damageClasses = { -- classes with armor classes for weapons damageTypes = { - light = { - LIGHT = 2, + -- + light = { -- These values should always mirror antilight and vice versa + LIGHT = 1.5, ARMORED = 1, BUILDING = 1, AIR = 1, - }, + }, + antilight = { + LIGHT = 1.5, + ARMORED = 1, + BUILDING = 1, + AIR = 1, + }, + -- + turretantilight = { + LIGHT = 1.5, + ARMORED = 1, + BUILDING = 0.1, + AIR = 1, + }, + turretantiarmored = { + LIGHT = 1, + ARMORED = 1.5, + BUILDING = 0.1, + AIR = 1, + }, antiarmored = { LIGHT = 1, - ARMORED = 2, + ARMORED = 1.5, BUILDING = 1, AIR = 1, }, antibuilding = { LIGHT = 1, ARMORED = 1, - BUILDING = 2, + BUILDING = 1.5, AIR = 1, }, + antibuildingarty = { + LIGHT = 0.25, + ARMORED = 0.25, + BUILDING = 1.5, + AIR = 0.25, + }, antiair = { LIGHT = 1, ARMORED = 1, BUILDING = 1, - AIR = 2, + AIR = 1.5, + }, + antilightarmored = { + LIGHT = 1.5, + ARMORED = 1.5, + BUILDING = 1, + AIR = 1, + }, + antilightbuilding = { + LIGHT = 1.5, + ARMORED = 1, + BUILDING = 1.5, + AIR = 1, }, antiarmoredbuilding = { LIGHT = 1, - ARMORED = 2, - BUILDING = 2, + ARMORED = 1.5, + BUILDING = 1.5, AIR = 1, }, antibuildingair = { LIGHT = 1, ARMORED = 1, - BUILDING = 2, - AIR = 2, + BUILDING = 1.5, + AIR = 1.5, }, antiarmoredair = { LIGHT = 1, - ARMORED = 2, + ARMORED = 1.5, BUILDING = 1, - AIR = 2, + AIR = 1.5, + }, + turretantilightarmored = { + LIGHT = 1.5, + ARMORED = 1.5, + BUILDING = 0.1, + AIR = 1, }, -- End Miscellaneous default = { diff --git a/Gamedata/explosions/Steam.lua b/Gamedata/explosions/Steam.lua index a61df2f6b..720b86f49 100644 --- a/Gamedata/explosions/Steam.lua +++ b/Gamedata/explosions/Steam.lua @@ -28,7 +28,6 @@ return { sizemod = 0.9, texture = [[new_dirta]], useairlos = false, - colorchange = "stuffs", }, }, }, diff --git a/Gamedata/explosions/blacksmoke.lua b/Gamedata/explosions/blacksmoke.lua index ed051b9c0..b00fdb24f 100644 --- a/Gamedata/explosions/blacksmoke.lua +++ b/Gamedata/explosions/blacksmoke.lua @@ -29,7 +29,6 @@ return { sizemod = 0.9, texture = [[new_dirta]], useairlos = false, - colorchange = "stuffs", }, }, @@ -60,7 +59,6 @@ return { sizemod = 0.9, texture = [[randdots]], useairlos = false, - colorchange = "stuffs", }, }, }, diff --git a/Gamedata/explosions/dirt.lua b/Gamedata/explosions/dirt.lua index 17ab06bda..64f96b44e 100644 --- a/Gamedata/explosions/dirt.lua +++ b/Gamedata/explosions/dirt.lua @@ -2,6 +2,38 @@ return { ["dirt"] = { + dirtg = { + air = true, + class = [[CSimpleParticleSystem]], + count = 1, + ground = true, + properties = { + airdrag = 0.7, + --alwaysvisible = true, + colormap = [[0.25 0.20 0.10 1.0 0 0 0 0.0]], + directional = true, + emitrot = 90, + emitrotspread = 0, + emitvector = [[0, 1, 0]], + gravity = [[0, 0.3 r0.3, 0]], + numparticles = 0, + particlelife = 15, + particlelifespread = 20, + particlesize = [[12 r4]], + particlesizespread = 10, + particlespeed = 1, + particlespeedspread = 6, + pos = [[r-0.5 r0.5, 1 r2, r-0.5 r0.5]], + sizegrowth = 1.2, + sizemod = 1.0, + texture = [[new_dirta]], + useairlos = false, + }, + }, + }, + + + ["dirtoriginal"] = { dirtg = { air = true, class = [[CSimpleParticleSystem]], @@ -28,7 +60,6 @@ return { sizemod = 1.0, texture = [[new_dirta]], useairlos = false, - colorchange = "stuffs", }, }, dirtw = { @@ -57,7 +88,6 @@ return { sizemod = 1.0, texture = [[randdots]], useairlos = false, - colorchange = "stuffs", }, }, }, @@ -90,7 +120,6 @@ return { sizemod = 1.0, texture = [[new_dirta]], useairlos = false, - colorchange = "stuffs", }, }, dirtw = { diff --git a/Gamedata/explosions/empty.lua b/Gamedata/explosions/empty.lua index 2ae84af9d..cd82d4c29 100644 --- a/Gamedata/explosions/empty.lua +++ b/Gamedata/explosions/empty.lua @@ -30,6 +30,36 @@ return { }, }, }, + + ["emptydirt"] = { + empty = { + air = true, + class = [[CSimpleParticleSystem]], + count = 1, + ground = true, + water = true, + properties = { + airdrag = 0.97, + colormap = [[1 1 1 1 1 1 1 1]], + directional = true, + emitrot = 0, + emitrotspread = 0, + emitvector = [[dir]], + gravity = [[0, -0.5, 0]], + numparticles = 0, + particlelife = 0, + particlelifespread = 0, + particlesize = 0, + particlesizespread = 0, + particlespeed = 0, + particlespeedspread = 0, + pos = [[0, 0, 0]], + sizegrowth = 0, + sizemod = 0, + texture = [[shell]], + }, + }, + }, } diff --git a/Gamedata/explosions/fusionreaction.lua b/Gamedata/explosions/fusionreaction.lua index b92220dfc..eb26133d0 100644 --- a/Gamedata/explosions/fusionreaction.lua +++ b/Gamedata/explosions/fusionreaction.lua @@ -437,6 +437,72 @@ return { }, }, }, + + ["fusionreactionstoragenew-small"] = { + electricarcs1 = { + air = true, + class = [[CSimpleParticleSystem]], + count = 1, + ground = true, + water = true, + underwater = true, + properties = { + airdrag = 1, + --alwaysvisible = true, + colormap = [[1.0 1.0 1.0 0.04 0.5 0 0 0.01 0.8 0.5 0 0.01 0 0 0 0.01]], + directional = true, + emitrot = 0, + emitrotspread = 15, + emitvector = [[dir]], + gravity = [[0, 0, 0]], + numparticles = 1, + particlelife = 70, + particlelifespread = 1, + particlesize = 0.5, + particlesizespread = 0, + particlespeed = 0.1, + particlespeedspread = 0.5, + pos = [[0, 2, 0]], + sizegrowth = 0.3, + sizemod = 1, + texture = [[plasmaball]], + useairlos = false, + }, + }, + }, + + ["fusionreactionstoragenew-blue-small"] = { + electricarcs1 = { + air = true, + class = [[CSimpleParticleSystem]], + count = 1, + ground = true, + water = true, + underwater = true, + properties = { + airdrag = 1, + --alwaysvisible = true, + colormap = [[1.0 1.0 1.0 0.04 0 0 0.5 0.01 0 0.5 0.8 0.01 0 0 0 0.01]], + directional = true, + emitrot = 0, + emitrotspread = 15, + emitvector = [[dir]], + gravity = [[0, 0, 0]], + numparticles = 1, + particlelife = 70, + particlelifespread = 1, + particlesize = 0.5, + particlesizespread = 0, + particlespeed = 0.1, + particlespeedspread = 0.5, + pos = [[0, 2, 0]], + sizegrowth = 0.3, + sizemod = 1, + texture = [[plasmaball]], + useairlos = false, + }, + }, + }, ["fusionreactionburrow"] = { electricarcs1 = { diff --git a/Gamedata/featuredefs_post.lua b/Gamedata/featuredefs_post.lua index 0afcd710d..d2617896d 100644 --- a/Gamedata/featuredefs_post.lua +++ b/Gamedata/featuredefs_post.lua @@ -19,35 +19,61 @@ local function istable(x) return (type(x) == 'table') end local function isnumber(x) return (type(x) == 'number') end local function isstring(x) return (type(x) == 'string') end local spGetModOptions = Spring.GetModOptions - -------------------------------------------------------------------------------- if spGetModOptions then for name, fd in pairs(FeatureDefs) do - if( - ( - tonumber(fd["footprintz"]) <= 8 + + if fd["footprintz"] == 0 or fd["footprintz"] == nil then + fd["footprintz"] = 1 + end + if fd["footprintx"] == 0 or fd["footprintx"] == nil then + fd["footprintx"] = 1 + end + + if fd["footprintz"] ~= nil and fd["footprintx"] ~= nil then + if tonumber(fd["footprintz"]) <= 8 or tonumber(fd["footprintx"]) <= 8 or string.lower(fd["category"]) == "vegitation" - or string.lower(fd["category"]) == "vegetation" - ) - and (not fd["name"] or string.lower(fd["name"]) ~= "ammobox") - ) then - fd["blocking"] = false - if (not fd.customparams) then - fd.customparams = {} + or string.lower(fd["category"]) == "vegetation" then + + fd["blocking"] = false + if (not fd.customparams) then + fd.customparams = {} + end + + -- if (not fd.customparams.provide_cover) then + -- fd.customparams.provide_cover = 1 + -- end end - if (not fd.customparams.provide_cover) then - fd.customparams.provide_cover = 1 --- Spring.Echo("Feature["..name.."] is providing cover!") - end end -end - -for name, fd in pairs(FeatureDefs) do - fd.metal = 0 - fd.energy = 0 + + -- Set Reclaimtime that isn't insane. Default engine reclaimtime is (m+e) * 6 which is arbitrary as all hell. + if tonumber(fd["metal"]) == nil or tonumber(fd["metal"]) == 0 then + fd.metal = 1 + end + if tonumber(fd["energy"]) == nil or tonumber(fd["energy"]) == 0 then + fd.energy = 1 + end + + local reclaimvalue = (tonumber(fd["metal"]) + tonumber(fd["energy"])) / 4 + + fd.reclaimtime = reclaimvalue + + -- Reset maximum feature values + -- if tonumber(fd["metal"]) == nil or tonumber(fd["metal"]) == 0 then + -- fd.metal = 100 + -- end + -- if tonumber(fd["metal"]) > 100 then + -- fd.metal = 100 + -- end + -- if tonumber(fd["energy"]) == nil or tonumber(fd["energy"]) == 0 then + -- fd.energy = 100 + -- end + -- if tonumber(fd["energy"]) > 1 then + -- fd.energy = 100 + -- end end diff --git a/Gamedata/icontypes.lua b/Gamedata/icontypes.lua index 0b08b2d79..c84db57cc 100644 --- a/Gamedata/icontypes.lua +++ b/Gamedata/icontypes.lua @@ -219,13 +219,13 @@ local icontypes = { radar = { bitmap='icons/radar.png', - size=3.5, + size=1, radiusadjust=0, }, radarjam = { bitmap='icons/radarjam.png', - size=3.5, + size=1, radiusadjust=0, }, diff --git a/Gamedata/modrules.lua b/Gamedata/modrules.lua index 30328067e..9f1da3641 100644 --- a/Gamedata/modrules.lua +++ b/Gamedata/modrules.lua @@ -21,7 +21,7 @@ local modrules = { allowCrushingAlliedUnits = false, -- defaults to false allowUnitCollisionDamage = false, -- defaults to false allowUnitCollisionOverlap = true, -- defaults to true -- this lets units clump close together when moving, after which they are pushed apart - allowGroundUnitGravity = false, + allowGroundUnitGravity = false, }, construction = { @@ -32,12 +32,12 @@ local modrules = { reclaim = { - multiReclaim = 1, -- defaults to 0 + multiReclaim = 0, -- defaults to 0 reclaimMethod = 0, -- defaults to 1 unitMethod = 0, -- defaults to 1 unitEnergyCostFactor = 0, -- defaults to 0 - unitEfficiency = 0, -- defaults to 1 + unitEfficiency = 1, -- defaults to 1 featureEnergyCostFactor = 0, -- defaults to 0 allowEnemies = false, -- defaults to true @@ -64,8 +64,9 @@ local modrules = { requireSonarUnderWater = false, -- defaults to true los = { - losMipLevel = 3, -- defaults to 1 - airMipLevel = 4, -- defaults to 2 + losMipLevel = 1, -- defaults to 1 + airMipLevel = 1, -- defaults to 2 + radarMipLevel = 2, }, }, diff --git a/Gamedata/morph_defs.lua b/Gamedata/morph_defs.lua index e5c702297..a888e8c9f 100644 --- a/Gamedata/morph_defs.lua +++ b/Gamedata/morph_defs.lua @@ -23,35 +23,41 @@ local morphDefs = { --beginig of morphDefs local devolution = (-1 > 0) -local energyCost_ecommander = 200 -local timeToBuild_ecommander = energyCost_ecommander * 0.05 +local energyCost_ecommander = 100 +local timeToBuild_ecommander = energyCost_ecommander * 0.10 -local energyCost_ecommandercloak = 200 -local timeToBuild_ecommandercloak = energyCost_ecommandercloak * 0.05 +local energyCost_ecommanderhealer = 100 +local timeToBuild_ecommanderhealer = energyCost_ecommanderhealer * 0.10 -local energyCost_ecommandershield = 200 -local timeToBuild_ecommandershield = energyCost_ecommandershield * 0.05 +local energyCost_ecommandercloak = 100 +local timeToBuild_ecommandercloak = energyCost_ecommandercloak * 0.10 -local energyCost_ecommanderbuild = 200 -local timeToBuild_ecommanderbuild = energyCost_ecommanderbuild * 0.05 +local energyCost_ecommandershield = 100 +local timeToBuild_ecommandershield = energyCost_ecommandershield * 0.10 -local energyCost_ecommanderfactory = 200 -local timeToBuild_ecommanderfactory = energyCost_ecommanderfactory * 0.05 +local energyCost_ecommanderbuild = 100 +local timeToBuild_ecommanderbuild = energyCost_ecommanderbuild * 0.10 -local energyCost_ecommanderbattle = 200 -local timeToBuild_ecommanderbattle = energyCost_ecommanderbattle * 0.05 +local energyCost_ecommanderfactory = 100 +local timeToBuild_ecommanderfactory = energyCost_ecommanderfactory * 0.10 -local energyCost_ecommandermeteor = 12000 -local timeToBuild_ecommandermeteor = energyCost_ecommandermeteor * 0.005 +local energyCost_ecommanderbattle = 3000 +local timeToBuild_ecommanderbattle = energyCost_ecommanderbattle * 0.10 -local energyCost_factory_up1 = 1200 -local timeToBuild_factory_up1 = energyCost_factory_up1 * 0.05 +local energyCost_ecommandermeteor = 6000 +local timeToBuild_ecommandermeteor = energyCost_ecommandermeteor * 0.10 -local energyCost_etech2 = 1200 -local timeToBuild_etech2 = energyCost_etech2 * 0.05 +local energyCost_eradar2_up1 = 450 +local timeToBuild_eradar2_up1 = energyCost_eradar2_up1 * 0.10 -local energyCost_etech3 = 4000 -local timeToBuild_etech3 = energyCost_etech3 * 0.05 +local energyCost_factory_up1 = 600 +local timeToBuild_factory_up1 = energyCost_factory_up1 * 0.10 + +local energyCost_etech2 = 600 +local timeToBuild_etech2 = energyCost_etech2 * 0.10 + +local energyCost_etech3 = 2000 +local timeToBuild_etech3 = energyCost_etech3 * 0.10 local energyCost_zarmtech1 = 300 local timeToBuild_zarmtech1 = energyCost_zarmtech1 * 0.10 @@ -68,29 +74,57 @@ local timeToBuild_zespire4 = energyCost_zespire4 * 0.10 local energyCost_zespire5 = 200 local timeToBuild_zespire5 = energyCost_zespire5 * 0.10 -local energyCost_elightturret2 = 150 -local timeToBuild_elightturret2 = energyCost_elightturret2 * 0.05 +local energyCost_elightturret2 = 75 +local timeToBuild_elightturret2 = energyCost_elightturret2 * 0.10 + +local energyCost_eheavyturret2 = 125 +local timeToBuild_eheavyturret2 = energyCost_eheavyturret2 * 0.10 + +local energyCost_euwturret = 50 +local timeToBuild_euwturret = energyCost_euwturret * 0.10 + +local energyCost_eflakturret = 60 * 10 +local timeToBuild_eflakturret = energyCost_eflakturret / 10 + +-- energycost = time * rate +-- time = energycost / rate + +--Loz Commander Upgrades + +local energyCost_lozcommander_up1 = 60 * 10 +local timeToBuild_lozcommander_up1 = energyCost_lozcommander_up1 / 10 + +local energyCost_lozcommander_up2 = 180 * 25 +local timeToBuild_lozcommander_up2 = energyCost_lozcommander_up2 / 25 + +local energyCost_lozcommander_up3 = 300 * 50 +local timeToBuild_lozcommander_up3 = energyCost_lozcommander_up3 / 50 -local energyCost_eheavyturret2 = 250 -local timeToBuild_eheavyturret2 = energyCost_eheavyturret2 * 0.05 +local energyCost_lozcommander_up4 = 480 * 100 +local timeToBuild_lozcommander_up4 = energyCost_lozcommander_up4 / 100 -local energyCost_euwturret = 100 -local timeToBuild_euwturret = energyCost_euwturret * 0.05 +-- + +local energyCost_emetalextractor_up1 = 60 * 2 +local timeToBuild_emetalextractor_up1 = energyCost_emetalextractor_up1 / 2 + +local energyCost_emetalextractor_up2 = 300 * 25 +local timeToBuild_emetalextractor_up2 = energyCost_emetalextractor_up2 / 25 -local energyCost_emetalextractor_up1 = 1200 -local timeToBuild_emetalextractor_up1 = energyCost_emetalextractor_up1 * 0.05 +local energyCost_emetalextractor_up3 = 480 * 50 +local timeToBuild_emetalextractor_up3 = energyCost_emetalextractor_up3 / 50 -local energyCost_zmex_up1 = 2400 +local energyCost_zmex_up1 = 1200 local timeToBuild_zmex_up1 = energyCost_zmex_up1 * 0.10 local energyCost_xmetalextractor = 1200 -local timeToBuild_xmetalextractor = energyCost_xmetalextractor * 0.05 +local timeToBuild_xmetalextractor = energyCost_xmetalextractor * 0.10 -local energyCost_eorb = 300 -local timeToBuild_eorb = energyCost_eorb * 0.05 +local energyCost_eorb = 150 +local timeToBuild_eorb = energyCost_eorb * 0.10 -local energyCost_eartyturret = 800 -local timeToBuild_eartyturret = energyCost_eartyturret * 0.05 +local energyCost_eartyturret = 400 +local timeToBuild_eartyturret = energyCost_eartyturret * 0.10 local energyCost_ehbotturret = 0 local timeToBuild_ehbotturret = 2 @@ -98,8 +132,8 @@ local timeToBuild_ehbotturret = 2 local energyCost_ehbot = 0 local timeToBuild_ehbot = 10 -local energyCost_eartytanksauration = 300 -local timeToBuild_eartytanksauration = energyCost_eartytanksauration * 0.05 +local energyCost_eartytanksauration = 150 +local timeToBuild_eartytanksauration = energyCost_eartytanksauration * 0.10 local energyCost_kargannethturret = 0 local timeToBuild_kargannethturret = 2 @@ -108,7 +142,74 @@ local energyCost_karganneth = 0 local timeToBuild_karganneth = 10 local morphDefs = { + +--lozcommander + + lozcommander = { + { + into = 'lozcommander_up1', + time = timeToBuild_lozcommander_up1, + cmdname = [[Tech 1]], + energy = energyCost_lozcommander_up1, + metal = 0, + text = 'Evolve Tech 1 with upgraded weapons and armor', + }, + }, + + lozcommander_up1 = { + { + into = 'lozcommander_up2', + time = timeToBuild_lozcommander_up2, + cmdname = [[Tech 2]], + energy = energyCost_lozcommander_up2, + metal = 0, + text = 'Evolve Tech 2 with upgraded weapons and armor', + require = [[tech1]], + }, + }, + + lozcommander_up2 = { + { + into = 'lozcommander_up3', + time = timeToBuild_lozcommander_up3, + cmdname = [[Tech 3]], + energy = energyCost_lozcommander_up3, + metal = 0, + text = 'Evolve Tech 3 with upgraded weapons and armor', + require = [[tech2]], + }, + }, + + lozcommander_up3 = { + { + into = 'lozcommander_up4', + time = timeToBuild_lozcommander_up4, + cmdname = [[Tech 3 + BattleMech]], + energy = energyCost_lozcommander_up4, + metal = 0, + text = 'Evolve into a BattleMech with Devestating weapons and armor', + require = [[tech3]], + }, + }, + +-- + + + + + ecommander = { + { + into = 'ecommanderhealer', + time = timeToBuild_ecommanderhealer, + cmdname = [[Healer +Overseer]], + energy = energyCost_ecommanderhealer, + metal = 0, + text = 'Evolve into Healer Overseer: Overseer has a very strong AOE heal in it\'s immediate vicinity.', + require = [[tech2]], + }, { into = 'ecommandercloak', time = timeToBuild_ecommandercloak, @@ -126,7 +227,7 @@ Overseer]], Overseer]], energy = energyCost_ecommandershield, metal = 0, - text = 'Evolve into Shielded Overseer: Gains a large shield which does not cost energy to maintain.', + text = 'Evolve into Shielded Overseer: Gains a large shield which recharges quickly.', require = [[tech2]], }, { @@ -136,19 +237,19 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbuild, metal = 0, - text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains 4x buildpower.', - require = [[tech2]], - }, - { - into = 'ecommanderfactory', - time = timeToBuild_ecommanderfactory, - cmdname = [[Factory -Overseer]], - energy = energyCost_ecommanderfactory, - metal = 0, - text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + text = 'Evolve into Builder Overseer: Gains 16x buildpower and larger build radius.', require = [[tech2]], }, + -- { + -- into = 'ecommanderfactory', + -- time = timeToBuild_ecommanderfactory, + -- cmdname = [[Factory +-- Overseer]], + -- energy = energyCost_ecommanderfactory, + -- metal = 0, + -- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + -- require = [[tech2]], + -- }, { into = 'ecommanderbattle', time = timeToBuild_ecommanderbattle, @@ -156,18 +257,18 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbattle, metal = 0, - text = 'Evolve into Battle Overseer: Loses EMP ability, gains a machinegun that does heavy damage to Light units and Buildings. No longer grants supply.', + text = 'Evolve into Battle Overseer: Upgraded machinegun that does heavy damage to Light Units. No longer grants supply.', require = [[tech2]], }, }, ecommandercloak = { { - into = 'ecommander', - time = timeToBuild_ecommander, + into = 'ecommanderhealer', + time = timeToBuild_ecommanderhealer, cmdname = [[Healer -Overseer]], - energy = energyCost_ecommander, + Overseer]], + energy = energyCost_ecommanderhealer, metal = 0, text = 'Evolve into Healer Overseer: Overseer has a very strong AOE heal in it\'s immediate vicinity.', }, @@ -178,7 +279,7 @@ Overseer]], Overseer]], energy = energyCost_ecommandershield, metal = 0, - text = 'Evolve into Shielded Overseer: Gains a large shield which does not cost energy to maintain.', + text = 'Evolve into Shielded Overseer: Gains a large shield which recharges quickly.', }, { into = 'ecommanderbuild', @@ -187,17 +288,17 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbuild, metal = 0, - text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains 4x buildpower.', - }, - { - into = 'ecommanderfactory', - time = timeToBuild_ecommanderfactory, - cmdname = [[Factory -Overseer]], - energy = energyCost_ecommanderfactory, - metal = 0, - text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + text = 'Evolve into Builder Overseer: Gains 16x buildpower and larger build radius.', }, + -- { + -- into = 'ecommanderfactory', + -- time = timeToBuild_ecommanderfactory, + -- cmdname = [[Factory +-- Overseer]], + -- energy = energyCost_ecommanderfactory, + -- metal = 0, + -- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + -- }, { into = 'ecommanderbattle', time = timeToBuild_ecommanderbattle, @@ -205,18 +306,17 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbattle, metal = 0, - text = 'Evolve into Battle Overseer: Loses EMP ability, gains a machinegun that does heavy damage to Light units and Buildings. No longer grants supply.', - require = [[tech1]], + text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.', }, }, ecommandershield = { { - into = 'ecommander', - time = timeToBuild_ecommander, - cmdname = [[Healer + into = 'ecommanderhealer', + time = timeToBuild_ecommanderhealer, + cmdname = [[Healer Overseer]], - energy = energyCost_ecommander, + energy = energyCost_ecommanderhealer, metal = 0, text = 'Evolve into Healer Overseer: Overseer has a very strong AOE heal in it\'s immediate vicinity.', }, @@ -236,17 +336,17 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbuild, metal = 0, - text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains 4x buildpower.', - }, - { - into = 'ecommanderfactory', - time = timeToBuild_ecommanderfactory, - cmdname = [[Factory -Overseer]], - energy = energyCost_ecommanderfactory, - metal = 0, - text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + text = 'Evolve into Builder Overseer: Gains 16x buildpower and larger build radius.', }, + -- { + -- into = 'ecommanderfactory', + -- time = timeToBuild_ecommanderfactory, + -- cmdname = [[Factory +-- Overseer]], + -- energy = energyCost_ecommanderfactory, + -- metal = 0, + -- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + -- }, { into = 'ecommanderbattle', time = timeToBuild_ecommanderbattle, @@ -254,18 +354,17 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbattle, metal = 0, - text = 'Evolve into Battle Overseer: Loses EMP ability, gains a machinegun that does heavy damage to Light units and Buildings. No longer grants supply.', - require = [[tech1]], + text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.', }, }, ecommanderbuild = { { - into = 'ecommander', - time = timeToBuild_ecommander, + into = 'ecommanderhealer', + time = timeToBuild_ecommanderhealer, cmdname = [[Healer -Overseer]], - energy = energyCost_ecommander, + Overseer]], + energy = energyCost_ecommanderhealer, metal = 0, text = 'Evolve into Healer Overseer: Overseer has a very strong AOE heal in it\'s immediate vicinity.', }, @@ -285,17 +384,17 @@ Overseer]], Overseer]], energy = energyCost_ecommandershield, metal = 0, - text = 'Evolve into Shielded Overseer: Gains a large shield which does not cost energy to maintain.', - }, - { - into = 'ecommanderfactory', - time = timeToBuild_ecommanderfactory, - cmdname = [[Factory -Overseer]], - energy = energyCost_ecommanderfactory, - metal = 0, - text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + text = 'Evolve into Shielded Overseer: Gains a large shield which recharges quickly.', }, + -- { + -- into = 'ecommanderfactory', + -- time = timeToBuild_ecommanderfactory, + -- cmdname = [[Factory +-- Overseer]], + -- energy = energyCost_ecommanderfactory, + -- metal = 0, + -- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + -- }, { into = 'ecommanderbattle', time = timeToBuild_ecommanderbattle, @@ -303,18 +402,17 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbattle, metal = 0, - text = 'Evolve into Battle Overseer: Loses EMP ability, gains a machinegun that does heavy damage to Light units and Buildings. No longer grants supply.', - require = [[tech1]], + text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.', }, }, ecommanderfactory = { { - into = 'ecommander', - time = timeToBuild_ecommander, + into = 'ecommanderhealer', + time = timeToBuild_ecommanderhealer, cmdname = [[Healer -Overseer]], - energy = energyCost_ecommander, + Overseer]], + energy = energyCost_ecommanderhealer, metal = 0, text = 'Evolve into Healer Overseer: Overseer has a very strong AOE heal in it\'s immediate vicinity.', }, @@ -334,7 +432,7 @@ Overseer]], Overseer]], energy = energyCost_ecommandershield, metal = 0, - text = 'Evolve into Shielded Overseer: Gains a large shield which does not cost energy to maintain.', + text = 'Evolve into Shielded Overseer: Gains a large shield which recharges quickly.', }, { into = 'ecommanderbuild', @@ -343,7 +441,7 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbuild, metal = 0, - text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains x4 buildpower.', + text = 'Evolve into Builder Overseer: Gains 16x buildpower and larger build radius.', }, { into = 'ecommanderbattle', @@ -352,8 +450,7 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbattle, metal = 0, - text = 'Evolve into Battle Overseer: Loses EMP ability, gains a machinegun that does heavy damage to Light units and Buildings. No longer grants supply.', - require = [[tech1]], + text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.', }, }, ecommanderbattle = { @@ -364,15 +461,15 @@ Overseer]], Overseer]], energy = energyCost_ecommandermeteor, metal = 0, - text = 'Evolve into Meteor Overseer: Overseer can call down devastating meteor showers.', + text = 'Evolve into Meteor Overseer: Overseer can call down devastating meteor showers. !THIS CHANGE IS PERMANENT!', require = [[tech3]], }, { - into = 'ecommander', - time = timeToBuild_ecommander, + into = 'ecommanderhealer', + time = timeToBuild_ecommanderhealer, cmdname = [[Healer Overseer]], - energy = energyCost_ecommander, + energy = energyCost_ecommanderhealer, metal = 0, text = 'Evolve into Healer Overseer: Overseer has a very strong AOE heal in it\'s immediate vicinity.', }, @@ -392,7 +489,7 @@ Overseer]], Overseer]], energy = energyCost_ecommandershield, metal = 0, - text = 'Evolve into Shielded Overseer: Gains a large shield which does not cost energy to maintain.', + text = 'Evolve into Shielded Overseer: Gains a large shield which recharges quickly.', }, { into = 'ecommanderbuild', @@ -401,16 +498,82 @@ Overseer]], Overseer]], energy = energyCost_ecommanderbuild, metal = 0, - text = 'Evolve into Builder Overseer: Stun ability AOE halved, Stun recharge halved, gains 4x buildpower.', + text = 'Evolve into Builder Overseer: Gains 16x buildpower.', + }, + -- { + -- into = 'ecommanderfactory', + -- time = timeToBuild_ecommanderfactory, + -- cmdname = [[Factory +-- Overseer]], + -- energy = energyCost_ecommanderfactory, + -- metal = 0, + -- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + -- }, + }, + + ecommanderhealer = { + { + into = 'ecommanderbattle', + time = timeToBuild_ecommanderbattle, + cmdname = [[Battle +Overseer]], + energy = energyCost_ecommanderbattle, + metal = 0, + text = 'Evolve into Battle Overseer: Upgraded Beam Laser that does heavy damage to Light and Armored units. No longer grants supply.', + require = [[tech2]], }, { - into = 'ecommanderfactory', - time = timeToBuild_ecommanderfactory, - cmdname = [[Factory + into = 'ecommandercloak', + time = timeToBuild_ecommandercloak, + cmdname = [[Cloaking Overseer]], - energy = energyCost_ecommanderfactory, + energy = energyCost_ecommandercloak, metal = 0, - text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + text = 'Evolve into Cloaking Overseer: Gains a large cloaking field which also cloaks the Overseer.', + }, + { + into = 'ecommandershield', + time = timeToBuild_ecommandershield, + cmdname = [[Shield +Overseer]], + energy = energyCost_ecommandershield, + metal = 0, + text = 'Evolve into Shielded Overseer: Gains a large shield which recharges quickly.', + }, + { + into = 'ecommanderbuild', + time = timeToBuild_ecommanderbuild, + cmdname = [[Builder +Overseer]], + energy = energyCost_ecommanderbuild, + metal = 0, + text = 'Evolve into Builder Overseer: Gains 16x buildpower.', + }, + -- { + -- into = 'ecommanderfactory', + -- time = timeToBuild_ecommanderfactory, + -- cmdname = [[Factory +-- Overseer]], + -- energy = energyCost_ecommanderfactory, + -- metal = 0, + -- text = 'Evolve into Factory Overseer: Gains the ability to build all raider, riot, and MBTs anywhere, gains 8x buildpower.', + -- }, + }, + + +---------------------------------------------------------- +---------------------------------------------------------- +--Radar + eradar2 = { + { + into = 'eradar2_up1', + --require = 'etech2', + time = timeToBuild_eradar2_up1, + cmdname = [[Evolve to Tech2]], + energy = energyCost_eradar2_up1, + metal = 0, + text = [[Increases Radar/Sensing Range]], + require = [[tech2]], }, }, @@ -419,38 +582,50 @@ Overseer]], --Economy emetalextractor = { { - into = 'emetalextractor_up3', + into = 'emetalextractor_up1', --require = 'etech2', time = timeToBuild_emetalextractor_up1, cmdname = [[Evolve 2x Income]], energy = energyCost_emetalextractor_up1, metal = 0, text = [[x2 Metal Extraction rate]], - require = [[tech2]], + require = [[tech1]], }, }, - zmex = { + emetalextractor_up1 = { { - into = 'zmex_up3', + into = 'emetalextractor_up2', --require = 'etech2', - time = timeToBuild_zmex_up1, - cmdname = [[Evolve 2x Income]], - energy = energyCost_zmex_up1, + time = timeToBuild_emetalextractor_up2, + cmdname = [[Evolve 4x Income]], + energy = energyCost_emetalextractor_up2, metal = 0, - text = [[x2 Metal Extraction rate]], + text = [[x4 Metal Extraction rate]], require = [[tech2]], }, }, - xmetalextractor = { + emetalextractor_up2 = { { - into = 'xmetalextractormoho', + into = 'emetalextractor_up3', + --require = 'etech2', + time = timeToBuild_emetalextractor_up3, + cmdname = [[Evolve 8x Income]], + energy = energyCost_emetalextractor_up3, + metal = 0, + text = [[x8 Metal Extraction rate]], + require = [[tech3]], + }, + }, + zmex = { + { + into = 'zmex_up3', --require = 'etech2', - time = timeToBuild_xmetalextractor, + time = timeToBuild_zmex_up1, cmdname = [[Evolve 2x Income]], - energy = energyCost_xmetalextractor, + energy = energyCost_zmex_up1, metal = 0, text = [[x2 Metal Extraction rate]], - require = [[tech1]], + require = [[tech2]], }, }, ---------------------------------------------------------- @@ -460,6 +635,18 @@ Overseer]], ---------------------------------------------------------- ---------------------------------------------------------- + elaserbattery = { + { + into = 'eflakturret', + time = timeToBuild_eflakturret, + cmdname = [[Evolve Flak Turret]], + energy = energyCost_eflakturret, + metal = 0, + text = [[Evolve Projectile Based Flak with more Range and AOE Damage]], + require = [[tech2]], + }, + }, + -- elightturret2 = { -- { -- into = 'elightturret2_up1', diff --git a/Gamedata/movedefs_classes.lua b/Gamedata/movedefs_classes.lua index 16cbc660d..6d483ccab 100644 --- a/Gamedata/movedefs_classes.lua +++ b/Gamedata/movedefs_classes.lua @@ -1,5 +1,5 @@ if Spring.GetModOptions and Spring.GetModOptions().unitheat ~= nil then - unitHeat = Spring.GetModOptions().unitheat * 0.0001 + unitHeat = Spring.GetModOptions().unitheat * 0.0042 else unitHeat = 0.0042 end @@ -8,20 +8,20 @@ flowMappingToggle = true local genericDepthmodParams = { minHeight = 0, - maxHeight = 5000, - maxScale = 1.25, + maxHeight = 25, + maxScale = 2, quadraticCoeff = 0, linearCoeff = 0, -- deprecates "depthMod" - constantCoeff = 1.25, + constantCoeff = 2, } local amphibDepthmodParams = { minHeight = 0, - maxHeight = 5000, - maxScale = 1, + maxHeight = 25, + maxScale = 2, quadraticCoeff = 0, linearCoeff = 0, -- deprecates "depthMod" - constantCoeff = 1, + constantCoeff = 2, } local moveDefs = { @@ -32,7 +32,7 @@ local moveDefs = { footprintx=2, footprintz=2, maxslope=30, - maxwaterdepth=10, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -48,7 +48,7 @@ local moveDefs = { footprintx=3, footprintz=3, maxslope=30, - maxwaterdepth=10, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -64,7 +64,7 @@ local moveDefs = { footprintx=4, footprintz=4, maxslope=30, - maxwaterdepth=10, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -80,7 +80,7 @@ local moveDefs = { footprintx=5, footprintz=5, maxslope=30, - maxwaterdepth=10, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -96,7 +96,7 @@ local moveDefs = { footprintx=6, footprintz=6, maxslope=30, - maxwaterdepth=10, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -111,7 +111,7 @@ local moveDefs = { ORBHOVERTANK6 = { footprintx=6, footprintz=6, - maxslope=30, + maxslope=47, maxwaterdepth=5000, maxwaterslope=255, badwaterslope=255, @@ -129,11 +129,27 @@ local moveDefs = { --hBot-- + HOVERHBOT2 = { + footprintx=2, + footprintz=2, + maxslope=47, + maxwaterdepth=25, + maxwaterslope=255, + badwaterslope=255, + crushstrength=20, + depthModParams = genericDepthmodParams, + minwaterdepth=10, + heatmod=unitHeat, + slopemod=3, + allowRawMovement=true, + flowMapping=flowMappingToggle, + }, + HOVERHBOT3 = { footprintx=3, footprintz=3, - maxslope=90, - maxwaterdepth=10, + maxslope=47, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -148,8 +164,8 @@ local moveDefs = { HOVERHBOT4 = { footprintx=4, footprintz=4, - maxslope=90, - maxwaterdepth=10, + maxslope=47, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -164,8 +180,8 @@ local moveDefs = { HOVERHBOT5 = { footprintx=5, footprintz=5, - maxslope=90, - maxwaterdepth=10, + maxslope=47, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -180,8 +196,8 @@ local moveDefs = { HOVERHBOT6 = { footprintx=6, footprintz=6, - maxslope=90, - maxwaterdepth=10, + maxslope=47, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -196,8 +212,8 @@ local moveDefs = { HOVERHBOT8 = { footprintx=8, footprintz=8, - maxslope=90, - maxwaterdepth=10, + maxslope=47, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, crushstrength=20, @@ -214,10 +230,24 @@ local moveDefs = { --All Terrain-- + ALLTERRTANK2 = { + footprintx=2, + footprintz=2, + maxslope=47, + maxwaterdepth=30, + crushstrength=20, + depthModParams = genericDepthmodParams, + minwaterdepth=10, + heatmod=unitHeat, + slopemod=4, + allowRawMovement=true, + flowMapping=flowMappingToggle, + }, + ALLTERRTANK3 = { footprintx=3, footprintz=3, - maxslope=90, + maxslope=47, maxwaterdepth=30, crushstrength=20, depthModParams = genericDepthmodParams, @@ -231,7 +261,7 @@ local moveDefs = { ALLTERRTANK4 = { footprintx=4, footprintz=4, - maxslope=90, + maxslope=47, maxwaterdepth=30, crushstrength=20, depthModParams = genericDepthmodParams, @@ -245,7 +275,7 @@ local moveDefs = { ALLTERRTANK5 = { footprintx=5, footprintz=5, - maxslope=90, + maxslope=47, maxwaterdepth=30, crushstrength=20, depthModParams = genericDepthmodParams, @@ -259,7 +289,7 @@ local moveDefs = { ALLTERRTANK6 = { footprintx=6, footprintz=6, - maxslope=90, + maxslope=47, maxwaterdepth=30, crushstrength=20, depthModParams = genericDepthmodParams, @@ -295,7 +325,7 @@ local moveDefs = { footprintx=2, footprintz=2, maxslope=30, - maxwaterdepth=10, + maxwaterdepth=25, maxwaterslope=26, badwaterslope=26, crushstrength=20, @@ -428,7 +458,7 @@ local moveDefs = { EXPERIMENTALTANK12 = { footprintx=12, footprintz=12, - maxslope=90, + maxslope=47, maxwaterdepth=80, crushstrength=100, depthModParams = genericDepthmodParams, @@ -447,7 +477,22 @@ local moveDefs = { COMMANDERTANK4 = { footprintx=4, footprintz=4, - maxslope=90, + maxslope=47, + crushstrength=20, + maxwaterdepth=5000, + maxwaterslope=255, + badwaterslope=255, + depthModParams = genericDepthmodParams, + minwaterdepth=10, + heatmod=unitHeat, + slopemod=4, + allowRawMovement=true, + flowMapping=flowMappingToggle, + }, + COMMANDERTANK6 = { + footprintx=6, + footprintz=6, + maxslope=47, crushstrength=20, maxwaterdepth=5000, maxwaterslope=255, @@ -464,7 +509,7 @@ local moveDefs = { footprintz=4, maxslope=30, crushstrength=20, - maxwaterdepth=10, + maxwaterdepth=25, maxwaterslope=255, badwaterslope=255, depthModParams = genericDepthmodParams, diff --git a/Gamedata/scavengers/unitdef_changes.lua b/Gamedata/scavengers/unitdef_changes.lua index a13e8564f..5e1bb7081 100644 --- a/Gamedata/scavengers/unitdef_changes.lua +++ b/Gamedata/scavengers/unitdef_changes.lua @@ -25,17 +25,6 @@ end providetech = [[tech0, tech1, tech2, tech3]], }, } - - customDefs.xcommander = { - buildoptions = scavUnit, - workertime = 10, - repairspeed = 10, - explodeas = "mediumScavengerExplosionNuke", - selfdestructas = "mediumScavengerExplosionNuke", - customparams = { - providetech = [[tech0, tech1, tech2, tech3]], - }, - } customDefs.eamphibbuggybig = { maxdamage = 2500, diff --git a/Gamedata/scavengers/weapondef_post.lua b/Gamedata/scavengers/weapondef_post.lua index 69c7421f6..60444f7b4 100644 --- a/Gamedata/scavengers/weapondef_post.lua +++ b/Gamedata/scavengers/weapondef_post.lua @@ -17,7 +17,7 @@ end function scav_Wdef_Post(name, wDef) if wDef.weapontype == "Cannon" then - Spring.Echo(wDef.name,wDef.weapontype) + --Spring.Echo(wDef.name,wDef.weapontype) wDef.rgbcolor = {0.96, 0.42, 1} if wDef.explosiongenerator then --wDef.explosiongenerator = "custom:genericscavengershellexplosion-medium-purple" diff --git a/Gamedata/sidedata.lua b/Gamedata/sidedata.lua index d0ee2a229..e4d29534e 100644 --- a/Gamedata/sidedata.lua +++ b/Gamedata/sidedata.lua @@ -1,8 +1,39 @@ local sideData = { + -- [1] = { + -- name = 'Ateran', + -- startunit = 'ecommander', + -- startunitai = 'ecommanderai', + -- uiSets = { + -- Main = {0.40, 0.20, 0.70, 1}, + -- Trim = {1.00, 0.80, 0.00, 1}, + -- Rank = {1.00, 0.90, 0.50, 1}, + -- }, + -- }, + -- [2] = { + -- name = 'Zaal', + -- startunit = 'zarm', + -- startunitai = 'zarm', + -- uiSets = { + -- Main = {0.40, 0.20, 0.70, 1}, + -- Trim = {1.00, 0.80, 0.00, 1}, + -- Rank = {1.00, 0.90, 0.50, 1}, + -- }, + -- }, + -- [3] = { + -- name = 'Pattern', + -- startunit = 'xcommander', + -- startunitai = 'xcommander', + -- uiSets = { + -- Main = {0.40, 0.20, 0.70, 1}, + -- Trim = {1.00, 0.80, 0.00, 1}, + -- Rank = {1.00, 0.90, 0.50, 1}, + -- }, + -- }, + [1] = { - name = 'Ateran', - startunit = 'ecommander', - startunitai = 'ecommanderai', + name = 'Federation of Kala', + startunit = 'fedcommander', + startunitai = 'fedcommanderai', uiSets = { Main = {0.40, 0.20, 0.70, 1}, Trim = {1.00, 0.80, 0.00, 1}, @@ -10,19 +41,9 @@ local sideData = { }, }, [2] = { - name = 'Zaal', - startunit = 'zarm', - startunitai = 'zarm', - uiSets = { - Main = {0.40, 0.20, 0.70, 1}, - Trim = {1.00, 0.80, 0.00, 1}, - Rank = {1.00, 0.90, 0.50, 1}, - }, - }, - [3] = { - name = 'Pattern', - startunit = 'xcommander', - startunitai = 'xcommander', + name = 'Loz Alliance', + startunit = 'fedcommander', + startunitai = 'fedcommanderai', uiSets = { Main = {0.40, 0.20, 0.70, 1}, Trim = {1.00, 0.80, 0.00, 1}, diff --git a/Gamedata/sounds.lua b/Gamedata/sounds.lua index 8720c40df..9a3f5ba0f 100644 --- a/Gamedata/sounds.lua +++ b/Gamedata/sounds.lua @@ -108,6 +108,15 @@ local Sounds = { gainmod = 0, pitchmod = 0, }, + + dothis = { + --- always play on the front speaker(s) + file = "sounds/acknowledgements/dothis.wav", + in3d = true, + maxconcurrent = 1, + gainmod = 0, + pitchmod = 0, + }, IncomingChat = { --- always play on the front speaker(s) @@ -116,6 +125,10 @@ local Sounds = { maxconcurrent = 1, }, +--------------------------------------------------- +--Unit Selections---------------------------------- +--------------------------------------------------- + UnitSelect = { --- always play on the front speaker(s) file = "sounds/miscfx/unitselect.wav", @@ -123,6 +136,15 @@ local Sounds = { maxconcurrent = 1, }, + EngineIdle = { + --- always play on the front speaker(s) + file = "sounds/unitselections/engineidle.wav", + in3d = true, + maxconcurrent = 1, + }, + + + BugSelect = { --- always play on the front speaker(s) file = "sounds/ui/zaal/bugselect.wav", @@ -252,65 +274,65 @@ local Sounds = { }, } -local files = VFS.DirList("sounds/deathsounds/generic/") -local t = Sounds.SoundItems -for i=1,#files do - local fileName = files[i] - t[fileName] = { - file = fileName; - pitchmod = 0.3; - --gainmod = 0.2; - maxconcurrent = 16; - rolloff = 2, - dopplerscale = 2, - in3d = true, - } -end +-- local files = VFS.DirList("sounds/deathsounds/generic/") +-- local t = Sounds.SoundItems +-- for i=1,#files do + -- local fileName = files[i] + -- t[fileName] = { + -- file = fileName; + -- pitchmod = 0.3; + ----gainmod = 0.2; + -- maxconcurrent = 16; + -- rolloff = 2, + -- dopplerscale = 2, + -- in3d = true, + -- } +-- end -local files = VFS.DirList("sounds/explosions/") -local t = Sounds.SoundItems -for i=1,#files do - local fileName = files[i] - t[fileName] = { - file = fileName; - pitchmod = 0.3; - --gainmod = 0.2; - maxconcurrent = 16; - rolloff = 2, - dopplerscale = 2, - in3d = true, - } -end +-- local files = VFS.DirList("sounds/explosions/") +-- local t = Sounds.SoundItems +-- for i=1,#files do + -- local fileName = files[i] + -- t[fileName] = { + -- file = fileName; + -- pitchmod = 0.3; + ----gainmod = 0.2; + -- maxconcurrent = 16; + -- rolloff = 2, + -- dopplerscale = 2, + -- in3d = true, + -- } +-- end -local files = VFS.DirList("sounds/deathsounds/nuke/") -local t = Sounds.SoundItems -for i=1,#files do - local fileName = files[i] - t[fileName] = { - file = fileName; - pitchmod = 0.3; - --gainmod = 0.2; - maxconcurrent = 16; - rolloff = 2, - dopplerscale = 2, - in3d = true, - } -end +-- local files = VFS.DirList("sounds/deathsounds/nuke/") +-- local t = Sounds.SoundItems +-- for i=1,#files do + -- local fileName = files[i] + -- t[fileName] = { + -- file = fileName; + -- pitchmod = 0.3; + ----gainmod = 0.2; + -- maxconcurrent = 16; + -- rolloff = 2, + -- dopplerscale = 2, + -- in3d = true, + -- } +-- end -local files = VFS.DirList("sounds/weapons/") -local t = Sounds.SoundItems -for i=1,#files do - local fileName = files[i] - t[fileName] = { - file = fileName; - pitchmod = 0.2; - --gainmod = 0.2; - maxconcurrent = 16; - rolloff = 2, - dopplerscale = 1.5, - in3d = true, - } -end +-- local files = VFS.DirList("sounds/weapons/") +-- local t = Sounds.SoundItems +-- for i=1,#files do + -- local fileName = files[i] + -- t[fileName] = { + -- file = fileName; + -- pitchmod = 0.2; + ----gainmod = 0.2; + -- maxconcurrent = 16; + -- rolloff = 2, + -- dopplerscale = 1.5, + -- in3d = true, + -- } +-- end local files = VFS.DirList("sounds/selfdcountdown/") local t = Sounds.SoundItems diff --git a/Gamedata/unitdefs_pre.lua b/Gamedata/unitdefs_pre.lua index 5ce8f9983..523989096 100644 --- a/Gamedata/unitdefs_pre.lua +++ b/Gamedata/unitdefs_pre.lua @@ -22,14 +22,86 @@ Shared.buildList = { [[eshieldgen]], [[esilo]], [[escoutdrone]], - [[ebox]], - -- [[ehbotengineer]], + [[ehbotengineer]], [[eorb]], + [[eamphibleveler]], + [[ehbotkarganneth]], + [[eallterranarchid]], + [[elacerator]], + [[ekrow]], + -- [[ecommander]], +} + +Shared.buildListFed = { + [[f1landfac]], + [[eairplant]], + [[etech1]], + [[emetalextractor]], + [[esolar2]], + [[egeothermal]], + [[efusion2]], + [[estorage]], + [[eradar2]], + [[ejammer2]], + [[ekmar]], + [[emine]], + [[elightturret2]], + [[eheavyturret2]], + [[elaserbattery]], + [[eartyturret]], + -- [[euwturret]], + [[eshieldgen]], + [[esilo]], + [[escoutdrone]], + [[fedengineer]], + [[fedorb]], + [[ehbotkarganneth]], + [[eallterranarchid]], + [[ekrow]], + -- [[ecommander]], +} + +Shared.buildListLoz = { + [[f2landfac]], + [[eairplant]], + [[etech1]], + [[emetalextractor]], + [[esolar2]], + [[egeothermal]], + [[efusion2]], + [[estorage]], + [[eradar2]], + [[ejammer2]], + [[ekmar]], + [[emine]], + [[elightturret2]], + [[eheavyturret2]], + [[elaserbattery]], + [[eartyturret]], + -- [[euwturret]], + [[eshieldgen]], + [[esilo]], + [[escoutdrone]], + [[lozengineer]], + [[lozorb]], + [[eamphibleveler]], + [[elacerator]], + [[ekrow]], -- [[ecommander]], } +Shared.fedOrb = { + [[fedorb]], + [[fedengineer]], +} + +Shared.lozOrb = { + [[lozorb]], + [[lozengineer]], +} + Shared.buildListeCommanderFactory = { - -- [[ehbotengineer]], + [[ehbotengineer]], [[eorb]], [[escoutdrone]], [[ebox]], @@ -53,6 +125,11 @@ Shared.buildListeCommanderFactory = { [[efighter]], [[egunship2]], [[ebomber]], + [[eamphibleveler]], + [[ehbotkarganneth]], + [[eallterranarchid]], + [[elacerator]], + [[ekrow]], } Shared.buildListZaal = { @@ -85,27 +162,6 @@ Shared.buildListZaalArm = { Shared.buildListZaalTumor = { [[ztumor]], } - -Shared.buildListXCommander = { - [[xklab]], - [[xkconstructor]], - [[xmetalextractor]], - [[xsolar]], - [[xstorage]], - [[xllt]], - [[xrocketturret]], - [[xantinuke]], - [[xnukesilo]], -} - -Shared.buildListXKLab = { - [[xskulk]], - [[xhammer]], - [[xrocko]], - [[xwarrior]], - [[xcrasher]], - [[xflea]], -} local turrets = { [[ehbotpeewee_turret]], @@ -143,6 +199,11 @@ local factory = { [[efighter]], [[egunship2]], [[ebomber]], + [[eamphibleveler]], + [[ehbotkarganneth]], + [[eallterranarchid]], + [[elacerator]], + [[ekrow]], } Shared.buildListFactory = {} @@ -188,6 +249,37 @@ end ----------------------------- --Buildlists for factories +Shared.buildListf1landfac = { + [[eallterrlight]], + [[ehbotpeewee]], + [[eallterrriot_shotgun]], + [[ehbotthud]], + [[eallterrassault]], + [[eallterrshield]], + [[eallterrmed]], + [[ehbotsniper]], + [[eallterrheavy]], + [[ehbotrocko]], + [[fedengineer]], + [[eorb]], + +} + +Shared.buildListf2landfac = { + [[eamphibbuggy]], + [[elighttank3]], + [[eriottank2_shotgun]], + [[eamphibneedle]], + [[eartytank]], + [[ebox]], + [[eamphibmedtank]], + [[eheavytank3]], + [[eamphibrock]], + [[emissiletank]], + [[lozengineer]], + [[eorb]], +} + Shared.buildListHoverFactory = { [[elighttank3]], [[eriottank2_shotgun]], @@ -377,3 +469,15 @@ Shared.buildListHbotFactory_up3 = { [[ehbotrocko_up3]], [[ehbotkarganneth_up3]], } + +----------------------------- +----------------------------- +--Buildlists for T3/Experimentals + +Shared.buildListT3 = { + [[eamphibleveler]], + [[ehbotkarganneth]], + [[eallterranarchid]], + [[elacerator]], + [[ekrow]], +} \ No newline at end of file diff --git a/LGPL-3.0.txt b/LGPL-3.0.txt new file mode 100644 index 000000000..0a041280b --- /dev/null +++ b/LGPL-3.0.txt @@ -0,0 +1,165 @@ + GNU LESSER GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + + This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below. + + 0. Additional Definitions. + + As used herein, "this License" refers to version 3 of the GNU Lesser +General Public License, and the "GNU GPL" refers to version 3 of the GNU +General Public License. + + "The Library" refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below. + + An "Application" is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library. + + A "Combined Work" is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the "Linked +Version". + + The "Minimal Corresponding Source" for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version. + + The "Corresponding Application Code" for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work. + + 1. Exception to Section 3 of the GNU GPL. + + You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL. + + 2. Conveying Modified Versions. + + If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version: + + a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or + + b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy. + + 3. Object Code Incorporating Material from Library Header Files. + + The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following: + + a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the object code with a copy of the GNU GPL and this license + document. + + 4. Combined Works. + + You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following: + + a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License. + + b) Accompany the Combined Work with a copy of the GNU GPL and this license + document. + + c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document. + + d) Do one of the following: + + 0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source. + + 1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version. + + e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.) + + 5. Combined Libraries. + + You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following: + + a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License. + + b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work. + + 6. Revised Versions of the GNU Lesser General Public License. + + The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + + Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License "or any later version" +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation. + + If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library. diff --git a/LuaAI.lua b/LuaAI.lua index 7adc788d3..1fedaf087 100644 --- a/LuaAI.lua +++ b/LuaAI.lua @@ -12,14 +12,30 @@ return { -- name = 'DAI', -- desc = 'Shard by AF for Spring Lua', -- }, - { - name = 'ScavengersAI', - desc = 'scavs', - }, - { - name = 'Sandbox', - desc = 'Does absolutely Nothing', - }, + { + name = 'ScavengersAI', + desc = 'scavs', + }, + { + name = 'Sandbox', + desc = 'Does absolutely Nothing', + }, + { + name = 'SimpleAI', + desc = 'EasyAI (Simple)', + }, + { + name = 'SimpleCheaterAI', + desc = 'EasyAI (Cheater)', + }, + { + name = 'SimpleDefenderAI', + desc = 'EasyAI (Defender)', + }, + { + name = 'SimpleConstructorAI', + desc = 'EasyAI (Constructor)', + }, } diff --git a/LuaRules/Configs/MetalSpots/defaultLayout.lua b/LuaRules/Configs/MetalSpots/defaultLayout.lua index 9f3c18208..283af030a 100644 --- a/LuaRules/Configs/MetalSpots/defaultLayout.lua +++ b/LuaRules/Configs/MetalSpots/defaultLayout.lua @@ -1,12 +1,19 @@ --math.randomseed(Game.GameID) -- This only works in 104+ math.random(); math.random(); math.random() local mapx, mapz = Game.mapSizeX * 0.5, Game.mapSizeZ * 0.5 --- Params +-- Lets sq root the map size into a digestable number for later. We're doing some math here to account for the fact that spring does not work with add numbers. Only even ones. So, for that reason we cant to get the square root in numbers that comport to how we normally thing about maps. For example, a 16 x 16 map sqrt is 256, so that is our basis. + +local mapWidthX = (Game.mapSizeX * 2) / 1024 +local mapLengthZ = (Game.mapSizeZ * 2) / 1024 +local mapSQRT = mapWidthX * mapLengthZ + +-- Params local size = math.max(mapx, mapz) -- Spring.Echo("[Default Mex Layout] Map size is: " .. size) +Spring.Echo("[Default Mex Layout] Map square root size is: " .. mapSQRT) local count = #Spring.GetTeamList() - 1 local allycount = #Spring.GetAllyTeamList() - 1 -- for i = 1, #players do @@ -22,7 +29,7 @@ teamIDCount = Spring.GetGameRulesParam("peopleCount") Spring.Echo("[Default Mex Layout] Number of teamIDs in this match: " .. teamIDCount) -- -local placeMexesInWater = Spring.GetModOptions().allowmexesinwater or "enabled" +local placeMexesInWater = Spring.GetModOptions().allowmexesinwater or "disabled" local maxMexElevationDiff = tonumber(Spring.GetModOptions().maximummexelevationdifference) or 50 local mexSpotsPerSideMultiplier = tonumber(Spring.GetModOptions().mexspotspersidemultiplier) or 100 local mexRandomLayout = Spring.GetModOptions().mexrandomlayout or "standard" @@ -247,19 +254,39 @@ if mexRandomLayout == "legacy4" then end if mexRandomLayout == "standard" then - if teamIDCount <= 2 then - mexSpotsPerSide = 10 - elseif teamIDCount > 2 and teamIDCount <= 4 then - mexSpotsPerSide = 15 - elseif teamIDCount > 4 and teamIDCount <= 6 then - mexSpotsPerSide = 20 - elseif teamIDCount > 6 then - mexSpotsPerSide = 25 - end - local mapSize = size * 2 - if mapSize <= 6144 then -- An exception for 10x10 and smaller maps + + mexSpotsPerSide = 12 + + if mapSQRT <= 144 then -- An exception for 12x12 and smaller maps mexSpotsPerSide = mexSpotsPerSide * 0.5 + Spring.Echo("[Default Mex Layout] Map Square Root size is " .. mapSQRT .. " with a teamIDCount of " .. teamIDCount.. ". Placing " .. mexSpotsPerSide .. " mex points per quadrant (This is usually rounded up to the next whole number).") + end + + if mapSQRT > 144 and mapSQRT <= 196 then -- An exception for 14x14 maps + mexSpotsPerSide = mexSpotsPerSide * 0.75 + Spring.Echo("[Default Mex Layout] Map Square Root size is " .. mapSQRT .. " with a teamIDCount of " .. teamIDCount.. ". Placing " .. mexSpotsPerSide .. " mex points per quadrant (This is usually rounded up to the next whole number).") end + + if mapSQRT > 196 and mapSQRT <= 256 then -- An exception for 16x16 maps + mexSpotsPerSide = mexSpotsPerSide * 1 + Spring.Echo("[Default Mex Layout] Map Square Root size is " .. mapSQRT .. " with a teamIDCount of " .. teamIDCount.. ". Placing " .. mexSpotsPerSide .. " mex points per quadrant (This is usually rounded up to the next whole number).") + end + + if mapSQRT > 256 and mapSQRT <= 400 then -- An exception for 20x20 maps + mexSpotsPerSide = mexSpotsPerSide * 1.5 + Spring.Echo("[Default Mex Layout] Map Square Root size is " .. mapSQRT .. " with a teamIDCount of " .. teamIDCount.. ". Placing " .. mexSpotsPerSide .. " mex points per quadrant (This is usually rounded up to the next whole number).") + end + + if mapSQRT > 400 and mapSQRT <= 576 then -- An exception for 24x24 maps + mexSpotsPerSide = mexSpotsPerSide * 1.75 + Spring.Echo("[Default Mex Layout] Map Square Root size is " .. mapSQRT .. " with a teamIDCount of " .. teamIDCount.. ". Placing " .. mexSpotsPerSide .. " mex points per quadrant (This is usually rounded up to the next whole number).") + end + + if mapSQRT > 576 then -- An exception for 28x28 maps + mexSpotsPerSide = mexSpotsPerSide * 2 + Spring.Echo("[Default Mex Layout] Map Square Root size is " .. mapSQRT .. " with a teamIDCount of " .. teamIDCount.. ". Placing " .. mexSpotsPerSide .. " mex points per quadrant (This is usually rounded up to the next whole number).") + end + randomMirrored = true padding = 100 pointRadius = 100 -- TODO: change this into how big a metal circle is diff --git a/LuaRules/Configs/ScavengerBlueprints/Constructor/placeholder.lua b/LuaRules/Configs/ScavengerBlueprints/Constructor/placeholder.lua deleted file mode 100644 index 2a27ef8b6..000000000 --- a/LuaRules/Configs/ScavengerBlueprints/Constructor/placeholder.lua +++ /dev/null @@ -1,71 +0,0 @@ - --- table.insert(ScavengerBlueprintsT0,FunctionName) --- table.insert(ScavengerBlueprintsT1,FunctionName) --- table.insert(ScavengerBlueprintsT2,FunctionName) --- table.insert(ScavengerBlueprintsT3,FunctionName) - --- example blueprint: --- local function a(posx, posy, posz, GaiaTeamID, radiusCheck) --- local posradius = 120 - -- if radiusCheck then - -- return posradius - -- else - -- Spring.CreateUnit("unitname", posx, posy, posz, math.random(0,3),GaiaTeamID) - -- Spring.CreateUnit("unitname", posx-100, posy, posz, math.random(0,3),GaiaTeamID) - -- Spring.CreateUnit("unitname", posx+100, posy, posz, math.random(0,3),GaiaTeamID) - -- Spring.CreateUnit("unitname", posx, posy, posz-100, math.random(0,3),GaiaTeamID) - -- Spring.CreateUnit("unitname", posx, posy, posz+100, math.random(0,3),GaiaTeamID) - -- end --- end --- table.insert(ScavengerBlueprintsT1,a) - -local UDN = UnitDefNames - -local function placeholderradar1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 150 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.eradar2.id), {posx, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2.id), {posx-200, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2.id), {posx+200, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2.id), {posx, posy, posz-200, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2.id), {posx, posy, posz+200, 0}, {"shift"}) - end -end -table.insert(ScavengerConstructorBlueprintsT0,placeholderradar1) -table.insert(ScavengerConstructorBlueprintsT1,placeholderradar1) -table.insert(ScavengerConstructorBlueprintsT2,placeholderradar1) -table.insert(ScavengerConstructorBlueprintsT3,placeholderradar1) - -local function placeholderradar2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 150 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.eradar2.id), {posx, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2.id), {posx-200, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2.id), {posx+200, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2.id), {posx, posy, posz-200, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2.id), {posx, posy, posz+200, 0}, {"shift"}) - end -end -table.insert(ScavengerConstructorBlueprintsT2,placeholderradar2) -table.insert(ScavengerConstructorBlueprintsT3,placeholderradar2) - -local function placeholderradar1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 150 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx-100, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx+100, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx, posy, posz-100, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx, posy, posz+100, 0}, {"shift"}) - end -end -table.insert(ScavengerConstructorBlueprintsT0,placeholderradar1) -table.insert(ScavengerConstructorBlueprintsT1,placeholderradar1) -table.insert(ScavengerConstructorBlueprintsT2,placeholderradar1) -table.insert(ScavengerConstructorBlueprintsT3,placeholderradar1) \ No newline at end of file diff --git a/LuaRules/Configs/ScavengerBlueprints/Constructor/readme.txt b/LuaRules/Configs/ScavengerBlueprints/Constructor/readme.txt deleted file mode 100644 index dc35e1b8c..000000000 --- a/LuaRules/Configs/ScavengerBlueprints/Constructor/readme.txt +++ /dev/null @@ -1 +0,0 @@ -Blueprints for scavenger contstructor unit \ No newline at end of file diff --git a/LuaRules/Configs/ScavengerBlueprints/readme.txt b/LuaRules/Configs/ScavengerBlueprints/readme.txt deleted file mode 100644 index 4954ea2dc..000000000 --- a/LuaRules/Configs/ScavengerBlueprints/readme.txt +++ /dev/null @@ -1,2 +0,0 @@ ---CURRENTLY UNUSED, USE CONSTRUCTOR FOLDER INSTEAD -You can add more files with blueprints into this folder. Script will automatically load all of them \ No newline at end of file diff --git a/LuaRules/Gadgets/GRTS_repair.locals.lua b/LuaRules/Gadgets/GRTS_repair.locals.lua index 88e87f0a9..a9d68122d 100644 --- a/LuaRules/Gadgets/GRTS_repair.locals.lua +++ b/LuaRules/Gadgets/GRTS_repair.locals.lua @@ -38,7 +38,7 @@ local repairUnits= { [UnitDefNames.eorb_up2.id] = {radius=1000,strength=3.0}, [UnitDefNames.eorb_up3.id] = {radius=1000,strength=4.0}, [UnitDefNames.ehbotengineer_turret.id] = {radius=1000,strength=2.0}, - [UnitDefNames.ecommander.id] = {radius=300,strength=10.0}, + [UnitDefNames.ecommanderhealer.id] = {radius=1000,strength=10.0}, [UnitDefNames.ecommanderbattleai.id] = {radius=1000,strength=5.0}, [UnitDefNames.ecommanderhealerai.id] = {radius=1000,strength=50.0}, [UnitDefNames.ecommandershieldai.id] = {radius=1000,strength=10.0}, diff --git a/LuaRules/Gadgets/GreenBean_sell.locals.lua b/LuaRules/Gadgets/GreenBean_sell.locals.lua index 4cfb5f55b..377acdce6 100644 --- a/LuaRules/Gadgets/GreenBean_sell.locals.lua +++ b/LuaRules/Gadgets/GreenBean_sell.locals.lua @@ -27,7 +27,7 @@ function gadget:GetInfo() date = "2008-06-12", license = "Public Domain", layer = 300, - enabled = true + enabled = false } end diff --git a/LuaRules/Gadgets/ai_simpleai.lua b/LuaRules/Gadgets/ai_simpleai.lua new file mode 100644 index 000000000..7ab3bca34 --- /dev/null +++ b/LuaRules/Gadgets/ai_simpleai.lua @@ -0,0 +1,670 @@ +local enabled = false +local teams = Spring.GetTeamList() +local SimpleAITeamIDs = {} +local SimpleAITeamIDsCount = 0 +local SimpleCheaterAITeamIDs = {} +local SimpleCheaterAITeamIDsCount = 0 +local UDN = UnitDefNames +local wind = Game.windMax +local mapsizeX = Game.mapSizeX +local mapsizeZ = Game.mapSizeZ + +local gameShortName = Game.gameShortName + +-- team locals +SimpleFactoriesCount = {} +SimpleFactories = {} +SimpleT1Mexes = {} +SimpleFactoryDelay = {} + +for i = 1, #teams do + local teamID = teams[i] + local luaAI = Spring.GetTeamLuaAI(teamID) + if luaAI and luaAI ~= "" and (string.sub(luaAI, 1, 8) == 'SimpleAI' or string.sub(luaAI, 1, 15) == 'SimpleCheaterAI' or string.sub(luaAI, 1, 16) == 'SimpleDefenderAI' or string.sub(luaAI, 1, 19) == 'SimpleConstructorAI') then + enabled = true + SimpleAITeamIDsCount = SimpleAITeamIDsCount + 1 + SimpleAITeamIDs[SimpleAITeamIDsCount] = teamID + + SimpleFactoriesCount[teamID] = 0 + SimpleFactories[teamID] = {} + SimpleT1Mexes[teamID] = 0 + SimpleFactoryDelay[teamID] = 0 + + if string.sub(luaAI, 1, 15) == 'SimpleCheaterAI' or string.sub(luaAI, 1, 16) == 'SimpleDefenderAI' or string.sub(luaAI, 1, 19) == 'SimpleConstructorAI' then + SimpleCheaterAITeamIDsCount = SimpleCheaterAITeamIDsCount + 1 + SimpleCheaterAITeamIDs[SimpleCheaterAITeamIDsCount] = teamID + end + end +end + +function gadget:GetInfo() + return { + name = "SimpleAI", + desc = "123", + author = "Damgam", + date = "2020", + layer = -100, + enabled = enabled, + } +end + +-------- lists +BadUnitsList = {} +if gameShortName == "BYAR" then + BadUnitsList = { + -- transports + "armthovr", + "corthovr", + "armatlas", + "armtship", + "corvalk", + "cortship", + "armdfly", + "corseah", + "corint", + + -- stockpilers + "armscab", + "armemp", + "armjuno", + "armamd", + "armmercury", + "armsilo", + "armcarry", + "corfmd", + "corjuno", + "corscreamer", + "corsilo", + "cortron", + "corcarry", + "cormabm", + + -- minelayers + "armmlv", + "cormlv", + + -- depth charge launchers + "armdl", + "cordl", + + -- walls + "armdrag", + "cordrag", + } +end + +if gameShortName == "EvoRTS" then + BadUnitsList = {} +end + +local BadUnitDefs = {} +local SimpleCommanderDefs = {} +local SimpleFactoriesDefs = {} +local SimpleConstructorDefs = {} +local SimpleExtractorDefs = {} +local SimpleGeneratorDefs = {} +local SimpleConverterDefs = {} +local SimpleTurretDefs = {} +local SimpleUndefinedBuildingDefs = {} +local SimpleUndefinedUnitDefs = {} + +for unitDefID, unitDef in pairs(UnitDefs) do + BadUnitDef = false + for a = 1,#BadUnitsList do + if BadUnitsList[a] == unitDef.name then + BadUnitDef = true + break + else + BadUnitDef = false + end + end + if BadUnitDef == false then + if unitDef.name == "armcom" or unitDef.name == "corcom" or unitDef.name == "armdecom" or unitDef.name == "cordecom" then + SimpleCommanderDefs[#SimpleCommanderDefs + 1] = unitDefID + elseif unitDef.isFactory and #unitDef.buildOptions > 0 then + SimpleFactoriesDefs[#SimpleFactoriesDefs + 1] = unitDefID + elseif unitDef.canMove and unitDef.isBuilder and #unitDef.buildOptions > 0 then + SimpleConstructorDefs[#SimpleConstructorDefs + 1] = unitDefID + elseif unitDef.extractsMetal > 0 or (unitDef.customParams and unitDef.customParams.metal_extractor) then + SimpleExtractorDefs[#SimpleExtractorDefs + 1] = unitDefID + elseif (unitDef.energyMake > 19 and (not unitDef.energyUpkeep or unitDef.energyUpkeep < 10)) or (unitDef.windGenerator > 0 and wind > 10) or unitDef.tidalGenerator > 0 or (unitDef.customParams and unitDef.customParams.solar) then + SimpleGeneratorDefs[#SimpleGeneratorDefs + 1] = unitDefID + elseif unitDef.customParams and unitDef.customParams.energyconv_capacity and unitDef.customParams.energyconv_efficiency then + SimpleConverterDefs[#SimpleConverterDefs + 1] = unitDefID + elseif unitDef.isBuilding and #unitDef.weapons > 0 then + SimpleTurretDefs[#SimpleTurretDefs + 1] = unitDefID + + + elseif not unitDef.canMove then + SimpleUndefinedBuildingDefs[#SimpleUndefinedBuildingDefs + 1] = unitDefID + else + SimpleUndefinedUnitDefs[#SimpleUndefinedUnitDefs + 1] = unitDefID + end + end +end + +-------- functions + +local function SimpleGetClosestMexSpot(x, z) + local bestSpot + local bestDist = math.huge + local metalSpots = GG.metalSpots + if metalSpots then + for i = 1, #metalSpots do + local spot = metalSpots[i] + local dx, dz = x - spot.x, z - spot.z + local dist = dx * dx + dz * dz + local units = Spring.GetUnitsInCylinder(spot.x, spot.z, 128) + --local height = Spring.GetGroundHeight(spot.x, spot.z) + if dist < bestDist and #units == 0 then + --and height > 0 then + bestSpot = spot + bestDist = dist + end + end + end + return bestSpot +end + +local function SimpleBuildOrder(cUnitID, building) + searchRange = 0 + for b2 = 1,20 do + searchRange = searchRange + 300 + local team = Spring.GetUnitTeam(cUnitID) + local cunitposx, _, cunitposz = Spring.GetUnitPosition(cUnitID) + local units = Spring.GetUnitsInCylinder(cunitposx, cunitposz, searchRange, team) + if #units > 1 then + local buildnear = units[math.random(1, #units)] + local refDefID = Spring.GetUnitDefID(buildnear) + local isBuilding = UnitDefs[refDefID].isBuilding + local isCommander = (UnitDefs[refDefID].name == "armcom" or UnitDefs[refDefID].name == "corcom") + local isExtractor = UnitDefs[refDefID].extractsMetal > 0 + if (isBuilding or isCommander) then-- and not isExtractor then + local refx, refy, refz = Spring.GetUnitPosition(buildnear) + local reffootx = UnitDefs[refDefID].xsize * 8 + local reffootz = UnitDefs[refDefID].zsize * 8 + local spacing = math.random(64, 128) + local testspacing = spacing * 0.75 + local buildingDefID = building + local r = math.random(0, 3) + if r == 0 then + local bposx = refx + local bposz = refz + reffootz + spacing + local bposy = Spring.GetGroundHeight(bposx, bposz)--+100 + local testpos = Spring.TestBuildOrder(buildingDefID, bposx, bposy, bposz, r) + local nearbyunits = Spring.GetUnitsInRectangle(bposx - testspacing, bposz - testspacing, bposx + testspacing, bposz + testspacing) + if testpos == 2 and #nearbyunits <= 0 then + Spring.GiveOrderToUnit(cUnitID, -buildingDefID, { bposx, bposy, bposz, r }, { "shift" }) + break + end + elseif r == 1 then + local bposx = refx + reffootx + spacing + local bposz = refz + local bposy = Spring.GetGroundHeight(bposx, bposz)--+100 + local testpos = Spring.TestBuildOrder(buildingDefID, bposx, bposy, bposz, r) + local nearbyunits = Spring.GetUnitsInRectangle(bposx - testspacing, bposz - testspacing, bposx + testspacing, bposz + testspacing) + if testpos == 2 and #nearbyunits <= 0 then + Spring.GiveOrderToUnit(cUnitID, -buildingDefID, { bposx, bposy, bposz, r }, { "shift" }) + break + end + elseif r == 2 then + local bposx = refx + local bposz = refz - reffootz - spacing + local bposy = Spring.GetGroundHeight(bposx, bposz)--+100 + local testpos = Spring.TestBuildOrder(buildingDefID, bposx, bposy, bposz, r) + local nearbyunits = Spring.GetUnitsInRectangle(bposx - testspacing, bposz - testspacing, bposx + testspacing, bposz + testspacing) + if testpos == 2 and #nearbyunits <= 0 then + Spring.GiveOrderToUnit(cUnitID, -buildingDefID, { bposx, bposy, bposz, r }, { "shift" }) + break + end + elseif r == 3 then + local bposx = refx - reffootx - spacing + local bposz = refz + local bposy = Spring.GetGroundHeight(bposx, bposz)--+100 + local testpos = Spring.TestBuildOrder(buildingDefID, bposx, bposy, bposz, r) + local nearbyunits = Spring.GetUnitsInRectangle(bposx - testspacing, bposz - testspacing, bposx + testspacing, bposz + testspacing) + if testpos == 2 and #nearbyunits <= 0 then + Spring.GiveOrderToUnit(cUnitID, -buildingDefID, { bposx, bposy, bposz, r }, { "shift" }) + break + end + end + end + --local buildingDefID = UnitDefNames.building.id + --local testpos = Spring.TestBuildOrder(buildingDefID, bposx, bposy, bposz, facing) + end + end +end + +local function SimpleConstructionProjectSelection(unitID, unitDefID, unitName, unitTeam, allyTeamID, units, allunits, type) + success = false + + local mcurrent, mstorage, _, mincome, mexpense = Spring.GetTeamResources(unitTeam, "metal") + local ecurrent, estorage, _, eincome, eexpense = Spring.GetTeamResources(unitTeam, "energy") + local unitposx, unitposy, unitposz = Spring.GetUnitPosition(unitID) + + local unitCommands = Spring.GetCommandQueue(unitID, 0) + local buildOptions = UnitDefs[unitDefID].buildOptions + -- Builders + for b1 = 1,10 do + if type == "Builder" or type == "Commander" then + SimpleFactoryDelay[unitTeam] = SimpleFactoryDelay[unitTeam]-1 + local r = math.random(0, 20) + local mexspotpos = SimpleGetClosestMexSpot(unitposx, unitposz) + if (mexspotpos and SimpleT1Mexes[unitTeam] < 3) and type == "Commander" then + local project = SimpleExtractorDefs[math.random(1, #SimpleExtractorDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project then + Spring.GiveOrderToUnit(unitID, -project, { mexspotpos.x, mexspotpos.y, mexspotpos.z, 0 }, { "shift" }) + --Spring.Echo("Success! Project Type: Extractor.") + success = true + break + end + end + elseif ecurrent < estorage * 0.75 or r == 0 then + local project = SimpleGeneratorDefs[math.random(1, #SimpleGeneratorDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project then + SimpleBuildOrder(unitID, project) + --Spring.Echo("Success! Project Type: Generator.") + success = true + break + end + end + + elseif mcurrent < mstorage * 0.30 or r == 1 then + -- if type == "Commander" then + -- for t = 1,10 do + -- local targetUnit = units[math.random(1,#units)] + -- if UnitDefs[Spring.GetUnitDefID(targetUnit)].isBuilding == true then + -- local tUnitX, tUnitY, tUnitZ = Spring.GetUnitPosition(targetUnit) + -- Spring.GiveOrderToUnit(unitID, CMD.MOVE, { tUnitX + math.random(-100, 100), tUnitY, tUnitZ + math.random(-100, 100) }, { "shift", "alt", "ctrl" }) + -- success = true + -- break + -- end + -- end + -- elseif + if (not mexspotpos) and (ecurrent > estorage * 0.85 or r == 1) then + local project = SimpleConverterDefs[math.random(1, #SimpleConverterDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project then + SimpleBuildOrder(unitID, project) + --Spring.Echo("Success! Project Type: Converter.") + success = true + break + end + end + elseif mexspotpos then + local project = SimpleExtractorDefs[math.random(1, #SimpleExtractorDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project then + Spring.GiveOrderToUnit(unitID, -project, { mexspotpos.x, mexspotpos.y, mexspotpos.z, 0 }, { "shift" }) + --Spring.Echo("Success! Project Type: Extractor.") + for i3 = 1,50 do + local projectturret = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + if buildOptions[i3] == projectturret then + Spring.GiveOrderToUnit(unitID, -projectturret, { mexspotpos.x+100, mexspotpos.y, mexspotpos.z, math.random(0,3) }, { "shift" }) + break + end + end + for i3 = 1,50 do + local projectturret = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + if buildOptions[i3] == projectturret then + Spring.GiveOrderToUnit(unitID, -projectturret, { mexspotpos.x-100, mexspotpos.y, mexspotpos.z, math.random(0,3) }, { "shift" }) + break + end + end + for i3 = 1,50 do + local projectturret = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + if buildOptions[i3] == projectturret then + Spring.GiveOrderToUnit(unitID, -projectturret, { mexspotpos.x, mexspotpos.y, mexspotpos.z-100, math.random(0,3) }, { "shift" }) + break + end + end + for i3 = 1,50 do + local projectturret = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + if buildOptions[i3] == projectturret then + Spring.GiveOrderToUnit(unitID, -projectturret, { mexspotpos.x, mexspotpos.y, mexspotpos.z-100, math.random(0,3) }, { "shift" }) + break + end + end + for i3 = 1,50 do + local projectturret = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + if buildOptions[i3] == projectturret then + Spring.GiveOrderToUnit(unitID, -projectturret, { mexspotpos.x+100, mexspotpos.y, mexspotpos.z+100, math.random(0,3) }, { "shift" }) + break + end + end + for i3 = 1,50 do + local projectturret = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + if buildOptions[i3] == projectturret then + Spring.GiveOrderToUnit(unitID, -projectturret, { mexspotpos.x-100, mexspotpos.y, mexspotpos.z+100, math.random(0,3) }, { "shift" }) + break + end + end + for i3 = 1,50 do + local projectturret = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + if buildOptions[i3] == projectturret then + Spring.GiveOrderToUnit(unitID, -projectturret, { mexspotpos.x+100, mexspotpos.y, mexspotpos.z-100, math.random(0,3) }, { "shift" }) + break + end + end + for i3 = 1,50 do + local projectturret = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + if buildOptions[i3] == projectturret then + Spring.GiveOrderToUnit(unitID, -projectturret, { mexspotpos.x-100, mexspotpos.y, mexspotpos.z-100, math.random(0,3) }, { "shift" }) + break + end + end + success = true + break + end + end + + end + elseif r == 2 or r == 3 or r == 4 or r == 5 then + local project = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project then + SimpleBuildOrder(unitID, project) + --Spring.Echo("Success! Project Type: Turret.") + success = true + break + end + end + elseif SimpleFactoriesCount[unitTeam] < 1 or ((mcurrent > mstorage * 0.75 and ecurrent > estorage * 0.75) and SimpleFactoryDelay[unitTeam] <= 0) then + local project = SimpleFactoriesDefs[math.random(1, #SimpleFactoriesDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project and (not SimpleFactories[unitTeam][project]) then + SimpleBuildOrder(unitID, project) + SimpleFactoryDelay[unitTeam] = 30 + --Spring.Echo("Success! Project Type: Factory.") + success = true + break + end + end + elseif r == 11 then + for t = 1,10 do + local targetUnit = units[math.random(1,#units)] + if UnitDefs[Spring.GetUnitDefID(targetUnit)].isBuilding == true then + local tUnitX, tUnitY, tUnitZ = Spring.GetUnitPosition(targetUnit) + Spring.GiveOrderToUnit(unitID, CMD.MOVE, { tUnitX + math.random(-100, 100), tUnitY, tUnitZ + math.random(-100, 100) }, { "shift", "alt", "ctrl" }) + success = true + break + end + end + elseif r == 12 and type ~= "Commander" then + local mapcenterX = mapsizeX/2 + local mapcenterZ = mapsizeZ/2 + local mapcenterY = Spring.GetGroundHeight(mapcenterX, mapcenterZ) + local mapdiagonal = math.ceil(math.sqrt((mapsizeX*mapsizeX)+(mapsizeZ*mapsizeZ))) + Spring.GiveOrderToUnit(unitID, CMD.RECLAIM,{mapcenterX+math.random(-100,100),mapcenterY,mapcenterZ+math.random(-100,100),mapdiagonal}, 0) + success = true + elseif r == 13 and type ~= "Commander" then + local mapcenterX = mapsizeX/2 + local mapcenterZ = mapsizeZ/2 + local mapcenterY = Spring.GetGroundHeight(mapcenterX, mapcenterZ) + local mapdiagonal = math.ceil(math.sqrt((mapsizeX*mapsizeX)+(mapsizeZ*mapsizeZ))) + Spring.GiveOrderToUnit(unitID, CMD.REPAIR,{mapcenterX+math.random(-100,100),mapcenterY,mapcenterZ+math.random(-100,100),mapdiagonal}, 0) + success = true + else + local r2 = math.random(0, 1) + if r2 == 0 then + local project = SimpleUndefinedBuildingDefs[math.random(1, #SimpleUndefinedBuildingDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project then + SimpleBuildOrder(unitID, project) + --Spring.Echo("Success! Project Type: Other.") + success = true + break + end + end + else + local project = SimpleTurretDefs[math.random(1, #SimpleTurretDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project then + SimpleBuildOrder(unitID, project) + --Spring.Echo("Success! Project Type: Turret.") + success = true + break + end + end + end + end + elseif type == "Factory" then + if #Spring.GetFullBuildQueue(unitID, 0) < 5 then + local r = math.random(0, 5) + local luaAI = Spring.GetTeamLuaAI(unitTeam) + if r == 0 or string.sub(luaAI, 1, 19) == 'SimpleConstructorAI' then + local project = SimpleConstructorDefs[math.random(1, #SimpleConstructorDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project then + local x, y, z = Spring.GetUnitPosition(unitID) + Spring.GiveOrderToUnit(unitID, -project, { x, y, z, 0 }, 0) + --Spring.Echo("Success! Project Type: Constructor.") + success = true + break + end + end + else + local project = SimpleUndefinedUnitDefs[math.random(1, #SimpleUndefinedUnitDefs)] + for i2 = 1,#buildOptions do + if buildOptions[i2] == project then + local x, y, z = Spring.GetUnitPosition(unitID) + Spring.GiveOrderToUnit(unitID, -project, { x, y, z, 0 }, 0) + --Spring.Echo("Success! Project Type: Unit.") + success = true + break + end + end + end + else + success = true + end + end + if success == true then + break + end + end +end + +function gadget:GameOver() + gadgetHandler:RemoveGadget(self) +end + +if gadgetHandler:IsSyncedCode() then + + function gadget:GameFrame(n) + if n % 15 == 0 then + for i = 1, SimpleAITeamIDsCount do + if n%(15*SimpleAITeamIDsCount) == 15*(i-1) then + local teamID = SimpleAITeamIDs[i] + local _, _, isDead, _, faction, allyTeamID = Spring.GetTeamInfo(teamID) + local mcurrent, mstorage, _, mincome, mexpense = Spring.GetTeamResources(teamID, "metal") + local ecurrent, estorage, _, eincome, eexpense = Spring.GetTeamResources(teamID, "energy") + for j = 1, #SimpleCheaterAITeamIDs do + if teamID == SimpleCheaterAITeamIDs[j] then + -- --cheats + if mcurrent < mstorage * 0.20 then + Spring.SetTeamResource(teamID, "m", mstorage * 0.25) + end + if ecurrent < estorage * 0.20 then + Spring.SetTeamResource(teamID, "e", estorage * 0.25) + end + end + end + + local units = Spring.GetTeamUnits(teamID) + local allunits = Spring.GetAllUnits() + for k = 1, #units do + local unitID = units[k] + local unitDefID = Spring.GetUnitDefID(unitID) + local unitName = UnitDefs[unitDefID].name + local unitTeam = teamID + local unitHealth, unitMaxHealth, _, _, unitBuildProgress = Spring.GetUnitHealth(unitID) + local unitMaxRange = Spring.GetUnitMaxRange(unitID) + local unitCommands = Spring.GetCommandQueue(unitID, 0) + local unitposx, unitposy, unitposz = Spring.GetUnitPosition(unitID) + --Spring.Echo(faction) + + --if faction == "arm" then + + -- builders + for u = 1, #SimpleCommanderDefs do + if unitDefID == SimpleCommanderDefs[u] then + local nearestEnemyCloak = Spring.GetUnitNearestEnemy(unitID, 2000, false) + if nearestEnemyCloak and ecurrent > 1000 then + Spring.GiveOrderToUnit(unitID, 37382, {1}, 0) + else + Spring.GiveOrderToUnit(unitID, 37382, {0}, 0) + end + + + local nearestEnemy = Spring.GetUnitNearestEnemy(unitID, 250, true) + local unitHealthPercentage = (unitHealth/unitMaxHealth)*100 + + if nearestEnemy and unitHealthPercentage > 30 then + if ecurrent < estorage*0.9 then + Spring.SetTeamResource(teamID, "e", estorage*0.9) + end + Spring.GiveOrderToUnit(unitID, CMD.DGUN, {nearestEnemy}, 0) + local nearestEnemies = Spring.GetUnitsInCylinder(unitposx, unitposz, 300) + for x = 1,#nearestEnemies do + local enemy = nearestEnemies[x] + if Spring.GetUnitTeam(enemy) == Spring.GetUnitTeam(nearestEnemy) and enemy ~= nearestEnemy then + Spring.GiveOrderToUnit(unitID, CMD.DGUN, {enemy}, {"shift"}) + end + end + Spring.GiveOrderToUnit(unitID, CMD.MOVE, {unitposx, unitposy, unitposz}, {"shift"}) + elseif nearestEnemy then + for x = 1,10 do + local targetUnit = units[math.random(1,#units)] + if UnitDefs[Spring.GetUnitDefID(targetUnit)].isBuilding == true then + local tUnitX, tUnitY, tUnitZ = Spring.GetUnitPosition(targetUnit) + Spring.GiveOrderToUnit(unitID, CMD.MOVE, { tUnitX + math.random(-100, 100), tUnitY, tUnitZ + math.random(-100, 100) }, 0) + break + end + end + end + end + end + + for u = 1, #SimpleConstructorDefs do + if unitDefID == SimpleConstructorDefs[u] then + local unitHealthPercentage = (unitHealth/unitMaxHealth)*100 + local nearestEnemy = Spring.GetUnitNearestEnemy(unitID, 500, true) + if nearestEnemy and unitHealthPercentage > 90 then + Spring.GiveOrderToUnit(unitID, CMD.RECLAIM, {nearestEnemy}, 0) + elseif nearestEnemy then + for x = 1,100 do + local targetUnit = units[math.random(1,#units)] + if UnitDefs[Spring.GetUnitDefID(targetUnit)].isBuilding == true then + local tUnitX, tUnitY, tUnitZ = Spring.GetUnitPosition(targetUnit) + Spring.GiveOrderToUnit(unitID, CMD.MOVE, { tUnitX + math.random(-100, 100), tUnitY, tUnitZ + math.random(-100, 100) }, 0) + break + end + end + end + end + end + + if unitCommands == 0 then + for u = 1, #SimpleConstructorDefs do + if unitDefID == SimpleConstructorDefs[u] then + SimpleConstructionProjectSelection(unitID, unitDefID, unitName, unitTeam, allyTeamID, units, allunits, "Builder") + break + end + end + for u = 1, #SimpleCommanderDefs do + if unitDefID == SimpleCommanderDefs[u] then + SimpleConstructionProjectSelection(unitID, unitDefID, unitName, unitTeam, allyTeamID, units, allunits, "Commander") + break + end + end + + for u = 1, #SimpleFactoriesDefs do + if unitDefID == SimpleFactoriesDefs[u] then + SimpleConstructionProjectSelection(unitID, unitDefID, unitName, unitTeam, allyTeamID, units, allunits, "Factory") + break + end + end + + -- army + + for u = 1, #SimpleUndefinedUnitDefs do + + if unitDefID == SimpleUndefinedUnitDefs[u] then + local luaAI = Spring.GetTeamLuaAI(teamID) + if string.sub(luaAI, 1, 16) == 'SimpleDefenderAI' then + for t = 1,10 do + local targetUnit = allunits[math.random(1,#allunits)] + if Spring.GetUnitAllyTeam(targetUnit) == allyTeamID then + local tUnitX, tUnitY, tUnitZ = Spring.GetUnitPosition(targetUnit) + Spring.GiveOrderToUnit(unitID, CMD.FIGHT, { tUnitX + math.random(-100, 100), tUnitY, tUnitZ + math.random(-100, 100) }, { "shift", "alt", "ctrl" }) + break + end + end + else + local targetUnitNear = Spring.GetUnitNearestEnemy(unitID, 2000, false) + if targetUnitNear then + local tUnitX, tUnitY, tUnitZ = Spring.GetUnitPosition(targetUnitNear) + Spring.GiveOrderToUnit(unitID, CMD.FIGHT, { tUnitX + math.random(-100, 100), tUnitY, tUnitZ + math.random(-100, 100) }, { "shift", "alt", "ctrl" }) + elseif n%3600 <= 15*SimpleAITeamIDsCount then + local targetUnit = Spring.GetUnitNearestEnemy(unitID, 999999, false) + local tUnitX, tUnitY, tUnitZ = Spring.GetUnitPosition(targetUnit) + Spring.GiveOrderToUnit(unitID, CMD.FIGHT, { tUnitX + math.random(-100, 100), tUnitY, tUnitZ + math.random(-100, 100) }, { "shift", "alt", "ctrl" }) + end + break + end + end + end + end + end + end + end + end + end + + function gadget:UnitCreated(unitID, unitDefID, unitTeam, builderID) + local unitName = UnitDefs[unitDefID].name + for i = 1, SimpleAITeamIDsCount do + if SimpleAITeamIDs[i] == unitTeam then + for u = 1, #SimpleFactoriesDefs do + if unitDefID == SimpleFactoriesDefs[u] then + SimpleFactoriesCount[unitTeam] = SimpleFactoriesCount[unitTeam] + 1 + SimpleFactories[unitTeam][unitDefID] = true + break + end + end + for u = 1, #SimpleExtractorDefs do + if unitDefID == SimpleExtractorDefs[u] then + SimpleT1Mexes[unitTeam] = SimpleT1Mexes[unitTeam] + 1 + break + end + end + end + end + end + + function gadget:UnitDestroyed(unitID, unitDefID, unitTeam, attackerID, attackerDefID, attackerTeam) + local unitName = UnitDefs[unitDefID].name + for i = 1, SimpleAITeamIDsCount do + if SimpleAITeamIDs[i] == unitTeam then + for u = 1, #SimpleFactoriesDefs do + if unitDefID == SimpleFactoriesDefs[u] then + SimpleFactoriesCount[unitTeam] = SimpleFactoriesCount[unitTeam] - 1 + SimpleFactories[unitTeam][unitDefID] = nil + break + end + end + for u = 1, #SimpleExtractorDefs do + if unitDefID == SimpleExtractorDefs[u] then + SimpleT1Mexes[unitTeam] = SimpleT1Mexes[unitTeam] - 1 + break + end + end + end + end + end + + +end diff --git a/LuaRules/Gadgets/game_autocolors.lua b/LuaRules/Gadgets/game_autocolors.lua new file mode 100644 index 000000000..e6f74ec65 --- /dev/null +++ b/LuaRules/Gadgets/game_autocolors.lua @@ -0,0 +1,372 @@ +if gadgetHandler:IsSyncedCode() then + return +end + +function gadget:GetInfo() + return { + name = "AutoColorPicker", + desc = "Automatically assigns colors to teams", + author = "Damgam", + date = "2021", + layer = -100, + enabled = true, + } +end + +local spGetTeamInfo = Spring.GetTeamInfo +local spGetTeamList = Spring.GetTeamList +local spGetAllyTeamList= Spring.GetAllyTeamList +local spGetMyTeamID = Spring.GetMyTeamID +local spGetMyAllyTeamID = Spring.GetMyAllyTeamID +local spSetTeamColor = Spring.SetTeamColor +local spGetTeamLuaAI = Spring.GetTeamLuaAI +local spGetGaiaTeamID = Spring.GetGaiaTeamID +local spGetSpectatingState = Spring.GetSpectatingState +local spGetConfigInt = Spring.GetConfigInt +local spGetLastUpdateSeconds = Spring.GetLastUpdateSeconds + +local myPlayerID = Spring.GetMyPlayerID() + + + +local ffaCounter = 0 +local allyCounter = 0 +local enemyCounter = 0 +local simpleColorsUpdateCounter = 0 + +SimpleColorsEnabled = Spring.GetConfigInt("simple_auto_colors", 0) -- Floris plz add option here +local DynamicTeamColorsEnabledModoption = (Spring.GetModOptions and Spring.GetModOptions().teamcolors_dynamic) or "enabled" +if DynamicTeamColorsEnabledModoption == "enabled" then + DynamicTeamColorsEnabled = true +else + DynamicTeamColorsEnabled = false +end +local AnonymousModeEnabledModoption = (Spring.GetModOptions and Spring.GetModOptions().teamcolors_anonymous_mode) or "disabled" +if AnonymousModeEnabledModoption == "enabled" then + AnonymousModeEnabled = true +else + AnonymousModeEnabled = false +end +local IconDevModeEnabledModoption = (Spring.GetModOptions and Spring.GetModOptions().teamcolors_icon_dev_mode) or "disabled" +if IconDevModeEnabledModoption == "disabled" then + IconDevModeEnabled = false +else + if IconDevModeEnabledModoption == "armblue" then + IconDevModeColor = {0, 80, 255} + elseif IconDevModeEnabledModoption == "corred" then + IconDevModeColor = {255, 16, 5} + elseif IconDevModeEnabledModoption == "scavpurp" then + IconDevModeColor = {97, 36, 97} + elseif IconDevModeEnabledModoption == "chickenorange" then + IconDevModeColor = {255, 125, 32} + elseif IconDevModeEnabledModoption == "gaiagray" then + IconDevModeColor = {127, 127, 127} + end + IconDevModeEnabled = true +end + +SimplePlayerColor = {0, 80, 255} -- Armada Blue +SimpleAllyColor = {0,255,0} -- Full Green +SimpleEnemyColor = {255, 16, 5} -- Cortex Red + +-- FFA +FFAColors = { + [1] = {82, 151, 255 }, -- Blue + [2] = {255, 0, 0 }, -- Red + [3] = {10, 232, 18 }, -- Green + [4] = {255, 232, 22 }, -- Yellow + [5] = {94, 9, 178 }, -- Purple + [6] = {255, 125, 32 }, -- Orange + [7] = {47, 66, 238 }, -- Darker Blue + [8] = {229, 18, 120 }, -- Pink + [9] = {191, 169, 255 }, -- Lavender + [10] ={255, 243, 135 }, -- Bleached Yellow + [11] ={0, 170, 99 }, -- Grass + [12] ={166, 14, 5 }, -- Blood + [13] ={178, 255, 227 }, -- Aqua + [14] ={251, 167, 120 }, -- Skin? lol + [15] ={8, 37, 190 }, -- Dark Blue + [16] ={118, 39, 6 }, -- Brown +} + + +AllyColors = { + [2] = { -- Two Teams + [1] = {0, 80, 255 }, -- Armada Blue + [2] = {10, 232, 18 }, -- Green + [3] = {147, 226, 251 }, -- Light Blue + [4] = {82, 151, 255 }, -- Darker Blue + [5] = {191, 169, 255 }, -- Lavender + [6] = {0, 170, 99 }, -- Grass + [7] = {117, 253, 147 }, -- Aqua Green + [8] = {8, 37, 190 }, -- Dark Blue + }, + [3] = { -- Three Teams + [1] = {82, 151, 255 }, + [2] = {47, 66, 238 }, + [3] = {147, 226, 251 }, + [4] = {8, 37, 190 }, + [5] = {35, 11, 129 }, + }, + [4] = { -- Four Teams + [1] = {82, 151, 255 }, + [2] = {47, 66, 238 }, + [3] = {147, 226, 251 }, + [4] = {8, 37, 190 }, + }, + [5] = { -- Five Teams + [1] = {82, 151, 255 }, + [2] = {47, 66, 238 }, + [3] = {147, 226, 251 }, + }, + [6] = { -- Six Teams + [1] = {82, 151, 255 }, + [2] = {47, 66, 238 }, + }, +} + +EnemyColors = { + [2] = { -- Two Teams + [1] = { + [1] = {200, 16, 5 }, -- Cortex Red + [2] = {255, 232, 22 }, -- Yellow + [3] = {255, 125, 32 }, -- Orange + [4] = {229, 18, 120 }, -- Pink + [5] = {255, 243, 135 }, -- Bleached Yellow + [6] = {166, 14, 5 }, -- Blood + [7] = {251, 167, 120 }, -- Skin? lol + [8] = {118, 39, 6 }, -- Brown + }, + }, + [3] = { -- Three Teams + [1] = { -- First Enemy Team + [1] = {231, 0, 0 }, + [2] = {255, 125, 32 }, + [3] = {255, 232, 22 }, + [4] = {166, 14, 5 }, + [5] = {118, 39, 6 }, + }, + [2] = { -- Second Enemy Team + [1] = {10, 232, 32 }, + [2] = {10, 142, 7 }, + [3] = {117, 253, 147 }, + [4] = {5, 84, 13 }, + [5] = {45, 57, 9 }, + }, + }, + [4] = { -- Four Teams + [1] = { -- First Enemy Team + [1] = {231, 0, 0 }, + [2] = {255, 125, 32 }, + [3] = {255, 232, 22 }, + [4] = {166, 14, 5 }, + }, + [2] = { -- Second Enemy Team + [1] = {10, 232, 32 }, + [2] = {10, 142, 7 }, + [3] = {117, 253, 147 }, + [4] = {5, 84, 13 }, + }, + [3] = { -- Third Enemy Team + [1] = {200, 102, 246 }, + [2] = {134, 10, 232 }, + [3] = {191, 169, 255 }, + [4] = {94, 9, 178 }, + }, + }, + [5] = { -- Five Teams + [1] = { -- First Enemy Team + [1] = {231, 0, 0 }, + [2] = {255, 125, 32 }, + [3] = {166, 14, 5 }, + }, + [2] = { -- Second Enemy Team + [1] = {10, 232, 32 }, + [2] = {10, 142, 7 }, + [3] = {117, 253, 147 }, + }, + [3] = { -- Third Enemy Team + [1] = {200, 102, 246 }, + [2] = {134, 10, 232 }, + [3] = {191, 169, 255 }, + }, + [4] = { -- Fourth Enemy Team + [1] = {255, 232, 22 }, + [2] = {191, 151, 8 }, + [3] = {255, 243, 135 }, + }, + }, + [6] = { -- Six Teams + [1] = { -- First Enemy Team + [1] = {231, 0, 0 }, + [2] = {166, 14, 5 }, + }, + [2] = { -- Second Enemy Team + [1] = {10, 232, 32 }, + [2] = {10, 142, 7 }, + }, + [3] = { -- Third Enemy Team + [1] = {200, 102, 246 }, + [2] = {134, 10, 232 }, + }, + [4] = { -- Fourth Enemy Team + [1] = {255, 232, 22 }, + [2] = {191, 151, 8 }, + }, + [5] = { -- Fifth Enemy Team + [1] = {255, 161, 73 }, + [2] = {222, 93, 0 }, + }, + }, +} + +ScavColor = {97, 36, 97} +GaiaColor = {127, 127, 127} + +local function MissingColorHandler(teamID, allyTeam) + local myTeam = spGetMyTeamID() + local myAllyTeam = spGetMyAllyTeamID() + if teamID == myTeam then + spSetTeamColor(teamID, SimplePlayerColor[1]/255, SimplePlayerColor[2]/255, SimplePlayerColor[3]/255) + elseif allyTeam == myAllyTeam then + spSetTeamColor(teamID, SimpleAllyColor[1]/255, SimpleAllyColor[2]/255, SimpleAllyColor[3]/255) + else + spSetTeamColor(teamID, SimpleEnemyColor[1]/255, SimpleEnemyColor[2]/255, SimpleEnemyColor[3]/255) + end +end + +local function EnemyColorHandler(teamID, allyTeam, allyTeamCount, myTeam, myAllyTeam) + if not EATeams[allyTeam] then + EATeams[allyTeam] = true + if EACountNumber then + EACount[allyTeam] = EACountNumber + 1 + EACountNumber = EACountNumber + 1 + else + EACount[allyTeam] = 1 + EACountNumber = 1 + end + EATeamsCount[allyTeam] = 0 + end + EATeamsCount[allyTeam] = EATeamsCount[allyTeam] + 1 + --Spring.Echo("allyTeamCount "..allyTeamCount) + --Spring.Echo("EACount[allyTeam] "..EACount[allyTeam]) + --Spring.Echo("EATeams[allyTeam] "..EATeams[allyTeam]) + --Spring.Echo("EATeamsCount[allyTeam] "..EATeamsCount[allyTeam]) + if EnemyColors[allyTeamCount] then + if EnemyColors[allyTeamCount][EACount[allyTeam]] then + if EnemyColors[allyTeamCount][EACount[allyTeam]][EATeamsCount[allyTeam]] then + spSetTeamColor( + teamID, + EnemyColors[allyTeamCount][EACount[allyTeam]][EATeamsCount[allyTeam]][1] /255, + EnemyColors[allyTeamCount][EACount[allyTeam]][EATeamsCount[allyTeam]][2] /255, + EnemyColors[allyTeamCount][EACount[allyTeam]][EATeamsCount[allyTeam]][3] /255 + ) + else + MissingColorHandler(teamID, allyTeam) + end + else + MissingColorHandler(teamID, allyTeam) + end + else + MissingColorHandler(teamID, allyTeam) + end + -- planned +end + +local function UpdatePlayerColors() + local teams = spGetTeamList() + local allyteams = spGetAllyTeamList() + local myTeam = spGetMyTeamID() + local myAllyTeam = spGetMyAllyTeamID() + local spectator = spGetSpectatingState() + EATeams = {} + EACount = {} + EATeamsCount = {} + for i = 1,#teams do + local teamID = teams[i] + local _, leader, isDead, isAiTeam, side, allyTeam, incomeMultiplier, customTeamKeys = spGetTeamInfo(teamID) + local luaAI = spGetTeamLuaAI(teamID) + if isAiTeam and (luaAI and (string.find(luaAI, "Scavenger"))) then + if string.find(luaAI, "Scavenger") then + spSetTeamColor(teamID, ScavColor[1]/255, ScavColor[2]/255, ScavColor[3]/255) + end + elseif spGetGaiaTeamID() == teamID then + spSetTeamColor(teamID, GaiaColor[1]/255, GaiaColor[2]/255, GaiaColor[3]/255) + else + if SimpleColorsEnabled == 1 then -- SimpleColors + MissingColorHandler(teamID, allyTeam) + elseif (AnonymousModeEnabled and allyTeam ~= myAllyTeam) and (not spectator) then + spSetTeamColor(teamID, SimpleEnemyColor[1]/255, SimpleEnemyColor[2]/255, SimpleEnemyColor[3]/255) + elseif #teams == #allyteams then -- FFA + ffaCounter = ffaCounter+1 + if AnonymousModeEnabled and teamID == myTeam and (not spectator) then + spSetTeamColor(teamID, SimplePlayerColor[1]/255, SimplePlayerColor[2]/255, SimplePlayerColor[3]/255) + elseif FFAColors[ffaCounter] then + spSetTeamColor(teamID, FFAColors[ffaCounter][1] /255, FFAColors[ffaCounter][2] /255, FFAColors[ffaCounter][3] /255) + else + MissingColorHandler(teamID, allyTeam) + end + else + if spectator or (not AnonymousModeEnabled and (not DynamicTeamColorsEnabled)) then + myTeam = 0 + myAllyTeam = 0 + end + if allyTeam == myAllyTeam then + allyCounter = allyCounter+1 + if AllyColors[#allyteams-1] then + if AllyColors[#allyteams-1][allyCounter] then + spSetTeamColor(teamID, AllyColors[#allyteams-1][allyCounter][1] /255, AllyColors[#allyteams-1][allyCounter][2] /255, AllyColors[#allyteams-1][allyCounter][3] /255) + else + MissingColorHandler(teamID, allyTeam) + end + else + MissingColorHandler(teamID, allyTeam) + end + else + EnemyColorHandler(teamID, allyTeam, #allyteams-1, myTeam, myAllyTeam) + end + end + end + if IconDevModeEnabled == true then + spSetTeamColor(teamID, IconDevModeColor[1] /255, IconDevModeColor[2] /255, IconDevModeColor[3] /255) + end + end + myTeam = nil + myAllyTeam = nil + ffaCounter = 0 + allyCounter = 0 + EATeams = nil + EACount = nil + EATeamsCount = nil + EACountNumber = nil +end + +function gadget:Initialize() + UpdatePlayerColors() +end + +function gadget:PlayerChanged(playerID) + if playerID == myPlayerID then + UpdatePlayerColors() + end +end + +function gadget:Update() + simpleColorsUpdateCounter = simpleColorsUpdateCounter + spGetLastUpdateSeconds() + if simpleColorsUpdateCounter > 1 then + simpleColorsUpdateCounter = 0 + local PreviousSimpleColorsEnabled = SimpleColorsEnabled + SimpleColorsEnabled = spGetConfigInt("simple_auto_colors", 0) + if PreviousSimpleColorsEnabled ~= SimpleColorsEnabled then + UpdatePlayerColors() + end + end + + if math.random(0,60) == 0 then + UpdatePlayerColors() + end +end + + + + diff --git a/LuaRules/Gadgets/game_end_over.lua b/LuaRules/Gadgets/game_end_over.lua index de6c66b9d..ca5bf9aba 100644 --- a/LuaRules/Gadgets/game_end_over.lua +++ b/LuaRules/Gadgets/game_end_over.lua @@ -42,7 +42,7 @@ local spTransferUnit = Spring.TransferUnit local spKillTeam = Spring.KillTeam local spGameOver = Spring.GameOver -local COMM_VALUE = UnitDefNames.ecommander.metalCost or 500 +local COMM_VALUE = 500 local ECON_SUPREMACY_MULT = 25 -------------------------------------------------------------------------------- diff --git a/LuaRules/Gadgets/game_featureReclaim.lua b/LuaRules/Gadgets/game_featureReclaim.lua index 6856a1930..89fef9e13 100644 --- a/LuaRules/Gadgets/game_featureReclaim.lua +++ b/LuaRules/Gadgets/game_featureReclaim.lua @@ -6,7 +6,7 @@ function gadget:GetInfo() date = "December, 2008", license = "public domain", layer = 0, - enabled = true -- loaded by default? + enabled = false -- loaded by default? } end @@ -26,10 +26,10 @@ if gadgetHandler:IsSyncedCode() then reclaimLeft[featureID] = (reclaimLeft[featureID] or 0.1) + part if (reclaimLeft[featureID] <= 0) then Spring.DestroyFeature(featureID) - Spring.AddTeamResource(builderTeam, "e", 10) + --Spring.AddTeamResource(builderTeam, "e", 1) local fx, fy, fz = GetFeaturePosition(featureID) - Spring.PlaySoundFile("sounds/miscfx/reclaimed.wav", 1, fx, fy, fz) - SpawnCEG("sparklegreenplus10energy", fx, fy, fz) + Spring.PlaySoundFile("sounds/miscfx/reclaimed.wav", 0.5, fx, fy, fz) + SpawnCEG("sparklegreen", fx, fy, fz) end return false end diff --git a/LuaRules/Gadgets/game_resourceGifts.lua b/LuaRules/Gadgets/game_resourceGifts.lua index 1ea4df56a..215cb4ac1 100644 --- a/LuaRules/Gadgets/game_resourceGifts.lua +++ b/LuaRules/Gadgets/game_resourceGifts.lua @@ -14,7 +14,7 @@ local MEX_INCOME = 1 -- income of each mex local modOptions = Spring.GetModOptions(); -- Give resources to teams -local baseIncome = Spring.GetModOptions().basicincome or 5 +local baseIncome = Spring.GetModOptions().basicincome or 1 local baseIncomeIncrease = Spring.GetModOptions().basicincomeincrease or 1 -- add this each 1cycle if Spring.GetModOptions().basicincomeinterval ~= nil then diff --git a/LuaRules/Gadgets/game_spawn.lua b/LuaRules/Gadgets/game_spawn.lua index 91e49cec8..5c3bcbeed 100644 --- a/LuaRules/Gadgets/game_spawn.lua +++ b/LuaRules/Gadgets/game_spawn.lua @@ -35,32 +35,39 @@ end -------------------------------------------------------------------------------- local aiStartUnits = { - ["ecommander"] = { + ["fedcommander"] = { "ecommanderbattleai", - "ecommanderbuildai", - "ecommandercloakai", - "ecommanderfactoryai", - "ecommandershieldai", - "ecommanderhealerai", + -- "ecommanderbuildai", + -- "ecommandercloakai", + -- "ecommanderfactoryai", + -- "ecommandershieldai", + -- "ecommanderhealerai", }, - ["zarm"] = { - "zarm", - }, - ["xcommander"] = { - "xcommander", + ["lozcommander"] = { + "ecommanderbattleai", + -- "ecommanderbuildai", + -- "ecommandercloakai", + -- "ecommanderfactoryai", + -- "ecommandershieldai", + -- "ecommanderhealerai", }, } local factionDefComms = { - [0] = "ecommander", - [1] = "zarm", - [2] = "xcommander", + --[0] = "ecommander", + --[1] = "zarm", + --[2] = "xcommander",\ + + [0] = "fedcommander", + [1] = "lozcommander", } local validStartComm = { - [UnitDefNames["ecommander"].id] = true, - [UnitDefNames["zarm"].id] = true, - [UnitDefNames["xcommander"].id] = true, + --[UnitDefNames["ecommander"].id] = true, + --[UnitDefNames["zarm"].id] = true, + --[UnitDefNames["xcommander"].id] = true, + [UnitDefNames["fedcommander"].id] = true, + [UnitDefNames["lozcommander"].id] = true, } local ACCESS_LEVEL = { @@ -121,12 +128,12 @@ local function SpawnStartUnit(teamID) if (startUnit and startUnit ~= "") then - if startUnit == "ecommander" then - playerFaction = "ateran" - elseif startUnit == "zarm" then - playerFaction = "zaal" - elseif startUnit == "xcommander" then - playerFaction = "pattern" + if startUnit == "fedcommander" then + playerFaction = "Federation of Kala" + elseif startUnit == "lozcommander" then + playerFaction = "Loz Alliance" + --elseif startUnit == "xcommander" then + -- playerFaction = "pattern" elseif startUnit == nil then playerFaction = "Script is Fucked" else @@ -162,8 +169,8 @@ local function SpawnStartUnit(teamID) local unitID = Spring.CreateUnit(startUnit, x, y, z, facing, teamID) -- Fun times if startUnit == "ecommander" then - id1=Spring.CreateUnit("eorb", x+100, y+200, z, facing, teamID) - id1=Spring.CreateUnit("eorb", x-100, y-200, z, facing, teamID) + --id1=Spring.CreateUnit("eorb", x+100, y+200, z, facing, teamID) + --id1=Spring.CreateUnit("eorb", x-100, y-200, z, facing, teamID) --Spring.GiveOrderToUnit(id1,CMD.GUARD,{unitID}, {"shift"}) end if startUnit == "zarm" then diff --git a/LuaRules/Gadgets/lups_cloak_fx.lua b/LuaRules/Gadgets/lups_cloak_fx.lua index befd44e3e..f557a5209 100644 --- a/LuaRules/Gadgets/lups_cloak_fx.lua +++ b/LuaRules/Gadgets/lups_cloak_fx.lua @@ -79,21 +79,21 @@ local CloakedHitEffect = { class='UnitJitter',options={ life=50, pos={0,0,0}, en local CloakEffect = { { class='UnitCloaker',options={ life=50 } }, { class='UnitJitter',options={ delay=24, life=math.huge } }, - { class='Sound',options={ file="sounds/miscfx/cloak.wav",volume=0.9 } }, + { class='Sound',options={ file="sounds/miscfx/cloak.wav",volume=0.25 } }, } local EnemyCloakEffect = { { class='UnitCloaker',options={ life=20 } }, - { class='Sound',options={ file="sounds/miscfx/cloak.wav",volume=0.9 } }, + { class='Sound',options={ file="sounds/miscfx/cloak.wav",volume=0.25 } }, } local DecloakEffect = { { class='UnitCloaker',options={ inverse=true, life=50 } }, { class='UnitJitter',options={ life=24 } }, - { class='Sound',options={ file="sounds/miscfx/cloak.wav",volume=0.9 } }, + { class='Sound',options={ file="sounds/miscfx/cloak.wav",volume=0.25 } }, } local EnemyDecloakEffect = { { class='UnitCloaker',options={ inverse=true, life=60 } }, - { class='Sound',options={ file="sounds/miscfx/cloak.wav",volume=0.9 } }, + { class='Sound',options={ file="sounds/miscfx/cloak.wav",volume=0.25 } }, } --[[ Units are actually decloaked when damaged so this part is not required diff --git a/LuaRules/Gadgets/lups_nano_spray.lua b/LuaRules/Gadgets/lups_nano_spray.lua index 52def4d46..479fdbd02 100644 --- a/LuaRules/Gadgets/lups_nano_spray.lua +++ b/LuaRules/Gadgets/lups_nano_spray.lua @@ -192,7 +192,7 @@ end -- local nanoParticles = {} -local maxEngineParticles = Spring.GetConfigInt("MaxNanoParticles", 10000) +local maxEngineParticles = Spring.GetConfigInt("MaxNanoParticles", 25000) local function GetFaction(udid) --local udef_factions = UnitDefs[udid].factions or {} @@ -210,17 +210,27 @@ local factionsNanoFx = { streamSpeed = "limcount*0.05", }, ["default_high_quality"] = { - fxtype = "NanoParticles", - alpha = 0.27, - size = 6, - sizeSpread = 6, - sizeGrowth = 0.75, - rotSpeed = 0.1, - rotSpread = 360, - texture = "bitmaps/Other/Poof.png", - particles = 0.5, + fxtype = "NanoLasers", + alpha = "0.001", + corealpha = "0.2", + corethickness = "0.25", + streamThickness = "1", + streamSpeed = "1", }, - --[[arm = { + + -- ["default_high_quality"] = { + -- fxtype = "NanoParticles", + -- alpha = 0.50, + -- size = 6, + -- sizeSpread = 6, + -- sizeGrowth = 0.75, + -- rotSpeed = 0.1, + -- rotSpread = 360, + -- texture = "bitmaps/default/randdots.tga", + -- particles = 0.5, + -- }, + + arm = { fxtype = "NanoParticles", delaySpread = 30, size = 3, @@ -254,7 +264,7 @@ local factionsNanoFx = { corethickness = "limcount", streamThickness = "0.5+5*limcount", streamSpeed = "limcount*0.05", - },]]-- + }, } ------------------------------------------------------------------------------------- diff --git a/LuaRules/Gadgets/scavengers/API/api.lua b/LuaRules/Gadgets/scavengers/API/api.lua index ed47cceee..9b97abca2 100644 --- a/LuaRules/Gadgets/scavengers/API/api.lua +++ b/LuaRules/Gadgets/scavengers/API/api.lua @@ -64,6 +64,7 @@ CaptureProgressForBeacons = {} AliveEnemyCommanders = {} AliveEnemyCommandersCount = 0 FinalBossKilled = false +bosshealthmultiplier = 5--teamcount*spawnmultiplier if Spring.GetModOptions() and Spring.GetModOptions().maxunits then scavMaxUnits = tonumber(Spring.GetModOptions().maxunits) diff --git a/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Constructor/ZopPrints.lua b/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Constructor/ZopPrints.lua deleted file mode 100644 index ba6080ee6..000000000 --- a/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Constructor/ZopPrints.lua +++ /dev/null @@ -1,653 +0,0 @@ -local UDN = UnitDefNames -local nameSuffix = '_scav' - -local function ZopTurret1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 150 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-58), posy, posz+(-128), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-90), posy, posz+(96), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(150), posy, posz+(32), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT0,ZopTurret1) -table.insert(ScavengerConstructorBlueprintsT1,ZopTurret1) -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret1) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret1) -table.insert(ScavengerConstructorBlueprintsT0Sea,ZopTurret1) -table.insert(ScavengerConstructorBlueprintsT1Sea,ZopTurret1) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopTurret1) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopTurret1) - -local function ZopTurret2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 154 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(6), posy, posz+(-133), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(150), posy, posz+(75), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-154), posy, posz+(59), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT0,ZopTurret2) -table.insert(ScavengerConstructorBlueprintsT1,ZopTurret2) -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret2) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret2) -table.insert(ScavengerConstructorBlueprintsT0Sea,ZopTurret2) -table.insert(ScavengerConstructorBlueprintsT1Sea,ZopTurret2) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopTurret2) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopTurret2) - -local function ZopTurret3(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 208 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-48), posy, posz+(141), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(208), posy, posz+(-3), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-32), posy, posz+(-131), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-160), posy, posz+(-3), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(32), posy, posz+(-3), 1}, {"shift"}) - end -end - - -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret3) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret3) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopTurret3) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopTurret3) - -local function ZopTurret4(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 121 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.ejammer2_scav.id), {posx+(-9), posy, posz+(13), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-121), posy, posz+(77), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-73), posy, posz+(-83), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(103), posy, posz+(-115), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(103), posy, posz+(109), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret4) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret4) - -local function ZopTurret5(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 144 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-48), posy, posz+(142), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(176), posy, posz+(14), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-128), posy, posz+(46), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(64), posy, posz+(126), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(0), posy, posz+(-18), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-144), posy, posz+(-114), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(80), posy, posz+(-194), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret5) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret5) - -local function ZopTurret6(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 102 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(102), posy, posz+(11), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-26), posy, posz+(59), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-74), posy, posz+(-69), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret6) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret6) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopTurret6) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopTurret6) - -local function ZopTurret7(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 184 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(114), posy, posz+(152), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-110), posy, posz+(8), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-78), posy, posz+(-88), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-78), posy, posz+(88), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(18), posy, posz+(-168), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(146), posy, posz+(-40), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(34), posy, posz+(8), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(82), posy, posz+(-136), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-126), posy, posz+(184), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret7) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret7) - -local function ZopTurret8(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 163 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-141), posy, posz+(-61), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-13), posy, posz+(67), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(147), posy, posz+(115), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-141), posy, posz+(83), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-13), posy, posz+(-45), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(163), posy, posz+(-157), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret8) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret8) - -local function ZopTurret9(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 106 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-80), posy, posz+(-74), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-80), posy, posz+(6), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-80), posy, posz+(86), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(86), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(80), posy, posz+(-106), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(-90), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(80), posy, posz+(86), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(80), posy, posz+(6), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eartyturret_scav.id), {posx+(0), posy, posz+(6), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret9) - -local function ZopTurret10(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 202 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-121), posy, posz+(90), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(199), posy, posz+(-182), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(7), posy, posz+(202), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-9), posy, posz+(42), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-25), posy, posz+(-70), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(119), posy, posz+(74), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-169), posy, posz+(-150), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret10) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret10) - -local function ZopTurret11(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 190 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(164), posy, posz+(-30), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.ejammer2_scav.id), {posx+(-12), posy, posz+(18), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(100), posy, posz+(130), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(20), posy, posz+(178), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-140), posy, posz+(18), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-108), posy, posz+(130), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-140), posy, posz+(-126), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-12), posy, posz+(-126), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(132), posy, posz+(-190), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopTurret11) -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret11) - -local function ZopTurret12(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 214 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(115), posy, posz+(-214), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-93), posy, posz+(154), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(147), posy, posz+(-22), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eartyturret_scav.id), {posx+(3), posy, posz+(26), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(131), posy, posz+(154), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-173), posy, posz+(26), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-125), posy, posz+(-118), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT3,ZopTurret12) - -local function ZopMineStack1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 1 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT0,ZopMineStack1) -table.insert(ScavengerConstructorBlueprintsT1,ZopMineStack1) -table.insert(ScavengerConstructorBlueprintsT2,ZopMineStack1) -table.insert(ScavengerConstructorBlueprintsT3,ZopMineStack1) - -local function ZopMineStack2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 1 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT0,ZopMineStack2) -table.insert(ScavengerConstructorBlueprintsT1,ZopMineStack2) -table.insert(ScavengerConstructorBlueprintsT2,ZopMineStack2) -table.insert(ScavengerConstructorBlueprintsT3,ZopMineStack2) - -local function ZopAir1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 252 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.eairplant_scav.id), {posx+(4), posy, posz+(20), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-108), posy, posz+(212), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-172), posy, posz+(-204), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(132), posy, posz+(228), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(148), posy, posz+(-252), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopAir1) -table.insert(ScavengerConstructorBlueprintsT3,ZopAir1) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopAir1) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopAir1) - -local function ZopAir2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 266 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.eairplant_scav.id), {posx+(24), posy, posz+(22), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-88), posy, posz+(214), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(24), posy, posz+(-266), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-152), posy, posz+(-202), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(152), posy, posz+(230), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-168), posy, posz+(6), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(40), posy, posz+(246), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(168), posy, posz+(-250), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopAir2) -table.insert(ScavengerConstructorBlueprintsT3,ZopAir2) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopAir2) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopAir2) - -local function ZopAllTer1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 221 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-210), posy, posz+(-205), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(190), posy, posz+(211), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(206), posy, posz+(-205), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-2), posy, posz+(-221), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-194), posy, posz+(211), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(14), posy, posz+(211), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eminifac_scav.id), {posx+(-2), posy, posz+(3), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT1,ZopAllTer1) -table.insert(ScavengerConstructorBlueprintsT2,ZopAllTer1) -table.insert(ScavengerConstructorBlueprintsT3,ZopAllTer1) - -local function ZopAllTer2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 250 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-238), posy, posz+(169), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(226), posy, posz+(169), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-238), posy, posz+(-87), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(98), posy, posz+(-215), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-94), posy, posz+(-183), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-190), posy, posz+(-167), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(194), posy, posz+(249), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(242), posy, posz+(-103), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-14), posy, posz+(-183), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(2), posy, posz+(249), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(210), posy, posz+(-183), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eminifac_scav.id), {posx+(2), posy, posz+(41), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-190), posy, posz+(249), 1}, {"shift"}) - end -end - - -table.insert(ScavengerConstructorBlueprintsT2,ZopAllTer2) -table.insert(ScavengerConstructorBlueprintsT3,ZopAllTer2) - -local function ZopHBot1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 200 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-188), posy, posz+(-185), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-172), posy, posz+(199), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(164), posy, posz+(199), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.ehbotfac_scav.id), {posx+(4), posy, posz+(7), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(196), posy, posz+(-217), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT1,ZopHBot1) -table.insert(ScavengerConstructorBlueprintsT2,ZopHBot1) -table.insert(ScavengerConstructorBlueprintsT3,ZopHBot1) -table.insert(ScavengerConstructorBlueprintsT1Sea,ZopHBot1) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopHBot1) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopHBot1) - -local function ZopHBot2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 220 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-166), posy, posz+(4), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-166), posy, posz+(-188), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-150), posy, posz+(196), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(26), posy, posz+(-204), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(186), posy, posz+(196), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.ehbotfac_scav.id), {posx+(26), posy, posz+(4), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(26), posy, posz+(212), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(218), posy, posz+(-220), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopHBot2) -table.insert(ScavengerConstructorBlueprintsT3,ZopHBot2) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopHBot2) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopHBot2) - -local function ZopHov1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 235 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.ebasefactory_scav.id), {posx+(5), posy, posz+(5), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(5), posy, posz+(-235), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(197), posy, posz+(-203), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(5), posy, posz+(213), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(181), posy, posz+(229), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-187), posy, posz+(197), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-203), posy, posz+(-203), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT1,ZopHov1) -table.insert(ScavengerConstructorBlueprintsT2,ZopHov1) -table.insert(ScavengerConstructorBlueprintsT3,ZopHov1) -table.insert(ScavengerConstructorBlueprintsT1Sea,ZopHov1) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopHov1) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopHov1) - -local function ZopHov2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 274 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.ebasefactory_scav.id), {posx+(2), posy, posz+(45), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(2), posy, posz+(-195), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(98), posy, posz+(-227), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(274), posy, posz+(-115), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(194), posy, posz+(-163), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-238), posy, posz+(157), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(2), posy, posz+(253), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(178), posy, posz+(269), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-238), posy, posz+(-67), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-190), posy, posz+(237), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-206), posy, posz+(-163), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-110), posy, posz+(-195), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(242), posy, posz+(173), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopHov2) -table.insert(ScavengerConstructorBlueprintsT3,ZopHov2) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopHov2) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopHov2) - -local function ZopAmph1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 160 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(160), posy, posz+(144), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eamphibfac_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(160), posy, posz+(-144), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-160), posy, posz+(144), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-160), posy, posz+(-144), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT1,ZopAmph1) -table.insert(ScavengerConstructorBlueprintsT2,ZopAmph1) -table.insert(ScavengerConstructorBlueprintsT3,ZopAmph1) -table.insert(ScavengerConstructorBlueprintsT1Sea,ZopAmph1) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopAmph1) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopAmph1) - -local function ZopAmph2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 176 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(160), posy, posz+(144), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eamphibfac_scav.id), {posx+(0), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(0), posy, posz+(176), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(160), posy, posz+(-144), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(0), posy, posz+(-176), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-160), posy, posz+(144), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-160), posy, posz+(-144), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopAmph2) -table.insert(ScavengerConstructorBlueprintsT3,ZopAmph2) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopAmph2) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopAmph2) - -local function ZopEng1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 48 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-40), posy, posz+(-48), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(40), posy, posz+(48), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT0,ZopEng1) -table.insert(ScavengerConstructorBlueprintsT1,ZopEng1) -table.insert(ScavengerConstructorBlueprintsT2,ZopEng1) -table.insert(ScavengerConstructorBlueprintsT3,ZopEng1) -table.insert(ScavengerConstructorBlueprintsT0Sea,ZopEng1) -table.insert(ScavengerConstructorBlueprintsT1Sea,ZopEng1) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopEng1) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopEng1) - -local function ZopEng2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 107 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(70), posy, posz+(-85), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-10), posy, posz+(-21), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-58), posy, posz+(107), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT0,ZopEng2) -table.insert(ScavengerConstructorBlueprintsT1,ZopEng2) -table.insert(ScavengerConstructorBlueprintsT2,ZopEng2) -table.insert(ScavengerConstructorBlueprintsT3,ZopEng2) -table.insert(ScavengerConstructorBlueprintsT0Sea,ZopEng2) -table.insert(ScavengerConstructorBlueprintsT1Sea,ZopEng2) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopEng2) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopEng2) - -local function ZopEng3(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 144 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(144), posy, posz+(4), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-112), posy, posz+(84), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(16), posy, posz+(36), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-48), posy, posz+(-124), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopEng3) -table.insert(ScavengerConstructorBlueprintsT3,ZopEng3) -table.insert(ScavengerConstructorBlueprintsT2Sea,ZopEng3) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopEng3) - -local function ZopEng4(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 172 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(12), posy, posz+(164), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(172), posy, posz+(-12), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-180), posy, posz+(-156), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.efusion2_scav.id), {posx+(-4), posy, posz+(4), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT3,ZopEng4) -table.insert(ScavengerConstructorBlueprintsT3Sea,ZopEng4) - -local function ZopAntiNuke1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 149 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-149), posy, posz+(-104), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(139), posy, posz+(-8), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.ejammer2_scav.id), {posx+(-117), posy, posz+(120), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eshieldgen_scav.id), {posx+(3), posy, posz+(0), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(123), posy, posz+(120), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-133), posy, posz+(8), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(139), posy, posz+(-136), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopAntiNuke1) -table.insert(ScavengerConstructorBlueprintsT3,ZopAntiNuke1) - -local function ZopAntiNuke2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 203 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-21), posy, posz+(-150), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(139), posy, posz+(10), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-133), posy, posz+(-198), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-5), posy, posz+(74), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(107), posy, posz+(-134), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-117), posy, posz+(-38), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(107), posy, posz+(58), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-149), posy, posz+(10), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-149), posy, posz+(-6), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(187), posy, posz+(74), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(107), posy, posz+(58), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-5), posy, posz+(74), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(139), posy, posz+(10), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-133), posy, posz+(-86), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-5), posy, posz+(74), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-149), posy, posz+(26), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eshieldgen_scav.id), {posx+(3), posy, posz+(-14), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(11), posy, posz+(154), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-133), posy, posz+(90), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(203), posy, posz+(-86), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopAntiNuke2) -table.insert(ScavengerConstructorBlueprintsT3,ZopAntiNuke2) - -local function ZopShield1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 143 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-1), posy, posz+(114), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.ekmar_scav.id), {posx+(-9), posy, posz+(26), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-129), posy, posz+(98), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(143), posy, posz+(-94), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(127), posy, posz+(98), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-1), posy, posz+(-110), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-129), posy, posz+(-126), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT2,ZopShield1) -table.insert(ScavengerConstructorBlueprintsT3,ZopShield1) - -local function ZopShield2(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 176 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.ekmar_scav.id), {posx+(-146), posy, posz+(-96), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.ekmar_scav.id), {posx+(174), posy, posz+(-112), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(118), posy, posz+(8), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(86), posy, posz+(-88), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-42), posy, posz+(-104), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-138), posy, posz+(8), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-106), posy, posz+(104), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(86), posy, posz+(104), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.ekmar_scav.id), {posx+(-18), posy, posz+(176), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eartyturret_scav.id), {posx+(-10), posy, posz+(8), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT3,ZopShield2) - -local function ZopRadar1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) -local posradius = 228 - if radiusCheck then - return posradius - else - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-124), posy, posz+(164), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-124), posy, posz+(-156), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(228), posy, posz+(-12), 1}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx+(20), posy, posz+(4), 1}, {"shift"}) - end -end - -table.insert(ScavengerConstructorBlueprintsT1,ZopRadar1) -table.insert(ScavengerConstructorBlueprintsT2,ZopRadar1) -table.insert(ScavengerConstructorBlueprintsT3,ZopRadar1) - diff --git a/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Constructor/placeholder.lua b/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Constructor/placeholder.lua index b483b959d..ad839becd 100644 --- a/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Constructor/placeholder.lua +++ b/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Constructor/placeholder.lua @@ -27,9 +27,9 @@ local posradius = 150 return posradius else Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx-200, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+200, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx, posy, posz-200, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx-200, posy, posz, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+200, posy, posz, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx, posy, posz-200, 0}, {"shift"}) Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx, posy, posz+200, 0}, {"shift"}) end end @@ -43,9 +43,9 @@ local posradius = 150 if radiusCheck then return posradius else - Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx-200, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+200, posy, posz, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eradar2_up1_scav.id), {posx, posy, posz, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx-200, posy, posz, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+200, posy, posz, 0}, {"shift"}) Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx, posy, posz-200, 0}, {"shift"}) Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx, posy, posz+200, 0}, {"shift"}) end @@ -53,19 +53,498 @@ end table.insert(ScavengerConstructorBlueprintsT2,placeholderradar2) table.insert(ScavengerConstructorBlueprintsT3,placeholderradar2) -local function placeholderradar1(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local function emines(scav, posx, posy, posz, GaiaTeamID, radiusCheck) local posradius = 150 if radiusCheck then return posradius else - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx-100, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+100, posy, posz, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx, posy, posz-100, 0}, {"shift"}) - Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx, posy, posz+100, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx, posy, posz, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx-100, posy, posz, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx+100, posy, posz, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx, posy, posz-100, 0}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine.id), {posx, posy, posz+100, 0}, {"shift"}) end end -table.insert(ScavengerConstructorBlueprintsT0,placeholderradar1) -table.insert(ScavengerConstructorBlueprintsT1,placeholderradar1) -table.insert(ScavengerConstructorBlueprintsT2,placeholderradar1) -table.insert(ScavengerConstructorBlueprintsT3,placeholderradar1) \ No newline at end of file + +table.insert(ScavengerConstructorBlueprintsT0,emines) +table.insert(ScavengerConstructorBlueprintsT1,emines) +table.insert(ScavengerConstructorBlueprintsT2,emines) +table.insert(ScavengerConstructorBlueprintsT3,emines) + +local function defenseoutpost(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local posradius = 150 + if radiusCheck then + return posradius + else + + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(4), posy, posz+(-245), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-12), posy, posz+(219), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-380), posy, posz+(11), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(244), posy, posz+(171), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(276), posy, posz+(283), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-324), posy, posz+(147), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(116), posy, posz+(-405), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(236), posy, posz+(-253), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-108), posy, posz+(-405), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-172), posy, posz+(-101), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(468), posy, posz+(-197), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(252), posy, posz+(3), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(20), posy, posz+(459), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-404), posy, posz+(51), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-444), posy, posz+(-149), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-460), posy, posz+(91), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(220), posy, posz+(259), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-156), posy, posz+(-197), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-220), posy, posz+(-469), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(348), posy, posz+(131), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx+(20), posy, posz+(-5), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.ekmar_scav.id), {posx+(20), posy, posz+(-85), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(516), posy, posz+(-5), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-396), posy, posz+(-261), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-212), posy, posz+(-317), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-124), posy, posz+(379), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-316), posy, posz+(331), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-4), posy, posz+(-269), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(28), posy, posz+(323), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(324), posy, posz+(-5), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(404), posy, posz+(59), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(12), posy, posz+(179), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(228), posy, posz+(123), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eshieldgen_scav.id), {posx+(12), posy, posz+(-157), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(372), posy, posz+(-245), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(388), posy, posz+(267), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(364), posy, posz+(-77), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(12), posy, posz+(-349), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-292), posy, posz+(3), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-268), posy, posz+(139), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-212), posy, posz+(259), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-340), posy, posz+(-173), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(276), posy, posz+(-133), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-92), posy, posz+(59), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(20), posy, posz+(363), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-156), posy, posz+(-5), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(244), posy, posz+(-149), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-156), posy, posz+(171), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(164), posy, posz+(395), 1}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-332), posy, posz+(-197), 1}, {"shift"}) + + end +end + +table.insert(ScavengerConstructorBlueprintsT2,defenseoutpost) +table.insert(ScavengerConstructorBlueprintsT3,defenseoutpost) + + +local function basehbot(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local posradius = 150 + if radiusCheck then + return posradius + else + + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-239), posy, posz+(-184), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(313), posy, posz+(144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(161), posy, posz+(-56), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-295), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-359), posy, posz+(-80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(217), posy, posz+(64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(185), posy, posz+(-192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-15), posy, posz+(312), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-135), posy, posz+(-112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-215), posy, posz+(160), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(353), posy, posz+(8), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-279), posy, posz+(-384), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.ehbotfac_scav.id), {posx+(25), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(73), posy, posz+(-224), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.etech1_scav.id), {posx+(-295), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(249), posy, posz+(-144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.efusion2_scav.id), {posx+(201), posy, posz+(272), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-127), posy, posz+(-24), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx+(89), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(0), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(201), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-128), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(9), posy, posz+(-336), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(137), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(25), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-447), posy, posz+(104), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-87), posy, posz+(80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-96), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(128), 2}, {"shift"}) + + end +end + +table.insert(ScavengerConstructorBlueprintsT2,basehbot) +table.insert(ScavengerConstructorBlueprintsT3,basehbot) + + +local function basehover(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local posradius = 150 + if radiusCheck then + return posradius + else + + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-239), posy, posz+(-184), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(313), posy, posz+(144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(161), posy, posz+(-56), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-295), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-359), posy, posz+(-80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(217), posy, posz+(64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(185), posy, posz+(-192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-15), posy, posz+(312), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-135), posy, posz+(-112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-215), posy, posz+(160), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(353), posy, posz+(8), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-279), posy, posz+(-384), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.ebasefactory_scav.id), {posx+(25), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(73), posy, posz+(-224), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.etech1_scav.id), {posx+(-295), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(249), posy, posz+(-144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.efusion2_scav.id), {posx+(201), posy, posz+(272), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-127), posy, posz+(-24), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx+(89), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(0), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(201), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-128), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(9), posy, posz+(-336), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(137), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(25), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-447), posy, posz+(104), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-87), posy, posz+(80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-96), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(128), 2}, {"shift"}) + + end +end + +table.insert(ScavengerConstructorBlueprintsT2,basehover) +table.insert(ScavengerConstructorBlueprintsT3,basehover) + + +local function baseallterr(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local posradius = 150 + if radiusCheck then + return posradius + else + + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-239), posy, posz+(-184), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(313), posy, posz+(144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(161), posy, posz+(-56), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-295), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-359), posy, posz+(-80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(217), posy, posz+(64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(185), posy, posz+(-192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-15), posy, posz+(312), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-135), posy, posz+(-112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-215), posy, posz+(160), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(353), posy, posz+(8), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-279), posy, posz+(-384), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eallterrfac_scav.id), {posx+(25), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(73), posy, posz+(-224), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.etech1_scav.id), {posx+(-295), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(249), posy, posz+(-144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.efusion2_scav.id), {posx+(201), posy, posz+(272), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-127), posy, posz+(-24), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx+(89), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(0), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(201), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-128), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(9), posy, posz+(-336), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(137), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(25), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-447), posy, posz+(104), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-87), posy, posz+(80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-96), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(128), 2}, {"shift"}) + + end +end + +table.insert(ScavengerConstructorBlueprintsT2,baseallterr) +table.insert(ScavengerConstructorBlueprintsT3,baseallterr) + + +local function baseamphib(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local posradius = 150 + if radiusCheck then + return posradius + else + + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-239), posy, posz+(-184), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(313), posy, posz+(144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(161), posy, posz+(-56), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-295), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-359), posy, posz+(-80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(217), posy, posz+(64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(185), posy, posz+(-192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-15), posy, posz+(312), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-135), posy, posz+(-112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-215), posy, posz+(160), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(353), posy, posz+(8), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-279), posy, posz+(-384), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eamphibfac_scav.id), {posx+(25), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(73), posy, posz+(-224), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.etech1_scav.id), {posx+(-295), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(249), posy, posz+(-144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.efusion2_scav.id), {posx+(201), posy, posz+(272), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-127), posy, posz+(-24), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx+(89), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(0), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(201), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-128), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(9), posy, posz+(-336), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(137), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(25), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-447), posy, posz+(104), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-87), posy, posz+(80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-96), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(128), 2}, {"shift"}) + + end +end + +table.insert(ScavengerConstructorBlueprintsT2,baseallterr) +table.insert(ScavengerConstructorBlueprintsT3,baseallterr) + + +local function baseair(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local posradius = 150 + if radiusCheck then + return posradius + else + + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-239), posy, posz+(-184), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(313), posy, posz+(144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(161), posy, posz+(-56), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-295), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-359), posy, posz+(-80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(217), posy, posz+(64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(185), posy, posz+(-192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-32), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-15), posy, posz+(312), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-87), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-135), posy, posz+(-112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-215), posy, posz+(160), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(425), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(353), posy, posz+(8), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-279), posy, posz+(-384), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eairplant_scav.id), {posx+(25), posy, posz+(-64), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(73), posy, posz+(-224), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-183), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(176), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.etech1_scav.id), {posx+(-295), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(-215), posy, posz+(-48), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(249), posy, posz+(-144), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.efusion2_scav.id), {posx+(201), posy, posz+(272), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(192), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-127), posy, posz+(-24), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx+(89), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.estorage_scav.id), {posx+(393), posy, posz+(112), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(0), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(201), posy, posz+(-288), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-128), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(9), posy, posz+(-336), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(137), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(25), posy, posz+(240), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-447), posy, posz+(104), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-87), posy, posz+(80), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esolar2_scav.id), {posx+(-71), posy, posz+(-96), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.egeothermal_scav.id), {posx+(-23), posy, posz+(128), 2}, {"shift"}) + + end +end + +table.insert(ScavengerConstructorBlueprintsT2,baseair) +table.insert(ScavengerConstructorBlueprintsT3,baseair) + + + +local function antinuke(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local posradius = 150 + if radiusCheck then + return posradius + else + + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(422), posy, posz+(-59), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(326), posy, posz+(101), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eshieldgen_scav.id), {posx+(62), posy, posz+(-99), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-490), posy, posz+(-123), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-298), posy, posz+(-267), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(86), posy, posz+(453), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(30), posy, posz+(-259), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(94), posy, posz+(269), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(342), posy, posz+(-283), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(486), posy, posz+(-235), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(406), posy, posz+(261), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.ekmar_scav.id), {posx+(-74), posy, posz+(-27), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-234), posy, posz+(101), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-82), posy, posz+(365), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-226), posy, posz+(-83), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-426), posy, posz+(-251), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(270), posy, posz+(205), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-218), posy, posz+(341), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(278), posy, posz+(-315), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(422), posy, posz+(117), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-98), posy, posz+(-147), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(214), posy, posz+(341), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-282), posy, posz+(437), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-258), posy, posz+(125), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-58), posy, posz+(-363), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(238), posy, posz+(109), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx+(54), posy, posz+(53), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-410), posy, posz+(165), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-26), posy, posz+(-443), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-226), posy, posz+(29), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-394), posy, posz+(-59), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(166), posy, posz+(-251), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-410), posy, posz+(117), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(318), posy, posz+(-83), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.ekmar_scav.id), {posx+(166), posy, posz+(-27), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-170), posy, posz+(-187), 2}, {"shift"}) + + end +end + +table.insert(ScavengerConstructorBlueprintsT3,antinuke) + + +local function antinuke(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local posradius = 150 + if radiusCheck then + return posradius + else + + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(422), posy, posz+(-59), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(326), posy, posz+(101), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eshieldgen_scav.id), {posx+(62), posy, posz+(-99), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-490), posy, posz+(-123), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-298), posy, posz+(-267), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(86), posy, posz+(453), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(30), posy, posz+(-259), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(94), posy, posz+(269), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(342), posy, posz+(-283), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(486), posy, posz+(-235), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(406), posy, posz+(261), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.ekmar_scav.id), {posx+(-74), posy, posz+(-27), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-234), posy, posz+(101), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-82), posy, posz+(365), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-226), posy, posz+(-83), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-426), posy, posz+(-251), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(270), posy, posz+(205), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-218), posy, posz+(341), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(278), posy, posz+(-315), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(422), posy, posz+(117), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-98), posy, posz+(-147), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(214), posy, posz+(341), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-282), posy, posz+(437), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-258), posy, posz+(125), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-58), posy, posz+(-363), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(238), posy, posz+(109), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eradar2_scav.id), {posx+(54), posy, posz+(53), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-410), posy, posz+(165), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-26), posy, posz+(-443), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elaserbattery_scav.id), {posx+(-226), posy, posz+(29), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-394), posy, posz+(-59), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(166), posy, posz+(-251), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-410), posy, posz+(117), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(318), posy, posz+(-83), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.ekmar_scav.id), {posx+(166), posy, posz+(-27), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-170), posy, posz+(-187), 2}, {"shift"}) + + end +end + +table.insert(ScavengerConstructorBlueprintsT3,antinuke) + + +local function nuke(scav, posx, posy, posz, GaiaTeamID, radiusCheck) +local posradius = 150 + if radiusCheck then + return posradius + else + + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(92), posy, posz+(184), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-164), posy, posz+(-168), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.ejammer2_scav.id), {posx+(156), posy, posz+(8), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(204), posy, posz+(104), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(204), posy, posz+(24), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-28), posy, posz+(224), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(92), posy, posz+(-168), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.esilo_scav.id), {posx+(-4), posy, posz+(24), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(268), posy, posz+(200), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(204), posy, posz+(-152), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-308), posy, posz+(-232), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(4), posy, posz+(-224), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-100), posy, posz+(184), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(276), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(204), posy, posz+(-56), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(-276), posy, posz+(184), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.ejammer2_scav.id), {posx+(-164), posy, posz+(8), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.eheavyturret2_scav.id), {posx+(-252), posy, posz+(16), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-36), posy, posz+(-152), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.elightturret2_scav.id), {posx+(252), posy, posz+(-216), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-212), posy, posz+(184), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-212), posy, posz+(-72), 2}, {"shift"}) + Spring.GiveOrderToUnit(scav, -(UDN.emine_scav.id), {posx+(-196), posy, posz+(88), 2}, {"shift"}) + + end +end + +table.insert(ScavengerConstructorBlueprintsT3,nuke) \ No newline at end of file diff --git a/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Spawner/simblebases.lua b/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Spawner/simblebases.lua index babda5698..f935d6fb1 100644 --- a/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Spawner/simblebases.lua +++ b/LuaRules/Gadgets/scavengers/Blueprints/EvoRTS/Spawner/simblebases.lua @@ -6,17 +6,17 @@ local posradius = 500 return posradius else Spring.CreateUnit("estorage"..nameSuffix, posx+(-286), posy, posz+(31), 0,GaiaTeamID) - Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-302), posy, posz+(-385), 0,GaiaTeamID) + --Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-302), posy, posz+(-385), 0,GaiaTeamID) Spring.CreateUnit("elightturret2"..nameSuffix, posx+(306), posy, posz+(-305), 0,GaiaTeamID) Spring.CreateUnit("esolar2"..nameSuffix, posx+(370), posy, posz+(-65), 0,GaiaTeamID) Spring.CreateUnit("estorage"..nameSuffix, posx+(-222), posy, posz+(31), 0,GaiaTeamID) Spring.CreateUnit("estorage"..nameSuffix, posx+(-286), posy, posz+(-97), 0,GaiaTeamID) Spring.CreateUnit("ebasefactory"..nameSuffix, posx+(82), posy, posz+(47), 0,GaiaTeamID) Spring.CreateUnit("esolar2"..nameSuffix, posx+(370), posy, posz+(31), 0,GaiaTeamID) - Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-302), posy, posz+(335), 0,GaiaTeamID) + --Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-302), posy, posz+(335), 0,GaiaTeamID) Spring.CreateUnit("etech1"..nameSuffix, posx+(50), posy, posz+(-289), 0,GaiaTeamID) Spring.CreateUnit("estorage"..nameSuffix, posx+(-222), posy, posz+(-97), 0,GaiaTeamID) - Spring.CreateUnit("elightturret2"..nameSuffix, posx+(386), posy, posz+(303), 0,GaiaTeamID) + --Spring.CreateUnit("elightturret2"..nameSuffix, posx+(386), posy, posz+(303), 0,GaiaTeamID) Spring.CreateUnit("elightturret2"..nameSuffix, posx+(66), posy, posz+(463), 0,GaiaTeamID) end end @@ -32,15 +32,15 @@ local posradius = 500 else Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-208), posy, posz+(-350), 0,GaiaTeamID) Spring.CreateUnit("estorage"..nameSuffix, posx+(-272), posy, posz+(-174), 0,GaiaTeamID) - Spring.CreateUnit("elightturret2"..nameSuffix, posx+(32), posy, posz+(450), 0,GaiaTeamID) + --Spring.CreateUnit("elightturret2"..nameSuffix, posx+(32), posy, posz+(450), 0,GaiaTeamID) Spring.CreateUnit("emine"..nameSuffix, posx+(288), posy, posz+(290), 0,GaiaTeamID) Spring.CreateUnit("etech1"..nameSuffix, posx+(48), posy, posz+(-270), 0,GaiaTeamID) Spring.CreateUnit("emine"..nameSuffix, posx+(320), posy, posz+(98), 0,GaiaTeamID) - Spring.CreateUnit("elightturret2"..nameSuffix, posx+(448), posy, posz+(274), 0,GaiaTeamID) - Spring.CreateUnit("elightturret2"..nameSuffix, posx+(288), posy, posz+(-350), 0,GaiaTeamID) + --Spring.CreateUnit("elightturret2"..nameSuffix, posx+(448), posy, posz+(274), 0,GaiaTeamID) + --Spring.CreateUnit("elightturret2"..nameSuffix, posx+(288), posy, posz+(-350), 0,GaiaTeamID) Spring.CreateUnit("emine"..nameSuffix, posx+(-144), posy, posz+(-174), 0,GaiaTeamID) Spring.CreateUnit("emine"..nameSuffix, posx+(208), posy, posz+(-158), 0,GaiaTeamID) - Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-288), posy, posz+(274), 0,GaiaTeamID) + --Spring.CreateUnit("elightturret2"..nameSuffix, posx+(-288), posy, posz+(274), 0,GaiaTeamID) Spring.CreateUnit("ehbotfac"..nameSuffix, posx+(48), posy, posz+(18), 0,GaiaTeamID) Spring.CreateUnit("estorage"..nameSuffix, posx+(-272), posy, posz+(-46), 0,GaiaTeamID) Spring.CreateUnit("estorage"..nameSuffix, posx+(-336), posy, posz+(-46), 0,GaiaTeamID) diff --git a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/constructors.lua b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/constructors.lua index 82409e44f..66d507103 100644 --- a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/constructors.lua +++ b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/constructors.lua @@ -1,6 +1,6 @@ ConstructorsList = { "ecommander", - "xcommander", + --"xcommander", } -- put ALL commander units from your game here @@ -13,12 +13,12 @@ CommandersList = { "ecommandermeteor", "ecommandershield", "zarm", - "xcommander", + --"xcommander", } ConstructorsCounter = { UDN.ecommander.id, - UDN.xcommander.id, + --UDN.xcommander.id, } AssistUnits = { diff --git a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/factories.lua b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/factories.lua index 30bb9d956..4717da4e3 100644 --- a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/factories.lua +++ b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/factories.lua @@ -5,7 +5,6 @@ Factories = { "ehbotfac", "eairplant", "zhatch", - "xklab", } FactoriesExcludedUnits = { diff --git a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/land.lua b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/land.lua index f6231f5bd..d9a2059ba 100644 --- a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/land.lua +++ b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/land.lua @@ -4,8 +4,6 @@ T0LandUnits = { "ehbotpeewee", "elighttank3", "zlightswarm", - "xskulk", - "xflea", } T1LandUnits = { @@ -29,12 +27,6 @@ T1LandUnits = { "eartytank_saturation", "zmedswarm", "zpyro", - "xskulk", - "xflea", - "xcrasher", - "xhammer", - "xrocko", - "xwarrior", } T2LandUnits = { @@ -48,10 +40,6 @@ T2LandUnits = { "emissiletank", "zskirmisher", "zassault", - "xcrasher", - "xhammer", - "xrocko", - "xwarrior", } T3LandUnits = { diff --git a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/staticunits.lua b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/staticunits.lua index bf99a59d8..bd4a2b03d 100644 --- a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/staticunits.lua +++ b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/UnitLists/staticunits.lua @@ -20,7 +20,6 @@ StockpilingUnitNames = { NukingUnitNames = { "esilo", - "xnukesilo", } BeaconCaptureExcludedUnits = { @@ -32,7 +31,6 @@ BeaconDefenceStructuresT0 = { "elightturret2", "elightturret2", "ehbotpeewee_turret", - "xllt", } BeaconDefenceStructuresT1 = { @@ -40,8 +38,6 @@ BeaconDefenceStructuresT1 = { "eheavyturret2", "ehbotpeewee_turret", "ehbotthud_turret", - "xllt", - "xrocketturret", } BeaconDefenceStructuresT2 = { @@ -50,7 +46,6 @@ BeaconDefenceStructuresT2 = { "ehbotrocko_turret", "ehbotsniper_turret", "ehbotthud_turret", - "xrocketturret", } BeaconDefenceStructuresT3 = { @@ -69,7 +64,6 @@ StartboxDefenceStructuresT0 = { "elightturret2", "elightturret2", "ehbotpeewee_turret", - "xllt", } StartboxDefenceStructuresT1 = { @@ -77,8 +71,6 @@ StartboxDefenceStructuresT1 = { "eheavyturret2", "ehbotpeewee_turret", "ehbotthud_turret", - "xllt", - "xrocketturret", } StartboxDefenceStructuresT2 = { @@ -87,7 +79,6 @@ StartboxDefenceStructuresT2 = { "ehbotrocko_turret", "ehbotsniper_turret", "ehbotthud_turret", - "xrocketturret", } StartboxDefenceStructuresT3 = { @@ -115,7 +106,6 @@ StartboxDefenceStructuresT0Sea = { "elightturret2", "elightturret2", "ehbotpeewee_turret", - "xllt", } StartboxDefenceStructuresT1Sea = { @@ -123,8 +113,6 @@ StartboxDefenceStructuresT1Sea = { "eheavyturret2", "ehbotpeewee_turret", "ehbotthud_turret", - "xllt", - "xrocketturret", } StartboxDefenceStructuresT2Sea = { @@ -133,7 +121,6 @@ StartboxDefenceStructuresT2Sea = { "ehbotrocko_turret", "ehbotsniper_turret", "ehbotthud_turret", - "xrocketturret", } StartboxDefenceStructuresT3Sea = { diff --git a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/config.lua b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/config.lua index f17539eab..ff3ab9957 100644 --- a/LuaRules/Gadgets/scavengers/Configs/EvoRTS/config.lua +++ b/LuaRules/Gadgets/scavengers/Configs/EvoRTS/config.lua @@ -3,518 +3,257 @@ Spring.Echo("[Scavengers] Config initialized") adder = 300 multiplier = 0.5 -- Config for Scavengers Survival AI -if scavengersAIEnabled then - scavconfig = { - difficulty = { - easy = 1, - medium = 2, - hard = 3, - brutal = 5, - }, - unitnamesuffix = "_scav", - messenger = true, -- BYAR specific thing, don't enable otherwise (or get gui_messages.lua from BYAR) - modules = { - buildingSpawnerModule = true, --building spawner spawns random blueprints around map - constructorControllerModule = true, --constructor controller is for units that build blueprints - factoryControllerModule = true, --factory controller is to give orders to factories - unitSpawnerModule = true, --spawns units - startBoxProtection = true, --spawns turrets around the startboxes (if you are using startboxes) and damages units inside of it - reinforcementsModule = true, --reinforcements adds beacon capturing and friendly drops - stockpilers = false, --stockpilers adds controller for units with stockpile mechanic - nukes = true, --nukes gives orders to nuke units - }, - - scoreConfig = { - -- set to 0 to disable - scorePerMetal = 1, -- thisvalue*metalproduction - scorePerEnergy = 1, -- thisvalue*energyproduction - scorePerSecond = 1, -- thisvalue*secondspassed - scorePerOwnedUnit = 1, -- thisvalue*countofunits - ----------------------------------------- - baseScorePerKill = 1, -- How much score EVERY KILL and CAPTURE adds - -- Additional score for specific unit types, use -baseScorePerKill(default 1) to make it have no effect on score, use values lower than baseScorePerKill to reduce score - scorePerKilledBuilding = 4, - scorePerKilledConstructor = 99, - scorePerKilledSpawner = 49, - scorePerCapturedSpawner = -51, -- this doesn't care about baseScorePerKill - }, - - timers = { - -- globalScore values - T0start = 1, - T1start = 150+adder*multiplier, - T1low = 300+adder*multiplier, - T1med = 450+adder*multiplier, - T1high = 600+adder*multiplier, - T1top = 750+adder*multiplier, - T2start = 900+adder*multiplier, - T2low = 1050+adder*multiplier, - T2med = 1200+adder*multiplier, - T2high = 1350+adder*multiplier, - T2top = 1500+adder*multiplier, - T3start = 1750+adder*multiplier, - T3low = 2000+adder*multiplier, - T3med = 2250+adder*multiplier, - T3high = 2500+adder*multiplier, - T3top = 2750+adder*multiplier, - T4start = 3000+adder*multiplier, - T4low = 3250+adder*multiplier, - T4med = 3500+adder*multiplier, - T4high = 3750+adder*multiplier, - T4top = 4000+adder*multiplier, - BossFight = 4001+adder*multiplier, - -- don't delete - NoRadar = 1200, --Under this score beacons don't spawn in radar covered area. Above this score they can spawn in radar but not in LoS. - }, - other = { - heighttolerance = 30, -- higher = allow higher height diffrences - noheightchecksforwater = true, - } - } - - - -- Modules configs - buildingSpawnerModuleConfig = { - spawnchance = 90, - } - - unitSpawnerModuleConfig = { - bossFightEnabled = true, - FinalBossUnit = true, - BossWaveTimeLeft = 300, - aircraftchance = 8, -- higher number = lower chance - globalscoreperoneunit = 200, - spawnchance = 120, - beaconspawnchance = 120, - minimumspawnbeacons = 2, - landmultiplier = 0.75, - airmultiplier = 2, - seamultiplier = 0.2, - chanceforaircraftonsea = 2, -- higher number = lower chance - - t0multiplier = 1.5, - t1multiplier = 1.25, - t2multiplier = 1, - t3multiplier = 0.75, - t4multiplier = 0.1, - } - - constructorControllerModuleConfig = { - constructortimerstart = 120, -- ammount of seconds it skips from constructortimer for the first spawn (make first spawn earlier - this timer starts on timer-Timer1) - constructortimer = 220, -- time in seconds between commander/constructor spawns - constructortimerreductionframes = 36000, - minimumconstructors = 5, - useresurrectors = false, - searesurrectors = false, - useconstructors = true, - usecollectors = false, - } - unitControllerModuleConfig = { - minimumrangeforfight = 650, +scavconfig = { + difficulty = { + easy = 1, + medium = 2, + hard = 3, + brutal = 5, + }, + unitnamesuffix = "_scav", + messenger = true, -- BYAR specific thing, don't enable otherwise (or get gui_messages.lua from BYAR) + modules = { + buildingSpawnerModule = true, --building spawner spawns random blueprints around map + constructorControllerModule = true, --constructor controller is for units that build blueprints + factoryControllerModule = true, --factory controller is to give orders to factories + unitSpawnerModule = true, --spawns units + startBoxProtection = true, --spawns turrets around the startboxes (if you are using startboxes) and damages units inside of it + reinforcementsModule = false, --reinforcements adds beacon capturing and friendly drops + stockpilers = false, --stockpilers adds controller for units with stockpile mechanic + nukes = true, --nukes gives orders to nuke units + }, + + scoreConfig = { + -- set to 0 to disable + scorePerMetal = 1, -- thisvalue*metalproduction + scorePerEnergy = 1, -- thisvalue*energyproduction + scorePerSecond = 1, -- thisvalue*secondspassed + scorePerOwnedUnit = 1, -- thisvalue*countofunits + ----------------------------------------- + baseScorePerKill = 1, -- How much score EVERY KILL and CAPTURE adds + -- Additional score for specific unit types, use -baseScorePerKill(default 1) to make it have no effect on score, use values lower than baseScorePerKill to reduce score + scorePerKilledBuilding = 4, + scorePerKilledConstructor = 99, + scorePerKilledSpawner = 49, + scorePerCapturedSpawner = -51, -- this doesn't care about baseScorePerKill + }, + + timers = { + -- globalScore values + T0start = 1, + T1start = 150+adder*multiplier, + T1low = 300+adder*multiplier, + T1med = 450+adder*multiplier, + T1high = 600+adder*multiplier, + T1top = 750+adder*multiplier, + T2start = 900+adder*multiplier, + T2low = 1050+adder*multiplier, + T2med = 1200+adder*multiplier, + T2high = 1350+adder*multiplier, + T2top = 1500+adder*multiplier, + T3start = 1750+adder*multiplier, + T3low = 2000+adder*multiplier, + T3med = 2250+adder*multiplier, + T3high = 2500+adder*multiplier, + T3top = 2750+adder*multiplier, + T4start = 3000+adder*multiplier, + T4low = 3250+adder*multiplier, + T4med = 3500+adder*multiplier, + T4high = 3750+adder*multiplier, + T4top = 4000+adder*multiplier, + BossFight = 4001+adder*multiplier, + -- don't delete + NoRadar = 1200, --Under this score beacons don't spawn in radar covered area. Above this score they can spawn in radar but not in LoS. + }, + other = { + heighttolerance = 30, -- higher = allow higher height diffrences + noheightchecksforwater = true, } +} + + +-- Modules configs +buildingSpawnerModuleConfig = { + spawnchance = 90, +} + +unitSpawnerModuleConfig = { + bossFightEnabled = true, + FinalBossUnit = true, + FinalBossHealth = 1500000, -- this*teamcount*difficulty + FinalBossMinionsPassive = 1000, -- this/(teamcount*difficulty), how often does boss spawn minions passively, frames. + FinalBossMinionsActive = 150, -- this/(teamcount*difficulty), how often does boss spawn minions when taking damage, frames. + BossWaveTimeLeft = 480, + aircraftchance = 8, -- higher number = lower chance + globalscoreperoneunit = 200, + spawnchance = 120, + beaconspawnchance = 120, + minimumspawnbeacons = 2, + landmultiplier = 0.75, + airmultiplier = 2, + seamultiplier = 0.2, + chanceforaircraftonsea = 2, -- higher number = lower chance + + t0multiplier = 1.5, + t1multiplier = 1.25, + t2multiplier = 1, + t3multiplier = 0.75, + t4multiplier = 0.1, +} + +constructorControllerModuleConfig = { + constructortimerstart = 120, -- ammount of seconds it skips from constructortimer for the first spawn (make first spawn earlier - this timer starts on timer-Timer1) + constructortimer = 220, -- time in seconds between commander/constructor spawns + constructortimerreductionframes = 36000, + minimumconstructors = 5, + useresurrectors = false, + searesurrectors = false, + useconstructors = true, + usecollectors = false, +} + +unitControllerModuleConfig = { + minimumrangeforfight = 650, +} + +spawnProtectionConfig = { + spread = 192, +} + + +-- Functions which you can configure +function CountScavConstructors() + return UDC(GaiaTeamID, UDN.ecommander.id) + UDC(GaiaTeamID, UDN.ecommanderbattle.id) +end - spawnProtectionConfig = { - spread = 192, - } - - - -- Functions which you can configure - function CountScavConstructors() - return UDC(GaiaTeamID, UDN.ecommander.id) + UDC(GaiaTeamID, UDN.ecommanderbattle.id) - end - - function UpdateTierChances(n) - -- Must be 100 in total - if globalScore > scavconfig.timers.T4top then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 10 - TierSpawnChances.T3 = 30 - TierSpawnChances.T4 = 60 - elseif globalScore > scavconfig.timers.T4high then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 20 - TierSpawnChances.T3 = 50 - TierSpawnChances.T4 = 30 - elseif globalScore > scavconfig.timers.T4med then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 30 - TierSpawnChances.T3 = 50 - TierSpawnChances.T4 = 20 - elseif globalScore > scavconfig.timers.T4low then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 40 - TierSpawnChances.T3 = 50 - TierSpawnChances.T4 = 10 - elseif globalScore > scavconfig.timers.T4start then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 40 - TierSpawnChances.T3 = 55 - TierSpawnChances.T4 = 5 - elseif globalScore > scavconfig.timers.T3top then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 20 - TierSpawnChances.T3 = 70 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T3high then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 50 - TierSpawnChances.T3 = 40 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T3med then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 60 - TierSpawnChances.T3 = 30 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T3low then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 65 - TierSpawnChances.T3 = 25 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T3start then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 70 - TierSpawnChances.T3 = 10 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2top then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 80 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2high then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 30 - TierSpawnChances.T2 = 60 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2med then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 40 - TierSpawnChances.T2 = 50 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2low then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 60 - TierSpawnChances.T2 = 30 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2start then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 70 - TierSpawnChances.T2 = 20 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1top then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 90 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1high then - TierSpawnChances.T0 = 40 - TierSpawnChances.T1 = 60 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1med then - TierSpawnChances.T0 = 60 - TierSpawnChances.T1 = 40 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1low then - TierSpawnChances.T0 = 80 - TierSpawnChances.T1 = 20 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1start then - TierSpawnChances.T0 = 90 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - else - TierSpawnChances.T0 = 100 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - end - end - - - - - - - - - - - --- Config for PvP (Gaia) Scavengers -else - scavconfig = { - difficulty = { - easy = 1, - medium = 2, - hard = 3, - brutal = 5, - }, - unitnamesuffix = "_scav", - messenger = true, -- BYAR specific thing, don't enable otherwise (or get gui_messages.lua from BYAR) - modules = { - buildingSpawnerModule = false, - constructorControllerModule = true, - factoryControllerModule = true, - unitSpawnerModule = true, - startBoxProtection = false, - reinforcementsModule = false, - stockpilers = false, - nukes = true, - }, - - scoreConfig = { - -- set to 0 to disable - scorePerMetal = 1, -- thisvalue*metalproduction - scorePerEnergy = 1, -- thisvalue*energyproduction - scorePerSecond = 1, -- thisvalue*secondspassed - scorePerOwnedUnit = 1, -- thisvalue*countofunits - ----------------------------------------- - baseScorePerKill = 1, -- How much score EVERY KILL and CAPTURE adds - -- Additional score for specific unit types, use -baseScorePerKill(default 1) to make it have no effect on score, use values lower than baseScorePerKill to reduce score - scorePerKilledBuilding = 4, - scorePerKilledConstructor = 99, - scorePerKilledSpawner = -1, - scorePerCapturedSpawner = 50, -- this doesn't care about baseScorePerKill - }, - - timers = { - -- globalScore values - T0start = 1, - T1start = 600, - T1low = 900, - T1med = 1200, - T1high = 1500, - T1top = 1800, - T2start = 2250, - T2low = 3000, - T2med = 3750, - T2high = 4500, - T2top = 6000, - T3start = 7500, - T3low = 9000, - T3med = 10500, - T3high = 12000, - T3top = 13500, - T4start = 15000, - T4low = 18000, - T4med = 21000, - T4high = 24000, - T4top = 28000, - BossFight = 28001, - -- don't delete - NoRadar = 1200, - }, - other = { - heighttolerance = 30, -- higher = allow higher height diffrences - noheightchecksforwater = true, - } - } - - - -- Modules configs - buildingSpawnerModuleConfig = { - spawnchance = 90, - } - - unitSpawnerModuleConfig = { - bossFightEnabled = false, - FinalBossUnit = false, - BossWaveTimeLeft = 900, - aircraftchance = 5, -- higher number = lower chance - globalscoreperoneunit = 800, - spawnchance = 120, - beaconspawnchance = 360, - minimumspawnbeacons = 2, - landmultiplier = 0.75, - airmultiplier = 1.5, - seamultiplier = 0.2, - chanceforaircraftonsea = 2, -- higher number = lower chance - - t0multiplier = 1.5, - t1multiplier = 1.0, - t2multiplier = 0.3, - t3multiplier = 0.05, - t4multiplier = 0.01, - } - - constructorControllerModuleConfig = { - constructortimerstart = 120, -- ammount of seconds it skips from constructortimer for the first spawn (make first spawn earlier - this timer starts on timer-Timer1) - constructortimer = 220, -- time in seconds between commander/constructor spawns - constructortimerreductionframes = 36000, - minimumconstructors = 1, - useresurrectors = false, - searesurrectors = false, - useconstructors = true, - usecollectors = false, - } - - unitControllerModuleConfig = { - minimumrangeforfight = 650, - } - - spawnProtectionConfig = { - spread = 128, - } - - - -- Functions which you can configure - function CountScavConstructors() - return UDC(GaiaTeamID, UDN.ecommander.id) + UDC(GaiaTeamID, UDN.ecommanderbattle.id) - end - - function UpdateTierChances(n) - -- Must be 100 in total - if globalScore > scavconfig.timers.T4top then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 10 - TierSpawnChances.T3 = 30 - TierSpawnChances.T4 = 60 - elseif globalScore > scavconfig.timers.T4high then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 20 - TierSpawnChances.T3 = 50 - TierSpawnChances.T4 = 30 - elseif globalScore > scavconfig.timers.T4med then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 30 - TierSpawnChances.T3 = 50 - TierSpawnChances.T4 = 20 - elseif globalScore > scavconfig.timers.T4low then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 40 - TierSpawnChances.T3 = 50 - TierSpawnChances.T4 = 10 - elseif globalScore > scavconfig.timers.T4start then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 40 - TierSpawnChances.T3 = 55 - TierSpawnChances.T4 = 5 - elseif globalScore > scavconfig.timers.T3top then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 20 - TierSpawnChances.T3 = 70 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T3high then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 50 - TierSpawnChances.T3 = 40 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T3med then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 60 - TierSpawnChances.T3 = 30 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T3low then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 65 - TierSpawnChances.T3 = 25 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T3start then - TierSpawnChances.T0 = 0 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 70 - TierSpawnChances.T3 = 20 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2top then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 80 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2high then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 30 - TierSpawnChances.T2 = 60 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2med then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 40 - TierSpawnChances.T2 = 50 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2low then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 60 - TierSpawnChances.T2 = 30 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T2start then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 70 - TierSpawnChances.T2 = 20 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1top then - TierSpawnChances.T0 = 10 - TierSpawnChances.T1 = 90 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1high then - TierSpawnChances.T0 = 40 - TierSpawnChances.T1 = 60 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1med then - TierSpawnChances.T0 = 60 - TierSpawnChances.T1 = 40 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1low then - TierSpawnChances.T0 = 80 - TierSpawnChances.T1 = 20 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - elseif globalScore > scavconfig.timers.T1start then - TierSpawnChances.T0 = 90 - TierSpawnChances.T1 = 10 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - else - TierSpawnChances.T0 = 100 - TierSpawnChances.T1 = 0 - TierSpawnChances.T2 = 0 - TierSpawnChances.T3 = 0 - TierSpawnChances.T4 = 0 - end +function UpdateTierChances(n) + -- Must be 100 in total + if globalScore > scavconfig.timers.T4top then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 0 + TierSpawnChances.T2 = 10 + TierSpawnChances.T3 = 30 + TierSpawnChances.T4 = 60 + elseif globalScore > scavconfig.timers.T4high then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 0 + TierSpawnChances.T2 = 20 + TierSpawnChances.T3 = 50 + TierSpawnChances.T4 = 30 + elseif globalScore > scavconfig.timers.T4med then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 0 + TierSpawnChances.T2 = 30 + TierSpawnChances.T3 = 50 + TierSpawnChances.T4 = 20 + elseif globalScore > scavconfig.timers.T4low then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 0 + TierSpawnChances.T2 = 40 + TierSpawnChances.T3 = 50 + TierSpawnChances.T4 = 10 + elseif globalScore > scavconfig.timers.T4start then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 0 + TierSpawnChances.T2 = 40 + TierSpawnChances.T3 = 55 + TierSpawnChances.T4 = 5 + elseif globalScore > scavconfig.timers.T3top then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 10 + TierSpawnChances.T2 = 20 + TierSpawnChances.T3 = 70 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T3high then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 10 + TierSpawnChances.T2 = 50 + TierSpawnChances.T3 = 40 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T3med then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 10 + TierSpawnChances.T2 = 60 + TierSpawnChances.T3 = 30 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T3low then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 10 + TierSpawnChances.T2 = 65 + TierSpawnChances.T3 = 25 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T3start then + TierSpawnChances.T0 = 0 + TierSpawnChances.T1 = 10 + TierSpawnChances.T2 = 70 + TierSpawnChances.T3 = 10 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T2top then + TierSpawnChances.T0 = 10 + TierSpawnChances.T1 = 10 + TierSpawnChances.T2 = 80 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T2high then + TierSpawnChances.T0 = 10 + TierSpawnChances.T1 = 30 + TierSpawnChances.T2 = 60 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T2med then + TierSpawnChances.T0 = 10 + TierSpawnChances.T1 = 40 + TierSpawnChances.T2 = 50 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T2low then + TierSpawnChances.T0 = 10 + TierSpawnChances.T1 = 60 + TierSpawnChances.T2 = 30 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T2start then + TierSpawnChances.T0 = 10 + TierSpawnChances.T1 = 70 + TierSpawnChances.T2 = 20 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T1top then + TierSpawnChances.T0 = 10 + TierSpawnChances.T1 = 90 + TierSpawnChances.T2 = 0 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T1high then + TierSpawnChances.T0 = 40 + TierSpawnChances.T1 = 60 + TierSpawnChances.T2 = 0 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T1med then + TierSpawnChances.T0 = 60 + TierSpawnChances.T1 = 40 + TierSpawnChances.T2 = 0 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T1low then + TierSpawnChances.T0 = 80 + TierSpawnChances.T1 = 20 + TierSpawnChances.T2 = 0 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + elseif globalScore > scavconfig.timers.T1start then + TierSpawnChances.T0 = 90 + TierSpawnChances.T1 = 10 + TierSpawnChances.T2 = 0 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 + else + TierSpawnChances.T0 = 100 + TierSpawnChances.T1 = 0 + TierSpawnChances.T2 = 0 + TierSpawnChances.T3 = 0 + TierSpawnChances.T4 = 0 end -end +end \ No newline at end of file diff --git a/LuaRules/Gadgets/scavengers/Modules/messenger.lua b/LuaRules/Gadgets/scavengers/Modules/messenger.lua index 73f102d61..c6fbf93d6 100644 --- a/LuaRules/Gadgets/scavengers/Modules/messenger.lua +++ b/LuaRules/Gadgets/scavengers/Modules/messenger.lua @@ -3,36 +3,36 @@ function pregameMessages(n) if n == 1800 then - --ScavSendMessage("WARNING") - --ScavSendVoiceMessage(scavengerSoundPath.."warning.wav") + ScavSendMessage("WARNING") + ScavSendVoiceMessage(scavengerSoundPath.."warning.wav") end if n == 1830 then ScavSendNotification("scav_unidentifiedObjectsDetected") end - -- if n == 2100 then - -- ScavSendMessage("... waiting for further data ... ") - -- ScavSendVoiceMessage(scavengerSoundPath.."waitingForIntel.wav") - -- end + if n == 2100 then + ScavSendMessage("... waiting for further data ... ") + ScavSendVoiceMessage(scavengerSoundPath.."waitingForIntel.wav") + end if n == 3900 then ScavSendNotification("scav_classifiedAsScavengers") end - -- if n == 6300 then - -- ScavSendMessage("WARNING") - -- --ScavSendVoiceMessage(scavengerSoundPath.."warning.wav") - -- end + if n == 6300 then + ScavSendMessage("WARNING") + ScavSendVoiceMessage(scavengerSoundPath.."warning.wav") + end - -- if n == 6330 then - -- ScavSendMessage("Scavenger Droppods detected nearby") - -- ScavSendVoiceMessage(scavengerSoundPath.."droppodsDetectedNearby.wav") - -- end + if n == 6330 then + ScavSendMessage("Scavenger Droppods detected nearby") + ScavSendVoiceMessage(scavengerSoundPath.."droppodsDetectedNearby.wav") + end if n == 7200 then - --ScavSendMessage("WARNING") - --ScavSendVoiceMessage(scavengerSoundPath.."warning.wav") + ScavSendMessage("WARNING") + ScavSendVoiceMessage(scavengerSoundPath.."warning.wav") end if n == 7230 then @@ -40,8 +40,8 @@ function pregameMessages(n) end if n == 9000 then - --ScavSendMessage("WARNING") - --ScavSendVoiceMessage(scavengerSoundPath.."warning.wav") + ScavSendMessage("WARNING") + ScavSendVoiceMessage(scavengerSoundPath.."warning.wav") end if n == 9030 then diff --git a/LuaRules/Gadgets/scavengers/Modules/unit_controller.lua b/LuaRules/Gadgets/scavengers/Modules/unit_controller.lua index 02cd649a0..fea241dfd 100644 --- a/LuaRules/Gadgets/scavengers/Modules/unit_controller.lua +++ b/LuaRules/Gadgets/scavengers/Modules/unit_controller.lua @@ -39,18 +39,12 @@ function SelfDestructionControls(n, scav, scavDef) local posz = math.random(selfdz[scav] - 400, selfdz[scav] + 400) local telstartposy = Spring.GetGroundHeight(selfdx[scav], selfdz[scav]) local telendposy = Spring.GetGroundHeight(posx, posz) - if telstartposy < 0 then - if telendposy < 0 then - Spring.SetUnitPosition(scav, posx, posz) - Spring.GiveOrderToUnit(scav, CMD.STOP, 0, 0) - break - end - elseif telstartposy >= 0 then - if telendposy >= 0 then - Spring.SetUnitPosition(scav, posx, posz) - Spring.GiveOrderToUnit(scav, CMD.STOP, 0, 0) - break - end + if (UnitDefs[scavDef].minWaterDepth and -(UnitDefs[scavDef].minWaterDepth) > telendposy) or (UnitDefs[scavDef].maxWaterDepth and -(UnitDefs[scavDef].maxWaterDepth) < telendposy) then + Spring.SpawnCEG("scav-prettypop",selfdx[scav],telstartposy,selfdz[scav],0,0,0) + Spring.SpawnCEG("scav-prettypop",posx,telendposy,posz,0,0,0) + Spring.SetUnitPosition(scav, posx, posz) + Spring.GiveOrderToUnit(scav, CMD.STOP, 0, 0) + break end end end diff --git a/LuaRules/Gadgets/scavengers/Modules/unit_spawner.lua b/LuaRules/Gadgets/scavengers/Modules/unit_spawner.lua index c74e4bfcb..ddedf4fdb 100644 --- a/LuaRules/Gadgets/scavengers/Modules/unit_spawner.lua +++ b/LuaRules/Gadgets/scavengers/Modules/unit_spawner.lua @@ -88,16 +88,16 @@ end function BossMinionsSpawn(n) local x,y,z = Spring.GetUnitPosition(FinalBossUnitID) - local posx = x + math_random(-256,256) - local posz = z + math_random(-256,256) + local posx = x + math_random(-500,500) + local posz = z + math_random(-500,500) local posy = Spring.GetGroundHeight(posx, posz) local r = math_random(0,100) local rair = math_random(0, unitSpawnerModuleConfig.aircraftchance) if rair == 0 then - if r <= 40 then + if r <= 20 then minionUnit = T1AirUnits[math_random(1,#T1AirUnits)]..scavconfig.unitnamesuffix - elseif r <= 80 then + elseif r <= 70 then minionUnit = T2AirUnits[math_random(1,#T2AirUnits)]..scavconfig.unitnamesuffix elseif r <= 95 then minionUnit = T3AirUnits[math_random(1,#T3AirUnits)]..scavconfig.unitnamesuffix @@ -107,9 +107,9 @@ function BossMinionsSpawn(n) minionUnit = T0AirUnits[math_random(1,#T0AirUnits)]..scavconfig.unitnamesuffix end elseif posy > -20 then - if r <= 40 then + if r <= 20 then minionUnit = T1LandUnits[math_random(1,#T1LandUnits)]..scavconfig.unitnamesuffix - elseif r <= 80 then + elseif r <= 70 then minionUnit = T2LandUnits[math_random(1,#T2LandUnits)]..scavconfig.unitnamesuffix elseif r <= 95 then minionUnit = T3LandUnits[math_random(1,#T3LandUnits)]..scavconfig.unitnamesuffix @@ -119,9 +119,9 @@ function BossMinionsSpawn(n) minionUnit = T0LandUnits[math_random(1,#T0LandUnits)]..scavconfig.unitnamesuffix end elseif posy <= -20 then - if r <= 40 then + if r <= 20 then minionUnit = T1SeaUnits[math_random(1,#T1SeaUnits)]..scavconfig.unitnamesuffix - elseif r <= 80 then + elseif r <= 70 then minionUnit = T2SeaUnits[math_random(1,#T2SeaUnits)]..scavconfig.unitnamesuffix elseif r <= 95 then minionUnit = T3SeaUnits[math_random(1,#T3SeaUnits)]..scavconfig.unitnamesuffix @@ -132,6 +132,7 @@ function BossMinionsSpawn(n) end end Spring.CreateUnit(minionUnit, posx, posy, posz, math_random(0,3),GaiaTeamID) + Spring.SpawnCEG("scav-prettypop",posx,posy,posz,0,0,0) end diff --git a/LuaRules/Gadgets/scavengers/boot.lua b/LuaRules/Gadgets/scavengers/boot.lua index 4f4c396d2..4dea445a1 100644 --- a/LuaRules/Gadgets/scavengers/boot.lua +++ b/LuaRules/Gadgets/scavengers/boot.lua @@ -160,7 +160,7 @@ end - +local minionFramerate = math.ceil(unitSpawnerModuleConfig.FinalBossMinionsPassive/(teamcount*spawnmultiplier)) function gadget:GameFrame(n) @@ -172,7 +172,7 @@ function gadget:GameFrame(n) SpawnFromQueue(n) end - if n == 1 then + if n == 300 then --Spring.Echo("New Scavenger Spawner initialized") Spring.SetTeamColor(GaiaTeamID, 0.38, 0.14, 0.38) end @@ -180,10 +180,16 @@ function gadget:GameFrame(n) if n%30 == 0 and scavconfig.messenger == true then pregameMessages(n) end - - if n%30 == 15 and FinalBossUnitID then + + if n%150 == 85 and FinalBossUnitSpawned and FinalBossKilled == false then + local bosshealth = Spring.GetUnitHealth(FinalBossUnitID) + ScavSendMessage("Boss Health: "..math.ceil(bosshealth)) + end + + if n%minionFramerate == 0 and FinalBossUnitSpawned and FinalBossKilled == false then BossMinionsSpawn(n) end + if scavconfig.modules.startBoxProtection == true and ScavengerStartboxExists == true and FinalBossKilled == false then if n%30 == 0 then @@ -229,7 +235,7 @@ function gadget:GameFrame(n) UpdateTierChances(n) if (BossWaveStarted == false) and globalScore > scavconfig.timers.BossFight and unitSpawnerModuleConfig.bossFightEnabled then BossWaveStarted = true - else + elseif not FinalBossUnitSpawned and not BossWaveStarted then if scavengersAIEnabled and scavengersAIEnabled == true then if globalScore == 0 then globalScore = 1 end if scavconfig.timers.BossFight == 0 then scavconfig.timers.BossFight = 1 end @@ -561,10 +567,8 @@ function gadget:UnitCreated(unitID, unitDefID, unitTeam) if string.sub(UnitName, 1, string.len(UnitName)) == BossUnits[i] then Spring.Echo("Got boss commander ID, attempting to spawn minions") FinalBossUnitID = unitID - local _,basehealth = Spring.GetUnitHealth(unitID) - local bosshealthmultiplier = basehealth*((teamcount*0.5)+0.5)*spawnmultiplier - Spring.SetUnitMaxHealth(unitID, bosshealthmultiplier) - Spring.SetUnitHealth(unitID, bosshealthmultiplier) + local bosshealth = unitSpawnerModuleConfig.FinalBossHealth*teamcount*spawnmultiplier + Spring.SetUnitHealth(unitID, bosshealth) end end if UnitName == "scavengerdroppod_scav" then @@ -575,8 +579,8 @@ function gadget:UnitCreated(unitID, unitDefID, unitTeam) numOfSpawnBeacons = numOfSpawnBeacons + 1 if scavconfig.modules.reinforcementsModule == true then Spring.SetUnitNeutral(unitID, true) - Spring.SetUnitMaxHealth(unitID, 100000) - Spring.SetUnitHealth(unitID, 100000) + Spring.SetUnitMaxHealth(unitID, 10000) + Spring.SetUnitHealth(unitID, 10000) end end -- if UnitName == "lootboxgold" then //perhaps add this later when lootboxes are fully implemented @@ -691,3 +695,21 @@ function gadget:UnitFinished(unitID, unitDefID, unitTeam) end end end + +function gadget:UnitDamaged(unitID, unitDefID, unitTeam) + if unitTeam == GaiaTeamID then + local UnitName = UnitDefs[unitDefID].name + for i = 1,#BossUnits do + if string.sub(UnitName, 1, string.len(UnitName)) == BossUnits[i] then + local n = Spring.GetGameFrame() + if not lastMinionFrame then + lastMinionFrame = n + end + if n > lastMinionFrame + math.ceil(unitSpawnerModuleConfig.FinalBossMinionsActive/(teamcount*spawnmultiplier)) and FinalBossUnitID then + lastMinionFrame = n + BossMinionsSpawn(n) + end + end + end + end +end \ No newline at end of file diff --git a/LuaRules/Gadgets/unit_decloak_damaged.lua b/LuaRules/Gadgets/unit_decloak_damaged.lua index 2bdf7b48f..b6beb91f8 100644 --- a/LuaRules/Gadgets/unit_decloak_damaged.lua +++ b/LuaRules/Gadgets/unit_decloak_damaged.lua @@ -59,7 +59,7 @@ for i = 1, #WeaponDefs do end end -local DEFAULT_DECLOAK_TIME = 100 +local DEFAULT_DECLOAK_TIME = 60 local UPDATE_FREQUENCY = 10 local CLOAK_MOVE_THRESHOLD = math.sqrt(0.2) diff --git a/LuaRules/Gadgets/unit_supply_requirement.lua b/LuaRules/Gadgets/unit_supply_requirement.lua index 25cd14424..7d201c50b 100644 --- a/LuaRules/Gadgets/unit_supply_requirement.lua +++ b/LuaRules/Gadgets/unit_supply_requirement.lua @@ -37,7 +37,7 @@ local PRIVATE = {private = true} -------------------------------------------------------------------------------- -- Configuration -local SUPPLY_CAP = tonumber(Spring.GetModOptions().supplycap) or 400 +local SUPPLY_CAP = tonumber(Spring.GetModOptions().supplycap) or 1000000 -- !!!SREMEMBER TO CHANGE THIS SETTING IN gui_resourceBar.lua !!! local INTRINSIC_SUPPLY = tonumber(Spring.GetModOptions().intrinsicsupply) or 10 -------------------------------------------------------------------------------- diff --git a/LuaRules/Gadgets/weapon_ignore_gibs.lua b/LuaRules/Gadgets/weapon_ignore_gibs.lua new file mode 100644 index 000000000..90f5664c5 --- /dev/null +++ b/LuaRules/Gadgets/weapon_ignore_gibs.lua @@ -0,0 +1,23 @@ +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +if not gadgetHandler:IsSyncedCode() then + return +end +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +function gadget:GetInfo() + return { + name = "Ignore Gibs", + desc = "Makes shrapnel not call ProjectileCreated and ProjectileDestroyed", + author = "GoogleFrog", + date = "3 March 2019", + license = "Public domain", + layer = 0, + enabled = true + } +end + +function gadget:Initialize() + Script.SetWatchWeapon(-1, false) + gadgetHandler:RemoveGadget() +end diff --git a/LuaRules/Gadgets/weapon_noexplode_stopper.lua b/LuaRules/Gadgets/weapon_noexplode_stopper.lua new file mode 100644 index 000000000..2815cfc6a --- /dev/null +++ b/LuaRules/Gadgets/weapon_noexplode_stopper.lua @@ -0,0 +1,83 @@ +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +if not gadgetHandler:IsSyncedCode() then + return +end +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +function gadget:GetInfo() + return { + name = "Noexplode Stopper", + desc = "Implements noexplodes that do not penetrate shields.", + author = "GoogleFrog", + date = "4 Feb 2012", + license = "None", + layer = 50, + enabled = true + } +end + +local passedProjectile = {} +local shieldDamages = {} +local noExplode = {} +for i = 1, #WeaponDefs do + shieldDamages[i] = tonumber(WeaponDefs[i].customParams.shield_damage) + if WeaponDefs[i].noExplode then + noExplode[i] = true + end +end + +function gadget:ShieldPreDamaged(proID, proOwnerID, shieldEmitterWeaponNum, shieldCarrierUnitID, bounceProjectile) + + --[[ + -- Code that causes projectile bounce + if Spring.ValidUnitID(shieldCarrierUnitID) then + + local px, py, pz = Spring.GetProjectilePosition(proID) + local vx, vy, vz = Spring.GetProjectileVelocity(proID) + local sx, sy, sz = Spring.GetUnitPosition(shieldCarrierUnitID) + + local rx, ry, rz = px-sx, py-sy, pz-sz + + local f = 2 * (rx*vx + ry*vy + rz*vz) / (rx^2 + ry^2 + rz^2) + + local nx, ny, nz = vx - f*rx, vy - f*ry, vz - f*rz + Spring.SetProjectileVelocity(proID, nx, ny, nz) + + return true + end + + return false + --]] + + local weaponDefID = Spring.GetProjectileDefID(proID) + if passedProjectile[proID] then + return true + --elseif select(2, Spring.GetProjectilePosition(proID)) < 0 then + -- passedProjectile[proID] = true + -- return true + elseif weaponDefID and shieldCarrierUnitID and shieldEmitterWeaponNum and noExplode[weaponDefID] then + local _, charge = Spring.GetUnitShieldState(shieldCarrierUnitID) --FIXME figure out a way to get correct shield + if charge and shieldDamages[weaponDefID] < charge then + Spring.DeleteProjectile(proID) + else + passedProjectile[proID] = true + end + end + + return false + +end + +function gadget:ProjectileDestroyed(proID) + if passedProjectile[proID] then + passedProjectile[proID] = false + end +end + + +function gadget:Initialize() + for id, _ in pairs(noExplode) do + Script.SetWatchProjectile(id, true) + end +end diff --git a/LuaRules/Gadgets/weapon_single_hit.lua b/LuaRules/Gadgets/weapon_single_hit.lua index d073b2929..bcc6152c6 100644 --- a/LuaRules/Gadgets/weapon_single_hit.lua +++ b/LuaRules/Gadgets/weapon_single_hit.lua @@ -8,7 +8,7 @@ end function gadget:GetInfo() return { name = "Single-Hit Weapon", - desc = "Forces marked weapons to only inflict damage once per projectile per unit", + desc = "Forces marked weapons to only inflict damage once per projectile per unit. For use with noexplode weapons.", author = "Anarchid", date = "25.03.2013", license = "Public domain", diff --git a/LuaUI/Configs/evo_buildHotkeysConfig.lua b/LuaUI/Configs/evo_buildHotkeysConfig.lua index dbe1aeb84..64a5c4a2c 100644 --- a/LuaUI/Configs/evo_buildHotkeysConfig.lua +++ b/LuaUI/Configs/evo_buildHotkeysConfig.lua @@ -31,6 +31,8 @@ nameToKeyCode = { ebasefactory = {f, h}, eamphibfac = {f, a}, eairplant = {f, p}, + f1landfac = {f, l}, + f2landfac = {f, l}, etech1 = {b, t}, emetalextractor = {e, m}, @@ -52,6 +54,8 @@ nameToKeyCode = { escoutdrone = {b, d}, ebox = {b, x}, ehbotengineer = {b, e}, + fedengineer = {b, e}, + lozengineer = {b, e}, eorb = {b, o}, ecommander = {v, o}, diff --git a/LuaUI/Configs/lupsunitfxs.lua b/LuaUI/Configs/lupsunitfxs.lua index 2023aa136..4a0845921 100644 --- a/LuaUI/Configs/lupsunitfxs.lua +++ b/LuaUI/Configs/lupsunitfxs.lua @@ -1,7 +1,7 @@ effectUnitDefs = { ------------------ ------------------ - edrone = { + escoutdrone = { {class='AirJet', options={color={1,0.5,0.0,0.75}, width = 2, length=40, piece="fengine1", onActive=true}}, {class='AirJet', options={color={1,0.5,0.0,0.75}, width = 2, length=40, piece="fengine2", onActive=true}}, {class='AirJet', options={color={1,0.5,0.0,0.75}, width = 2, length=40, piece="rengine1", onActive=true}}, diff --git a/LuaUI/Images/lozcommander.png b/LuaUI/Images/lozcommander.png new file mode 100644 index 000000000..2df811a34 Binary files /dev/null and b/LuaUI/Images/lozcommander.png differ diff --git a/LuaUI/Widgets_Evo/Shaders/outlineDilate.frag.glsl b/LuaUI/Widgets_Evo/Shaders/outlineDilate.frag.glsl new file mode 100644 index 000000000..aba6ea03c --- /dev/null +++ b/LuaUI/Widgets_Evo/Shaders/outlineDilate.frag.glsl @@ -0,0 +1,86 @@ +#version 150 compatibility + +uniform sampler2D depthTex; +uniform sampler2D colorTex; + +uniform mat4 projMatrix; + +#define DILATE_SINGLE_PASS ###DILATE_SINGLE_PASS### + +uniform int dilateHalfKernelSize = 1; + +uniform vec2 viewPortSize; +uniform float strength = 1.0; +//layout(pixel_center_integer) in vec4 gl_FragCoord; +//layout(origin_upper_left) in vec4 gl_FragCoord; + + +#if (DILATE_SINGLE_PASS == 1) + void main(void) + { + ivec4 vpsMinMax = ivec4(0, 0, ivec2(viewPortSize)); + + float minDepth = 1.0; + vec4 maxColor = vec4(0.0); + + ivec2 thisCoord = ivec2(gl_FragCoord.xy); + + vec2 bnd = vec2(dilateHalfKernelSize - 1, dilateHalfKernelSize + 2) * strength; + + for (int x = -dilateHalfKernelSize; x <= dilateHalfKernelSize; ++x) { + for (int y = -dilateHalfKernelSize; y <= dilateHalfKernelSize; ++y) { + + ivec2 offset = ivec2(x, y); + /* + ivec2 samplingCoord = thisCoord + offset; + bool okCoords = ( all(bvec4( + greaterThanEqual(samplingCoord, vpsMinMax.xy), + lessThanEqual(samplingCoord, vpsMinMax.zw) )) + ); + + if (okCoords)*/ { + minDepth = min(minDepth, texelFetchOffset( depthTex, thisCoord, 0, offset).r); + vec4 thisColor = texelFetchOffset( colorTex, thisCoord, 0, offset); + thisColor.a *= smoothstep(bnd.y, bnd.x, sqrt(float(x * x + y * y))); + maxColor = max(maxColor, thisColor); + } + } + } + gl_FragDepth = minDepth; + gl_FragColor = maxColor; + } +#else //separable vert/horiz passes + uniform vec2 dir; + void main(void) + { + ivec4 vpsMinMax = ivec4(0, 0, ivec2(viewPortSize)); + + float minDepth = 1.0; + vec4 maxColor = vec4(0.0); + + ivec2 thisCoord = ivec2(gl_FragCoord.xy); + + vec2 bnd = vec2(dilateHalfKernelSize - 1, dilateHalfKernelSize + 2) * strength; + + for (int i = -dilateHalfKernelSize; i <= dilateHalfKernelSize; ++i) { + + ivec2 offset = ivec2(i) * ivec2(dir); + /* + ivec2 samplingCoord = thisCoord + offset; + bool okCoords = ( all(bvec4( + greaterThanEqual(samplingCoord, vpsMinMax.xy), + lessThanEqual(samplingCoord, vpsMinMax.zw) )) + ); + + if (okCoords)*/ { + minDepth = min(minDepth, texelFetchOffset( depthTex, thisCoord, 0, offset).r); + vec4 thisColor = texelFetchOffset( colorTex, thisCoord, 0, offset); + thisColor.a *= smoothstep(bnd.y, bnd.x, abs(i)); + maxColor = max(maxColor, thisColor); + } + } + + gl_FragDepth = minDepth; + gl_FragColor = maxColor; + } +#endif \ No newline at end of file diff --git a/LuaUI/Widgets_Evo/api_chili.lua b/LuaUI/Widgets_Evo/api_chili.lua index 2683f3806..421b07350 100644 --- a/LuaUI/Widgets_Evo/api_chili.lua +++ b/LuaUI/Widgets_Evo/api_chili.lua @@ -73,6 +73,41 @@ end -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- +local pressed = {} + +function widget:MousePress(mx, my, mButton) + if pressed[mButton] then --engine bug?(mouserelease is not called when another mouse button is pressed before releasing) + --this is also fixed in Update() + widget:MouseRelease(mx, my, mButton) +end + +pressed[mButton] = true + +return true +end + +function widget:MouseRelease(mx, my, mButton) + if not pressed[mButton] then return false end + + pressed[mButton] = false + return true +end + +function widget:Update() + local mx, my, lmb, mmb, rmb = Spring.GetMouseState()--engine BUG FIX --should work fine even after engine/wh bug is fixed + if pressed[1] and not lmb then + widget:MouseRelease(mx, my, 1) + end + if pressed[2] and not mmb then + widget:MouseRelease(mx, my, 2) + end + if pressed[3] and not rmb then + widget:MouseRelease(mx, my, 3) + end +end + + + function widget:RecvLuaMsg(msg, playerID) if msg:sub(1,18) == 'LobbyOverlayActive' then chobbyInterface = (msg:sub(1,19) == 'LobbyOverlayActive1') diff --git a/LuaUI/Widgets_Evo/camera_shake.lua b/LuaUI/Widgets_Evo/camera_shake.lua index 44e308e9e..52ce40b08 100644 --- a/LuaUI/Widgets_Evo/camera_shake.lua +++ b/LuaUI/Widgets_Evo/camera_shake.lua @@ -70,6 +70,10 @@ function widget:ShockFront(power, dx, dy, dz) power = 10 end shake = shake + power + if shake > 0.05 then + shake = 0.05 + end + --Spring.Echo ("Shake Power is " .. shake) end diff --git a/LuaUI/Widgets_Evo/cmd_mex_placement.lua b/LuaUI/Widgets_Evo/cmd_mex_placement.lua index 3b69e8fbf..c598c68e8 100644 --- a/LuaUI/Widgets_Evo/cmd_mex_placement.lua +++ b/LuaUI/Widgets_Evo/cmd_mex_placement.lua @@ -121,12 +121,12 @@ local drawIncome = false -- Should we draw the income estimation? local minimapIconSizeMult = 0.0145 --0.0145 -- only used when animating a spreadsheet/atlas texture -local spotTexture = "bitmaps/default/metalshimmer_color4.dds" -local animRate = 500 -- That's actually the reverse of animrate, the lower it is the faster the animation goes -local texturewidth = 160 --160 (actual in-game rect width) +local spotTexture = "bitmaps/default/metalshimmer_color9.dds" +local animRate = 1000 -- That's actually the reverse of animrate, the lower it is the faster the animation goes +local texturewidth = 40 --160 (actual in-game rect width) local textureYoffset = 2 --10 (offset from the ground) -local numberOfImagesX = 8 -local numberOfImagesY = 8 +local numberOfImagesX = 16 +local numberOfImagesY = 16 -------------------- diff --git a/LuaUI/Widgets_Evo/gfx_cas.lua b/LuaUI/Widgets_Evo/gfx_cas.lua new file mode 100644 index 000000000..03e5baf4d --- /dev/null +++ b/LuaUI/Widgets_Evo/gfx_cas.lua @@ -0,0 +1,222 @@ +if gl.CreateShader == nil then + return +end + +function widget:GetInfo() + return { + name = "Contrast Adaptive Sharpen (Old)", + desc = "Spring port of AMD FidelityFX' Contrast Adaptive Sharpen (CAS)", + author = "martymcmodding, ivand", + layer = 2000, + enabled = true, + } +end + +-- Shameless port from https://gist.github.com/martymcmodding/30304c4bffa6e2bd2eb59ff8bb09d135 + +----------------------------------------------------------------- +-- Constants +----------------------------------------------------------------- + +local GL_RGBA8 = 0x8058 + +local SHARPNESS = 0.7 +local version = 1.01 + +----------------------------------------------------------------- +-- Lua Shortcuts +----------------------------------------------------------------- + +local glTexture = gl.Texture +local glTexRect = gl.TexRect +local glCallList = gl.CallList +local glCopyToTexture = gl.CopyToTexture + +----------------------------------------------------------------- +-- File path Constants +----------------------------------------------------------------- + +local luaShaderDir = "LuaUI/Widgets_Evo/Include/" + +----------------------------------------------------------------- +-- Shader Sources +----------------------------------------------------------------- + +local vsCAS = [[ +#version 150 compatibility + +void main() { + gl_Position = gl_Vertex; +} +]] + +local fsCAS = [[ +#version 150 compatibility +#line 20051 + +uniform sampler2D screenCopyTex; +uniform float sharpness; + +#if 0 + #define TEXEL_FETCH_OFFSET(t, c, l, o) texelFetch(t, c + o, l) +#else + #define TEXEL_FETCH_OFFSET texelFetchOffset +#endif + +vec3 CASPass(ivec2 tc) { + // fetch a 3x3 neighborhood around the pixel 'e', + // a b c + // d(e)f + // g h i + vec3 a = TEXEL_FETCH_OFFSET(screenCopyTex, tc, 0, ivec2(-1, -1)).rgb; + vec3 b = TEXEL_FETCH_OFFSET(screenCopyTex, tc, 0, ivec2( 0, -1)).rgb; + vec3 c = TEXEL_FETCH_OFFSET(screenCopyTex, tc, 0, ivec2( 1, -1)).rgb; + vec3 d = TEXEL_FETCH_OFFSET(screenCopyTex, tc, 0, ivec2(-1, 0)).rgb; + vec3 e = TEXEL_FETCH_OFFSET(screenCopyTex, tc, 0, ivec2( 0, 0)).rgb; + vec3 f = TEXEL_FETCH_OFFSET(screenCopyTex, tc, 0, ivec2( 1, 0)).rgb; + vec3 g = TEXEL_FETCH_OFFSET(screenCopyTex, tc, 0, ivec2(-1, 1)).rgb; + vec3 h = TEXEL_FETCH_OFFSET(screenCopyTex, tc, 0, ivec2( 0, 1)).rgb; + vec3 i = TEXEL_FETCH_OFFSET(screenCopyTex, tc, 0, ivec2( 1, 1)).rgb; + + // Soft min and max. + // a b c b + // d e f * 0.5 + d e f * 0.5 + // g h i h + // These are 2.0x bigger (factored out the extra multiply). + vec3 mnRGB = min(min(min(d, e), min(f, b)), h); + vec3 mnRGB2 = min(mnRGB, min(min(a, c), min(g, i))); + mnRGB += mnRGB2; + + vec3 mxRGB = max(max(max(d, e), max(f, b)), h); + vec3 mxRGB2 = max(mxRGB, max(max(a, c), max(g, i))); + mxRGB += mxRGB2; + + // Smooth minimum distance to signal limit divided by smooth max. + vec3 rcpMRGB = vec3(1.0) / mxRGB; + vec3 ampRGB = clamp(min(mnRGB, 2.0 - mxRGB) * rcpMRGB, vec3(0.0), vec3(1.0)); + + // Shaping amount of sharpening. + ampRGB = inversesqrt(ampRGB); + + float peak = 8.0 - 3.0 * sharpness; + vec3 wRGB = vec3(-1.0) / (ampRGB * peak); + + vec3 rcpWeightRGB = vec3(1.0) / (1.0 + 4.0 * wRGB); + + // 0 w 0 + // Filter shape: w 1 w + // 0 w 0 + vec3 window = (b + d) + (f + h); + vec3 outColor = clamp((window * wRGB + e) * rcpWeightRGB, vec3(0.0), vec3(1.0)); + + return outColor; +} + +void main() { + gl_FragColor = vec4(CASPass(ivec2(gl_FragCoord.xy)), 1.0); +} +]] + +----------------------------------------------------------------- +-- Global Variables +----------------------------------------------------------------- + +local LuaShader = VFS.Include(luaShaderDir.."LuaShader.lua") + +local vsx, vsy, vpx, vpy +local screenCopyTex +local casShader + +local fullTexQuad + +----------------------------------------------------------------- +-- Local Functions +----------------------------------------------------------------- + + +----------------------------------------------------------------- +-- Widget Functions +----------------------------------------------------------------- + + +function widget:Initialize() + + if gl.CreateShader == nil then + Spring.Echo("CAS: createshader not supported, removing") + widgetHandler:RemoveWidget(self) + return + end + + vsx, vsy, vpx, vpy = Spring.GetViewGeometry() + + local commonTexOpts = { + target = GL_TEXTURE_2D, + border = false, + min_filter = GL.NEAREST, + mag_filter = GL.NEAREST, + + wrap_s = GL.CLAMP_TO_EDGE, + wrap_t = GL.CLAMP_TO_EDGE, + } + + commonTexOpts.format = GL_RGBA8 + screenCopyTex = gl.CreateTexture(vsx, vsy, commonTexOpts) + + casShader = LuaShader({ + vertex = vsCAS, + fragment = fsCAS, + uniformInt = { + screenCopyTex = 0, + }, + }, ": Contrast Adaptive Sharpen") + casShader:Initialize() + + fullTexQuad = gl.CreateList( function () + gl.DepthTest(false) + gl.Blending(false) + gl.TexRect(-1, -1, 1, 1, false, true) --false, true + gl.Blending(true) + end) + + WG.cas = {} + WG.cas.setSharpness = function(value) + SHARPNESS = value + end + WG.cas.getSharpness = function(value) + return SHARPNESS + end +end + +function widget:Shutdown() + gl.DeleteTexture(screenCopyTex) + casShader:Finalize() + gl.DeleteList(fullTexQuad) +end + +function widget:ViewResize() + widget:Shutdown() + widget:Initialize() +end + +function widget:DrawScreenEffects() + glCopyToTexture(screenCopyTex, 0, 0, vpx, vpy, vsx, vsy) + glTexture(0, screenCopyTex) + casShader:ActivateWith( function() + casShader:SetUniform("sharpness", SHARPNESS) + glCallList(fullTexQuad) + end) + glTexture(0, false) +end + +function widget:GetConfigData(data) + return { + version = version, + SHARPNESS = SHARPNESS + } +end + +function widget:SetConfigData(data) + if data.SHARPNESS ~= nil and data.version ~= nil and data.version == version then + SHARPNESS = data.SHARPNESS + end +end diff --git a/LuaUI/Widgets_Evo/gui_chili_buildordermenu.lua b/LuaUI/Widgets_Evo/gui_chili_buildordermenu.lua index a78178088..859c1d104 100644 --- a/LuaUI/Widgets_Evo/gui_chili_buildordermenu.lua +++ b/LuaUI/Widgets_Evo/gui_chili_buildordermenu.lua @@ -470,7 +470,8 @@ local function addOrderCommand(cmd) textPadding = 9, --8, (MaDDoX) padding = {0, 0, 0, 0}, margin = {2, 2, 2, 2}, - OnMouseUp = {ActionCommand}, + OnClick = {function() end}, + OnMouseDown = {ActionCommand} } if cmd.name == "Repair" then button:SetCaption("Build") else button:SetCaption(cmd.name) end @@ -489,7 +490,8 @@ local function addStateCommand(cmd) textPadding = 12, --8, padding = {0, 0, 0, 0}, margin = {2, 2, 2, 2}, - OnMouseUp = {ActionCommand}, + OnClick = {function() end}, + OnMouseDown = {ActionCommand} } button:SetCaption(cmd.params[cmd.params[1] + 2]) chiliCache['button' .. cmd.id] = button @@ -508,7 +510,8 @@ local function addBuildCommand(cmd) file = '#' .. cmd.id * -1, padding = {0, 0, 0, 0}, margin = {2, 2, 2, 2}, - OnClick = {ActionCommand}, + OnClick = {function() end}, + OnMouseDown = {ActionCommand} } chiliCache['button' .. cmd.id] = image diff --git a/LuaUI/Widgets_Evo/gui_evo_tooltip.lua b/LuaUI/Widgets_Evo/gui_evo_tooltip.lua index b1e7d0679..59fc4f8db 100644 --- a/LuaUI/Widgets_Evo/gui_evo_tooltip.lua +++ b/LuaUI/Widgets_Evo/gui_evo_tooltip.lua @@ -403,23 +403,36 @@ function GetTooltipWeaponData(ud) weapon_action="Paralyze/s" isDisruptor = true end - if (reloadTime > 5) then + if (reloadTime >= 2.5) then actionStr = weapon_action..": \255\255\255\255"..(isDisruptor and "\255\100\255\255" or "")..FormatNbr(damage,0).."\255\255\255\255"..(reloadTime >= ONCE_RELOAD_THRESHOLD and " once" or ("/"..FormatNbr(reloadTime,2).."s")) else actionStr = weapon_action..": \255\255\255\255"..(isDisruptor and "\255\100\255\255" or "")..FormatNbr(dps,1).."\255\255\255\255" end local range = weap.range * rangeMod - local hitpower = "L" - - if ( weap.damages[Game.armorTypes.default] == weap.damages[Game.armorTypes.armor_heavy] ) then - hitpower = "H" - elseif ( weap.damages[Game.armorTypes.default] == weap.damages[Game.armorTypes.armor_medium] ) then - hitpower = "M" - end - - - NewTooltip = NewTooltip.."\n\255\255\255\255"..weap.description.." "..actionStr.."("..hitpower..") Range: "..FormatNbr(range,2) + local damagetype = weap.customParams.damagetype + if damagetype == nil then + damagetype = "default" + end + + if damagetype == "light" or damagetype == "antilight" then damagetype = "Light" end + if damagetype == "turretantilight" then damagetype = "Light Mobile Units" end + if damagetype == "turretantiarmored" then damagetype = "Armored Mobile Units" end + if damagetype == "turretantilightarmored" then damagetype = "Light/Armored Mobile Units" end + if damagetype == "antiarmored" then damagetype = "Armored" end + if damagetype == "antilightarmored" then damagetype = "Light/Armored" end + if damagetype == "antilightbuilding" then damagetype = "Light/Buildings" end + if damagetype == "antibuilding" then damagetype = "Buildings" end + if damagetype == "antiair" then damagetype = "Aircraft" end + if damagetype == "antiarmoredbuilding" then damagetype = "Armored and Buildings" end + if damagetype == "antibuildingair" then damagetype = "Buildings and Aircraft" end + if damagetype == "antiarmoredair" then damagetype = "Armored and Aircraft" end + if damagetype == "Default" then damagetype = "None" end + + local AOE = weap.damageAreaOfEffect + + + NewTooltip = NewTooltip.."\n\255\255\255\255"..weap.description.." "..actionStr.." (+50% vs "..damagetype..") AoE: "..AOE.."(r) Range: "..FormatNbr(range,2) if energyPerSecond > 0 then NewTooltip = NewTooltip.." \255\255\255\0E/s: "..FormatNbr(energyPerSecond,1) @@ -578,7 +591,10 @@ local function GetTooltipUnit(id) --[[local armorTypeStr= "L" if ( Game.armorTypes[ud.armorType] == "armor_heavy" ) then armorTypeStr = "H" elseif ( Game.armorTypes[ud.armorType] == "armor_medium" ) then armorTypeStr = "M" end]] - local armorTypeStr = GetTooltipArmor(ud) + local armorTypeStr = ud.customParams.armortype + if armorTypeStr == nil then + armorTypeStr = "None" + end local hasShield, ShieldPower=Spring.GetUnitShieldState(id) local maxShieldPower = ud.shieldPower diff --git a/LuaUI/Widgets_Evo/gui_faction_change.lua b/LuaUI/Widgets_Evo/gui_faction_change.lua index fb61140ec..0d43c9f2a 100644 --- a/LuaUI/Widgets_Evo/gui_faction_change.lua +++ b/LuaUI/Widgets_Evo/gui_faction_change.lua @@ -56,9 +56,8 @@ local spGetGroundHeight = Spring.GetGroundHeight local spSendLuaRulesMsg = Spring.SendLuaRulesMsg local spGetSpectatingState = Spring.GetSpectatingState -local aterancomDefID = UnitDefNames.ecommander.id -local zaalcomDefID = UnitDefNames.zarm.id -local patterncomDefID = UnitDefNames.xcommander.id +local fedcomDefID = UnitDefNames.fedcommander.id +local lozcomDefID = UnitDefNames.lozcommander.id local commanderDefID = spGetTeamRulesParam(myTeamID, 'startUnit') local amNewbie = (spGetTeamRulesParam(myTeamID, 'isNewbie') == 1) @@ -193,14 +192,11 @@ function widget:DrawWorld() local teamID = teamList[i] local tsx, tsy, tsz = spGetTeamStartPosition(teamID) if tsx and tsx > 0 then - if spGetTeamRulesParam(teamID, 'startUnit') == aterancomDefID then + if spGetTeamRulesParam(teamID, 'startUnit') == fedcomDefID then glTexture('LuaUI/Images/ecommander.png') glBeginEnd(GL_QUADS, QuadVerts, tsx, spGetGroundHeight(tsx, tsz), tsz, 80) - elseif spGetTeamRulesParam(teamID, 'startUnit') == zaalcomDefID then - glTexture('LuaUI/Images/zarm.png') - glBeginEnd(GL_QUADS, QuadVerts, tsx, spGetGroundHeight(tsx, tsz), tsz, 64) - elseif spGetTeamRulesParam(teamID, 'startUnit') == patterncomDefID then - glTexture('LuaUI/Images/xcommander.png') + elseif spGetTeamRulesParam(teamID, 'startUnit') == lozcomDefID then + glTexture('LuaUI/Images/lozcommander.png') glBeginEnd(GL_QUADS, QuadVerts, tsx, spGetGroundHeight(tsx, tsz), tsz, 64) end end @@ -259,9 +255,9 @@ function GenerateFactionChangeList() -- Highlight glColor(0.8, 0.8, 0.8, 0.3) - if commanderDefID == aterancomDefID then + if commanderDefID == fedcomDefID then RectRound(3*widgetScale, 3*widgetScale, 61*widgetScale, 61*widgetScale,4.5*widgetScale) - elseif commanderDefID == zaalcomDefID then + elseif commanderDefID == lozcomDefID then RectRound(65*widgetScale, 3*widgetScale, 125*widgetScale, 61*widgetScale,4.5*widgetScale) elseif commanderDefID == patterncomDefID then RectRound(128*widgetScale, 3*widgetScale, 189*widgetScale, 61*widgetScale,4.5*widgetScale) @@ -270,18 +266,15 @@ function GenerateFactionChangeList() glColor(1, 1, 1, 1) glTexture('LuaUI/Images/ecommander.png') glTexRect(12*widgetScale, 17*widgetScale, 52*widgetScale, 59*widgetScale) - glTexture('LuaUI/Images/zarm.png') + glTexture('LuaUI/Images/lozcommander.png') glTexRect(76*widgetScale, 20*widgetScale, 116*widgetScale, 60*widgetScale) - glTexture('LuaUI/Images/xcommander.png') - glTexRect(140*widgetScale, 20*widgetScale, 180*widgetScale, 60*widgetScale) glTexture(false) -- Text font:Begin() font:Print('Choose Your Faction', 96*widgetScale, 64*widgetScale, 11.5*widgetScale, 'ocd') - font:Print('Ateran', 32*widgetScale, 4*widgetScale, 12*widgetScale, 'ocd') - font:Print('Zaal', 96*widgetScale, 4*widgetScale, 12*widgetScale, 'ocd') - font:Print('Pattern(WIP)', 160*widgetScale, 4*widgetScale, 12*widgetScale, 'ocd') + font:Print('Federation of Kala', 32*widgetScale, 4*widgetScale, 12*widgetScale, 'ocd') + font:Print('Loz Alliance', 96*widgetScale, 4*widgetScale, 12*widgetScale, 'ocd') font:End() end @@ -304,9 +297,9 @@ function widget:MousePress(mx, my, mButton) local newCom -- Which button? if mx < px + (64*widgetScale) then - newCom = aterancomDefID + newCom = fedcomDefID elseif mx < px + (128*widgetScale) then - newCom = zaalcomDefID + newCom = lozcomDefID elseif mx < px + (192*widgetScale) then newCom = patterncomDefID end diff --git a/LuaUI/Widgets_Evo/gui_musicPlayer_Traditional.lua b/LuaUI/Widgets_Evo/gui_musicPlayer_Traditional.lua new file mode 100644 index 000000000..a779c4782 --- /dev/null +++ b/LuaUI/Widgets_Evo/gui_musicPlayer_Traditional.lua @@ -0,0 +1,687 @@ +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- +-- +-- file: gui_musicPlayer_traditional.lua +-- brief: yay music +-- author: cake +-- +-- Copyright (C) 2007. +-- Licensed under the terms of the GNU GPL, v2 or later. +-- +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- + +function widget:GetInfo() + return { + name = "Music Player (Traditional)", + desc = "Plays music and offers volume controls", + author = "Forboding Angel, Floris, Damgam", + date = "november 2016", + license = "GNU GPL, v2 or later", + layer = -4, + enabled = false -- loaded by default? + } +end + +local pauseWhenPaused = false + +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- + +-- Unfucked volumes finally. Instead of setting the volume in Spring.PlaySoundStream. you need to call Spring.PlaySoundStream and then immediately call Spring.SetSoundStreamVolume +-- This widget desperately needs to be reorganized + +local buttons = {} + +local previousTrack = '' +local curTrack = "no name" + +local peaceTracks = VFS.DirList('luaui/Widgets_Evo/music/peace', '*.ogg') +local warTracks = VFS.DirList('luaui/Widgets_Evo/music/war', '*.ogg') + +--We check to make sure that we can function properly without crashing due to missing music tracks +local next = next +if next(peaceTracks) == nil then + Spring.Echo("[Music Player] No Peace tracks were found (you must have at least 2)! Add some and try again!") + return false +end + +if next(warTracks) == nil then + Spring.Echo("[Music Player] No War tracks were found (you must have at least 2)! Add some and try again!") + return false +end + +local tracks = peaceTracks + +local charactersInPath = 24 + +local firstTime = false +local wasPaused = false +local firstFade = true +local gameOver = false +local playing = true + +local vsx, vsy = widgetHandler:GetViewSizes() + +local playTex = ":n:"..LUAUI_DIRNAME.."Images/music/play.png" +local pauseTex = ":n:"..LUAUI_DIRNAME.."Images/music/pause.png" +local nextTex = ":n:"..LUAUI_DIRNAME.."Images/music/next.png" +local musicTex = ":n:"..LUAUI_DIRNAME.."Images/music/music.png" +local volumeTex = ":n:"..LUAUI_DIRNAME.."Images/music/volume.png" +local buttonTex = ":n:"..LUAUI_DIRNAME.."Images/button.dds" +local buttonHighlightTex = ":n:"..LUAUI_DIRNAME.."Images/button-highlight.dds" +local bgcorner = ":n:"..LUAUI_DIRNAME.."Images/bgcorner.png" + +local widgetScale = 1 +local glText = gl.Text +local glGetTextWidth = gl.GetTextWidth +local glBlending = gl.Blending +local glScale = gl.Scale +local glRotate = gl.Rotate +local glTranslate = gl.Translate +local glPushMatrix = gl.PushMatrix +local glPopMatrix = gl.PopMatrix +local glColor = gl.Color +local glRect = gl.Rect +local glTexRect = gl.TexRect +local glTexture = gl.Texture +local glCreateList = gl.CreateList +local glDeleteList = gl.DeleteList +local glCallList = gl.CallList + +local drawlist = {} +local advplayerlistPos = {} +local widgetHeight = 23 +local top, left, bottom, right = 0,0,0,0 + +local shown = false +local mouseover = false +local volume + +local dynamicMusic = Spring.GetConfigInt("evo_dynamicmusic", 1) +local interruptMusic = Spring.GetConfigInt("evo_interruptmusic", 1) +local warMeter = 0 +local fadelvl = Spring.GetConfigInt("snd_volmusic", 20) * 0.01 +local fadeOut = false + +--Assume that if it isn't set, dynamic music is true +if dynamicMusic == nil then + dynamicMusic = 1 +end + +--Assume that if it isn't set, interrupt music is true +if interruptMusic == nil then + interruptMusic = 1 +end +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- + +function widget:Initialize() + + volume = Spring.GetConfigInt("snd_volmaster", 100) + music_volume_percentage = Spring.GetConfigInt("snd_volmusic", 20) * 0.01 + + musicInitialValue = Spring.GetConfigInt("evo_musicInitialValue", 0) + if musicInitialValue ~= 1 then + Spring.SetConfigInt("snd_volmusic", 20) + Spring.SetConfigInt("evo_musicInitialValue", 1) + end + + music_volume = Spring.GetConfigInt("snd_volmusic", 20) + + if #tracks == 0 then + Spring.Echo("[Music Player] No music was found, Shutting Down") + widgetHandler:RemoveWidget() + end + + updatePosition() + + WG['music'] = {} + WG['music'].GetPosition = function() + return {top,left,bottom,right,widgetScale} + end +end + + +local function DrawRectRound(px,py,sx,sy,cs) + gl.TexCoord(0.8,0.8) + gl.Vertex(px+cs, py, 0) + gl.Vertex(sx-cs, py, 0) + gl.Vertex(sx-cs, sy, 0) + gl.Vertex(px+cs, sy, 0) + + gl.Vertex(px, py+cs, 0) + gl.Vertex(px+cs, py+cs, 0) + gl.Vertex(px+cs, sy-cs, 0) + gl.Vertex(px, sy-cs, 0) + + gl.Vertex(sx, py+cs, 0) + gl.Vertex(sx-cs, py+cs, 0) + gl.Vertex(sx-cs, sy-cs, 0) + gl.Vertex(sx, sy-cs, 0) + + local offset = 0.05 -- texture offset, because else gaps could show + local o = offset + + -- top left + if py <= 0 or px <= 0 then o = 0.5 else o = offset end + gl.TexCoord(o,o) + gl.Vertex(px, py, 0) + gl.TexCoord(o,1-o) + gl.Vertex(px+cs, py, 0) + gl.TexCoord(1-o,1-o) + gl.Vertex(px+cs, py+cs, 0) + gl.TexCoord(1-o,o) + gl.Vertex(px, py+cs, 0) + -- top right + if py <= 0 or sx >= vsx then o = 0.5 else o = offset end + gl.TexCoord(o,o) + gl.Vertex(sx, py, 0) + gl.TexCoord(o,1-o) + gl.Vertex(sx-cs, py, 0) + gl.TexCoord(1-o,1-o) + gl.Vertex(sx-cs, py+cs, 0) + gl.TexCoord(1-o,o) + gl.Vertex(sx, py+cs, 0) + -- bottom left + if sy >= vsy or px <= 0 then o = 0.5 else o = offset end + gl.TexCoord(o,o) + gl.Vertex(px, sy, 0) + gl.TexCoord(o,1-o) + gl.Vertex(px+cs, sy, 0) + gl.TexCoord(1-o,1-o) + gl.Vertex(px+cs, sy-cs, 0) + gl.TexCoord(1-o,o) + gl.Vertex(px, sy-cs, 0) + -- bottom right + if sy >= vsy or sx >= vsx then o = 0.5 else o = offset end + gl.TexCoord(o,o) + gl.Vertex(sx, sy, 0) + gl.TexCoord(o,1-o) + gl.Vertex(sx-cs, sy, 0) + gl.TexCoord(1-o,1-o) + gl.Vertex(sx-cs, sy-cs, 0) + gl.TexCoord(1-o,o) + gl.Vertex(sx, sy-cs, 0) +end + +function RectRound(px,py,sx,sy,cs) + local px,py,sx,sy,cs = math.floor(px),math.floor(py),math.ceil(sx),math.ceil(sy),math.floor(cs) + + gl.Texture(bgcorner) + gl.BeginEnd(GL.QUADS, DrawRectRound, px,py,sx,sy,cs) + gl.Texture(false) +end + +local function createList() + + local padding = 3*widgetScale -- button background margin + local padding2 = 2.5*widgetScale -- inner icon padding + local volumeWidth = 50*widgetScale + + buttons['playpause'] = {left+padding, bottom+padding, left+(widgetHeight*widgetScale)-padding, top-padding} + + buttons['next'] = {buttons['playpause'][3]+padding, bottom+padding, buttons['playpause'][3]+((widgetHeight*widgetScale)-padding), top-padding} + + buttons['musicvolumeicon'] = {buttons['next'][3]+padding+padding, bottom+padding, buttons['next'][3]+((widgetHeight*widgetScale)), top-padding} + buttons['musicvolume'] = {buttons['musicvolumeicon'][3]+padding, bottom+padding, buttons['musicvolumeicon'][3]+padding+volumeWidth, top-padding} + buttons['musicvolume'][5] = buttons['musicvolume'][1] + (buttons['musicvolume'][3] - buttons['musicvolume'][1]) * (music_volume/100) + + buttons['volumeicon'] = {buttons['musicvolume'][3]+padding+padding+padding, bottom+padding, buttons['musicvolume'][3]+((widgetHeight*widgetScale)), top-padding} + buttons['volume'] = {buttons['volumeicon'][3]+padding, bottom+padding, buttons['volumeicon'][3]+padding+volumeWidth, top-padding} + buttons['volume'][5] = buttons['volume'][1] + (buttons['volume'][3] - buttons['volume'][1]) * (volume/100) + + local textsize = 11*widgetScale + local textYPadding = 8*widgetScale + local textXPadding = 7*widgetScale + local maxTextWidth = right-buttons['next'][3]-textXPadding-textXPadding + + if drawlist[1] ~= nil then + glDeleteList(drawlist[1]) + glDeleteList(drawlist[2]) + glDeleteList(drawlist[3]) + end + if (WG['guishader_api'] ~= nil) then + WG['guishader_api'].InsertRect(left, bottom, right, top,'music') + end + drawlist[1] = glCreateList( function() + glColor(0, 0, 0, 0.66) + RectRound(left, bottom, right, top, 5.5*widgetScale) + + local borderPadding = 2.75*widgetScale + glColor(1,1,1,0.022) + RectRound(left+borderPadding, bottom+borderPadding, right-borderPadding, top-borderPadding, 4.4*widgetScale) + + end) + drawlist[2] = glCreateList( function() + + local button = 'playpause' + glColor(1,1,1,0.7) + glTexture(buttonTex) + glTexRect(buttons[button][1], buttons[button][2], buttons[button][3], buttons[button][4]) + glColor(1,1,1,0.4) + if playing then + glTexture(pauseTex) + else + glTexture(playTex) + end + glTexRect(buttons[button][1]+padding2, buttons[button][2]+padding2, buttons[button][3]-padding2, buttons[button][4]-padding2) + + button = 'next' + glColor(1,1,1,0.7) + glTexture(buttonTex) + glTexRect(buttons[button][1], buttons[button][2], buttons[button][3], buttons[button][4]) + glColor(1,1,1,0.4) + glTexture(nextTex) + glTexRect(buttons[button][1]+padding2, buttons[button][2]+padding2, buttons[button][3]-padding2, buttons[button][4]-padding2) + + end) + drawlist[3] = glCreateList( function() + + -- track name + glColor(0.45,0.45,0.45,1) + local trackname = string.gsub(curTrack, ".ogg", "") + local text = '' + for i=charactersInPath, #trackname do + local c = string.sub(trackname, i,i) + local width = glGetTextWidth(text..c)*textsize + if width > maxTextWidth then + break + else + text = text..c + end + end + glText('\255\135\135\135'..text, buttons['next'][3]+textXPadding, bottom+textYPadding, textsize, 'no') + + end) + drawlist[4] = glCreateList( function() + + ---glColor(0,0,0,0.5) + --RectRound(left, bottom, right, top, 5.5*widgetScale) + + local sliderWidth = 3.3*widgetScale + local sliderHeight = 3.3*widgetScale + local lineHeight = 0.8*widgetScale + local lineOutlineSize = 0.85*widgetScale + + button = 'musicvolumeicon' + local sliderY = buttons[button][2] + (buttons[button][4] - buttons[button][2])/2 + glColor(0.66,0.66,0.66,1) + glTexture(musicTex) + glTexRect(buttons[button][1]+padding2, buttons[button][2]+padding2, buttons[button][3]-padding2, buttons[button][4]-padding2) + + button = 'musicvolume' + glColor(0,0,0,0.12) + RectRound(buttons[button][1]-lineOutlineSize, sliderY-lineHeight-lineOutlineSize, buttons[button][3]+lineOutlineSize, sliderY+lineHeight+lineOutlineSize, (lineHeight/2.2)*widgetScale) + glColor(0.45,0.45,0.45,1) + RectRound(buttons[button][1], sliderY-lineHeight, buttons[button][3], sliderY+lineHeight, (lineHeight/2.2)*widgetScale) + glColor(0,0,0,0.12) + RectRound(buttons[button][5]-sliderWidth-lineOutlineSize, sliderY-sliderHeight-lineOutlineSize, buttons[button][5]+sliderWidth+lineOutlineSize, sliderY+sliderHeight+lineOutlineSize, (sliderWidth/4)*widgetScale) + glColor(0.66,0.66,0.66,1) + RectRound(buttons[button][5]-sliderWidth, sliderY-sliderHeight, buttons[button][5]+sliderWidth, sliderY+sliderHeight, (sliderWidth/4)*widgetScale) + + + button = 'volumeicon' + glColor(0.66,0.66,0.66,1) + glTexture(volumeTex) + glTexRect(buttons[button][1]+padding2, buttons[button][2]+padding2, buttons[button][3]-padding2, buttons[button][4]-padding2) + + button = 'volume' + glColor(0,0,0,0.12) + RectRound(buttons[button][1]-lineOutlineSize, sliderY-lineHeight-lineOutlineSize, buttons[button][3]+lineOutlineSize, sliderY+lineHeight+lineOutlineSize, (lineHeight/2.2)*widgetScale) + glColor(0.45,0.45,0.45,1) + RectRound(buttons[button][1], sliderY-lineHeight, buttons[button][3], sliderY+lineHeight, (lineHeight/2.2)*widgetScale) + glColor(0,0,0,0.12) + RectRound(buttons[button][5]-sliderWidth-lineOutlineSize, sliderY-sliderHeight-lineOutlineSize, buttons[button][5]+sliderWidth+lineOutlineSize, sliderY+sliderHeight+lineOutlineSize, (sliderWidth/4)*widgetScale) + glColor(0.66,0.66,0.66,1) + RectRound(buttons[button][5]-sliderWidth, sliderY-sliderHeight, buttons[button][5]+sliderWidth, sliderY+sliderHeight, (sliderWidth/4)*widgetScale) + + end) +end + +function getSliderValue(draggingSlider, x) + local sliderWidth = buttons[draggingSlider][3] - buttons[draggingSlider][1] + local value = (x - buttons[draggingSlider][1]) / (sliderWidth) + if value < 0 then value = 0 end + if value > 1 then value = 1 end + return value +end + +function isInBox(mx, my, box) + return mx > box[1] and my > box[2] and mx < box[3] and my < box[4] +end + + +function widget:MouseMove(x, y) + if draggingSlider ~= nil then + if draggingSlider == 'musicvolume' then + changeMusicVolume(getSliderValue('musicvolume', x) * 100) + end + if draggingSlider == 'volume' then + changeVolume(getSliderValue('volume', x) * 100) + end + end +end + +function widget:MousePress(x, y, button) + return mouseEvent(x, y, button, false) +end + +function widget:MouseRelease(x, y, button) + return mouseEvent(x, y, button, true) +end + +function changeMusicVolume(value) + music_volume = value + Spring.SetConfigInt("snd_volmusic", music_volume) + createList() +end + +function changeVolume(value) + volume = value + Spring.SetConfigInt("snd_volmaster", volume) + createList() +end + +function mouseEvent(x, y, button, release) + if Spring.IsGUIHidden() then return false end + + if not release then + local sliderWidth = (3.3*widgetScale) -- should be same as in createlist() + local button = 'musicvolume' + if isInBox(x, y, {buttons[button][1]-sliderWidth, buttons[button][2], buttons[button][3]+sliderWidth, buttons[button][4]}) then + draggingSlider = button + changeMusicVolume(getSliderValue(button, x) * 100) + end + button = 'volume' + if isInBox(x, y, {buttons[button][1]-sliderWidth, buttons[button][2], buttons[button][3]+sliderWidth, buttons[button][4]}) then + draggingSlider = button + changeVolume(getSliderValue(button, x) * 100) + end + end + if release and draggingSlider ~= nil then + draggingSlider = nil + end + if button == 1 and not release and isInBox(x, y, {left, bottom, right, top}) then + if button == 1 and buttons['playpause'] ~= nil and isInBox(x, y, {buttons['playpause'][1], buttons['playpause'][2], buttons['playpause'][3], buttons['playpause'][4]}) then + playing = not playing + Spring.PauseSoundStream() + createList() + return true + end + if button == 1 and buttons['next'] ~= nil and isInBox(x, y, {buttons['next'][1], buttons['next'][2], buttons['next'][3], buttons['next'][4]}) then + if fadeIn ~= true and fadeOut ~= true then + fadeOut = true + fadelvl = music_volume_percentage + --PlayNewTrack() + end + return true + end + return true + end + +end +function widget:IsAbove(mx, my) + if isInBox(mx, my, {left, bottom, right, top}) then + local curVolume = Spring.GetConfigInt("snd_volmaster", 100) + if volume ~= curVolume then + volume = curVolume + createList() + end + mouseover = true + end + return mouseover +end + +function widget:GetTooltip(mx, my) + if widget:IsAbove(mx,my) then + return string.format("Music info and controls") + end +end + +function widget:Shutdown() + Spring.StopSoundStream() + + if (WG['guishader_api'] ~= nil) then + WG['guishader_api'].RemoveRect('music') + end + + for i=1,#drawlist do + glDeleteList(drawlist[i]) + end + WG['music'] = nil +end + +function widget:UnitDamaged(_, _, _, damage) + warMeter = warMeter + damage +end + +function widget:GameFrame(n) + if n%30 == 4 then + --This is a little messy, but we need to be able to update these values on the fly so I see no better way + music_volume_percentage = Spring.GetConfigInt("snd_volmusic", 20) * 0.01 + + dynamicMusic = Spring.GetConfigInt("evo_dynamicmusic", 1) + interruptMusic = Spring.GetConfigInt("evo_interruptmusic", 1) + + --Assume that if it isn't set, dynamic music is true + if dynamicMusic == nil then + dynamicMusic = 1 + end + + --Assume that if it isn't set, interrupt music is true + if interruptMusic == nil then + interruptMusic = 1 + end + end + if n%5 == 4 then + if dynamicMusic == 1 then + --Spring.Echo("[Music Player] Unit Death Count is currently: ".. warMeter) + if warMeter <= 1 then + warMeter = 0 + elseif warMeter >= 3000 then + warMeter = warMeter - 500 + elseif warMeter >= 1000 then + warMeter = warMeter - 100 + elseif warMeter >= 0 then + warMeter = warMeter - 3 + end + if interruptMusic == 1 then + if tracks == peaceTracks and warMeter >= 200 then + fadeOut = true + elseif tracks == warTracks and warMeter <= 0 then + fadeOut = true + end + end + end + + --80's fadeout when a track is almost finished + local playedTime, totalTime = Spring.GetSoundStreamTime() + playedTime = math.floor(playedTime) + totalTime = math.floor(totalTime) + + if totalTime ~= nil then + --Spring.Echo("Total time is :" .. totalTime) + if playedTime > totalTime - music_volume * 0.05 then + --Spring.Echo("Fading out now!") + fadeOut = true + end + end + + --This has become the preferred handler of playing new tracks instead of calling the PlayNewTrack() function, set fadeOut = true + if fadeOut == true and fadelvl >= 0.01 then + fadelvl = fadelvl - 0.05 + --Spring.Echo(fadelvl) + Spring.SetSoundStreamVolume(fadelvl) + else + fadeOut = false + end + if fadeOut == false and fadelvl <= 0.005 then + fadelvl = music_volume_percentage * 0.01 + PlayNewTrack() + --Spring.Echo("Playing a new song now") + end + + if fadeIn == true and fadelvl <= music_volume_percentage then + fadelvl = fadelvl + 0.05 + --Spring.Echo(fadelvl) + Spring.SetSoundStreamVolume(fadelvl) + else + fadeIn = false + end + end +end + +function PlayNewTrack() + Spring.StopSoundStream() + if Spring.GetGameFrame() >= 1 then + fadelvl = 0 + fadeIn = true + end + --Spring.Echo(dynamicMusic) + + if dynamicMusic == 0 then + --Spring.Echo("Choosing a random track") + r = math.random(0,1) + if r == 0 then + tracks = peaceTracks + else + tracks = warTracks + end + end + + if dynamicMusic == 1 then + --Spring.Echo("Unit Death Count is (Gameframe): " .. warMeter) + if warMeter <= 3 then + tracks = peaceTracks + --Spring.Echo("Current tracklist is : Peace Tracks") + else + tracks = warTracks + --Spring.Echo("Current tracklist is : War Tracks") + end + end + local newTrack = previousTrack + repeat + newTrack = tracks[math.random(1, #tracks)] + until newTrack ~= previousTrack + firstFade = false + previousTrack = newTrack + curTrack = newTrack + local musicVolScaled = music_volume * 0.01 + Spring.PlaySoundStream(newTrack) + Spring.SetSoundStreamVolume(musicVolScaled or 0.33) + if playing == false then + Spring.PauseSoundStream() + end + createList() +end + +function widget:Update(dt) + if gameOver then + return + end + + if (not firstTime) then + fadelvl = 0 + fadeOut = true + firstTime = true -- pop this cherry + end + + local playedTime, totalTime = Spring.GetSoundStreamTime() + playedTime = math.floor(playedTime) + totalTime = math.floor(totalTime) + + if playedTime >= totalTime then -- both zero means track stopped in 8 + fadelvl = 0 + fadeOut = true + end + + if (pauseWhenPaused and Spring.GetGameSeconds()>=0) then + local _, _, paused = Spring.GetGameSpeed() + if (paused ~= wasPaused) then + Spring.PauseSoundStream() + wasPaused = paused + end + end +end + +function updatePosition(force) + if (WG['advplayerlist_api'] ~= nil) then + local prevPos = advplayerlistPos + advplayerlistPos = WG['advplayerlist_api'].GetPosition() -- returns {top,left,bottom,right,widgetScale} + + left = advplayerlistPos[2] + bottom = advplayerlistPos[1] + right = advplayerlistPos[4] + top = advplayerlistPos[1]+(widgetHeight*advplayerlistPos[5]) + widgetScale = advplayerlistPos[5] + + if (prevPos[1] == nil or prevPos[1] ~= advplayerlistPos[1] or prevPos[2] ~= advplayerlistPos[2] or prevPos[5] ~= advplayerlistPos[5]) or force then + createList() + end + end +end + +function widget:ViewResize(newX,newY) + vsx, vsy = newX, newY +end + +function widget:DrawScreen() + updatePosition() + if drawlist[1] ~= nil then + glPushMatrix() + glCallList(drawlist[1]) + glCallList(drawlist[2]) + local mx, my, mlb = Spring.GetMouseState() + if not mouseover and not draggingSlider or isInBox(mx, my, {buttons['playpause'][1], buttons['next'][2], buttons['next'][3], buttons['next'][4]}) then + glCallList(drawlist[3]) + else + glCallList(drawlist[4]) + end + if mouseover then + local color = {1,1,1,0.25} + local colorHighlight = {1,1,1,0.33} + local button = 'playpause' + if buttons[button] ~= nil and isInBox(mx, my, {buttons[button][1], buttons[button][2], buttons[button][3], buttons[button][4]}) then + if mlb then + glColor(colorHighlight) + else + glColor(color) + end + glTexture(buttonHighlightTex) + glTexRect(buttons[button][1], buttons[button][2], buttons[button][3], buttons[button][4]) + end + button = 'next' + if buttons[button] ~= nil and isInBox(mx, my, {buttons[button][1], buttons[button][2], buttons[button][3], buttons[button][4]}) then + if mlb then + glColor(colorHighlight) + else + glColor(color) + end + glTexture(buttonHighlightTex) + glTexRect(buttons[button][1], buttons[button][2], buttons[button][3], buttons[button][4]) + end + end + glPopMatrix() + mouseover = false + end +end + +function widget:GetConfigData(data) + --local playedTime, totalTime = Spring.GetSoundStreamTime() + local savedTable = {} + --savedTable.curTrack = curTrack + --savedTable.playedTime = playedTime + savedTable.playing = playing + return savedTable +end + +-- would be great if there is be a way to continue track where we left off after a /luaui reload +function widget:SetConfigData(data) + if data.playing ~= nil then + playing = data.playing + end +end + +-------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/LuaUI/Widgets_Evo/gui_options.lua b/LuaUI/Widgets_Evo/gui_options.lua index 7b157f9be..e5a0ee57c 100644 --- a/LuaUI/Widgets_Evo/gui_options.lua +++ b/LuaUI/Widgets_Evo/gui_options.lua @@ -151,7 +151,7 @@ local presets = { enemyspotter_highlight = false, }, low = { - msaa = 0, + msaa = 2, bloom = false, bloomhighlights = false, ssao = false, @@ -178,7 +178,7 @@ local presets = { enemyspotter_highlight = false, }, medium = { - msaa = 2, + msaa = 4, bloom = true, bloomhighlights = false, ssao = false, @@ -196,7 +196,7 @@ local presets = { timecyclesweathereffects = false, outline = false, guishader = false, - shadows = false, + shadows = true, advmapshading = true, advmodelshading = true, decals = 1, @@ -205,7 +205,7 @@ local presets = { enemyspotter_highlight = false, }, high = { - msaa = 4, + msaa = 8, bloom = true, bloomhighlights = false, ssao = true, @@ -232,7 +232,7 @@ local presets = { enemyspotter_highlight = false, }, ultra = { - msaa = 8, + msaa = 16, bloom = true, bloomhighlights = true, ssao = true, @@ -2218,7 +2218,7 @@ function init() {id="borderless", group="gfx", name="Borderless window", type="bool", value=tonumber(Spring.GetConfigInt("WindowBorderless",1) or 1) == 1, description="Changes will be applied next game.\n\n(dont forget to turn off the \'fullscreen\' option next game)"}, {id="windowpos", group="gfx", widget="Move Window Position", name="Move window position", type="bool", value=GetWidgetToggleValue("Move Window Position"), description='Toggle and move window position with the arrow keys or by dragging'}, {id="vsync", group="gfx", name="V-sync", type="bool", value=tonumber(Spring.GetConfigInt("VSync",1) or 1) == 1, description=''}, - {id="msaa", group="gfx", name="Anti Aliasing", type="slider", steps={0,1,2,4}, restart=true, value=tonumber(Spring.GetConfigInt("MSAALevel",1) or 2), description='Enables multisample anti-aliasing. NOTE: Can be expensive!\n\nChanges will be applied next game'}, + {id="msaa", group="gfx", name="Anti Aliasing", type="slider", steps={0,1,2,4,8,16}, restart=true, value=tonumber(Spring.GetConfigInt("MSAALevel",1) or 8), description='Enables multisample anti-aliasing. NOTE: Can be expensive!\n\nChanges will be applied next game'}, {id="advmapshading", group="gfx", name="Advanced map shading", type="bool", value=tonumber(Spring.GetConfigInt("AdvMapShading",1) or 1) == 1, description='When disabled: map shadows aren\'t rendered as well'}, {id="advmodelshading", group="gfx", name="Advanced model shading", type="bool", value=tonumber(Spring.GetConfigInt("AdvModelShading",1) or 1) == 1}, {id="advsky", group="gfx", name="Advanced sky", type="bool", restart=true, value=tonumber(Spring.GetConfigInt("AdvSky",1) or 1) == 1, description='Enables high resolution clouds\n\nChanges will be applied next game'}, @@ -2290,7 +2290,7 @@ function init() {id="xrayshader", group="gfx", widget="XrayShader", name="Unit xray shader", type="bool", value=GetWidgetToggleValue("XrayShader"), description='Highlights all units, highlight effect dissolves on close camera range.\n\nFades out and disables at low fps\nWorks less on dark teamcolors'}, {id="particles", group="gfx", name="Max particles", type="slider", min=5000, max=25000, step=500, value=tonumber(Spring.GetConfigInt("MaxParticles",1) or 10000), description='Particles used for explosions, smoke, fire and missiletrails\n\nSetting a low value will mean that various effects wont show properly'}, - {id="nanoparticles", group="gfx", name="Max nano particles", type="slider", min=500, max=5000, step=100, value=tonumber(Spring.GetConfigInt("MaxNanoParticles",1) or 500), description='NOTE: Nano particles are more expensive regarding the CPU'}, + {id="nanoparticles", group="gfx", name="Max nano particles", type="slider", min=0, max=5000, step=100, value=tonumber(Spring.GetConfigInt("MaxNanoParticles",1) or 500), description='NOTE: Nano particles are more expensive regarding the CPU'}, --{id="treeradius", group="gfx", name="Tree render distance", type="slider", restart=true, min=0, max=2000, step=50, value=tonumber(Spring.GetConfigInt("TreeRadius",1) or 1000), description='Applies to SpringRTS engine default trees\n\nChanges will be applied next game'}, @@ -2509,9 +2509,9 @@ function init() if tonumber(Spring.GetConfigInt("FSAALevel",0)) > 0 then local fsaa = tonumber(Spring.GetConfigInt("FSAALevel",0)) if fsaa > 4 then - fsaa = 4 + fsaa = 8 end - Spring.SetConfigInt("MSAALevel", fsaa) + Spring.SetConfigInt("MSAALevel", 8) Spring.SetConfigInt("FSAALevel", 0) end @@ -2849,10 +2849,6 @@ function widget:Initialize() if Spring.GetConfigInt("GrassDetail",0) ~= 0 then Spring.SetConfigInt("GrassDetail",0) end - -- limit MSAA - if Spring.GetConfigInt("MSAALevel",0) > 4 then - Spring.SetConfigInt("MSAALevel",4) - end --if Platform ~= nil and Platform.gpuVendor ~= 'Nvidia' then -- because UsePBO displays tiled map texture bug for ATI/AMD cards --Spring.SetConfigInt("UsePBO",0) @@ -2865,7 +2861,7 @@ function widget:Initialize() --end -- set lowest quality shadows for Intel GPU (they eat fps but dont really show, but without any shadows enables it looks glitchy) if Platform ~= nil and Platform.gpuVendor == 'Intel' then - Spring.SendCommands("Shadows 1 1000") + Spring.SendCommands("Shadows 1 1024") end -- set custom user map sun position diff --git a/LuaUI/Widgets_Evo/gui_player_color_palette.lua b/LuaUI/Widgets_Evo/gui_player_color_palette.lua deleted file mode 100644 index e879df43a..000000000 --- a/LuaUI/Widgets_Evo/gui_player_color_palette.lua +++ /dev/null @@ -1,276 +0,0 @@ -function widget:GetInfo() - return { - name = "Player Color Palette", - desc = "Applies an evenly distributed color palette among players. Toggle randomized colors with", - author = "Floris", - date = "March 2017", - license = "GPL v2", - layer = -10001, - enabled = true, - handler = true, - } -end - -local randomize = false -- randomize player colors -local offsetstartcolor = true -- when false it will always use red as start color, when true it starts with an offset towards center of rgb hue palette more in effect with small playernumbers -local useSameTeamColors = false - -local GaiaTeam = Spring.GetGaiaTeamID() -local GaiaTeamColor = {255,0,0 } - -local myTeamID = Spring.GetMyTeamID() - -local singleTeams = false -if #Spring.GetTeamList()-1 == #Spring.GetAllyTeamList()-1 then - singleTeams = true -end - --------------------------------------------------------------------------------- --------------------------------------------------------------------------------- - -local function hue2rgb(p, q, t) - if (t < 0) then t = t + 1 end - if (t > 1) then t = t - 1 end - if (t < 1/6) then return p + (q - p) * 6 * t end - if (t < 1/2) then return q end - if (t < 2/3) then return p + (q - p) * (2/3 - t) * 6 end - return p -end - -local function hslToRgb(h, s, l) - local r, g, b - if s == 0 then - r = l - g = l - b = l - else - local q = l + s - l * s - if l < 0.5 then - q = l * (1 + s) - end - local p = 2 * l - q - r = hue2rgb(p, q, h + 1/3) - g = hue2rgb(p, q, h) - b = hue2rgb(p, q, h - 1/3) - end - return r,g,b -end - -local function GetColor(i, teams) - local s = 1 - local l = 0.53 - local h = 0 - --if i > (teams * 0.33) then l = 0.7 end - --if i > (teams * 0.66) then l = 0.3 end - if teams > 16 then - if i%4==0 then - l = 0.88 - end - if i%4==1 then - l = 0.46 - end - - if i%4==2 then - l = 0.7 - end - if i%4==3 then - l = 0.32 - end - elseif teams > 10 then - if i%2==0 then - l = 0.78 - end - if i%2==1 then - l = 0.44 - end - else - if teams > 6 then - if i%2==0 then - l = 0.77 - end - if i%2==1 then - l = 0.42 - end - end - end - - local r,g,b = 0,0,0 - local hueteams = teams - local useHueRGB = true - if teams > 7 then - hueteams = hueteams - 1 - if i == teams then - r,g,b = 0.5, 0.5, 0.5 - useHueRGB = false - end - end - if teams > 11 then - hueteams = hueteams - 1 - if i == teams-1 then - r,g,b = 0.9, 0.9, 0.9 - useHueRGB = false - end - end - if teams > 19 then - hueteams = hueteams - 1 - if i == teams-2 then - r,g,b = 0.15, 0.15, 0.15 - useHueRGB = false - end - end - - if useHueRGB then - local offset = 0 - if offsetstartcolor then - offset = 1 / (hueteams*6) - end - h = ((i-1)/(hueteams*(1.035+offset))) + offset - r,g,b = hslToRgb(h, s, l) -- teams *1.1 so last teamcolor isnt very similar to first teamcolor - end - return r,g,b -end - -local colorOrder = {} -local function GetShuffledNumber(i, numteams) - local n - while true do - n = math.floor((math.random() * numteams) + 1.5) - if colorOrder[n] == nil then - colorOrder[n] = i - return n - end - end -end - -local function SetNewTeamColors() - local allyTeamList = Spring.GetAllyTeamList() - local numteams = #Spring.GetTeamList() - 1 -- minus gaia - local numallyteams = #Spring.GetAllyTeamList() - 1 -- minus gaia - - colorOrder = {} - local i = 0 - local r,g,b - for _, allyID in ipairs(allyTeamList) do - if useSameTeamColors then - i = i + 1 - end - for _, teamID in ipairs(Spring.GetTeamList(allyID)) do - if teamID == GaiaTeam then - Spring.SetTeamColor(teamID, GaiaTeamColor[1],GaiaTeamColor[2],GaiaTeamColor[3]) - else - if not useSameTeamColors then - if randomize then - i = GetShuffledNumber(i, numteams) - else - i = i + 1 - end - r,g,b = GetColor(i, numteams) - else - if singleTeams then - r,g,b = GetColor(i, numallyteams) - elseif teamID == myTeamID then - r,g,b = GetColor(i, numallyteams) - r = (r * 1.25) + 0.3 - g = (g * 1.25) + 0.3 - b = (b * 1.25) + 0.3 - else - r,g,b = GetColor(i, numallyteams) - r = r * 0.9 - g = g * 0.9 - b = b * 0.9 - end - end - - local _, playerID = Spring.GetTeamInfo(teamID) - local name = playerID and Spring.GetPlayerInfo(playerID) or 'noname' - Spring.SetTeamColor(teamID, r,g,b) - end - end - end -end - -local function ResetOldTeamColors() - for _,team in ipairs(Spring.GetTeamList()) do - Spring.SetTeamColor(team,Spring.GetTeamOrigColor(team)) - end -end - --- cause several widgets are still using old colors -function reloadWidgets() - if not useSameTeamColors then - if widgetHandler.orderList["Ecostats"] ~= 0 then - widgetHandler:DisableWidget("Ecostats") - widgetHandler:EnableWidget("Ecostats") - end - end -end - -function ordercolors(_,_,params) - local oldRandomize = randomize - randomize = false - if oldRandomize == randomize then - Spring.Echo("Player Color Palette: Player colors are already ordered by hue") - else - SetNewTeamColors() - reloadWidgets() - end -end - -function shufflecolors(_,_,params) - randomize = true - SetNewTeamColors() - reloadWidgets() -end - - -function widget:Update(dt) - if useSameTeamColors and myTeamID ~= Spring.GetMyTeamID() then - myTeamID = Spring.GetMyTeamID() - SetNewTeamColors() - reloadWidgets() - end -end - - -function widget:Initialize() - WG['playercolorpalette'] = {} - WG['playercolorpalette'].getRandomize = function() - return randomize - end - WG['playercolorpalette'].setRandomize = function(value) - randomize = value - SetNewTeamColors() - end - WG['playercolorpalette'].getSameTeamColors = function() - return useSameTeamColors - end - WG['playercolorpalette'].setSameTeamColors = function(value) - useSameTeamColors = value - SetNewTeamColors() - reloadWidgets() - end - - SetNewTeamColors() -end - -function widget:Shutdown() - ResetOldTeamColors() - WG['playercolorpalette'] = nil -end - - -function widget:GetConfigData(data) - savedTable = {} - savedTable.randomize = randomize - savedTable.useSameTeamColors = useSameTeamColors - return savedTable -end - -function widget:SetConfigData(data) - if data.randomize ~= nil then - randomize = data.randomize - end - if data.useSameTeamColors ~= nil then - useSameTeamColors = data.useSameTeamColors - end -end diff --git a/LuaUI/Widgets_Evo/gui_resourceBar.lua b/LuaUI/Widgets_Evo/gui_resourceBar.lua index 99886feda..a1eef5f0a 100644 --- a/LuaUI/Widgets_Evo/gui_resourceBar.lua +++ b/LuaUI/Widgets_Evo/gui_resourceBar.lua @@ -41,7 +41,7 @@ local maxBasicIncome = Spring.GetModOptions().maxbasicincome or 15 -- resource bars: ON means the bars show percentage, OFF means they simply change color depending on state local progressBars = true -local maxSupply = tonumber(Spring.GetModOptions().supplycap) or 400 +local maxSupply = tonumber(Spring.GetModOptions().supplycap) or 1000000 -- internal settings, do not touch local white = "\255\255\255\255" @@ -521,9 +521,12 @@ function generateDisplayList2() supplyAvailableColor = green end - supplyStr = supplyUsedColor .. su .. white .. "/" .. supplyAvailableColor .. sm .. " " + supplyStr = supplyUsedColor .. su .. white .. "/" .. supplyAvailableColor .. "∞" .. " " + --supplyStr = supplyUsedColor .. su .. white .. "/" .. supplyAvailableColor .. sm .. " " + else - supplyStr = white .. su .. "/" .. sm .. " (" .. orange .. "±" .. tostring(sm - su) .. white .. "/" .. green .. maxSupply .. white .. ") " + supplyStr = white .. su .. "/" .. "∞" .. " (" .. orange .. "±" .. tostring(sm - su) .. white .. "/" .. green .. "∞" .. white .. ") " + --supplyStr = white .. su .. "/" .. sm .. " (" .. orange .. "±" .. tostring(sm - su) .. white .. "/" .. green .. maxSupply .. white .. ") " end font2:Begin() font2:Print(supplyStr, supplyOffset+supplyBarWidth, textOffsetY, FontSize, "onr") diff --git a/LuaUI/Widgets_Evo/gui_startradius.lua b/LuaUI/Widgets_Evo/gui_startradius.lua index f4ba2e291..adf2aa91c 100644 --- a/LuaUI/Widgets_Evo/gui_startradius.lua +++ b/LuaUI/Widgets_Evo/gui_startradius.lua @@ -79,13 +79,13 @@ local function DrawPoints() if (sx == sxin and sy == syin and sz == szin) then - DrawGroundCircle(sx, sy, sz, 1000, 128) + DrawGroundCircle(sx, sy, sz, 350, 128) count = count + 1 else - DrawGroundCircle(sx, sy, sz, 1000, 128) + DrawGroundCircle(sx, sy, sz, 350, 128) end diff --git a/LuaUI/Widgets_Evo/snd_ambientSoundPlayer.lua b/LuaUI/Widgets_Evo/snd_ambientSoundPlayer.lua index 242fdad80..7bf7a2ad1 100644 --- a/LuaUI/Widgets_Evo/snd_ambientSoundPlayer.lua +++ b/LuaUI/Widgets_Evo/snd_ambientSoundPlayer.lua @@ -35,31 +35,31 @@ function widget:GameFrame(n) myTeamID = Spring.GetMyTeamID() myFaction = Spring.GetTeamRulesParam(myTeamID, "faction", playerFaction) if myFaction == nil then - Spring.Echo("[Ambient Background Sound Player] If you're seeing this message that means that the code which sets the player's faction is absolutely fucked somewhere. On the next line I will echo the myFaction variable (It will be nil). If it says anything other than the factions listed in game_spawn.lua (it will), at least it will provide a clue. Additionally I will manually set the player faction to ateran so that it doesn't crash and burn. Happy bug hunting!") + Spring.Echo("[Ambient Background Sound Player] If you're seeing this message that means that the code which sets the player's faction is absolutely fucked somewhere. On the next line I will echo the myFaction variable (It will be nil). If it says anything other than the factions listed in game_spawn.lua (it will), at least it will provide a clue. Additionally I will manually set the player faction to Federation of Kala so that it doesn't crash and burn. Happy bug hunting!") Spring.Echo(myFaction) - myFaction = "ateran" + myFaction = "Federation of Kala" else Spring.Echo("[Ambient Background Sound Player] Player faction is " .. myFaction) end end - if myFaction == "ateran" then + if myFaction == "Federation of Kala" then if n == 1 then Spring.PlaySoundFile("LuaUI/Sounds/ambient/ambient-stereo-short.wav", 0.33, 'ui') elseif (n % 50) == 4 then Spring.PlaySoundFile("LuaUI/Sounds/ambient/ambient-stereo-short.wav", 0.33, 'ui') end - elseif myFaction == "zaal" then + elseif myFaction == "Loz Alliance" then if n == 1 then - Spring.PlaySoundFile("LuaUI/Sounds/ambient/zaalambient.wav", 0.33, 'ui') + Spring.PlaySoundFile("LuaUI/Sounds/ambient/ambient-stereo-short.wav", 0.33, 'ui') elseif (n % 50) == 4 then - Spring.PlaySoundFile("LuaUI/Sounds/ambient/zaalambient.wav", 0.33, 'ui') + Spring.PlaySoundFile("LuaUI/Sounds/ambient/ambient-stereo-short.wav", 0.33, 'ui') end - elseif myFaction == "pattern" then + elseif myFaction == "zaal" then if n == 1 then - Spring.PlaySoundFile("LuaUI/Sounds/ambient/ambient-stereo-short.wav", 0.33, 'ui') + Spring.PlaySoundFile("LuaUI/Sounds/ambient/zaalambient.wav", 0.33, 'ui') elseif (n % 50) == 4 then - Spring.PlaySoundFile("LuaUI/Sounds/ambient/ambient-stereo-short.wav", 0.33, 'ui') + Spring.PlaySoundFile("LuaUI/Sounds/ambient/zaalambient.wav", 0.33, 'ui') end end diff --git a/LuaUI/Widgets_Evo/unit_air_allways_fly.lua b/LuaUI/Widgets_Evo/unit_air_allways_fly.lua index 35c455b9e..3a03b6ec6 100644 --- a/LuaUI/Widgets_Evo/unit_air_allways_fly.lua +++ b/LuaUI/Widgets_Evo/unit_air_allways_fly.lua @@ -9,7 +9,7 @@ function widget:GetInfo() license = "GNU GPL, v2 or later", version = 1, layer = 5, - enabled = true -- loaded by default? + enabled = false -- loaded by default? } end diff --git a/LuaUI/Widgets_Evo/unit_automaticFightCommand.lua b/LuaUI/Widgets_Evo/unit_automaticFightCommand.lua index 777a9f007..fd720d1f1 100644 --- a/LuaUI/Widgets_Evo/unit_automaticFightCommand.lua +++ b/LuaUI/Widgets_Evo/unit_automaticFightCommand.lua @@ -28,7 +28,30 @@ local hmsz = Game.mapSizeZ/2 -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -local targetUnits = {eorb = true, eorb_up1 = true, eorb_up2 = true, eorb_up3 = true, ehbotengineer = true, ehbotengineer_turret = true, zarm = true, ztenticle = true} +local targetUnits = { + eorb = true, + eorb_up1 = true, + eorb_up2 = true, + eorb_up3 = true, + ehbotengineer = true, + ehbotengineer_turret = true, + zarm = true, + ztenticle = true, + fedengineer = true, + lozengineer = true, + fedorb = true, + lozorb = true, + fedcommander = true + fedcommander_up1 = true, + fedcommander_up2 = true, + fedcommander_up3 = true, + fedcommander_up4 = true, + lozcommander = true, + lozcommander_up1 = true, + lozcommander_up2 = true, + lozcommander_up3 = true, + lozcommander_up4 = true +} local function IsTargetUnit(ud) return ud and targetUnits[ud.name] @@ -39,14 +62,14 @@ local function SetupUnit(unitID) local x, y, z = spGetUnitPosition(unitID) if x and y and z then if (x > hmsx) then -- avoid to issue commands outside map - x = x - 50 + x = x - 1 else - x = x + 50 + x = x + 1 end if (z > hmsz) then - z = z - 50 + z = z - 1 else - z = z + 50 + z = z + 1 end -- meta enables reclaim enemy units, alt autoresurrect ( if available ) spGiveOrderToUnit(unitID, CMD_FIGHT, { x, y, z }, {"meta"}) diff --git a/LuaUI/Widgets_Evo/unit_customrings.lua b/LuaUI/Widgets_Evo/unit_customrings.lua index 967d3ba3f..8b8c5f50d 100644 --- a/LuaUI/Widgets_Evo/unit_customrings.lua +++ b/LuaUI/Widgets_Evo/unit_customrings.lua @@ -27,7 +27,7 @@ end local ringsDefs = { [UnitDefNames.ecommander.id] = { -- { color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 1000 }, - { color = {0,1,0,0.6}, lineWidth = 5, radius = 300, divs = 64 }, + --{ color = {0,1,0,0.6}, lineWidth = 5, radius = 300, divs = 64 }, --{ color = {0.5, 0, 1, 0.2}, lineWidth = 5, radius = 500 }, }, [UnitDefNames.ecommandercloak.id] = { @@ -49,6 +49,11 @@ local ringsDefs = { [UnitDefNames.ecommanderfactory.id] = { --{ color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 250 }, --{ color = {0.5, 0, 1, 0.2}, lineWidth = 5, radius = 500 }, + }, + [UnitDefNames.ecommanderhealer.id] = { + -- { color = {1, 0.5, 0, 0.8}, lineWidth = 2, radius = 1000 }, + { color = {0,1,0,0.6}, lineWidth = 5, radius = 1000, divs = 128 }, + --{ color = {0.5, 0, 1, 0.2}, lineWidth = 5, radius = 500 }, }, [UnitDefNames.eorb.id] = { --{ color = {1,0.5,0,0.8}, lineWidth = 2, radius = 800 }, diff --git a/ModOptions.lua b/ModOptions.lua index 9ebaa6bb1..10402d73d 100644 --- a/ModOptions.lua +++ b/ModOptions.lua @@ -125,7 +125,7 @@ local options= { name = 'Standard Metal Spot Layout: Allow metal spots to be placed in water?', desc = 'Should metal spots be placed in water? Sometimes turning this off can be beneficial if the water on a map does damage. (only works on Standard Metal Spot Layout)', type="list", - def="enabled", + def="disabled", section= "resourcing", items={ {key="disabled", name="Disabled", desc="Disallow metal spots being placed in water."}, @@ -186,7 +186,7 @@ local options= { desc = 'Determines the amount of metal income you start with per second.', type = 'number', section= 'resourcing', - def = 5, + def = 1, min = 0, max = 5, step = 1, -- quantization is aligned to the def value @@ -241,10 +241,10 @@ local options= { desc = 'Determines the maximum army supply that is allowed.', type = 'number', section= 'supplyoptions', - def = 400, - min = 0, - max = 400, - step = 1, -- quantization is aligned to the def value + def = 1000000, + min = 50, + max = 1000000, + step = 50, -- quantization is aligned to the def value -- (step <= 0) means that there is no quantization }, { @@ -260,6 +260,37 @@ local options= { -- (step <= 0) means that there is no quantization }, + { + key = 'mexcost', + name = 'Metal Extractor Costs', + desc = 'Allows you to set the cost of Metal Extractors', + type = 'section', + }, + { + key = 'metalextractorcostateran', + name = 'Ateran Metal Extractor Cost', + desc = 'How much metal does an Ateran Metal Extractor cost?', + type = 'number', + section= 'mexcost', + def = 50, + min = 1, + max = 500, + step = 1, -- quantization is aligned to the def value + -- (step <= 0) means that there is no quantization + }, + { + key = 'metalextractorcostzaal', + name = 'Zaal Metal Extractor Cost', + desc = 'How much metal does an Zaal Metal Extractor cost?', + type = 'number', + section= 'mexcost', + def = 65, + min = 1, + max = 500, + step = 1, -- quantization is aligned to the def value + -- (step <= 0) means that there is no quantization + }, + -- Gameplay Options { key = 'gameplayoptions', @@ -273,9 +304,9 @@ local options= { desc = 'This acts as a percentage of base unit health. Setting to 200 would double unit hitpoints.', type = 'number', section= 'gameplayoptions', - def = 50, + def = 500, min = 1, - max = 400, + max = 2000, step = 1, -- quantization is aligned to the def value -- (step <= 0) means that there is no quantization }, diff --git a/Objects3D/Lootboxes/lootbox.s3o b/Objects3D/Lootboxes/lootbox.s3o index 9df67aec8..07605db70 100644 Binary files a/Objects3D/Lootboxes/lootbox.s3o and b/Objects3D/Lootboxes/lootbox.s3o differ diff --git a/Objects3D/Lootboxes/lootbox3x3.s3o b/Objects3D/Lootboxes/lootbox3x3.s3o new file mode 100644 index 000000000..dab6f635d Binary files /dev/null and b/Objects3D/Lootboxes/lootbox3x3.s3o differ diff --git a/Objects3D/Lootboxes/lootbox4x4.s3o b/Objects3D/Lootboxes/lootbox4x4.s3o new file mode 100644 index 000000000..2944ea156 Binary files /dev/null and b/Objects3D/Lootboxes/lootbox4x4.s3o differ diff --git a/Objects3D/Lootboxes/lootbox5x5.s3o b/Objects3D/Lootboxes/lootbox5x5.s3o new file mode 100644 index 000000000..0a0413764 Binary files /dev/null and b/Objects3D/Lootboxes/lootbox5x5.s3o differ diff --git a/Objects3D/Lootboxes/lootbox6x6.s3o b/Objects3D/Lootboxes/lootbox6x6.s3o new file mode 100644 index 000000000..5f4be4091 Binary files /dev/null and b/Objects3D/Lootboxes/lootbox6x6.s3o differ diff --git a/Objects3D/eairemp.s3o b/Objects3D/eairemp.s3o index 550ae2306..828646a06 100644 Binary files a/Objects3D/eairemp.s3o and b/Objects3D/eairemp.s3o differ diff --git a/Objects3D/eairplant3.s3o b/Objects3D/eairplant3.s3o index 7f1c18e86..15f93d5c5 100644 Binary files a/Objects3D/eairplant3.s3o and b/Objects3D/eairplant3.s3o differ diff --git a/Objects3D/eallterrassault.s3o b/Objects3D/eallterrassault.s3o index 03da4233c..fc7e6e596 100644 Binary files a/Objects3D/eallterrassault.s3o and b/Objects3D/eallterrassault.s3o differ diff --git a/Objects3D/eallterrfac2.s3o b/Objects3D/eallterrfac2.s3o index 0503b7fdd..16127424a 100644 Binary files a/Objects3D/eallterrfac2.s3o and b/Objects3D/eallterrfac2.s3o differ diff --git a/Objects3D/eallterrheavy2.s3o b/Objects3D/eallterrheavy2.s3o index 6a5239fe5..d32f9d7a5 100644 Binary files a/Objects3D/eallterrheavy2.s3o and b/Objects3D/eallterrheavy2.s3o differ diff --git a/Objects3D/eallterrlight2.s3o b/Objects3D/eallterrlight2.s3o index a5b68bafe..c4894fcfa 100644 Binary files a/Objects3D/eallterrlight2.s3o and b/Objects3D/eallterrlight2.s3o differ diff --git a/Objects3D/eallterrmed2.s3o b/Objects3D/eallterrmed2.s3o index 48e02ac1a..0005e471c 100644 Binary files a/Objects3D/eallterrmed2.s3o and b/Objects3D/eallterrmed2.s3o differ diff --git a/Objects3D/eallterrriot2.s3o b/Objects3D/eallterrriot2.s3o index 5432224c5..7a77bc9cc 100644 Binary files a/Objects3D/eallterrriot2.s3o and b/Objects3D/eallterrriot2.s3o differ diff --git a/Objects3D/eallterrshield.s3o b/Objects3D/eallterrshield.s3o index bb333a091..995bd4a5b 100644 Binary files a/Objects3D/eallterrshield.s3o and b/Objects3D/eallterrshield.s3o differ diff --git a/Objects3D/eamphibaa.s3o b/Objects3D/eamphibaa.s3o index 6d29573a8..a01d73a44 100644 Binary files a/Objects3D/eamphibaa.s3o and b/Objects3D/eamphibaa.s3o differ diff --git a/Objects3D/eamphibaaturret.s3o b/Objects3D/eamphibaaturret.s3o new file mode 100644 index 000000000..e515453cb Binary files /dev/null and b/Objects3D/eamphibaaturret.s3o differ diff --git a/Objects3D/eamphibarty2.s3o b/Objects3D/eamphibarty2.s3o index 72b2a4569..502d531a3 100644 Binary files a/Objects3D/eamphibarty2.s3o and b/Objects3D/eamphibarty2.s3o differ diff --git a/Objects3D/eamphibbuggy2.s3o b/Objects3D/eamphibbuggy2.s3o index da9b2d443..65f5c95d8 100644 Binary files a/Objects3D/eamphibbuggy2.s3o and b/Objects3D/eamphibbuggy2.s3o differ diff --git a/Objects3D/eamphibfac2.s3o b/Objects3D/eamphibfac2.s3o index 50acaa0b7..c873a4b3f 100644 Binary files a/Objects3D/eamphibfac2.s3o and b/Objects3D/eamphibfac2.s3o differ diff --git a/Objects3D/eamphibmedtank2.s3o b/Objects3D/eamphibmedtank2.s3o index 8640b7643..cebd097e4 100644 Binary files a/Objects3D/eamphibmedtank2.s3o and b/Objects3D/eamphibmedtank2.s3o differ diff --git a/Objects3D/eamphibriot2.s3o b/Objects3D/eamphibriot2.s3o index 7f06a00cb..025907c31 100644 Binary files a/Objects3D/eamphibriot2.s3o and b/Objects3D/eamphibriot2.s3o differ diff --git a/Objects3D/eamphibrock4.s3o b/Objects3D/eamphibrock4.s3o index d0165ebc5..8ebd754a8 100644 Binary files a/Objects3D/eamphibrock4.s3o and b/Objects3D/eamphibrock4.s3o differ diff --git a/Objects3D/eartytank2.s3o b/Objects3D/eartytank2.s3o index 1be2be7c0..33d70bd6c 100644 Binary files a/Objects3D/eartytank2.s3o and b/Objects3D/eartytank2.s3o differ diff --git a/Objects3D/eartytankbase.s3o b/Objects3D/eartytankbase.s3o new file mode 100644 index 000000000..5268c33a4 Binary files /dev/null and b/Objects3D/eartytankbase.s3o differ diff --git a/Objects3D/ebarricade3.s3o b/Objects3D/ebarricade3.s3o index 80ae8c260..b0e421280 100644 Binary files a/Objects3D/ebarricade3.s3o and b/Objects3D/ebarricade3.s3o differ diff --git a/Objects3D/ebomber2-small.s3o b/Objects3D/ebomber2-small.s3o index 057f90323..7eacb17a0 100644 Binary files a/Objects3D/ebomber2-small.s3o and b/Objects3D/ebomber2-small.s3o differ diff --git a/Objects3D/ebox_small.s3o b/Objects3D/ebox_small.s3o new file mode 100644 index 000000000..a246d8e6a Binary files /dev/null and b/Objects3D/ebox_small.s3o differ diff --git a/Objects3D/ecommander-meteor.s3o b/Objects3D/ecommander-meteor.s3o new file mode 100644 index 000000000..e2e9f5430 Binary files /dev/null and b/Objects3D/ecommander-meteor.s3o differ diff --git a/Objects3D/ecommander4-battle-large.s3o b/Objects3D/ecommander4-battle-large.s3o new file mode 100644 index 000000000..0fba34008 Binary files /dev/null and b/Objects3D/ecommander4-battle-large.s3o differ diff --git a/Objects3D/edrone2.s3o b/Objects3D/edrone2.s3o index 6cfc41455..123054c2e 100644 Binary files a/Objects3D/edrone2.s3o and b/Objects3D/edrone2.s3o differ diff --git a/Objects3D/efighter2-small.s3o b/Objects3D/efighter2-small.s3o index eb13bc282..c3acf2359 100644 Binary files a/Objects3D/efighter2-small.s3o and b/Objects3D/efighter2-small.s3o differ diff --git a/Objects3D/eflakturret.s3o b/Objects3D/eflakturret.s3o new file mode 100644 index 000000000..9c886d0a0 Binary files /dev/null and b/Objects3D/eflakturret.s3o differ diff --git a/Objects3D/efusion2.s3o b/Objects3D/efusion2.s3o index df716c0d0..3c5bfb6cd 100644 Binary files a/Objects3D/efusion2.s3o and b/Objects3D/efusion2.s3o differ diff --git a/Objects3D/egeothermal2.s3o b/Objects3D/egeothermal2.s3o index f11a35861..8d9d9c2ea 100644 Binary files a/Objects3D/egeothermal2.s3o and b/Objects3D/egeothermal2.s3o differ diff --git a/Objects3D/egunship3-small.s3o b/Objects3D/egunship3-small.s3o index 667474627..7e661eb5f 100644 Binary files a/Objects3D/egunship3-small.s3o and b/Objects3D/egunship3-small.s3o differ diff --git a/Objects3D/ehbotengineer2.s3o b/Objects3D/ehbotengineer2.s3o index 96dd606a9..5b7919075 100644 Binary files a/Objects3D/ehbotengineer2.s3o and b/Objects3D/ehbotengineer2.s3o differ diff --git a/Objects3D/ehbotengineer_turret.s3o b/Objects3D/ehbotengineer_turret.s3o index a5c4f73d8..db3dd40e4 100644 Binary files a/Objects3D/ehbotengineer_turret.s3o and b/Objects3D/ehbotengineer_turret.s3o differ diff --git a/Objects3D/ehbotfac.s3o b/Objects3D/ehbotfac.s3o index 13b078c19..3ebad5882 100644 Binary files a/Objects3D/ehbotfac.s3o and b/Objects3D/ehbotfac.s3o differ diff --git a/Objects3D/ehbotkarganneth.s3o b/Objects3D/ehbotkarganneth.s3o index cafccf070..6a058200c 100644 Binary files a/Objects3D/ehbotkarganneth.s3o and b/Objects3D/ehbotkarganneth.s3o differ diff --git a/Objects3D/ehbotkarganneth_turret.s3o b/Objects3D/ehbotkarganneth_turret.s3o index 4fdd7ffe8..157cbdc4a 100644 Binary files a/Objects3D/ehbotkarganneth_turret.s3o and b/Objects3D/ehbotkarganneth_turret.s3o differ diff --git a/Objects3D/ehbotpeewee2.s3o b/Objects3D/ehbotpeewee2.s3o index 82e9b60e2..210788af0 100644 Binary files a/Objects3D/ehbotpeewee2.s3o and b/Objects3D/ehbotpeewee2.s3o differ diff --git a/Objects3D/ehbotpeewee_turret.s3o b/Objects3D/ehbotpeewee_turret.s3o index cc4ddcf50..5b74c6f1f 100644 Binary files a/Objects3D/ehbotpeewee_turret.s3o and b/Objects3D/ehbotpeewee_turret.s3o differ diff --git a/Objects3D/ehbotrocko.s3o b/Objects3D/ehbotrocko.s3o index 69eba966c..ffc1a1484 100644 Binary files a/Objects3D/ehbotrocko.s3o and b/Objects3D/ehbotrocko.s3o differ diff --git a/Objects3D/ehbotrocko_turret.s3o b/Objects3D/ehbotrocko_turret.s3o index f09b71dbb..f9a834a00 100644 Binary files a/Objects3D/ehbotrocko_turret.s3o and b/Objects3D/ehbotrocko_turret.s3o differ diff --git a/Objects3D/ehbotsniper.s3o b/Objects3D/ehbotsniper.s3o index 80bf02411..523f0f1e6 100644 Binary files a/Objects3D/ehbotsniper.s3o and b/Objects3D/ehbotsniper.s3o differ diff --git a/Objects3D/ehbotsniper_turret.s3o b/Objects3D/ehbotsniper_turret.s3o index a97fe8fa0..86f09fdec 100644 Binary files a/Objects3D/ehbotsniper_turret.s3o and b/Objects3D/ehbotsniper_turret.s3o differ diff --git a/Objects3D/ehbotthud.s3o b/Objects3D/ehbotthud.s3o index e48c665e6..01d43ab52 100644 Binary files a/Objects3D/ehbotthud.s3o and b/Objects3D/ehbotthud.s3o differ diff --git a/Objects3D/ehbotthud_turret.s3o b/Objects3D/ehbotthud_turret.s3o index 44f3f8704..52a1a6004 100644 Binary files a/Objects3D/ehbotthud_turret.s3o and b/Objects3D/ehbotthud_turret.s3o differ diff --git a/Objects3D/eheavytank4.s3o b/Objects3D/eheavytank4.s3o index 48f7ff505..8f356fa49 100644 Binary files a/Objects3D/eheavytank4.s3o and b/Objects3D/eheavytank4.s3o differ diff --git a/Objects3D/eheavyturret3.s3o b/Objects3D/eheavyturret3.s3o index fefdc4306..94a41848c 100644 Binary files a/Objects3D/eheavyturret3.s3o and b/Objects3D/eheavyturret3.s3o differ diff --git a/Objects3D/ehoverfactory.s3o b/Objects3D/ehoverfactory.s3o index eeb18cac6..e92fd263e 100644 Binary files a/Objects3D/ehoverfactory.s3o and b/Objects3D/ehoverfactory.s3o differ diff --git a/Objects3D/ejammer3.s3o b/Objects3D/ejammer3.s3o index 14d445630..fe6388ca6 100644 Binary files a/Objects3D/ejammer3.s3o and b/Objects3D/ejammer3.s3o differ diff --git a/Objects3D/elaserbattery.s3o b/Objects3D/elaserbattery.s3o index c0899e024..89c89f738 100644 Binary files a/Objects3D/elaserbattery.s3o and b/Objects3D/elaserbattery.s3o differ diff --git a/Objects3D/elighttank4.s3o b/Objects3D/elighttank4.s3o index c076c7545..9da20287a 100644 Binary files a/Objects3D/elighttank4.s3o and b/Objects3D/elighttank4.s3o differ diff --git a/Objects3D/elightturret3.s3o b/Objects3D/elightturret3.s3o index 21e65bd28..b3d9c06d6 100644 Binary files a/Objects3D/elightturret3.s3o and b/Objects3D/elightturret3.s3o differ diff --git a/Objects3D/emaker3.s3o b/Objects3D/emaker3.s3o index b2ec43779..bd0b605e9 100644 Binary files a/Objects3D/emaker3.s3o and b/Objects3D/emaker3.s3o differ diff --git a/Objects3D/emetalextractor2_small.s3o b/Objects3D/emetalextractor2_small.s3o new file mode 100644 index 000000000..bfe71e115 Binary files /dev/null and b/Objects3D/emetalextractor2_small.s3o differ diff --git a/Objects3D/emetalextractor2_up1.s3o b/Objects3D/emetalextractor2_up1.s3o new file mode 100644 index 000000000..47e02f7e5 Binary files /dev/null and b/Objects3D/emetalextractor2_up1.s3o differ diff --git a/Objects3D/emetalextractor2_up2.s3o b/Objects3D/emetalextractor2_up2.s3o new file mode 100644 index 000000000..4492be82a Binary files /dev/null and b/Objects3D/emetalextractor2_up2.s3o differ diff --git a/Objects3D/emetalextractor2_up3.s3o b/Objects3D/emetalextractor2_up3.s3o new file mode 100644 index 000000000..9dd117b8d Binary files /dev/null and b/Objects3D/emetalextractor2_up3.s3o differ diff --git a/Objects3D/emine.s3o b/Objects3D/emine.s3o index c256d6c14..7326e42e1 100644 Binary files a/Objects3D/emine.s3o and b/Objects3D/emine.s3o differ diff --git a/Objects3D/emissiletank2.s3o b/Objects3D/emissiletank2.s3o index 71b87a45a..946d58d6d 100644 Binary files a/Objects3D/emissiletank2.s3o and b/Objects3D/emissiletank2.s3o differ diff --git a/Objects3D/eorb4.s3o b/Objects3D/eorb4.s3o index 332ffd217..5223c0adc 100644 Binary files a/Objects3D/eorb4.s3o and b/Objects3D/eorb4.s3o differ diff --git a/Objects3D/epowerplant3x3.s3o b/Objects3D/epowerplant3x3.s3o new file mode 100644 index 000000000..b875e526f Binary files /dev/null and b/Objects3D/epowerplant3x3.s3o differ diff --git a/Objects3D/eradar3_large.s3o b/Objects3D/eradar3_large.s3o new file mode 100644 index 000000000..4ade9a77a Binary files /dev/null and b/Objects3D/eradar3_large.s3o differ diff --git a/Objects3D/eradar3_small.s3o b/Objects3D/eradar3_small.s3o new file mode 100644 index 000000000..141b60b38 Binary files /dev/null and b/Objects3D/eradar3_small.s3o differ diff --git a/Objects3D/eriottank3.s3o b/Objects3D/eriottank3.s3o index a13a49290..cc4f36445 100644 Binary files a/Objects3D/eriottank3.s3o and b/Objects3D/eriottank3.s3o differ diff --git a/Objects3D/escout2.s3o b/Objects3D/escout2.s3o index c42d3e622..806e2c26e 100644 Binary files a/Objects3D/escout2.s3o and b/Objects3D/escout2.s3o differ diff --git a/Objects3D/estorage2.s3o b/Objects3D/estorage2.s3o index 63a1c7648..9b07473da 100644 Binary files a/Objects3D/estorage2.s3o and b/Objects3D/estorage2.s3o differ diff --git a/Objects3D/estorage2_small.s3o b/Objects3D/estorage2_small.s3o new file mode 100644 index 000000000..c883e1009 Binary files /dev/null and b/Objects3D/estorage2_small.s3o differ diff --git a/Objects3D/etransport2-small.s3o b/Objects3D/etransport2-small.s3o index 1944365ea..c976db991 100644 Binary files a/Objects3D/etransport2-small.s3o and b/Objects3D/etransport2-small.s3o differ diff --git a/Objects3D/f2engineer.s3o b/Objects3D/f2engineer.s3o new file mode 100644 index 000000000..0fa147e53 Binary files /dev/null and b/Objects3D/f2engineer.s3o differ diff --git a/Objects3D/laserturret.s3o b/Objects3D/laserturret.s3o new file mode 100644 index 000000000..d32f9d7a5 Binary files /dev/null and b/Objects3D/laserturret.s3o differ diff --git a/Objects3D/lozcommandtank-battle.s3o b/Objects3D/lozcommandtank-battle.s3o new file mode 100644 index 000000000..1fc27c44f Binary files /dev/null and b/Objects3D/lozcommandtank-battle.s3o differ diff --git a/Objects3D/lozcommandtank.s3o b/Objects3D/lozcommandtank.s3o new file mode 100644 index 000000000..1504e266e Binary files /dev/null and b/Objects3D/lozcommandtank.s3o differ diff --git a/Objects3D/nanopylon.s3o b/Objects3D/nanopylon.s3o new file mode 100644 index 000000000..bd7355687 Binary files /dev/null and b/Objects3D/nanopylon.s3o differ diff --git a/Objects3D/zaal/ztiberium_small.s3o b/Objects3D/zaal/ztiberium_small.s3o new file mode 100644 index 000000000..6aaaa326e Binary files /dev/null and b/Objects3D/zaal/ztiberium_small.s3o differ diff --git a/Scripts/ecommander4-meteor.bos b/Scripts/ecommander4-meteor.bos index 9ec90883b..892b8b60f 100644 --- a/Scripts/ecommander4-meteor.bos +++ b/Scripts/ecommander4-meteor.bos @@ -4,7 +4,7 @@ #define WALK_PERIOD 50 -piece base, nanopoint1, rf1, rf2, lf1, lf2, rr1, rr2, lr1, lr2, rfdirt, rrdirt, lfdirt, lrdirt, firepoint1, mandible; +piece base, nanopoint1, rf1, rf2, lf1, lf2, rr1, rr2, lr1, lr2, rfdirt, rrdirt, lfdirt, lrdirt, firepoint1, mandible, topantenna, innerring, outerring, centerring, emit; static-var maxreloadtime, moving, bMoving, terraintype, building; @@ -322,6 +322,11 @@ Create() start-script DoTheWalking(); // start-script Thrust(); start-script buildflame(); + spin topantenna around y-axis speed <8>; + spin topantenna around x-axis speed <2>; + spin innerring around y-axis speed <-3>; + spin centerring around y-axis speed <4>; + spin outerring around y-axis speed <-7>; } AimFromPrimary(p) @@ -386,4 +391,8 @@ Killed(severity, corpsetype) // how it explodes explode lr1 type EXPLODE_ON_HIT; explode lr2 type EXPLODE_ON_HIT; explode mandible type EXPLODE_ON_HIT; + explode topantenna type EXPLODE_ON_HIT; + explode innerring type EXPLODE_ON_HIT; + explode centerring type EXPLODE_ON_HIT; + explode outerring type EXPLODE_ON_HIT; } \ No newline at end of file diff --git a/Scripts/ecommander4-meteor.cob b/Scripts/ecommander4-meteor.cob index b2fa22fc9..468b343bb 100644 Binary files a/Scripts/ecommander4-meteor.cob and b/Scripts/ecommander4-meteor.cob differ diff --git a/Scripts/eflakturret.bos b/Scripts/eflakturret.bos new file mode 100644 index 000000000..6638a246f --- /dev/null +++ b/Scripts/eflakturret.bos @@ -0,0 +1,148 @@ +#define TA // This is a TA script + +#include "sfxtype.h" +#include "exptype.h" + +piece base, beams, turret, barrel1, firepoint1, firepoint2, firepoint3, firepoint4, lilypad; // these are the pieces of the model + +static-var shooting_num, terraintype; + +// Signal definitions +#define SIG_AIM 2 // this is a aim define <- o_O This is a kill flag + + +// Custom SFX +#define GDMARTY 1024+0 + +SmokeUnit()// this is a standard smoke point define +{ + var healthpercent, sleeptime, smoketype; + while( TRUE ) + { + healthpercent = get HEALTH; + if( healthpercent < 66 ) + { + smoketype = SFXTYPE_BLACKSMOKE; + if( Rand( 1, 66 ) < healthpercent ) + smoketype = SFXTYPE_WHITESMOKE; + emit-sfx 1026 from turret; + } + sleeptime = healthpercent * 50; + if( sleeptime < 200 ) + sleeptime = 200; + sleep sleeptime; + } +} + + +Create() // tells it what to do on creation +{ + shooting_num=1; + start-script SmokeUnit(); +} + + +RestoreAfterDelay() // restore function to turn the turret and so forth back to start +{ +sleep 3000; +turn turret to y-axis <0> speed <60>; +turn barrel1 to x-axis <0> speed <30>; +} + +AimWeapon1(heading, pitch) // single weapon with 2 fires this tell sit what to do while aiming +{ +/* + if ( get IN_WATER(0) == 1 ) + { + return (0); + } +*/ +signal SIG_AIM; +set-signal-mask SIG_AIM; +turn turret to y-axis heading speed <5000>; +turn barrel1 to x-axis <0> - pitch speed <5000>; +wait-for-turn turret around y-axis; +wait-for-turn barrel1 around x-axis; +start-script RestoreAfterDelay(); +return (1); +} + + +FireWeapon1() // what do while firing, fires 1 barrel then the next , and resets +{ + if(shooting_num==1) + { + emit-sfx 1024 from firepoint2; + } + + if(shooting_num==2) + { + emit-sfx 1024 from firepoint3; + } + + if(shooting_num==3) + { + emit-sfx 1024 from firepoint4; + } + + if(shooting_num==4) + { + emit-sfx 1024 from firepoint1; + } + + shooting_num=shooting_num+1; + + if( shooting_num == 5) + { + shooting_num=1; + } +} + +AimFromWeapon1(piecenum) // where it aims the weapon from +{ +piecenum = barrel1; +} + +QueryWeapon1(piecenum) // where the shot is called from +{ + if (shooting_num==1) + { + piecenum=firepoint1; + } + + if (shooting_num==2) + { + piecenum=firepoint2; + } + + if (shooting_num==3) + { + piecenum=firepoint3; + } + + if (shooting_num==4) + { + piecenum=firepoint4; + } +} +/* +TechLost() +{ + CanFire=FALSE; + signal SIG_AIM; + stop-spin turret around y-axis decelerate <10>; + stop-spin barrel1 around x-axis decelerate <10>; +} + +TechGranted() +{ + CanFire=TRUE; +} +*/ +Killed(severity, corpsetype) // how it explodes +{ + corpsetype = 1; + explode base type EXPLODE_ON_HIT; + explode beams type EXPLODE_ON_HIT; + explode lilypad type EXPLODE_ON_HIT; +} diff --git a/Scripts/eflakturret.cob b/Scripts/eflakturret.cob new file mode 100644 index 000000000..0ba4adcb9 Binary files /dev/null and b/Scripts/eflakturret.cob differ diff --git a/Scripts/ehoverfac.bos b/Scripts/ehoverfac.bos index fe06e81c1..d6047a7f5 100644 --- a/Scripts/ehoverfac.bos +++ b/Scripts/ehoverfac.bos @@ -38,28 +38,6 @@ SmokeUnit(healthpercent, sleeptime, smoketype) } } -setSFXoccupy(setSFXoccupy_argument) -{ -terraintype = setSFXoccupy_argument; - - if(terraintype == 2) - { - move base to y-axis [-5] speed [50]; - } - else - { - move base to y-axis [-5] speed [50]; - } - if(terraintype == 4) - { - move base to y-axis [-5] speed [50]; - } - else - { - move base to y-axis [-5] speed [50]; - } -} - buildingfx() { while( TRUE ) diff --git a/Scripts/ehoverfac.cob b/Scripts/ehoverfac.cob index 264ef8d14..67ee4dda3 100644 Binary files a/Scripts/ehoverfac.cob and b/Scripts/ehoverfac.cob differ diff --git a/Scripts/elaserbattery.bos b/Scripts/elaserbattery.bos index 6d5e6c101..3f491915d 100644 --- a/Scripts/elaserbattery.bos +++ b/Scripts/elaserbattery.bos @@ -3,7 +3,7 @@ #include "sfxtype.h" #include "exptype.h" -piece base, beams, firepoint1, lilypad; // these are the pieces of the model +piece base, beams, turret, barrel1, firepoint1, firepoint2, firepoint3, firepoint4, lilypad; // these are the pieces of the model static-var shooting_num, terraintype; diff --git a/Scripts/f2engineer_lus.lua b/Scripts/f2engineer_lus.lua new file mode 100644 index 000000000..85f1accf9 --- /dev/null +++ b/Scripts/f2engineer_lus.lua @@ -0,0 +1,65 @@ +base, spinner, nano1, dirt = piece('base', 'spinner', 'nano1', 'dirt') +local SIG_AIM = {} + +-- state variables +isMoving = "isMoving" +terrainType = "terrainType" + +function script.Create() + StartThread(common.SmokeUnit, {base, spinner}) + StartThread(BuildFX) + building = false +end + +common = include("headers/common_includes_lus.lua") + +function script.StartMoving() + isMoving = true + StartThread(thrust) +end + +function script.StopMoving() + isMoving = false +end + +function thrust() + common.DirtTrail() +end + +function BuildFX() + while(building == true) do + EmitSfx (nano1, 1024) + Sleep(550) + end +end + +function RestoreAfterDelay() + if building == false then + Sleep(2000) + Turn(base, y_axis, 0, 5) + end +end + +local nanoPoints = {nano1} + +Spring.SetUnitNanoPieces(unitID, nanoPoints) + +function script.StartBuilding(heading, pitch) + -- TODO: This is where you would add your unpack / point towards animation + SetUnitValue(COB.INBUILDSTANCE, true) + building = true + StartThread(BuildFX) +end + +function script.StopBuilding() + -- TODO: This is where you would add your pack-up animation + SetUnitValue(COB.INBUILDSTANCE, false) + building = false + StartThread(RestoreAfterDelay) +end + +function script.Killed() + Explode(spinner, SFX.EXPLODE_ON_HIT) + Explode(base, SFX.EXPLODE_ON_HIT) + return 1 -- spawn ARMSTUMP_DEAD corpse / This is the equivalent of corpsetype = 1; in bos +end \ No newline at end of file diff --git a/Scripts/lozcommandtank.bos b/Scripts/lozcommandtank.bos new file mode 100644 index 000000000..fc86e4833 --- /dev/null +++ b/Scripts/lozcommandtank.bos @@ -0,0 +1,184 @@ + +// One ninth of the full cycle duration, in millisecond +// The larger this value the slower the walk animation +#define WALK_PERIOD 50 + + +piece base, nano, nanopoint1, rearwheels, frontwheels, sidetanks, reartanks, turret, barrel1, firepoint1, dirt; + +static-var maxreloadtime, moving, bMoving, terraintype, building; + +#define SIG_AIM1 2 +#define SIG_FIRE1 4 +#define SIG_MOVE 8 +#define SMOKEPIECE1 base +#include "springdefs.h" +#define SIG_BUILD 16 +#define SIG_AIM_2 32 +#define nanoflame 1024+0 + + +SmokeUnit(healthpercent, sleeptime, smoketype) +{ + while( get BUILD_PERCENT_LEFT ) + { + sleep 400; + } + while( TRUE ) + { + healthpercent = get HEALTH; + if( healthpercent < 66 ) + { + smoketype = 256 | 2; + if( Rand( 1, 66 ) < healthpercent ) + { + smoketype = 256 | 1; + } + emit-sfx 1026 from turret; + } + sleeptime = healthpercent * 50; + if( sleeptime < 200 ) + { + sleeptime = 200; + } + sleep sleeptime; + } +} + + + +StartMoving() +{ + signal SIG_MOVE; + set-signal-mask SIG_MOVE; + moving=TRUE; + bMoving = TRUE; +} + +StopMoving() +{ + bMoving = FALSE; + signal SIG_MOVE; + set-signal-mask SIG_MOVE; + moving=FALSE; +} + + +Thrust() +{ + while( TRUE ) + { + if (moving) + { + emit-sfx 1025 + 0 from dirt; + spin frontwheels around x-axis speed <500.005495>; + spin rearwheels around x-axis speed <500.005495>; + + } + else + { + stop-spin frontwheels around x-axis decelerate <200.000000>; + stop-spin rearwheels around x-axis decelerate <200.000000>; + } + sleep 400; + } +} + + +buildflame() +{ + while( TRUE ) + { + if (building) + { + emit-sfx nanoflame from nanopoint1; + + } + sleep 600; + } +} + + +Create() +{ + moving=FALSE; + while(get BUILD_PERCENT_LEFT) + { + sleep 250; + } + start-script SmokeUnit(); + start-script Thrust(); + start-script buildflame(); +} + +RestoreAfterDelay() // restore function to turn the turret and so forth back to start +{ +sleep 3000; +turn turret to y-axis <0> speed <60>; +turn barrel1 to x-axis <0> speed <30>; +} + + +AimPrimary(heading, pitch) // single weapon with 2 fires this tell sit what to do while aiming +{ +signal SIG_AIM_2; +set-signal-mask SIG_AIM_2; +turn turret to y-axis heading speed <5000>; +turn barrel1 to x-axis <0> - pitch speed <5000>; +wait-for-turn turret around y-axis; +wait-for-turn barrel1 around x-axis; +start-script RestoreAfterDelay(); +return (1); +} + +FirePrimary() // what do while firing, fires 1 barrel then the next , and resets +{ +emit-sfx 1027 + 0 from firepoint1; +} + +AimFromPrimary(piecenum) // where it aims the weapon from +{ +piecenum = barrel1; +} + +QueryPrimary(piecenum) // where the shot is called from +{ +piecenum = firepoint1; +} + + +StartBuilding(heading, pitch) +{ + signal SIG_BUILD; + set-signal-mask SIG_BUILD; + set INBUILDSTANCE to 1; + building = 1; + while (1) { +// emit-sfx 2048 from nanopoint1; + sleep 30; + } +} + +StopBuilding() +{ + signal SIG_BUILD; + set-signal-mask SIG_BUILD; + set INBUILDSTANCE to 0; + building = 0; +} + +QueryNanoPiece(piecenum) +{ + piecenum = nanopoint1; +} + +Killed(severity, corpsetype) // how it explodes +{ + corpsetype = 1; + explode frontwheels type EXPLODE_ON_HIT; + explode rearwheels type EXPLODE_ON_HIT; + explode reartanks type EXPLODE_ON_HIT; + explode sidetanks type EXPLODE_ON_HIT; + explode nano type EXPLODE_ON_HIT; + explode barrel1 type EXPLODE_ON_HIT; +} \ No newline at end of file diff --git a/Scripts/lozcommandtank.cob b/Scripts/lozcommandtank.cob new file mode 100644 index 000000000..ddf26e520 Binary files /dev/null and b/Scripts/lozcommandtank.cob differ diff --git a/Scripts/zaal/zarty.bos b/Scripts/zaal/zarty.bos index d5be24b87..8d827818d 100644 --- a/Scripts/zaal/zarty.bos +++ b/Scripts/zaal/zarty.bos @@ -202,8 +202,8 @@ AimPrimary(heading,pitch) { signal SIG_AIM; set-signal-mask SIG_AIM; - turn head to y-axis heading speed <250>; - turn head to x-axis 0 -pitch speed <200>; + turn head to y-axis heading speed <5000>; + turn head to x-axis 0 -pitch speed <5000>; wait-for-turn head around y-axis; start-script RestoreAfterDelay(); diff --git a/Scripts/zaal/zarty.cob b/Scripts/zaal/zarty.cob index de99a0753..25463e2ae 100644 Binary files a/Scripts/zaal/zarty.cob and b/Scripts/zaal/zarty.cob differ diff --git a/Scripts/zaal/zassault.bos b/Scripts/zaal/zassault.bos index 730980a57..9efdb687b 100644 --- a/Scripts/zaal/zassault.bos +++ b/Scripts/zaal/zassault.bos @@ -150,8 +150,8 @@ AimPrimary(heading,pitch) { signal SIG_AIM; set-signal-mask SIG_AIM; - turn head to y-axis heading speed <250>; - turn head to x-axis 0 -pitch speed <200>; + turn head to y-axis heading speed <5000>; + turn head to x-axis 0 -pitch speed <5000>; return(TRUE); } diff --git a/Scripts/zaal/zassault.cob b/Scripts/zaal/zassault.cob index 21fca000b..1fa57561c 100644 Binary files a/Scripts/zaal/zassault.cob and b/Scripts/zaal/zassault.cob differ diff --git a/Scripts/zaal/zlightswarm.bos b/Scripts/zaal/zlightswarm.bos index 843457c28..10e57c76b 100644 --- a/Scripts/zaal/zlightswarm.bos +++ b/Scripts/zaal/zlightswarm.bos @@ -152,8 +152,8 @@ AimPrimary(heading,pitch) { signal SIG_AIM; set-signal-mask SIG_AIM; - turn head to y-axis heading speed <250>; - turn head to x-axis 0 -pitch speed <200>; + turn head to y-axis heading speed <5000>; + turn head to x-axis 0 -pitch speed <5000>; wait-for-turn head around y-axis; start-script RestoreAfterDelay(); @@ -178,9 +178,9 @@ Killed( severity, corpsetype ) { corpsetype = 1; emit-sfx 1025 from body; - explode head type FALL | NOHEATCLOUD; - explode tail type FALL | NOHEATCLOUD; - explode lblade type FALL | NOHEATCLOUD; - explode rblade type FALL | NOHEATCLOUD; + explode head type FALL; + explode tail type FALL; + explode lblade type FALL; + explode rblade type FALL; return( 0 ); } \ No newline at end of file diff --git a/Scripts/zaal/zlightswarm.cob b/Scripts/zaal/zlightswarm.cob index 4170b1fea..5210f6130 100644 Binary files a/Scripts/zaal/zlightswarm.cob and b/Scripts/zaal/zlightswarm.cob differ diff --git a/Scripts/zaal/zmedswarm.bos b/Scripts/zaal/zmedswarm.bos index f34f62392..ba681560b 100644 --- a/Scripts/zaal/zmedswarm.bos +++ b/Scripts/zaal/zmedswarm.bos @@ -155,8 +155,8 @@ AimPrimary(heading, pitch) { signal SIG_AIM; set-signal-mask SIG_AIM; - turn head to y-axis heading speed <250.000000>; - turn head to x-axis <0.000000> - pitch speed <200.000000>; + turn head to y-axis heading speed <5000>; + turn head to x-axis <0.000000> - pitch speed <5000>; wait-for-turn head around y-axis; start-script RestoreAfterDelay(); return (1); diff --git a/Scripts/zaal/zmedswarm.cob b/Scripts/zaal/zmedswarm.cob index 6ff60ca6b..38c302ee6 100644 Binary files a/Scripts/zaal/zmedswarm.cob and b/Scripts/zaal/zmedswarm.cob differ diff --git a/Scripts/zaal/zpyro.bos b/Scripts/zaal/zpyro.bos index 7f005f4c4..bd7e02fcb 100644 --- a/Scripts/zaal/zpyro.bos +++ b/Scripts/zaal/zpyro.bos @@ -193,8 +193,8 @@ AimSecondary(heading,pitch) { signal SIG_AIM; set-signal-mask SIG_AIM; - turn head to y-axis heading speed <175>; - turn head to x-axis 0 -pitch speed <175>; + turn head to y-axis heading speed <5000>; + turn head to x-axis 0 -pitch speed <5000>; wait-for-turn head around y-axis; wait-for-turn head around x-axis; return(1); diff --git a/Scripts/zaal/zpyro.cob b/Scripts/zaal/zpyro.cob index 72cd0f67a..0cf174b1e 100644 Binary files a/Scripts/zaal/zpyro.cob and b/Scripts/zaal/zpyro.cob differ diff --git a/Scripts/zaal/zskirmisher.bos b/Scripts/zaal/zskirmisher.bos index 636ed0c8a..160308788 100644 --- a/Scripts/zaal/zskirmisher.bos +++ b/Scripts/zaal/zskirmisher.bos @@ -152,8 +152,8 @@ AimPrimary(heading,pitch) { signal SIG_AIM; set-signal-mask SIG_AIM; - turn head to y-axis heading speed <250>; - turn head to x-axis 0 -pitch speed <200>; + turn head to y-axis heading speed <5000>; + turn head to x-axis 0 -pitch speed <5000>; wait-for-turn head around y-axis; start-script RestoreAfterDelay(); @@ -169,8 +169,8 @@ AimSecondary(heading,pitch) } signal SIG_AIM; set-signal-mask SIG_AIM; - turn head to y-axis heading speed <250>; - turn head to x-axis 0 -pitch speed <200>; + turn head to y-axis heading speed <5000>; + turn head to x-axis 0 -pitch speed <5000>; wait-for-turn head around y-axis; start-script RestoreAfterDelay(); diff --git a/Scripts/zaal/zskirmisher.cob b/Scripts/zaal/zskirmisher.cob index a6e7a4439..00de212d4 100644 Binary files a/Scripts/zaal/zskirmisher.cob and b/Scripts/zaal/zskirmisher.cob differ diff --git a/Unit Reassignments.txt b/Unit Reassignments.txt new file mode 100644 index 000000000..d0daae0a3 --- /dev/null +++ b/Unit Reassignments.txt @@ -0,0 +1,38 @@ +No buildings in/on water anymore + +Faction 1 - Remove Hovertank and replace with normal tank + +f1landfac + +Tech1 +eallterrlight +ehbotpeewee +eallterrriot_shotgun +ehbotthud +eallterrassault + +Tech2 +eallterrmed +ehbotsniper +eallterrheavy +ehbotrocko +eallterrshield + + +Faction 2 - Remove Waterweapon1 - Reintroduce slow movement underwater + +ebasefactory + +Tech 1 +eamphibbuggy +elighttank3 +eriottank_shotgun +eamphibneedle +eartytank +ebox + +Tech 2 +eamphibmedtank +eheavytank3 +eamphibrock +emissiletank3 \ No newline at end of file diff --git a/UnitPic Tools/constripe frame.png b/UnitPic Tools/constripe frame.png new file mode 100644 index 000000000..4a76eddb6 Binary files /dev/null and b/UnitPic Tools/constripe frame.png differ diff --git a/UnitPic Tools/lozengineer.png b/UnitPic Tools/lozengineer.png new file mode 100644 index 000000000..b3a034ca8 Binary files /dev/null and b/UnitPic Tools/lozengineer.png differ diff --git a/UnitTextures/afaction_normals.dds b/UnitTextures/afaction_normals.dds deleted file mode 100644 index 8e01568a7..000000000 Binary files a/UnitTextures/afaction_normals.dds and /dev/null differ diff --git a/UnitTextures/afaction_tex1.dds b/UnitTextures/afaction_tex1.dds deleted file mode 100644 index 900ae0e81..000000000 Binary files a/UnitTextures/afaction_tex1.dds and /dev/null differ diff --git a/UnitTextures/afaction_tex2.dds b/UnitTextures/afaction_tex2.dds deleted file mode 100644 index d053a25a7..000000000 Binary files a/UnitTextures/afaction_tex2.dds and /dev/null differ diff --git a/UnitTextures/desktop.ini b/UnitTextures/desktop.ini new file mode 100644 index 000000000..95f0b5ac1 Binary files /dev/null and b/UnitTextures/desktop.ini differ diff --git a/UnitTextures/texgroups.cfg b/UnitTextures/texgroups.cfg new file mode 100644 index 000000000..95f0b5ac1 Binary files /dev/null and b/UnitTextures/texgroups.cfg differ diff --git a/Units-Configs-Basedefs/basedefs/Faction 2/f2engineer_basedef.lua b/Units-Configs-Basedefs/basedefs/Faction 2/f2engineer_basedef.lua new file mode 100644 index 000000000..7b9d58713 --- /dev/null +++ b/Units-Configs-Basedefs/basedefs/Faction 2/f2engineer_basedef.lua @@ -0,0 +1,103 @@ +unitDef = { + acceleration = 1, + brakeRate = 0.2, + buildCostEnergy = 0, + buildCostMetal = buildCostMetal, + buildDistance = buildDistance, + builder = true, + buildTime = 5, + buildpic = "lozengineer.png", + canAttack = true, + canGuard = true, + canHover = true, + canMove = true, + canPatrol = true, + CanAssist = true, + canBeAssisted = true, + CanCapture = false, + CanRepair = true, + canRestore = false, + canBuild = true, + canGuard = true, + canHover = true, + canMove = true, + canPatrol = true, + canreclaim = true, + category = "LIGHT NOTAIR SUPPORT", + description = [[Builds Units]], + energyMake = 0, + energyStorage = 0, + energyUse = 0, + explodeAs = "mediumExplosionGenericGreen", + footprintX = 2, + footprintZ = 2, + iconType = "engineer", + idleAutoHeal = .5, + idleTime = 2200, + leaveTracks = false, + maxDamage = maxDamage, + maxVelocity = 4.5, + maxReverseVelocity = 1, + maxWaterDepth = 10, + metalStorage = 0, + movementClass = "HOVERTANK2", + name = humanName, --Because he was the first one to get the "Lobster" pun + noChaseCategory = "VTOL", + objectName = objectName, + script = script, + radarDistance = 0, + repairable = false, + selfDestructAs = "mediumExplosionGenericGreen", + showNanoSpray = false, + sightDistance = 500, + smoothAnim = true, + stealth = true, + seismicSignature = 2, + transportbyenemy = false; + -- turnInPlace = false, + -- turnInPlaceSpeedLimit = 2.3, + turnInPlace = true, + turnRate = 5000, + -- turnrate = 250, + unitname = unitName, + workerTime = 1, + capturespeed = 1, + TerraformSpeed = 2147000, + ReclaimSpeed = 0, + repairspeed = 0.5, + sfxtypes = { + pieceExplosionGenerators = { + "deathceg3", + "deathceg4", + }, + + explosiongenerators = { + "custom:nanoorb", + "custom:emptydirt", + "custom:blacksmoke", + }, + }, + buildoptions = Shared.buildListLoz, + sounds = { + underattack = "other/unitsunderattack1", + ok = { + "ack", + }, + select = { + "unitselect", + }, + }, + customParams = { + unittype = "mobile", + area_mex_def = "emetalextractor", + ProvideTech = [[tech0]], + canbetransported = "true", + death_sounds = "generic", + armortype = armortype, + nofriendlyfire = "1", + noenergycost = true, + normaltex = "unittextures/lego2skin_explorernormal.dds", + buckettex = "unittextures/lego2skin_explorerbucket.dds", + factionname = "Loz Alliance", + }, +} \ No newline at end of file diff --git a/Units-Configs-Basedefs/basedefs/air/eairemp_basedef.lua b/Units-Configs-Basedefs/basedefs/air/eairemp_basedef.lua index e627d7bad..a9957bc82 100644 --- a/Units-Configs-Basedefs/basedefs/air/eairemp_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/eairemp_basedef.lua @@ -22,8 +22,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "smallExplosionGenericBlue", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, hoverAttack = false, floater = true, iconType = "scout", @@ -31,6 +31,12 @@ unitDef = { idleTime = 2200, loopbackattack = true, maxAcc = 1, + + maxAileron = 0.01, + maxElevator = 0.01, + maxRudder = 0.01, + maxBank = 0.01, + maxDamage = 640, maxSlope = 90, maxVelocity = 10, @@ -178,7 +184,7 @@ weaponDefs = { waterweapon = true, customparams = { isupgraded = isUpgraded, - damagetype = "antiarmored", + damagetype = "antilightarmored", }, damage = { default = 15, diff --git a/Units-Configs-Basedefs/basedefs/air/eairplant_basedef.lua b/Units-Configs-Basedefs/basedefs/air/eairplant_basedef.lua index 9f20ad9dc..41a49c78e 100644 --- a/Units-Configs-Basedefs/basedefs/air/eairplant_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/eairplant_basedef.lua @@ -1,7 +1,7 @@ unitDef = { activatewhenbuilt = true, buildCostEnergy = 0, - buildCostMetal = 30, + buildCostMetal = buildCostMetal, builder = true, buildTime = 2.5, buildpic = "eairplant.png", @@ -18,8 +18,8 @@ unitDef = { energyMake = 0, explodeAs = "hugeBuildingExplosionGenericRed", floater = true, - footprintX = 18, - footprintZ = 18, + footprintX = 9, + footprintZ = 9, iconType = "factory", idleAutoHeal = .5, idleTime = 2200, diff --git a/Units-Configs-Basedefs/basedefs/air/ebomber_basedef.lua b/Units-Configs-Basedefs/basedefs/air/ebomber_basedef.lua index 164a2d9b2..c5b0c6d5f 100644 --- a/Units-Configs-Basedefs/basedefs/air/ebomber_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/ebomber_basedef.lua @@ -16,14 +16,14 @@ unitDef = { canstop = true, category = "AIRARMORED VTOL", collide = true, - cruiseAlt = 120, + cruiseAlt = 400, description = [[Bomber]], energyMake = 0, energyStorage = 0, energyUse = 0, explodeAs = "largeExplosionGeneric", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, floater = true, hoverAttack = false, iconType = "air_bomb", @@ -31,9 +31,15 @@ unitDef = { idleTime = 2200, loopbackattack = true, maxacc = 1, + + maxAileron = 0.01, + maxElevator = 0.01, + maxRudder = 0.01, + maxBank = 0.01, + maxDamage = 670, maxSlope = 90, - maxVelocity = 10, + maxVelocity = 13, verticalSpeed = 15, maxWaterDepth = 0, metalStorage = 0, @@ -43,12 +49,11 @@ unitDef = { repairable = false, selfDestructAs = "largeExplosionGeneric", side = "CORE", - sightDistance = 800, + sightDistance = 400, smoothAnim = true, stealth = false, transportbyenemy = false; turnRate = 5000, - turnradius = 250, unitname = unitName, upright = true, workerTime = 0, @@ -74,7 +79,7 @@ unitDef = { }, weapons = { [1] = { - def = "missile", + def = "bomb", onlyTargetCategory = "BUILDING", noChaseCategory = "VTOL LIGHT ARMORED", }, @@ -148,4 +153,48 @@ weaponDefs = { default = 500, }, }, + + bomb = { + AreaOfEffect = 150, + avoidFeature = false, + avoidFriendly = false, + collideFeature = false, + collideFriendly = false, + cylinderTargeting = 0, + burst = 10, + burstrate = 0.1, + cegTag = "genericshellexplosion-large-sparks-burn", + energypershot = 0, + explosionGenerator = "custom:genericshellexplosion-medium-red", + fallOffRate = 1, + fireStarter = 50, + impulseFactor = 0, + minintensity = "1", + name = "Cluster Bomb", + range = 1000, + reloadtime = 6, + WeaponType = "Cannon", + rgbColor = "1 0.5 0", + rgbColor2 = "1 1 1", + soundTrigger = true, + soundstart = "weapons/bombdrop.wav", + soundHit = "other/18402_inferno_xplo.wav", + soundHitWet = "explosions/subhitbomb.wav", + sprayangle = 5000, + size = 4, + --texture1 = "shot", + --texture2 = "empty", + thickness = 15, + tolerance = 7500, + turret = false, + weaponVelocity = 150, + customparams = { + damagetype = "antibuilding", + isupgraded = isUpgraded, + nofriendlyfire = 1, + }, + damage = { + default = 100, + }, + }, } diff --git a/Units-Configs-Basedefs/basedefs/air/edrone_basedef.lua b/Units-Configs-Basedefs/basedefs/air/edrone_basedef.lua index 59af56c48..abdf4aa3a 100644 --- a/Units-Configs-Basedefs/basedefs/air/edrone_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/edrone_basedef.lua @@ -27,8 +27,8 @@ unitDef = { flareDropVector = "0 0 -1", flareefficieny = "0.3", flareReload = 3, - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, hoverAttack = true, iconType = "drone", idleAutoHeal = .5, diff --git a/Units-Configs-Basedefs/basedefs/air/efighter_basedef.lua b/Units-Configs-Basedefs/basedefs/air/efighter_basedef.lua index 0e007b118..88769940e 100644 --- a/Units-Configs-Basedefs/basedefs/air/efighter_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/efighter_basedef.lua @@ -23,14 +23,20 @@ unitDef = { energyUse = 0, explodeAs = "mediumExplosionGenericWhite", floater = true, - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, hoverAttack = false, iconType = "air_lit", idleAutoHeal = .5, idleTime = 2200, maxacc = 1, maxDamage = 812, + + maxAileron = 0.01, + maxElevator = 0.01, + maxRudder = 0.01, + maxBank = 0.01, + maxSlope = 90, maxVelocity = 12, maxWaterDepth = 255, @@ -111,7 +117,6 @@ weaponDefs = { fallOffRate = 1, fireStarter = 50, impulseFactor = 0, - lineOfSight = true, minintensity = "1", name = "Laser", range = 500, diff --git a/Units-Configs-Basedefs/basedefs/air/egunship2_basedef.lua b/Units-Configs-Basedefs/basedefs/air/egunship2_basedef.lua index 7d990073f..59bdf7340 100644 --- a/Units-Configs-Basedefs/basedefs/air/egunship2_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/egunship2_basedef.lua @@ -30,6 +30,12 @@ unitDef = { idleAutoHeal = .5, idleTime = 2200, maxacc = 1, + + maxAileron = 0.01, + maxElevator = 0.01, + maxRudder = 0.01, + maxBank = 0.01, + maxDamage = 940, maxSlope = 90, maxVelocity = 15, @@ -135,7 +141,7 @@ weaponDefs = { weaponVelocity = 700, customparams = { isupgraded = isUpgraded, - damagetype = "antiarmored", + damagetype = "antilightarmored", }, damage = { default = 150, diff --git a/Units-Configs-Basedefs/basedefs/air/eraider_basedef.lua b/Units-Configs-Basedefs/basedefs/air/eraider_basedef.lua index dd49a42a0..a9d96035c 100644 --- a/Units-Configs-Basedefs/basedefs/air/eraider_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/eraider_basedef.lua @@ -22,8 +22,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "smallExplosionGenericBlue", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, hoverAttack = false, floater = true, iconType = "scout", diff --git a/Units-Configs-Basedefs/basedefs/air/escout_basedef.lua b/Units-Configs-Basedefs/basedefs/air/escout_basedef.lua index 90f253fc5..2ca663e36 100644 --- a/Units-Configs-Basedefs/basedefs/air/escout_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/escout_basedef.lua @@ -21,14 +21,20 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "smallExplosionGenericBlue", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, hoverAttack = true, floater = true, iconType = "scout", idleAutoHeal = .5, idleTime = 2200, isTargetingUpgrade = false, + + maxAileron = 0.01, + maxElevator = 0.01, + maxRudder = 0.01, + maxBank = 0.01, + maxDamage = 160, maxSlope = 90, maxVelocity = 10, diff --git a/Units-Configs-Basedefs/basedefs/air/escoutdrone_basedef.lua b/Units-Configs-Basedefs/basedefs/air/escoutdrone_basedef.lua index 373a749a7..170822fd7 100644 --- a/Units-Configs-Basedefs/basedefs/air/escoutdrone_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/escoutdrone_basedef.lua @@ -4,7 +4,7 @@ unitDef = { bankscale = "1", brakeRate = 0.7, buildCostEnergy = 0, - buildCostMetal = 20, + buildCostMetal = 10, buildTime = 2.5, buildpic = "edrone.png", canAttack = true, @@ -27,8 +27,8 @@ unitDef = { flareDropVector = "0 0 -1", flareefficieny = "0.3", flareReload = 3, - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, hoverAttack = true, iconType = "drone", idleAutoHeal = .5, diff --git a/Units-Configs-Basedefs/basedefs/air/etransport_basedef.lua b/Units-Configs-Basedefs/basedefs/air/etransport_basedef.lua index 0fab4ebe5..663be4c6d 100644 --- a/Units-Configs-Basedefs/basedefs/air/etransport_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/air/etransport_basedef.lua @@ -23,8 +23,8 @@ unitDef = { energyUse = 0, explodeAs = "mediumExplosionGenericPurple", fallSpeed = 1000, - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, hoverAttack = true, holdSteady = true, -- hoverAttack = true, @@ -32,6 +32,12 @@ unitDef = { maxDamage = 500, maxSlope = 90, maxVelocity = 7, + + maxAileron = 0.01, + maxElevator = 0.01, + maxRudder = 0.01, + maxBank = 0.01, + verticalSpeed = 30, name = humanName, objectName = objectName, diff --git a/Units-Configs-Basedefs/basedefs/allterrain/eallterranarchid_basedef.lua b/Units-Configs-Basedefs/basedefs/allterrain/eallterranarchid_basedef.lua index 9b82711a8..9e25942b9 100644 --- a/Units-Configs-Basedefs/basedefs/allterrain/eallterranarchid_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/allterrain/eallterranarchid_basedef.lua @@ -20,7 +20,7 @@ unitDef = { cancloak = true, cloakCost = 0, - cloakCostMoving = 1, + cloakCostMoving = 0, minCloakDistance = 150, decloakOnFire = true, decloakSpherical = true, @@ -75,7 +75,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirtsmall", + "custom:emptydirt", "custom:flamethrowerrange750", "custom:blacksmoke", }, @@ -111,6 +111,7 @@ unitDef = { buckettex = "unittextures/lego2skin_explorerbucket.dds", factionname = "ateran", corpse = "energycore", + decloakradiushalved = true, }, } diff --git a/Units-Configs-Basedefs/basedefs/allterrain/eallterrassault_basedef.lua b/Units-Configs-Basedefs/basedefs/allterrain/eallterrassault_basedef.lua index d4eaad726..fe084ec16 100644 --- a/Units-Configs-Basedefs/basedefs/allterrain/eallterrassault_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/allterrain/eallterrassault_basedef.lua @@ -19,7 +19,7 @@ unitDef = { cancloak = true, cloakCost = 0, - cloakCostMoving = 1, + cloakCostMoving = 0, minCloakDistance = 70, decloakOnFire = true, decloakSpherical = true, @@ -33,8 +33,8 @@ unitDef = { energyUse = 0, explodeAs = "hugeExplosionGeneric", firestandorders = "1", - footprintX = 6, - footprintZ = 6, + footprintX = 3, + footprintZ = 3, iconType = "arty_arm", idleAutoHeal = .5, idleTime = 2200, @@ -44,7 +44,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "ALLTERRTANK6", + movementClass = "ALLTERRTANK3", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -72,7 +72,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirtsmall", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -88,6 +88,7 @@ unitDef = { weapons = { [1] = { def = "assaulttankcannon", + badTargetCategory = "VTOL LIGHT ARMORED BIO", }, }, customParams = { @@ -104,6 +105,7 @@ unitDef = { buckettex = "unittextures/lego2skin_explorerbucket.dds", factionname = "ateran", corpse = "energycore", + decloakradiushalved = true, }, } @@ -142,7 +144,7 @@ weaponDefs = { weaponVelocity = 1000, customparams = { isupgraded = isUpgraded, - damagetype = "antibuilding", + damagetype = "antibuildingarty", }, damage = { default = 150, diff --git a/Units-Configs-Basedefs/basedefs/allterrain/eallterrheavy_basedef.lua b/Units-Configs-Basedefs/basedefs/allterrain/eallterrheavy_basedef.lua index bd1ccd83b..149b8a60a 100644 --- a/Units-Configs-Basedefs/basedefs/allterrain/eallterrheavy_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/allterrain/eallterrheavy_basedef.lua @@ -18,8 +18,8 @@ unitDef = { -- Cloaking cancloak = true, - cloakCost = 1, - cloakCostMoving = 2, + cloakCost = 0, + cloakCostMoving = 0, minCloakDistance = 70, decloakOnFire = true, decloakSpherical = true, @@ -33,8 +33,8 @@ unitDef = { energyUse = 0, explodeAs = "largeExplosionGenericGreen", firestandorders = "1", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "td_arm_all", idleAutoHeal = .5, idleTime = 2200, @@ -45,7 +45,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "ALLTERRTANK4", + movementClass = "ALLTERRTANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -73,7 +73,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirtsmall", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -106,6 +106,7 @@ unitDef = { buckettex = "unittextures/lego2skin_explorerbucket.dds", factionname = "ateran", corpse = "energycore", + decloakradiushalved = true, }, } @@ -144,10 +145,10 @@ weaponDefs = { thickness = 9, tolerance = 1000, turret = true, - weaponVelocity = 1000, + weaponVelocity = 1500, customparams = { isupgraded = isUpgraded, - damagetype = "antiarmoredair", + damagetype = "antilightarmored", }, damage = { default = 125, diff --git a/Units-Configs-Basedefs/basedefs/allterrain/eallterrlight_basedef.lua b/Units-Configs-Basedefs/basedefs/allterrain/eallterrlight_basedef.lua index 0c0343ea3..7b732e5d2 100644 --- a/Units-Configs-Basedefs/basedefs/allterrain/eallterrlight_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/allterrain/eallterrlight_basedef.lua @@ -18,7 +18,7 @@ unitDef = { cancloak = true, cloakCost = 0, - cloakCostMoving = 1, + cloakCostMoving = 0, minCloakDistance = 70, decloakOnFire = true, decloakSpherical = true, @@ -32,8 +32,8 @@ unitDef = { energyUse = 0, explodeAs = "smallExplosionGeneric", firestandorders = "1", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "raider", idleAutoHeal = .5, idleTime = 2200, @@ -44,7 +44,7 @@ unitDef = { turninplacespeedlimit = 5.5, maxWaterDepth = 10, metalStorage = 0, - movementClass = "ALLTERRTANK4", + movementClass = "ALLTERRTANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -70,7 +70,7 @@ unitDef = { explosiongenerators = { "custom:factorysparks", - "custom:dirtsmall", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -103,6 +103,7 @@ unitDef = { buckettex = "unittextures/lego2skin_explorerbucket.dds", factionname = "ateran", corpse = "energycore", + decloakradiushalved = true, }, } diff --git a/Units-Configs-Basedefs/basedefs/allterrain/eallterrmed_basedef.lua b/Units-Configs-Basedefs/basedefs/allterrain/eallterrmed_basedef.lua index 6815125eb..c3210ac0c 100644 --- a/Units-Configs-Basedefs/basedefs/allterrain/eallterrmed_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/allterrain/eallterrmed_basedef.lua @@ -18,7 +18,7 @@ unitDef = { cancloak = true, cloakCost = 0, - cloakCostMoving = 1, + cloakCostMoving = 0, minCloakDistance = 70, decloakOnFire = true, decloakSpherical = true, @@ -31,8 +31,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericPurple", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "td_arm_arm", idleAutoHeal = .5, idleTime = 2200, @@ -45,7 +45,7 @@ unitDef = { maxWaterDepth = 10, metalStorage = 0, mobilestandorders = "1", - movementClass = "ALLTERRTANK4", + movementClass = "ALLTERRTANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -71,7 +71,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirtsmall", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -104,6 +104,7 @@ unitDef = { buckettex = "unittextures/lego2skin_explorerbucket.dds", factionname = "ateran", corpse = "energycore", + decloakradiushalved = true, }, } diff --git a/Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_basedef.lua b/Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_basedef.lua index 06b5b4a85..c5ad79489 100644 --- a/Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_basedef.lua @@ -20,7 +20,7 @@ unitDef = { cancloak = true, cloakCost = 0, - cloakCostMoving = 1, + cloakCostMoving = 0, minCloakDistance = 70, decloakOnFire = true, decloakSpherical = true, @@ -33,8 +33,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericRed", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "riot_lit", idleAutoHeal = .5, idleTime = 2200, @@ -46,7 +46,7 @@ unitDef = { turninplacespeedlimit = 3.3, maxWaterDepth = 10, metalStorage = 0, - movementClass = "ALLTERRTANK4", + movementClass = "ALLTERRTANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -72,7 +72,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirtsmall", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -111,6 +111,7 @@ unitDef = { buckettex = "unittextures/lego2skin_explorerbucket.dds", factionname = "ateran", corpse = "energycore", + decloakradiushalved = true, }, } diff --git a/Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_shotgun_basedef.lua b/Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_shotgun_basedef.lua index 3912d3173..83feba2a4 100644 --- a/Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_shotgun_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/allterrain/eallterrriot_shotgun_basedef.lua @@ -20,7 +20,7 @@ unitDef = { cancloak = true, cloakCost = 0, - cloakCostMoving = 1, + cloakCostMoving = 0, minCloakDistance = 70, decloakOnFire = true, decloakSpherical = true, @@ -33,8 +33,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericRed", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "riot_lit", idleAutoHeal = .5, idleTime = 2200, @@ -46,7 +46,7 @@ unitDef = { turninplacespeedlimit = 3.3, maxWaterDepth = 10, metalStorage = 0, - movementClass = "ALLTERRTANK4", + movementClass = "ALLTERRTANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -72,7 +72,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirtsmall", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -111,6 +111,7 @@ unitDef = { buckettex = "unittextures/lego2skin_explorerbucket.dds", factionname = "ateran", corpse = "energycore", + decloakradiushalved = true, }, } @@ -162,37 +163,42 @@ weaponDefs = { }, riottankshotgun = { - AreaOfEffect = 250, + areaofeffect = 75, avoidFriendly = false, avoidFeature = false, collideFriendly = false, collideFeature = false, - burst = 5, - burstrate = 0.2, + --burstrate = 0.2, + --burst = 5, cegTag = "bruisercannon", - explosionGenerator = "custom:genericshellexplosion-medium", + edgeeffectiveness = 1, + explosionGenerator = "custom:genericshellexplosion-large-sparks-burn", energypershot = 0, interceptedByShieldType = 4, impulseFactor = 0, name = "Shotgun", - --projectiles = 10, + noSelfDamage = true, + noexplode = true, + projectiles = 5, range = 500, reloadtime = 5, - sprayangle = 2000, + sprayangle = 3500, + size = 2, weaponType = "Cannon", soundHit = "explosions/mediumcannonhit.wav", - soundStart = "weapons/bruisercannon.wav", - --sprayangle = 2000, + soundStart = "weapons/Shotgun Boom 103.wav", turret = true, weaponVelocity = 400, customparams = { isupgraded = isUpgraded, damagetype = "light", + nofriendlyfire = true, + single_hit = true, }, damage = { - default = 30, + default = 150, }, }, -} +} \ No newline at end of file diff --git a/Units-Configs-Basedefs/basedefs/allterrain/eallterrshield_basedef.lua b/Units-Configs-Basedefs/basedefs/allterrain/eallterrshield_basedef.lua index 07c7ae534..eff573e2c 100644 --- a/Units-Configs-Basedefs/basedefs/allterrain/eallterrshield_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/allterrain/eallterrshield_basedef.lua @@ -18,7 +18,7 @@ unitDef = { cancloak = true, cloakCost = 0, - cloakCostMoving = 1, + cloakCostMoving = 0, minCloakDistance = 150, decloakOnFire = false, decloakSpherical = true, @@ -32,8 +32,8 @@ unitDef = { energyUse = 0, explodeAs = "hugeExplosionGenericPurple", fireState = "0", - footprintX = 5, - footprintZ = 5, + footprintX = 2, + footprintZ = 2, iconType = "shield_lit", idleAutoHeal = .5, idleTime = 2200, @@ -44,7 +44,7 @@ unitDef = { turninplacespeedlimit = 4, maxWaterDepth = 10, metalStorage = 0, - movementClass = "ALLTERRTANK5", + movementClass = "ALLTERRTANK2", moveState = "0", name = humanName, noChaseCategory = "VTOL", @@ -71,7 +71,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirtsmall", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -107,6 +107,8 @@ unitDef = { corpse = "energycore", retreatRangeDAI = 600, + decloakradiushalved = true, + area_cloak = 1, -- Can this unit emit a cloaking field? area_cloak_upkeep = 5, -- How much energy does it cost to maintain the cloaking field? area_cloak_radius = 150, -- How large is the cloaking field? @@ -133,8 +135,8 @@ weaponDefs = { Shieldenergyuse = 0, Shieldradius = 300, Shieldpower = 500, - Shieldpowerregen = 50, - Shieldpowerregenenergy = 50, + Shieldpowerregen = 25, + Shieldpowerregenenergy = 25, Shieldintercepttype = 4, Shieldgoodcolor = "0.0 0.2 1.0", Shieldbadcolor = "1.0 0 0", diff --git a/Units-Configs-Basedefs/basedefs/allterrain/eminifac_basedef.lua b/Units-Configs-Basedefs/basedefs/allterrain/eminifac_basedef.lua index e409be78f..c3f4b816e 100644 --- a/Units-Configs-Basedefs/basedefs/allterrain/eminifac_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/allterrain/eminifac_basedef.lua @@ -37,8 +37,8 @@ unitDef = { energyUse = 0, energyMake = 0, explodeAs = "largeExplosionGenericGreen", - footprintX = 22, - footprintZ = 22, + footprintX = 11, + footprintZ = 11, iconType = "factory", idleAutoHeal = .5, idleTime = 2200, @@ -60,7 +60,7 @@ unitDef = { unitname = unitName, -- unitRestricted = 1, workerTime = 1, - yardMap = "oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyyyooo", + yardMap = "ccccccccccc ccccccccccc ccccccccccc ccccccccccc ccccccccccc ccccccccccc ccccccccccc ccccccccccc ccccccccccc ccccccccccc ccccccccccc ", -- usePieceCollisionVolumes = true, sfxtypes = { pieceExplosionGenerators = { @@ -90,6 +90,7 @@ unitDef = { buckettex = "unittextures/lego2skin_explorerbucket.dds", factionname = "ateran", corpse = "energycore", + decloakradiushalved = true, -- ProvideTech = "1 Powergrid", -- ProvideTechRange = "1500", -- groundtexselectimg = ":nc:bitmaps/power/powergrid.png", diff --git a/Units-Configs-Basedefs/basedefs/amphib/eamphibarty_basedef.lua b/Units-Configs-Basedefs/basedefs/amphib/eamphibarty_basedef.lua index 8fc5f5195..6122e2db2 100644 --- a/Units-Configs-Basedefs/basedefs/amphib/eamphibarty_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/amphib/eamphibarty_basedef.lua @@ -17,8 +17,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "largeExplosionGenericBlue", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "arty_lit", idleAutoHeal = .5, idleTime = 2200, @@ -29,7 +29,7 @@ unitDef = { maxReverseVelocity = 1, minWaterDepth = 10, metalStorage = 0, - movementClass = "TANK4", + movementClass = "TANK2", name = humanName, objectName = objectName, script = script, @@ -58,7 +58,7 @@ unitDef = { explosiongenerators = { "custom:factorysparks", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -74,6 +74,7 @@ unitDef = { weapons = { [1] = { def = "assimilatorbeamweapon", + badTargetCategory = "VTOL LIGHT ARMORED BIO", }, }, customParams = { @@ -131,7 +132,7 @@ weaponDefs = { waterweapon = true, customparams = { isupgraded = isUpgraded, - damagetype = "antibuilding", + damagetype = "antibuildingarty", }, damage = { default = 100, diff --git a/Units-Configs-Basedefs/basedefs/amphib/eamphibbuggy_basedef.lua b/Units-Configs-Basedefs/basedefs/amphib/eamphibbuggy_basedef.lua index fdbb93fe4..d34e194bd 100644 --- a/Units-Configs-Basedefs/basedefs/amphib/eamphibbuggy_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/amphib/eamphibbuggy_basedef.lua @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:factorysparks", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units-Configs-Basedefs/basedefs/amphib/eamphibfac_basedef.lua b/Units-Configs-Basedefs/basedefs/amphib/eamphibfac_basedef.lua index 00c73904c..cea468d3a 100644 --- a/Units-Configs-Basedefs/basedefs/amphib/eamphibfac_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/amphib/eamphibfac_basedef.lua @@ -23,8 +23,8 @@ unitDef = { energyUse = 0, energyMake = 0, explodeAs = "hugeBuildingExplosionGenericBlue", - footprintX = 16, - footprintZ = 16, + footprintX = 8, + footprintZ = 8, iconType = "factory", idleAutoHeal = .5, idleTime = 2200, @@ -48,7 +48,7 @@ unitDef = { unitname = unitName, -- unitRestricted = 1, workerTime = 1, - yardMap = "yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo yyyyyyyyoooooooo", + yardMap = "cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc cccccccc ", -- usePieceCollisionVolumes = true, useGroundDecal = true, diff --git a/Units-Configs-Basedefs/basedefs/amphib/eamphibleveler_basedef.lua b/Units-Configs-Basedefs/basedefs/amphib/eamphibleveler_basedef.lua index 43cb06f92..7ab5284d5 100644 --- a/Units-Configs-Basedefs/basedefs/amphib/eamphibleveler_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/amphib/eamphibleveler_basedef.lua @@ -56,7 +56,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units-Configs-Basedefs/basedefs/amphib/eamphibmedtank_basedef.lua b/Units-Configs-Basedefs/basedefs/amphib/eamphibmedtank_basedef.lua index d244887ec..efacc9bbf 100644 --- a/Units-Configs-Basedefs/basedefs/amphib/eamphibmedtank_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/amphib/eamphibmedtank_basedef.lua @@ -18,8 +18,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericGreen", - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, iconType = "td_lit_all", idleAutoHeal = .5, idleTime = 2200, @@ -30,7 +30,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 5000, metalStorage = 0, - movementClass = "TANK3", + movementClass = "TANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -61,7 +61,7 @@ unitDef = { explosiongenerators = { "custom:factorysparks", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units-Configs-Basedefs/basedefs/amphib/eamphibneedle_basedef.lua b/Units-Configs-Basedefs/basedefs/amphib/eamphibneedle_basedef.lua index 40a844390..7694a919f 100644 --- a/Units-Configs-Basedefs/basedefs/amphib/eamphibneedle_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/amphib/eamphibneedle_basedef.lua @@ -18,8 +18,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericPurple", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "td_lit_lit", idleAutoHeal = .5, idleTime = 2200, @@ -30,7 +30,7 @@ unitDef = { maxReverseVelocity = 2, maxWaterDepth = 5000, metalStorage = 0, - movementClass = "TANK4", + movementClass = "TANK2", name = humanName, objectName = objectName, script = script, @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units-Configs-Basedefs/basedefs/amphib/eamphibriot_basedef.lua b/Units-Configs-Basedefs/basedefs/amphib/eamphibriot_basedef.lua index ec3536545..620955d9e 100644 --- a/Units-Configs-Basedefs/basedefs/amphib/eamphibriot_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/amphib/eamphibriot_basedef.lua @@ -19,8 +19,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericWhite", - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, iconType = "riot_lit", idleAutoHeal = .5, idleTime = 2200, @@ -31,7 +31,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 5000, metalStorage = 0, - movementClass = "TANK3", + movementClass = "TANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -62,7 +62,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units-Configs-Basedefs/basedefs/amphib/eamphibriot_shotgun_basedef.lua b/Units-Configs-Basedefs/basedefs/amphib/eamphibriot_shotgun_basedef.lua index 8fe4e507d..2345dab85 100644 --- a/Units-Configs-Basedefs/basedefs/amphib/eamphibriot_shotgun_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/amphib/eamphibriot_shotgun_basedef.lua @@ -19,8 +19,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericWhite", - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, iconType = "riot_lit", idleAutoHeal = .5, idleTime = 2200, @@ -31,7 +31,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 5000, metalStorage = 0, - movementClass = "TANK3", + movementClass = "TANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -62,7 +62,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -150,37 +150,42 @@ weaponDefs = { }, riottankshotgun = { - AreaOfEffect = 250, + AreaOfEffect = 75, avoidFriendly = false, avoidFeature = false, collideFriendly = false, collideFeature = false, - burst = 5, - burstrate = 0.2, + --burstrate = 0.2, + --burst = 5, cegTag = "bruisercannon", - explosionGenerator = "custom:genericshellexplosion-medium", + edgeeffectiveness = 1, + explosionGenerator = "custom:genericshellexplosion-large-sparks-burn", energypershot = 0, interceptedByShieldType = 4, impulseFactor = 0, name = "Shotgun", - --projectiles = 10, + noSelfDamage = true, + noexplode = true, + projectiles = 5, range = 500, reloadtime = 5, - sprayangle = 2000, + sprayangle = 3500, + size = 2, weaponType = "Cannon", soundHit = "explosions/mediumcannonhit.wav", - soundStart = "weapons/bruisercannon.wav", - --sprayangle = 2000, + soundStart = "weapons/Shotgun Boom 101.wav", turret = true, weaponVelocity = 400, customparams = { isupgraded = isUpgraded, damagetype = "light", + nofriendlyfire = true, + single_hit = true, }, damage = { - default = 30, + default = 150, }, }, -} +} \ No newline at end of file diff --git a/Units-Configs-Basedefs/basedefs/amphib/eamphibrock_basedef.lua b/Units-Configs-Basedefs/basedefs/amphib/eamphibrock_basedef.lua index 6d8a00956..af788216e 100644 --- a/Units-Configs-Basedefs/basedefs/amphib/eamphibrock_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/amphib/eamphibrock_basedef.lua @@ -17,8 +17,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGeneric", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "mtd_lit_arm", idleAutoHeal = .5, idleTime = 2200, @@ -29,7 +29,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 5000, metalStorage = 0, - movementClass = "TANK4", + movementClass = "TANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -59,7 +59,7 @@ unitDef = { }, explosiongenerators = { - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:jethtrail", }, @@ -126,13 +126,11 @@ weaponDefs = { soundHit = "explosions/explode5.wav", startVelocity = 250, tolerance = 8000, - turnrate = 5000, - predictBoost = 0.5, + turnrate = 30000, turret = true, - weaponAcceleration = 50, + weaponAcceleration = 400, flightTime = 5, - trajectoryHeight = 1.5, - weaponVelocity = 500, + weaponVelocity = 3000, customparams = { isupgraded = isUpgraded, damagetype = "antiarmoredair", @@ -167,14 +165,11 @@ weaponDefs = { soundHit = "explosions/explode5.wav", startVelocity = 250, tolerance = 8000, - turnrate = 10000, - predictBoost = 0.5, + turnrate = 30000, turret = true, - weaponAcceleration = 50, + weaponAcceleration = 400, flightTime = 5, - trajectoryHeight = 1.5, - sprayangle = 10000, - weaponVelocity = 500, + weaponVelocity = 3000, customparams = { isupgraded = isUpgraded, damagetype = "antiarmoredair", diff --git a/Units-Configs-Basedefs/basedefs/buildings/eartyturret_basedef.lua b/Units-Configs-Basedefs/basedefs/buildings/eartyturret_basedef.lua index 021ca52f2..662ff9aa7 100644 --- a/Units-Configs-Basedefs/basedefs/buildings/eartyturret_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/buildings/eartyturret_basedef.lua @@ -94,9 +94,12 @@ weaponDefs = { impulseFactor = 0, interceptedByShieldType = 4, + + minIntensity = 1, + name = "Plasma Cannon", range = 8000, - reloadtime = 15, + reloadtime = 30, size = 16, weaponType = "Cannon", soundHit = "explosions/artyhit.wav", @@ -110,7 +113,7 @@ weaponDefs = { --effectedByunitHealthModifier = true, }, damage = { - default = 400, + default = 1000, }, }, diff --git a/Units-Configs-Basedefs/basedefs/faction/xllt_basedef.lua b/Units-Configs-Basedefs/basedefs/buildings/eflakturret_basedef.lua similarity index 63% rename from Units-Configs-Basedefs/basedefs/faction/xllt_basedef.lua rename to Units-Configs-Basedefs/basedefs/buildings/eflakturret_basedef.lua index ad5e2d5e8..5cf9f0876 100644 --- a/Units-Configs-Basedefs/basedefs/faction/xllt_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/buildings/eflakturret_basedef.lua @@ -1,20 +1,20 @@ unitDef = { buildAngle = 2048, buildCostEnergy = 0, - buildCostMetal = 27, + buildCostMetal = 50, builder = false, buildTime = 5, - buildpic = [[pattern/xllt.png]], + buildpic = "elaserbattery.png", canAttack = true, canstop = "1", category = "BUILDING NOTAIR", collisionVolumeTest = "1", - description = [[Anti-Raid Defense Platform (Anti-Light)]], + description = [[Anti-AIR Flak Defense Platform]], energyStorage = 0, energyUse = 0, explodeAs = "mediumBuildingExplosionGeneric", - footprintX = 4, - footprintZ = 4, + footprintX = 3, + footprintZ = 3, floater = true, idleAutoHeal = .5, idleTime = 2200, @@ -35,7 +35,8 @@ unitDef = { repairable = false, selfDestructAs = "mediumBuildingExplosionGeneric", side = "CORE", - sightDistance = 650, + sightDistance = 100, + airsightdistance = 1500, smoothAnim = true, unitname = unitName, workerTime = 0, @@ -61,9 +62,8 @@ unitDef = { }, weapons = { [1] = { - def = "lighteweapon", - badTargetCategory = "VTOL ARMORED", - onlyTargetCategory = "BIO LIGHT VTOL ARMORED", + def = "aircannon", + onlyTargetCategory = "VTOL", }, }, customParams = { @@ -74,58 +74,61 @@ unitDef = { --supply_cost = supply, death_sounds = "generic", armortype = armortype, - normaltex = "unittextures/afaction_normals.dds", - factionname = "pattern", + normaltex = "unittextures/lego2skin_explorernormal.dds", + buckettex = "unittextures/lego2skin_explorerbucket.dds", + factionname = "ateran", corpse = "energycore", }, useGroundDecal = true, BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 6, - BuildingGroundDecalSizeY = 6, + BuildingGroundDecalSizeX = 8, + BuildingGroundDecalSizeY = 8, BuildingGroundDecalDecaySpeed = 0.9, } weaponDefs = { - lighteweapon = { - AreaOfEffect = 25, + aircannon = { + AreaOfEffect = 250, avoidFeature = false, avoidFriendly = false, collideFeature = false, collideFriendly = false, - cegTag = "railgun", + canAttackGround = false, coreThickness = 0.5, - duration = 0.1, + burnblow = true, + --cegTag = "railgun", + duration = 0.05, energypershot = 0, - explosionGenerator = "custom:genericshellexplosion-small-blue", - fallOffRate = 0, + explosionGenerator = "custom:genericshellexplosion-medium-purple", + edgeEffectiveness = 1, + fallOffRate = 1, fireStarter = 50, impulseFactor = 0, - interceptedByShieldType = 4, - minintensity = "1", name = "Laser", - range = 650, - reloadtime = 0.5, - WeaponType = "LaserCannon", - rgbColor = "0 0 1", - rgbColor2 = "1 1 1", + range = 1500, + reloadtime = 1, + WeaponType = "Cannon", + rgbColor = "1 0.5 0", + rgbColor2 = "1 1 1", + projectiles = 4, soundTrigger = true, - soundstart = "weapons/lightturret.wav", - texture1 = "shot", - texture2 = "empty", - thickness = 12, - tolerance = 1000, + soundstart = "weapons/Assault Rifle Shot_05.wav", + soundhit = "deathsounds/generic/Explosion Fireworks_01.wav", + sprayangle = 3000, + size = 5, + --texture1 = "shot", + --texture2 = "empty", + tolerance = 7500, turret = true, - weaponVelocity = 2000, - waterweapon = true, - customparams = { - isupgraded = isUpgraded, - damagetype = "light", - unittype = "turret", + weaponVelocity = 3000, + customparams = { + damagetype = "antiair", + isupgraded = isUpgraded, effectedByunitHealthModifier = true, - }, - damage = { - default = 100, + }, + damage = { + default = 125, }, - }, + }, } \ No newline at end of file diff --git a/Units-Configs-Basedefs/basedefs/buildings/eheavyturret2_basedef.lua b/Units-Configs-Basedefs/basedefs/buildings/eheavyturret2_basedef.lua index 67500952d..a1fdcf179 100644 --- a/Units-Configs-Basedefs/basedefs/buildings/eheavyturret2_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/buildings/eheavyturret2_basedef.lua @@ -16,8 +16,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "largeBuildingExplosionGenericRed", - footprintX = 6, - footprintZ = 6, + footprintX = 3, + footprintZ = 3, floater = true, idleAutoHeal = .5, idleTime = 2200, @@ -65,7 +65,7 @@ unitDef = { [1] = { def = "eheavyturretweapon2", badTargetCategory = "LIGHT VTOL BUILDING", - --onlyTargetCategory = "BIO ARMORED LIGHT", + onlyTargetCategory = "BIO ARMORED LIGHT", }, }, customParams = { @@ -124,7 +124,7 @@ weaponDefs = { waterweapon = true, customparams = { isupgraded = isUpgraded, - damagetype = "antiarmored", + damagetype = "turretantilightarmored", effectedByunitHealthModifier = true, }, damage = { diff --git a/Units-Configs-Basedefs/basedefs/buildings/elaserbattery_basedef.lua b/Units-Configs-Basedefs/basedefs/buildings/elaserbattery_basedef.lua index 9905cb704..7ec880e9a 100644 --- a/Units-Configs-Basedefs/basedefs/buildings/elaserbattery_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/buildings/elaserbattery_basedef.lua @@ -9,12 +9,12 @@ unitDef = { canstop = "1", category = "BUILDING NOTAIR", collisionVolumeTest = "1", - description = [[Anti-AIR Defense Platform]], + description = [[Anti-AIR Laser Defense Platform]], energyStorage = 0, energyUse = 0, explodeAs = "mediumBuildingExplosionGeneric", - footprintX = 6, - footprintZ = 6, + footprintX = 3, + footprintZ = 3, floater = true, idleAutoHeal = .5, idleTime = 2200, diff --git a/Units-Configs-Basedefs/basedefs/buildings/elightturret2_basedef.lua b/Units-Configs-Basedefs/basedefs/buildings/elightturret2_basedef.lua index 50ffbc679..efa83eeb5 100644 --- a/Units-Configs-Basedefs/basedefs/buildings/elightturret2_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/buildings/elightturret2_basedef.lua @@ -13,8 +13,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumBuildingExplosionGeneric", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, floater = true, idleAutoHeal = .5, idleTime = 2200, @@ -63,7 +63,7 @@ unitDef = { [1] = { def = "lighteweapon", badTargetCategory = "VTOL ARMORED BUILDING", - --onlyTargetCategory = "BIO LIGHT VTOL ARMORED", + onlyTargetCategory = "BIO LIGHT VTOL ARMORED", }, }, customParams = { @@ -121,7 +121,7 @@ weaponDefs = { waterweapon = true, customparams = { isupgraded = isUpgraded, - damagetype = "light", + damagetype = "turretantilight", unittype = "turret", effectedByunitHealthModifier = true, }, diff --git a/Units-Configs-Basedefs/basedefs/buildings/eradar2_basedef.lua b/Units-Configs-Basedefs/basedefs/buildings/eradar2_basedef.lua new file mode 100644 index 000000000..adc30b62e --- /dev/null +++ b/Units-Configs-Basedefs/basedefs/buildings/eradar2_basedef.lua @@ -0,0 +1,76 @@ +unitDef = { + activateWhenBuilt = true, + buildAngle = 16384, + buildCostEnergy = 0, + buildCostMetal = buildCostMetal, + builder = false, + buildTime = 5, + category = "BUILDING NOTAIR", + description = [[Radar Dome/Sensor Tower]], + energyMake = 0, + energyStorage = 0, + energyUse = 0, + explodeAs = "largeBuildingExplosionGenericWhite", + footprintX = 6, + footprintZ = 6, + floater = true, + iconType = "radar", + idleAutoHeal = .5, + idleTime = 2200, + isTargetingUpgrade = false, + maxDamage = 250, + maxSlope = 75, + maxWaterDepth = 999999, + metalStorage = 0, + name = humanName, + objectName = objectName, + script = "eradar3.cob", + onoffable = false, + radarDistance = radarDistance, + radarEmitHeight = radarEmitHeight, + repairable = false, + selfDestructAs = "largeBuildingExplosionGenericWhite", + side = "CORE", + sightDistance = sightDistance, + smoothAnim = true, + sonarDistance = sonarDistance, + seismicDistance = seismicDistance, + unitname = "eradar2", + workerTime = 0, + yardMap = "oooooo oooooo oooooo oooooo oooooo oooooo", + + sfxtypes = { + pieceExplosionGenerators = { + "deathceg3", + "deathceg4", + }, + + explosiongenerators = { + "custom:blacksmoke", + }, + }, + + sounds = { + underattack = "other/unitsunderattack1", + select = { + "other/gdradar", + }, + }, + customParams = { + RequireTech = tech, + unittype = "building", + needed_cover = 2, + death_sounds = "generic", + armortype = armortype, + normaltex = "unittextures/lego2skin_explorernormal.dds", + buckettex = "unittextures/lego2skin_explorerbucket.dds", + factionname = "ateran", + corpse = "energycore", + helptext = [[]], + }, + useGroundDecal = true, + BuildingGroundDecalType = "factorygroundplate.dds", + BuildingGroundDecalSizeX = 8, + BuildingGroundDecalSizeY = 8, + BuildingGroundDecalDecaySpeed = 0.9, +} diff --git a/Units-Configs-Basedefs/basedefs/commander_basedef.lua b/Units-Configs-Basedefs/basedefs/commander_basedef.lua new file mode 100644 index 000000000..cba38873f --- /dev/null +++ b/Units-Configs-Basedefs/basedefs/commander_basedef.lua @@ -0,0 +1,381 @@ +unitDef = { + + --mobileunit + transportbyenemy = false; + --** + + acceleration = 0.2, + brakeRate = 1, + buildCostEnergy = 0, + buildCostMetal = 1000, + buildDistance = 350, + builder = true, + buildTime = 2.5, + buildpic = buildpicture, + capturable = false, + CanAttack = true, + CanAssist = true, + canBeAssisted = true, + CanCapture = false, + CanRepair = true, + canRestore = false, + + canGuard = true, + canMove = true, + canPatrol = true, + canreclaim = true, + canstop = true, + category = "NOTAIR SUPPORT LIGHT", + description = [[Builds Units]], + energyMake = 0, + energyStorage = 0, + energyUse = 0, + explodeAs = "commnuke", + footprintX = footprintx, + footprintZ = footprintz, + + iconType = "commander", + idleAutoHeal = .5, + idleTime = 2200, + levelground = true, + maxDamage = maxdamage, + maxSlope = 180, + maxVelocity = maxvelocity, + maxReverseVelocity = 1, + maxWaterDepth = 5000, + metalmake = 0, + metalStorage = 0, + movementClass = movementclass, + moveState = "0", + name = humanname, + noChaseCategories = "NOTAIR SUPPORT VTOL AMPHIB", + objectName = objectname, + script = script, + radarDistance = 0, + repairable = false, + selfDestructAs = "commnuke", + showPlayerName = true, + showNanoSpray = true, + sightDistance = 500, + smoothAnim = true, + stealth = true, + seismicSignature = 2, + turnInPlace = true, + turnRate = 5000, + unitname = unitName, + upright = false, + workerTime = 1, + capturespeed = 0.25, + TerraformSpeed = 2147000, + ReclaimSpeed = 1, -- 0.03125 = 1 hp per second + repairspeed = 0.5, + sfxtypes = { + pieceExplosionGenerators = { + "deathceg3", + "deathceg4", + }, + + explosiongenerators = { + "custom:nanoorb", + "custom:emptydirt", + "custom:blacksmoke", + "custom:gdhcannon", + }, + }, + buildoptions = buildlist, + sounds = { + build = "miscfx/buildstart.wav", + underattack = "other/unitsunderattack1", + ok = { + "ack", + }, + select = { + "unitselect", + }, + }, + weapons = { + [1] = { + def = weapon1, + }, + }, + customParams = { + unittype = "mobile", + area_mex_def = "emetalextractor", + ProvideTech = techprovided, + RequireTech = techrequired, + canbetransported = "true", + iscommander = true, + needed_cover = 2, + supply_granted = supplygiven, + death_sounds = "generic", + + armortype = armortype, + nofriendlyfire = "1", + normaltex = "unittextures/lego2skin_explorernormal.dds", + buckettex = "unittextures/lego2skin_explorerbucket.dds", + factionname = "ateran", + }, +} + +-------------------------------------------------------------------------------- + +weaponDefs = { + + machinegun = { + AreaOfEffect = 50, + avoidFriendly = false, + avoidFeature = false, + collideFriendly = false, + collideFeature = false, + + coreThickness = 0.5, + duration = 0.2, + explosionGenerator = "custom:genericshellexplosion-small", + energypershot = 0, + fallOffRate = 0, + fireStarter = 50, + interceptedByShieldType = 4, + impulsefactor = 0, + + minintensity = "1", + name = "Overseer Pulse Laser", + range = 650, + reloadtime = 1, + WeaponType = "LaserCannon", + rgbColor = "1 0 0", + rgbColor2 = "1 1 1", + soundTrigger = true, + soundstart = "weapons/Sci Fi Sniper 10.wav", + texture1 = "shot", + texture2 = "empty", + thickness = 7, + tolerance = 1000, + turret = true, + weaponVelocity = 1500, + customparams = { + damagetype = "light", + nocosttofire = true, + }, + damage = { + default = 200, + }, + }, + + machinegun_up1 = { + AreaOfEffect = 50, + avoidFriendly = false, + avoidFeature = false, + collideFriendly = false, + collideFeature = false, + + coreThickness = 0.5, + duration = 0.2, + explosionGenerator = "custom:genericshellexplosion-small", + energypershot = 0, + fallOffRate = 0, + fireStarter = 50, + interceptedByShieldType = 4, + impulsefactor = 0, + + minintensity = "1", + name = "Overseer Pulse Laser", + range = 650, + reloadtime = 1, + WeaponType = "LaserCannon", + rgbColor = "0.5 0.5 0", + rgbColor2 = "1 1 1", + soundTrigger = true, + soundstart = "weapons/Sci Fi Sniper 10.wav", + texture1 = "shot", + texture2 = "empty", + thickness = 7, + tolerance = 1000, + turret = true, + weaponVelocity = 1500, + customparams = { + damagetype = "light", + nocosttofire = true, + }, + damage = { + default = 300, + }, + }, + + machinegun_up2 = { + AreaOfEffect = 50, + avoidFriendly = false, + avoidFeature = false, + collideFriendly = false, + collideFeature = false, + + coreThickness = 0.5, + duration = 0.2, + explosionGenerator = "custom:genericshellexplosion-small", + energypershot = 0, + fallOffRate = 0, + fireStarter = 50, + interceptedByShieldType = 4, + impulsefactor = 0, + + minintensity = "1", + name = "Overseer Pulse Laser", + range = 650, + reloadtime = 1, + WeaponType = "LaserCannon", + rgbColor = "0 1 0", + rgbColor2 = "1 1 1", + soundTrigger = true, + soundstart = "weapons/Sci Fi Sniper 10.wav", + texture1 = "shot", + texture2 = "empty", + thickness = 7, + tolerance = 1000, + turret = true, + weaponVelocity = 1500, + customparams = { + damagetype = "light", + nocosttofire = true, + }, + damage = { + default = 450, + }, + }, + + machinegun_up3 = { + AreaOfEffect = 50, + avoidFriendly = false, + avoidFeature = false, + collideFriendly = false, + collideFeature = false, + + coreThickness = 0.5, + duration = 0.2, + explosionGenerator = "custom:genericshellexplosion-small", + energypershot = 0, + fallOffRate = 0, + fireStarter = 50, + interceptedByShieldType = 4, + impulsefactor = 0, + + minintensity = "1", + name = "Overseer Pulse Laser", + range = 650, + reloadtime = 1, + WeaponType = "LaserCannon", + rgbColor = "0 0 1", + rgbColor2 = "1 1 1", + soundTrigger = true, + soundstart = "weapons/Sci Fi Sniper 10.wav", + texture1 = "shot", + texture2 = "empty", + thickness = 7, + tolerance = 1000, + turret = true, + weaponVelocity = 1500, + customparams = { + damagetype = "light", + nocosttofire = true, + }, + damage = { + default = 675, + }, + }, + + commnuke = { + AreaOfEffect = 500, + avoidFriendly = false, + avoidFeature = false, + cegTag = "NUKETRAIL", + collideFriendly = false, + collideFeature = false, + commandfire = true, + craterBoost = 0, + craterMult = 0, + edgeeffectiveness = 0.1, + energypershot = 0, + explosionGenerator = "custom:NUKEDATBEWMSMALL", + fireStarter = 100, + flightTime = 400, + + id = 124, + impulseBoost = 0, + impulseFactor = 0, + interceptedByShieldType = 4, + + metalpershot = 0, + model = "enuke.s3o", + name = "Nuke", + range = 32000, + reloadtime = 60, + weaponType = "MissileLauncher", + + + smokeTrail = false, + soundHit = "explosions/explosion_enormous.wav", + soundStart = "weapons/nukelaunch.wav", + +-- stockpile = true, +-- stockpileTime = stockpiletime, + startVelocity = 10, + tracks = true, + turnRate = 3000, + targetable = 1, + + weaponAcceleration = 30, + weaponTimer = 15, + weaponType = "StarburstLauncher", + weaponVelocity = 1000, + customparams = { + damagetype = "light", + death_sounds = "nuke", + nocosttofire = true, + }, + damage = { + default = 1000, + }, + }, + + heavybeamweapon = { + AreaOfEffect = 10, + avoidFriendly = false, + avoidFeature = false, + collideFriendly = false, + collideFeature = false, + largebeamlaser = true, + beamTime = 0.5, + cameraShake = 0, + coreThickness = 0.5, + -- cegTag = "mediumcannonweapon3", + -- duration = 0.2, + energypershot = 0, + explosionGenerator = "custom:genericshellexplosion-large-sparks-burn", + fallOffRate = 0, + fireStarter = 50, + impulseFactor = 0, + interceptedByShieldType = 4, + minintensity = 1, + name = "Laser", + range = 800, + reloadtime = 0.5, + WeaponType = "BeamLaser", + rgbColor = "0 0 1", + rgbColor2 = "0.5 0.5 0.5", + soundTrigger = true, + soundstart = "weapons/Sci Fi Beam 3-short.wav", + -- soundHit = "explosions/mediumcannonhit.wav", + -- sweepfire = true, + texture1 = "lightning", + texture2 = "laserend", + thickness = 7, + tolerance = 1000, + turret = true, + weaponVelocity = 800, + customparams = { + isupgraded = isUpgraded, + damagetype = "antilightarmored", + }, + damage = { + default = 500, + }, + }, +} diff --git a/Units-Configs-Basedefs/basedefs/eorb_basedef.lua b/Units-Configs-Basedefs/basedefs/eorb_basedef.lua index 4ba0fc2e2..dc6434014 100644 --- a/Units-Configs-Basedefs/basedefs/eorb_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/eorb_basedef.lua @@ -24,7 +24,7 @@ unitDef = { canHover = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "LIGHT NOTAIR SUPPORT", description = [[Field Medic / Construction Assistant]], @@ -32,8 +32,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericGreen", - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, fireState = "0", iconType = "orb", idleAutoHeal = .5, @@ -46,7 +46,7 @@ unitDef = { maxWaterDepth = 5000, metalmake = 0, metalStorage = 0, - movementClass = "HOVERHBOT3", + movementClass = "HOVERHBOT2", moveState = "2", name = humanName, objectName = objectName, @@ -82,11 +82,11 @@ unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, - buildoptions = Shared.buildList, + buildoptions = buildlist, sounds = { build = "miscfx/buildstart.wav", underattack = "other/unitsunderattack1", diff --git a/Units-Configs-Basedefs/basedefs/faction/xcrasher_basedef.lua b/Units-Configs-Basedefs/basedefs/faction/xcrasher_basedef.lua deleted file mode 100644 index 53b61e96c..000000000 --- a/Units-Configs-Basedefs/basedefs/faction/xcrasher_basedef.lua +++ /dev/null @@ -1,148 +0,0 @@ -unitDef = { - - --mobileunit - transportbyenemy = false; - --** - - acceleration = 1, - brakeRate = 1, - buildCostEnergy = 0, - buildCostMetal = 40, - builder = false, - buildTime = 5, - buildpic = [[pattern/xcrasher.png]], - canAttack = true, - - canGuard = true, - canHover = true, - canMove = true, - canPatrol = true, - canstop = "1", - category = "LIGHT NOTAIR RAID", - description = [[Long-Range Light Main Battle Tank]], - energyMake = 0, - energyStorage = 0, - energyUse = 0, - explodeAs = "mediumExplosionGenericRed", - footprintX = 5, - footprintZ = 5, - --highTrajectory = 2, - iconType = "mtd_lit_all", - idleAutoHeal = .5, - idleTime = 2200, - leaveTracks = false, - maxDamage = 350, - maxSlope = 90, - maxVelocity = 2, - maxReverseVelocity = 1, - maxWaterDepth = 10, - metalStorage = 0, - movementClass = "PATTERNKBOT3", - name = humanName, - noChaseCategory = "VTOL", - objectName = objectName, - script = script, - radarDistance = 0, - repairable = false, - selfDestructAs = "mediumExplosionGenericRed", - side = "CORE", - sightDistance = 300, - smoothAnim = true, - stealth = true, - seismicSignature = 2, - -- turnInPlace = false, - -- turnInPlaceSpeedLimit = 5.5, - turnInPlace = true, - turnRate = 5000, - -- turnrate = 475, - unitname = unitName, - --usePieceCollisionVolumes = true, - upright = true, - workerTime = 0, - - sfxtypes = { - explosiongenerators = { - "custom:gdhcannon", - "custom:dirt", - "custom:blacksmoke", - "custom:airfactoryhtrail", - }, - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - }, - - sounds = { - underattack = "other/unitsunderattack1", - ok = { - "ack", - }, - select = { - "unitselect", - }, - }, - weapons = { - [1] = { - def = "rockets", --- mainDir = "0 0 1", -- x:0 y:0 z:1 => that's forward! --- maxAngleDif = 70, - badTargetCategory = "BUILDING", - }, - }, - customParams = { - isupgraded = isUpgraded, - unittype = "mobile", - canbetransported = "true", - needed_cover = 1, - death_sounds = "generic", - RequireTech = tech, - armortype = armortype, - nofriendlyfire = "1", - supply_cost = supply, - normaltex = "unittextures/bfaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "pattern", - corpse = "energycore", - }, -} - -weaponDefs = { - rockets = { - accuracy = 1000, - AreaOfEffect = 30, - avoidFriendly = false, - avoidFeature = false, - collideFriendly = false, - collideFeature = false, - cegTag = "ehbotrocko-optimized", - explosionGenerator = "custom:genericshellexplosion-large-red", - energypershot = 0, - fireStarter = 70, - impulseFactor = 0, - interceptedByShieldType = 4, - model = "missilesmalllauncher.s3o", - name = "Rockets", - range = 850, - reloadtime = 0.5, - weaponType = "MissileLauncher", - smokeTrail = false, - soundStart = "weapons/emediumtankfire2.wav", - soundHit = "explosions/explode5.wav", - startVelocity = 500, - tolerance = 8000, - turnrate = 3000, - turret = true, - tracks = true, - weaponAcceleration = 100, - flightTime = 3, - weaponVelocity = 2500, - customparams = { - damagetype = "light", - isupgraded = isUpgraded, - }, - damage = { - default = 20, - }, - }, -} diff --git a/Units-Configs-Basedefs/basedefs/faction/xflea_basedef.lua b/Units-Configs-Basedefs/basedefs/faction/xflea_basedef.lua deleted file mode 100644 index c6c753245..000000000 --- a/Units-Configs-Basedefs/basedefs/faction/xflea_basedef.lua +++ /dev/null @@ -1,146 +0,0 @@ -unitDef = { - acceleration = 1, - brakeRate = 1, - buildCostEnergy = 0, - buildCostMetal = 18, - builder = false, - buildTime = 5, - buildpic = [[pattern/xflea.png]], - canAttack = true, - canGuard = true, - canMove = true, - canPatrol = true, - canstop = "1", - category = "LIGHT AMPHIB RAID", - description = [[Scout]], - energyMake = 0, - energyStorage = 0, - energyUse = 0, - explodeAs = "smallExplosionGenericRed", - footprintX = 3, - footprintZ = 3, - iconType = "raider", - idleAutoHeal = .5, - idleTime = 2200, - leaveTracks = false, - maxDamage = 120, - maxSlope = 28, - maxVelocity = 6.5, - maxReverseVelocity = 2, - maxWaterDepth = 5000, - metalStorage = 0, - movementClass = "PATTERNKBOT3", - name = humanName, - noChaseCategory = "VTOL", - objectName = objectName, - script = script, - radarDistance = 0, - repairable = false, - selfDestructAs = "smallExplosionGenericRed", - sightDistance = 650, - sonarDistance = 650, - stealth = true, - seismicSignature = 2, - sonarStealth = false, - smoothAnim = true, - transportbyenemy = false, - -- turnInPlace = false, - -- turnInPlaceSpeedLimit = 6.0, - turnInPlace = true, - turnRate = 5000, - upright = true, - -- turnrate = 475, - unitname = unitName, - workerTime = 0, - - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:factorysparks", - "custom:dirt", - "custom:blacksmoke", - }, - }, - sounds = { - underattack = "other/unitsunderattack1", - ok = { - "ack", - }, - select = { - "unitselect", - }, - }, - weapons = { - -- [1] = { - -- def = "lightbeamlaser", - -- badTargetCategory = "ARMORED BUILDING WALL", - -- }, - }, - customParams = { - isupgraded = isUpgraded, - unittype = "mobile", - canbetransported = "true", - needed_cover = 1, - death_sounds = "generic", - RequireTech = tech, - armortype = "light", - nofriendlyfire = "1", - supply_cost = 1, - normaltex = "unittextures/afaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "pattern", - corpse = "energycore", - }, -} - -weaponDefs = { - lightbeamlaser = { - TargetMoveError = 0.3, - AreaOfEffect = 0, - avoidFeature = false, - avoidFriendly = false, - beamTime = 0.1, - collideFeature = false, - collideFriendly = false, - coreThickness = 0.2, - duration = 0.1, - explosionGenerator = "custom:genericshellexplosion-small-sparks-burn", - energypershot = 0, - fallOffRate = 1, - fireStarter = 50, - interceptedByShieldType = 4, - impulsefactor = 0.1, - laserflaresize = 5, - largebeamlaser = true, - leadlimit = 10, - minintensity = 1, - name = "Laser", - range = 300, - reloadtime = 0.5, - WeaponType = "BeamLaser", - rgbColor = "0.5 0 0", - rgbColor2 = "0.8 0.8 0.8", - soundTrigger = true, - soundstart = "weapons/amphibbuggytankshothit.wav", - -- soundHit = "weapons/amphibbuggytankshothit.wav", - scrollspeed = 5, - texture1 = "lightning", - texture2 = "laserend", - thickness = 5, - tolerance = 3000, - turret = true, - weaponVelocity = 1000, - waterweapon = true, - customparams = { - isupgraded = isUpgraded, - damagetype = "light", - }, - damage = { - default = 1, -- multiply * 1.2 for correct dps output - }, - }, -} diff --git a/Units-Configs-Basedefs/basedefs/faction/xhammer_basedef.lua b/Units-Configs-Basedefs/basedefs/faction/xhammer_basedef.lua deleted file mode 100644 index 150762e63..000000000 --- a/Units-Configs-Basedefs/basedefs/faction/xhammer_basedef.lua +++ /dev/null @@ -1,149 +0,0 @@ -unitDef = { - - --mobileunit - transportbyenemy = false; - --** - - acceleration = 1, - brakeRate = 1, - buildCostEnergy = 0, - buildCostMetal = 27, - builder = false, - buildTime = 5, - buildpic = [[pattern/xhammer.png]], - canAttack = true, - - canGuard = true, - canHover = true, - canMove = true, - canPatrol = true, - canstop = "1", - category = "LIGHT NOTAIR RAID", - description = [[Light Tank Destroyer]], - energyMake = 0, - energyStorage = 0, - energyUse = 0, - explodeAs = "mediumExplosionGeneric", - footprintX = 5, - footprintZ = 5, - highTrajectory = 2, - iconType = "td_lit_lit", - idleAutoHeal = .5, - idleTime = 2200, - leaveTracks = false, - maxDamage = 325, - maxSlope = 90, - maxVelocity = 2.5, - maxReverseVelocity = 1, - maxWaterDepth = 10, - metalStorage = 0, - movementClass = "PATTERNKBOT3", - name = humanName, - noChaseCategory = "VTOL", - objectName = objectName, - script = script, - radarDistance = 0, - repairable = false, - selfDestructAs = "mediumExplosionGeneric", - side = "CORE", - sightDistance = 800, - smoothAnim = true, - stealth = true, - seismicSignature = 2, - -- turnInPlace = false, - -- turnInPlaceSpeedLimit = 5.5, - turnInPlace = true, - turnRate = 5000, - -- turnrate = 475, - unitname = unitName, - upright = true, - --usePieceCollisionVolumes = true, - workerTime = 0, - - sfxtypes = { - explosiongenerators = { - "custom:gdhcannon", - --"custom:dirt", - "custom:blacksmoke", - }, - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - }, - - sounds = { - underattack = "other/unitsunderattack1", - ok = { - "ack", - }, - select = { - "unitselect", - }, - }, - weapons = { - [1] = { - def = "plasmacannon", --- mainDir = "0 0 1", -- x:0 y:0 z:1 => that's forward! --- maxAngleDif = 70, - badTargetCategory = "VTOL ARMORED WALL", - }, - }, - customParams = { - isupgraded = isUpgraded, - unittype = "mobile", - canbetransported = "true", - needed_cover = 1, - death_sounds = "generic", - RequireTech = tech, - armortype = armortype, - nofriendlyfire = "1", - supply_cost = supply, - normaltex = "unittextures/afaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "patterns", - corpse = "energycore", - }, -} - -weaponDefs = { - plasmacannon = { - AreaOfEffect = 25, - avoidFriendly = false, - avoidFeature = false, - collideFriendly = false, - collideFeature = false, - cegTag = "thudshot", - --burst = burst, - --burstrate = 0.1, - edgeEffectiveness = 1, - explosionGenerator = "custom:genericshellexplosion-small", - energypershot = 0, - --duration = 0.25, - highTrajectory = 2, - impulseFactor = 0, - interceptedByShieldType = 4, - name = "Plasma Cannon", - --noExplode = true, - range = 800, - reloadtime = 2, - size = 8, - --projectiles = projectiles, - weaponType = "Cannon", - soundStart = "weapons/bruisercannon.wav", - soundHit = "explosions/mediumcannonhit.wav", - soundTrigger = true, - --sprayAngle = 1000, - tolerance = 10000, - turret = true, - weaponTimer = 1, - weaponVelocity = 600, - customparams = { - damagetype = "light", - isupgraded = isUpgraded, - }, - damage = { - default = 150, - }, - }, -} diff --git a/Units-Configs-Basedefs/basedefs/faction/xklab_basedef.lua b/Units-Configs-Basedefs/basedefs/faction/xklab_basedef.lua deleted file mode 100644 index 82b5389b8..000000000 --- a/Units-Configs-Basedefs/basedefs/faction/xklab_basedef.lua +++ /dev/null @@ -1,83 +0,0 @@ -unitDef = { - - activatewhenbuilt = false, - buildAngle = 1024, - buildCostEnergy = 0, - buildCostMetal = buildCostMetal, - builder = true, - buildTime = 5, - buildpic = "ebasefactory.png", - canAttack = false, - canBeAssisted = true, - canGuard = true, - canMove = true, - canPatrol = true, - canReclaim = false, - canstop = true, - category = "BUILDING NOTAIR", - description = [[Build a Tech Facility to unlock units. Build Supply Depots to increase your army size.]], - energyStorage = 0, - energyUse = 0, - energyMake = 0, - explodeAs = "hugeBuildingExplosionGeneric", - footprintX = 16, - footprintZ = 16, - floater = true, - iconType = "factory", - idleAutoHeal = .5, - idleTime = 2200, - maxDamage = maxDamage, - maxSlope = 25, - maxWaterDepth = 99999999999, - metalStorage = 0, - metalMake = 0, - name = humanName, - objectName = objectName, - script = script, - radarDistance = 0, - repairable = false, - selfDestructAs = "hugeBuildingExplosionGeneric", - showNanoSpray = true, - side = "CORE", - sightDistance = 388, - smoothAnim = true, - TEDClass = "PLANT", - unitname = unitName, - -- unitRestricted = 1, - workerTime = 1, - yardMap = "oooooooooooooooo oooooooooooooooo oooooooooooooooo oooooooooooooooo oooooooooooooooo oooooooooooooooo yyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyy yyyyyyyyyyyyyyyy", - -- usePieceCollisionVolumes = true, - -- modelCenterOffset = {108, 10, 0}, - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:blacksmoke", - }, - }, - buildoptions = hoverFactoryBuildList, - sounds = { - underattack = "other/unitsunderattack1", - select = { - "other/gdfactoryselect", - }, - }, - weapons = { - }, - customParams = { - unittype = "factory", - death_sounds = "generic", - armortype = "building", - normaltex = "unittextures/bfaction_normals.dds", - factionname = "pattern", - corpse = "energycore", - }, - useGroundDecal = true, - BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 21, - BuildingGroundDecalSizeY = 21, - BuildingGroundDecalDecaySpeed = 0.9, -} diff --git a/Units-Configs-Basedefs/basedefs/faction/xmetalextractor_basedef.lua b/Units-Configs-Basedefs/basedefs/faction/xmetalextractor_basedef.lua deleted file mode 100644 index fcc467e61..000000000 --- a/Units-Configs-Basedefs/basedefs/faction/xmetalextractor_basedef.lua +++ /dev/null @@ -1,79 +0,0 @@ -unitDef = { - - activateWhenBuilt = true, - buildAngle = 2048, - buildCostEnergy = 0, - buildCostMetal = buildCostMetal, - buildingMask = 0, - builder = false, - buildTime = 5, - buildPic = buildPic, - canAttack = false, - category = "BUILDING NOTAIR ECO", - description = [[Generates Metal from Resource Nodes]], - energyStorage = 0, - energyUse = energyUse, - explodeAs = "largeBuildingExplosionGenericRed", - makesMetal = 0, - footprintX = 9, - footprintZ = 9, - iconType = "eco", - idleAutoHeal = .5, - idleTime = 2200, - maxDamage = buildCostMetal * 12.5, - maxSlope = 90, - maxWaterDepth = 5000, - metalStorage = 0, - metalMake = 0, - name = humanName, - objectName = objectName, - script = script, - onoffable = true, - radarDistance = 0, - repairable = false, - selfDestructAs = "largeBuildingExplosionGenericRed", - selfDestructCountdown = 15, - side = "CORE", - sightDistance = 200, - smoothAnim = true, - unitName = unitName, - workerTime = 0, - yardMap = "yyyyyyyyy yoooooooy yoooooooy yoooooooy yoooooooy yoooooooy yoooooooy yoooooooy yyyyyyyyy", - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:blacksmoke", - }, - }, - sounds = { - underattack = "other/unitsunderattack1", - select = { - "other/gdmex", - }, - }, - weapons = { - }, - customParams = { - RequireTech = tech, - unittype = "building", - metal_extractor = metalMultiplier, - iseco = 1, - needed_cover = 3, - death_sounds = "generic", - armortype = armortype, - noenergycost = true, - normaltex = "unittextures/afaction_normals.dds", - factionname = "pattern", - corpse = "energycore", - helptext = [[]], - }, - useGroundDecal = true, - BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 9, - BuildingGroundDecalSizeY = 9, - BuildingGroundDecalDecaySpeed = 0.9, -} \ No newline at end of file diff --git a/Units-Configs-Basedefs/basedefs/faction/xrocketturret_basedef.lua b/Units-Configs-Basedefs/basedefs/faction/xrocketturret_basedef.lua deleted file mode 100644 index 8478079af..000000000 --- a/Units-Configs-Basedefs/basedefs/faction/xrocketturret_basedef.lua +++ /dev/null @@ -1,126 +0,0 @@ -unitDef = { - buildAngle = 2048, - buildCostEnergy = 0, - buildCostMetal = 27, - builder = false, - buildTime = 5, - buildpic = [[pattern/xrocketturret.png]], - canAttack = true, - canstop = "1", - category = "BUILDING NOTAIR", - collisionVolumeTest = "1", - description = [[Anti-Raid Defense Platform (Anti-Light)]], - energyStorage = 0, - energyUse = 0, - explodeAs = "mediumBuildingExplosionGeneric", - footprintX = 4, - footprintZ = 4, - floater = true, - idleAutoHeal = .5, - idleTime = 2200, - iconType = "turret_lit", - maxDamage = 625, - maxSlope = 60, - maxWaterDepth = 999999, - metalStorage = 0, - name = humanName, - objectName = objectName, - script = script, - onlytargetcategory2 = "NOTAIR", - onlytargetcategory3 = "NOTAIR", - onlytargetcategory4 = "NOTAIR", - onlytargetcategory5 = "NOTAIR", - onlytargetcategory6 = "NOTAIR", - radarDistance = 0, - repairable = false, - selfDestructAs = "mediumBuildingExplosionGeneric", - side = "CORE", - sightDistance = 650, - smoothAnim = true, - unitname = unitName, - workerTime = 0, - yardMap = "oooo oooo oooo oooo", - - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:gdhcannon", - "custom:needspower", - "custom:blacksmoke", - }, - }, - sounds = { - underattack = "other/unitsunderattack1", - select = { - "other/turretselect", - }, - }, - weapons = { - [1] = { - def = "rockets", - badTargetCategory = "VTOL ARMORED", - onlyTargetCategory = "BIO LIGHT VTOL ARMORED", - }, - }, - customParams = { - isupgraded = isUpgraded, - unittype = "turret", - RequireTech = tech, - needed_cover = 2, - --supply_cost = supply, - death_sounds = "generic", - armortype = armortype, - normaltex = "unittextures/afaction_normals.dds", - factionname = "pattern", - corpse = "energycore", - }, - useGroundDecal = true, - BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 6, - BuildingGroundDecalSizeY = 6, - BuildingGroundDecalDecaySpeed = 0.9, -} - -weaponDefs = { - rockets = { - accuracy = 1000, - AreaOfEffect = 30, - avoidFriendly = false, - avoidFeature = false, - collideFriendly = false, - collideFeature = false, - cegTag = "ehbotrocko-optimized", - explosionGenerator = "custom:genericshellexplosion-large-red", - energypershot = 0, - fireStarter = 70, - impulseFactor = 0, - interceptedByShieldType = 4, - model = "missilesmalllauncher.s3o", - name = "Rockets", - range = 850, - reloadtime = 0.5, - weaponType = "MissileLauncher", - smokeTrail = false, - soundStart = "weapons/emediumtankfire2.wav", - soundHit = "explosions/explode5.wav", - startVelocity = 500, - tolerance = 8000, - turnrate = 3000, - turret = true, - tracks = true, - weaponAcceleration = 100, - flightTime = 3, - weaponVelocity = 2500, - customparams = { - damagetype = "light", - isupgraded = isUpgraded, - }, - damage = { - default = 20, - }, - }, -} \ No newline at end of file diff --git a/Units-Configs-Basedefs/basedefs/faction/xrocko_basedef.lua b/Units-Configs-Basedefs/basedefs/faction/xrocko_basedef.lua deleted file mode 100644 index 5e3d5c606..000000000 --- a/Units-Configs-Basedefs/basedefs/faction/xrocko_basedef.lua +++ /dev/null @@ -1,148 +0,0 @@ -unitDef = { - - --mobileunit - transportbyenemy = false; - --** - - acceleration = 1, - brakeRate = 1, - buildCostEnergy = 0, - buildCostMetal = 40, - builder = false, - buildTime = 5, - buildpic = [[pattern/xrocko.png]], - canAttack = true, - - canGuard = true, - canHover = true, - canMove = true, - canPatrol = true, - canstop = "1", - category = "LIGHT NOTAIR RAID", - description = [[Long-Range Light Main Battle Tank]], - energyMake = 0, - energyStorage = 0, - energyUse = 0, - explodeAs = "mediumExplosionGenericRed", - footprintX = 5, - footprintZ = 5, - --highTrajectory = 2, - iconType = "mtd_lit_all", - idleAutoHeal = .5, - idleTime = 2200, - leaveTracks = false, - maxDamage = 350, - maxSlope = 90, - maxVelocity = 2, - maxReverseVelocity = 1, - maxWaterDepth = 10, - metalStorage = 0, - movementClass = "PATTERNKBOT3", - name = humanName, - noChaseCategory = "VTOL", - objectName = objectName, - script = script, - radarDistance = 0, - repairable = false, - selfDestructAs = "mediumExplosionGenericRed", - side = "CORE", - sightDistance = 300, - smoothAnim = true, - stealth = true, - seismicSignature = 2, - -- turnInPlace = false, - -- turnInPlaceSpeedLimit = 5.5, - turnInPlace = true, - turnRate = 5000, - -- turnrate = 475, - unitname = unitName, - --usePieceCollisionVolumes = true, - upright = true, - workerTime = 0, - - sfxtypes = { - explosiongenerators = { - "custom:gdhcannon", - "custom:dirt", - "custom:blacksmoke", - "custom:airfactoryhtrail", - }, - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - }, - - sounds = { - underattack = "other/unitsunderattack1", - ok = { - "ack", - }, - select = { - "unitselect", - }, - }, - weapons = { - [1] = { - def = "rockets", --- mainDir = "0 0 1", -- x:0 y:0 z:1 => that's forward! --- maxAngleDif = 70, - badTargetCategory = "BUILDING", - }, - }, - customParams = { - isupgraded = isUpgraded, - unittype = "mobile", - canbetransported = "true", - needed_cover = 1, - death_sounds = "generic", - RequireTech = tech, - armortype = armortype, - nofriendlyfire = "1", - supply_cost = supply, - normaltex = "unittextures/afaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "pattern", - corpse = "energycore", - }, -} - -weaponDefs = { - rockets = { - accuracy = 1000, - AreaOfEffect = 250, - avoidFriendly = false, - avoidFeature = false, - collideFriendly = false, - collideFeature = false, - cegTag = "ehbotrocko-optimized", - explosionGenerator = "custom:genericshellexplosion-large-red", - energypershot = 0, - fireStarter = 70, - impulseFactor = 0, - interceptedByShieldType = 4, - model = "missilesmalllauncher.s3o", - name = "Rockets", - range = 850, - reloadtime = 2.5, - weaponType = "MissileLauncher", - smokeTrail = false, - soundStart = "weapons/emediumtankfire2.wav", - soundHit = "explosions/explode5.wav", - startVelocity = 250, - tolerance = 8000, - turnrate = 1500, - turret = true, - tracks = true, - weaponAcceleration = 100, - flightTime = 3, - weaponVelocity = 1500, - customparams = { - damagetype = "light", - isupgraded = isUpgraded, - }, - damage = { - default = 100, - }, - }, -} diff --git a/Units-Configs-Basedefs/basedefs/faction/xskulk_basedef.lua b/Units-Configs-Basedefs/basedefs/faction/xskulk_basedef.lua deleted file mode 100644 index b4d588d48..000000000 --- a/Units-Configs-Basedefs/basedefs/faction/xskulk_basedef.lua +++ /dev/null @@ -1,146 +0,0 @@ -unitDef = { - acceleration = 1, - brakeRate = 1, - buildCostEnergy = 0, - buildCostMetal = 18, - builder = false, - buildTime = 5, - buildpic = [[pattern/xskulk.png]], - canAttack = true, - canGuard = true, - canMove = true, - canPatrol = true, - canstop = "1", - category = "LIGHT AMPHIB RAID", - description = [[Raider]], - energyMake = 0, - energyStorage = 0, - energyUse = 0, - explodeAs = "smallExplosionGenericRed", - footprintX = 2, - footprintZ = 2, - iconType = "raider", - idleAutoHeal = .5, - idleTime = 2200, - leaveTracks = false, - maxDamage = 120, - maxSlope = 28, - maxVelocity = 6.5, - maxReverseVelocity = 2, - maxWaterDepth = 5000, - metalStorage = 0, - movementClass = "PATTERNKBOT3", - name = humanName, - noChaseCategory = "VTOL", - objectName = objectName, - script = script, - radarDistance = 0, - repairable = false, - selfDestructAs = "smallExplosionGenericRed", - sightDistance = 650, - sonarDistance = 650, - stealth = true, - seismicSignature = 2, - sonarStealth = false, - smoothAnim = true, - transportbyenemy = false, - -- turnInPlace = false, - -- turnInPlaceSpeedLimit = 6.0, - turnInPlace = true, - turnRate = 5000, - upright = true, - -- turnrate = 475, - unitname = unitName, - workerTime = 0, - - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:factorysparks", - "custom:dirt", - "custom:blacksmoke", - }, - }, - sounds = { - underattack = "other/unitsunderattack1", - ok = { - "ack", - }, - select = { - "unitselect", - }, - }, - weapons = { - [1] = { - def = "lightbeamlaser", - badTargetCategory = "ARMORED BUILDING WALL", - }, - }, - customParams = { - isupgraded = isUpgraded, - unittype = "mobile", - canbetransported = "true", - needed_cover = 1, - death_sounds = "generic", - RequireTech = tech, - armortype = "light", - nofriendlyfire = "1", - supply_cost = 1, - normaltex = "unittextures/bfaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "pattern", - corpse = "energycore", - }, -} - -weaponDefs = { - lightbeamlaser = { - TargetMoveError = 0.3, - AreaOfEffect = 0, - avoidFeature = false, - avoidFriendly = false, - beamTime = 0.1, - collideFeature = false, - collideFriendly = false, - coreThickness = 0.2, - duration = 0.1, - explosionGenerator = "custom:genericshellexplosion-small-sparks-burn", - energypershot = 0, - fallOffRate = 1, - fireStarter = 50, - interceptedByShieldType = 4, - impulsefactor = 0.1, - laserflaresize = 5, - largebeamlaser = true, - leadlimit = 10, - minintensity = 1, - name = "Laser", - range = 300, - reloadtime = 0.5, - WeaponType = "BeamLaser", - rgbColor = "0.5 0 0", - rgbColor2 = "0.8 0.8 0.8", - soundTrigger = true, - soundstart = "weapons/amphibbuggytankshothit.wav", - -- soundHit = "weapons/amphibbuggytankshothit.wav", - scrollspeed = 5, - texture1 = "lightning", - texture2 = "laserend", - thickness = 5, - tolerance = 3000, - turret = true, - weaponVelocity = 1000, - waterweapon = true, - customparams = { - isupgraded = isUpgraded, - damagetype = "light", - }, - damage = { - default = 13.5, -- multiply * 1.2 for correct dps output - }, - }, -} diff --git a/Units-Configs-Basedefs/basedefs/faction/xwarrior_basedef.lua b/Units-Configs-Basedefs/basedefs/faction/xwarrior_basedef.lua deleted file mode 100644 index 6eb11a94a..000000000 --- a/Units-Configs-Basedefs/basedefs/faction/xwarrior_basedef.lua +++ /dev/null @@ -1,146 +0,0 @@ -unitDef = { - acceleration = 1, - brakeRate = 1, - buildCostEnergy = 0, - buildCostMetal = 18, - builder = false, - buildTime = 5, - buildpic = [[pattern/xwarrior.png]], - canAttack = true, - canGuard = true, - canMove = true, - canPatrol = true, - canstop = "1", - category = "LIGHT AMPHIB RAID", - description = [[Raider]], - energyMake = 0, - energyStorage = 0, - energyUse = 0, - explodeAs = "smallExplosionGenericRed", - footprintX = 2, - footprintZ = 2, - iconType = "raider", - idleAutoHeal = .5, - idleTime = 2200, - leaveTracks = false, - maxDamage = 120, - maxSlope = 28, - maxVelocity = 3, - maxReverseVelocity = 2, - maxWaterDepth = 5000, - metalStorage = 0, - movementClass = "PATTERNKBOT3", - name = humanName, - noChaseCategory = "VTOL", - objectName = objectName, - script = script, - radarDistance = 0, - repairable = false, - selfDestructAs = "smallExplosionGenericRed", - sightDistance = 650, - sonarDistance = 650, - stealth = true, - seismicSignature = 2, - sonarStealth = false, - smoothAnim = true, - transportbyenemy = false, - -- turnInPlace = false, - -- turnInPlaceSpeedLimit = 6.0, - turnInPlace = true, - turnRate = 5000, - upright = true, - -- turnrate = 475, - unitname = unitName, - workerTime = 0, - - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:factorysparks", - "custom:dirt", - "custom:blacksmoke", - }, - }, - sounds = { - underattack = "other/unitsunderattack1", - ok = { - "ack", - }, - select = { - "unitselect", - }, - }, - weapons = { - [1] = { - def = "lightbeamlaser", - badTargetCategory = "ARMORED BUILDING WALL", - }, - }, - customParams = { - isupgraded = isUpgraded, - unittype = "mobile", - canbetransported = "true", - needed_cover = 1, - death_sounds = "generic", - RequireTech = tech, - armortype = "light", - nofriendlyfire = "1", - supply_cost = 1, - normaltex = "unittextures/bfaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "xed", - corpse = "energycore", - }, -} - -weaponDefs = { - lightbeamlaser = { - TargetMoveError = 0.3, - AreaOfEffect = 0, - avoidFeature = false, - avoidFriendly = false, - beamTime = 0.1, - collideFeature = false, - collideFriendly = false, - coreThickness = 0.2, - duration = 0.1, - explosionGenerator = "custom:genericshellexplosion-small-sparks-burn", - energypershot = 0, - fallOffRate = 1, - fireStarter = 50, - interceptedByShieldType = 4, - impulsefactor = 0.1, - laserflaresize = 5, - largebeamlaser = true, - leadlimit = 10, - minintensity = 1, - name = "Laser", - range = 300, - reloadtime = 0.5, - WeaponType = "BeamLaser", - rgbColor = "0.5 0 0", - rgbColor2 = "0.8 0.8 0.8", - soundTrigger = true, - soundstart = "weapons/amphibbuggytankshothit.wav", - -- soundHit = "weapons/amphibbuggytankshothit.wav", - scrollspeed = 5, - texture1 = "lightning", - texture2 = "laserend", - thickness = 5, - tolerance = 3000, - turret = true, - weaponVelocity = 1000, - waterweapon = true, - customparams = { - isupgraded = isUpgraded, - damagetype = "light", - }, - damage = { - default = 13.5, -- multiply * 1.2 for correct dps output - }, - }, -} diff --git a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotfac_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotfac_basedef.lua index db3a27395..8db03603a 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotfac_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotfac_basedef.lua @@ -20,8 +20,8 @@ unitDef = { energyUse = 0, energyMake = 0, explodeAs = "hugeBuildingExplosionGeneric", - footprintX = 20, - footprintZ = 20, + footprintX = 10, + footprintZ = 10, floater = true, iconType = "factory", idleAutoHeal = .5, @@ -45,7 +45,7 @@ unitDef = { unitname = unitName, -- unitRestricted = 1, workerTime = 1, - yardMap = "oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo", + yardMap = "cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc ", -- usePieceCollisionVolumes = true, -- modelCenterOffset = {108, 10, 0}, sfxtypes = { diff --git a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotkarganneth_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotkarganneth_basedef.lua index 433a01093..d7868b392 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotkarganneth_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotkarganneth_basedef.lua @@ -62,7 +62,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, diff --git a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotpeewee_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotpeewee_basedef.lua index 51f372468..459209ae2 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotpeewee_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotpeewee_basedef.lua @@ -24,8 +24,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "smallExplosionGenericBlue", - footprintX = 5, - footprintZ = 5, + footprintX = 2, + footprintZ = 2, iconType = "raider", idleAutoHeal = .5, idleTime = 2200, @@ -36,7 +36,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERHBOT5", + movementClass = "HOVERHBOT2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -62,7 +62,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, @@ -114,7 +114,7 @@ weaponDefs = { collideFriendly = false, collideFeature = false, cegTag = "railgun", - rgbColor = "0 0 1", + rgbColor = "1 0 0", rgbColor2 = "1 1 1", explosionGenerator = "custom:genericshellexplosion-medium-sparks-burn", edgeEffectiveness = 1, @@ -125,27 +125,25 @@ weaponDefs = { interceptedByShieldType = 4, name = "E.M.G.", range = 650, - reloadtime = 1, - projectiles = 5, + reloadtime = 0.5, + --projectiles = 5, weaponType = "LaserCannon", - soundStart = "weapons/shotgun-reload.wav", - soundTrigger = true, - sprayAngle = 500, + soundStart = "weapons/plasma3c.wav", texture1 = "shot", texture2 = "empty", - coreThickness = 0.3, + coreThickness = 0.6, thickness = 6, tolerance = 10000, turret = true, weaponTimer = 1, - weaponVelocity = 2000, + weaponVelocity = 1500, customparams = { damagetype = "light", single_hit = true, isupgraded = isUpgraded, }, damage = { - default = 10, + default = 45, }, }, } diff --git a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotrocko_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotrocko_basedef.lua index 94ac8cd05..fe4928009 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotrocko_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotrocko_basedef.lua @@ -24,8 +24,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericRed", - footprintX = 5, - footprintZ = 5, + footprintX = 2, + footprintZ = 2, --highTrajectory = 2, iconType = "mtd_lit_all", idleAutoHeal = .5, @@ -37,7 +37,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERHBOT5", + movementClass = "HOVERHBOT2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -63,7 +63,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, @@ -131,14 +131,14 @@ weaponDefs = { soundHit = "explosions/explode5.wav", startVelocity = 250, tolerance = 8000, - turnrate = 1500, + turnrate = 30000, turret = true, tracks = true, - weaponAcceleration = 100, - flightTime = 3, - weaponVelocity = 1500, + weaponAcceleration = 400, + flightTime = 5, + weaponVelocity = 3000, customparams = { - damagetype = "antibuildingair", + damagetype = "antilightarmored", isupgraded = isUpgraded, }, damage = { diff --git a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotsniper_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotsniper_basedef.lua index 1d89c716c..7b88bb421 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotsniper_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotsniper_basedef.lua @@ -24,8 +24,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericPurple", - footprintX = 5, - footprintZ = 5, + footprintX = 2, + footprintZ = 2, --highTrajectory = 2, iconType = "td_lit_arm", idleAutoHeal = .5, @@ -37,7 +37,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERHBOT5", + movementClass = "HOVERHBOT2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -63,7 +63,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, @@ -109,7 +109,6 @@ unitDef = { weaponDefs = { sniper = { - AreaOfEffect = 10, avoidFeature = false, avoidFriendly = false, @@ -144,7 +143,7 @@ weaponDefs = { turret = true, weaponVelocity = 3000, customparams = { - damagetype = "antiarmored", + damagetype = "antilightarmored", isupgraded = isUpgraded, }, damage = { diff --git a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotthud_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotthud_basedef.lua index 35a0c741f..1737d887d 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotthud_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/mobile/ehbotthud_basedef.lua @@ -24,8 +24,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGeneric", - footprintX = 5, - footprintZ = 5, + footprintX = 2, + footprintZ = 2, highTrajectory = 2, iconType = "td_lit_lit", idleAutoHeal = .5, @@ -37,7 +37,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERHBOT5", + movementClass = "HOVERHBOT2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -63,7 +63,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, @@ -140,7 +140,7 @@ weaponDefs = { weaponTimer = 1, weaponVelocity = 600, customparams = { - damagetype = "antiarmored", + damagetype = "antilight", isupgraded = isUpgraded, }, damage = { diff --git a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotkarganneth_turret_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotkarganneth_turret_basedef.lua index f8f60d023..0ba9b754f 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotkarganneth_turret_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotkarganneth_turret_basedef.lua @@ -46,7 +46,7 @@ unitDef = { repairable = false, selfDestructAs = "hugeExplosionGenericPurple", side = "CORE", - sightDistance = 1000*1.33, + sightDistance = 1000, smoothAnim = true, stealth = true, seismicSignature = 2, @@ -63,7 +63,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, @@ -147,7 +147,7 @@ weaponDefs = { damagetype = "antiarmored", }, damage = { - default = 40, + default = 40*1.33, }, }, } diff --git a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotpeewee_turret_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotpeewee_turret_basedef.lua index bc09f1aac..295f6a95f 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotpeewee_turret_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotpeewee_turret_basedef.lua @@ -19,8 +19,8 @@ unitDef = { energyUse = 0, explodeAs = "smallExplosionGenericBlue", floater = true, - footprintX = 5, - footprintZ = 5, + footprintX = 2, + footprintZ = 2, iconType = "turret_lit", idleAutoHeal = .5, idleTime = 2200, @@ -41,7 +41,7 @@ unitDef = { repairable = false, selfDestructAs = "smallExplosionGenericBlue", side = "CORE", - sightDistance = 650*1.33, + sightDistance = 650, smoothAnim = true, stealth = false, seismicSignature = 2, @@ -59,7 +59,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, @@ -112,7 +112,7 @@ weaponDefs = { collideFriendly = false, collideFeature = false, cegTag = "railgun", - rgbColor = "0 0 1", + rgbColor = "1 0 0", rgbColor2 = "1 1 1", explosionGenerator = "custom:genericshellexplosion-medium-sparks-burn", edgeEffectiveness = 1, @@ -122,28 +122,26 @@ weaponDefs = { impulseFactor = 0, interceptedByShieldType = 4, name = "E.M.G.", - range = 650*1.33, - reloadtime = 1, - projectiles = 5, + range = 650, + reloadtime = 0.5, + --projectiles = 5, weaponType = "LaserCannon", - soundStart = "weapons/shotgun-reload.wav", - soundTrigger = true, - sprayAngle = 500, + soundStart = "weapons/plasma3c.wav", texture1 = "shot", texture2 = "empty", - coreThickness = 0.3, + coreThickness = 0.6, thickness = 6, tolerance = 10000, turret = true, weaponTimer = 1, - weaponVelocity = 2000, + weaponVelocity = 1500, customparams = { damagetype = "light", single_hit = true, isupgraded = isUpgraded, }, damage = { - default = 10, + default = 45*1.33, }, }, } diff --git a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotrocko_turret_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotrocko_turret_basedef.lua index b0d8123e0..9d86b69c4 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotrocko_turret_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotrocko_turret_basedef.lua @@ -19,8 +19,8 @@ unitDef = { energyUse = 0, explodeAs = "mediumExplosionGenericRed", floater = true, - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, --highTrajectory = 2, iconType = "turret_arm", idleAutoHeal = .5, @@ -42,7 +42,7 @@ unitDef = { repairable = false, selfDestructAs = "mediumExplosionGenericRed", side = "CORE", - sightDistance = 300*1.33, + sightDistance = 300, smoothAnim = true, stealth = false, seismicSignature = 2, @@ -60,7 +60,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, @@ -121,7 +121,7 @@ weaponDefs = { interceptedByShieldType = 4, model = "missilesmalllauncher.s3o", name = "Rockets", - range = 850*1.33, + range = 850, reloadtime = 2.5, weaponType = "MissileLauncher", smokeTrail = false, @@ -136,11 +136,11 @@ weaponDefs = { flightTime = 3, weaponVelocity = 1500, customparams = { - damagetype = "antibuildingair", + damagetype = "antilightarmored", isupgraded = isUpgraded, }, damage = { - default = 100, + default = 100*1.33, }, }, } diff --git a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotsniper_turret_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotsniper_turret_basedef.lua index c4ac23487..b48c996e6 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotsniper_turret_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotsniper_turret_basedef.lua @@ -19,8 +19,8 @@ unitDef = { energyUse = 0, explodeAs = "mediumExplosionGenericPurple", floater = true, - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, --highTrajectory = 2, iconType = "turret_arm", idleAutoHeal = .5, @@ -42,7 +42,7 @@ unitDef = { repairable = false, selfDestructAs = "mediumExplosionGenericPurple", side = "CORE", - sightDistance = 300*1.33, + sightDistance = 300, smoothAnim = true, stealth = false, seismicSignature = 2, @@ -60,7 +60,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, @@ -127,7 +127,7 @@ weaponDefs = { minintensity = "1", name = "Laser", - range = 900*1.33, + range = 900, reloadtime = 7.5, WeaponType = "LaserCannon", rgbColor = "0 0.5 1", @@ -142,11 +142,11 @@ weaponDefs = { turret = true, weaponVelocity = 3000, customparams = { - damagetype = "antiarmored", + damagetype = "antilightarmored", isupgraded = isUpgraded, }, damage = { - default = 500, + default = 500*1.33, }, }, diff --git a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotthud_turret_basedef.lua b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotthud_turret_basedef.lua index 2e2340856..2f948ddfc 100644 --- a/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotthud_turret_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hbot/turret/ehbotthud_turret_basedef.lua @@ -19,8 +19,8 @@ unitDef = { energyUse = 0, explodeAs = "mediumExplosionGeneric", floater = true, - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, highTrajectory = 2, iconType = "turret_lit", idleAutoHeal = .5, @@ -42,7 +42,7 @@ unitDef = { repairable = false, selfDestructAs = "mediumExplosionGeneric", side = "CORE", - sightDistance = 800*1.33, + sightDistance = 800, smoothAnim = true, stealth = false, seismicSignature = 2, @@ -60,7 +60,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:airfactoryhtrail", }, @@ -124,7 +124,7 @@ weaponDefs = { interceptedByShieldType = 4, name = "Plasma Cannon", --noExplode = true, - range = 800*1.33, + range = 800, reloadtime = 2, size = 8, --projectiles = projectiles, @@ -138,11 +138,11 @@ weaponDefs = { weaponTimer = 1, weaponVelocity = 600, customparams = { - damagetype = "antiarmored", + damagetype = "antilight", isupgraded = isUpgraded, }, damage = { - default = 150, + default = 150*1.33, }, }, } diff --git a/Units-Configs-Basedefs/basedefs/hover/eartytank_basedef.lua b/Units-Configs-Basedefs/basedefs/hover/eartytank_basedef.lua index 16fc79c7d..5166c2ad5 100644 --- a/Units-Configs-Basedefs/basedefs/hover/eartytank_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hover/eartytank_basedef.lua @@ -18,8 +18,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGeneric", - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, iconType = "arty_lit", idleAutoHeal = .5, idleTime = 2200, @@ -29,7 +29,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERTANK3", + movementClass = "HOVERTANK2", name = humanName, --Because he was the first one to get the "Lobster" pun noChaseCategory = "VTOL", objectName = objectName, @@ -58,7 +58,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -74,7 +74,7 @@ unitDef = { weapons = { [1] = { def = "Artilleryweapon", - badTargetCategory = "VTOL", + badTargetCategory = "VTOL LIGHT ARMORED BIO", }, -- [2] = { -- def = "SaturationArtilleryweapon", @@ -132,7 +132,7 @@ weaponDefs = { weaponVelocity = 500, customparams = { isupgraded = isUpgraded, - damagetype = "antibuilding", + damagetype = "antibuildingarty", }, damage = { default = 200, @@ -169,7 +169,7 @@ weaponDefs = { weaponVelocity = 500, customparams = { isupgraded = isUpgraded, - damagetype = "antibuilding", + damagetype = "antibuildingarty", }, damage = { default = 20, diff --git a/Units-Configs-Basedefs/basedefs/hover/eartytanksaturation_basedef.lua b/Units-Configs-Basedefs/basedefs/hover/eartytanksaturation_basedef.lua index 95b7bf124..e5cc800e2 100644 --- a/Units-Configs-Basedefs/basedefs/hover/eartytanksaturation_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hover/eartytanksaturation_basedef.lua @@ -18,8 +18,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGeneric", - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, iconType = "arty_lit", idleAutoHeal = .5, idleTime = 2200, @@ -29,7 +29,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERTANK3", + movementClass = "HOVERTANK2", name = humanName, --Because he was the first one to get the "Lobster" pun noChaseCategory = "VTOL", objectName = objectName, @@ -58,7 +58,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -105,7 +105,7 @@ unitDef = { weaponDefs = { SaturationArtilleryweapon = { - AreaOfEffect = 200, + AreaOfEffect = 250, avoidFriendly = false, avoidFeature = false, collideFriendly = false, @@ -116,7 +116,7 @@ weaponDefs = { explosionGenerator = "custom:genericshellexplosion-medium", energypershot = 0, - burst = 5, + burst = 20, burstRate = 0.25, impulseFactor = 0, @@ -135,10 +135,10 @@ weaponDefs = { weaponVelocity = 500, customparams = { isupgraded = isUpgraded, - damagetype = "antibuilding", + damagetype = "antibuildingarty", }, damage = { - default = 200, + default = 100, }, }, } diff --git a/Units-Configs-Basedefs/basedefs/hover/ebasefactory_basedef.lua b/Units-Configs-Basedefs/basedefs/hover/ebasefactory_basedef.lua index 2b8f71700..967c8bbc2 100644 --- a/Units-Configs-Basedefs/basedefs/hover/ebasefactory_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hover/ebasefactory_basedef.lua @@ -20,8 +20,8 @@ unitDef = { energyUse = 0, energyMake = 0, explodeAs = "hugeBuildingExplosionGeneric", - footprintX = 20, - footprintZ = 20, + footprintX = 10, + footprintZ = 10, floater = true, iconType = "factory", idleAutoHeal = .5, @@ -45,7 +45,7 @@ unitDef = { unitname = unitName, -- unitRestricted = 1, workerTime = 1, - yardMap = "oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo oooyyyyyyyyyyyyyyooo", + yardMap = "cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc cccccccccc ", -- usePieceCollisionVolumes = true, -- modelCenterOffset = {108, 10, 0}, sfxtypes = { @@ -80,8 +80,4 @@ unitDef = { corpse = "energycore", }, useGroundDecal = true, - BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 26, - BuildingGroundDecalSizeY = 26, - BuildingGroundDecalDecaySpeed = 0.9, } diff --git a/Units-Configs-Basedefs/basedefs/hover/eheavytank3_basedef.lua b/Units-Configs-Basedefs/basedefs/hover/eheavytank3_basedef.lua index 3b0605da0..0b1e3ca52 100644 --- a/Units-Configs-Basedefs/basedefs/hover/eheavytank3_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hover/eheavytank3_basedef.lua @@ -18,8 +18,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "largeExplosionGenericRed", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "td_arm_all", idleAutoHeal = .5, idleTime = 2200, @@ -30,7 +30,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERTANK4", + movementClass = "HOVERTANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -121,7 +121,7 @@ weaponDefs = { weaponVelocity = 1000, customparams = { isupgraded = isUpgraded, - damagetype = "antiarmored", + damagetype = "antilightarmored", }, damage = { default = 150, diff --git a/Units-Configs-Basedefs/basedefs/hover/elacerator_basedef.lua b/Units-Configs-Basedefs/basedefs/hover/elacerator_basedef.lua index f3b493784..6381e3383 100644 --- a/Units-Configs-Basedefs/basedefs/hover/elacerator_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hover/elacerator_basedef.lua @@ -58,7 +58,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units-Configs-Basedefs/basedefs/hover/elighttank3_basedef.lua b/Units-Configs-Basedefs/basedefs/hover/elighttank3_basedef.lua index ff67d3030..7466baccc 100644 --- a/Units-Configs-Basedefs/basedefs/hover/elighttank3_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hover/elighttank3_basedef.lua @@ -39,7 +39,7 @@ unitDef = { repairable = false, selfDestructAs = "smallExplosionGenericBlue", side = "CORE", - sightDistance = 725, + sightDistance = 650, smoothAnim = true, stealth = true, seismicSignature = 2, @@ -56,7 +56,7 @@ unitDef = { sfxtypes = { explosiongenerators = { "custom:electricity", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, pieceExplosionGenerators = { @@ -112,7 +112,7 @@ weaponDefs = { craterBoost = 0, craterMult = 0, beamTTL = 10, - explosionGenerator = "custom:genericshellexplosion-medium-lightning", + explosionGenerator = "custom:genericshellexplosion-small-lightning", energypershot = 0, edgeeffectiveness = 1, impulseBoost = 0, @@ -126,7 +126,7 @@ weaponDefs = { WeaponType = "LightningCannon", rgbColor = "0.1 0.2 0.5", rgbColor2 = "0 0 1", - soundStart = "weapons/jacobs.wav", + soundStart = "weapons/lightningstrike.wav", texture1 = "lightning", thickness = 5, @@ -134,7 +134,7 @@ weaponDefs = { weaponVelocity = 400, customparams = { isupgraded = isUpgraded, - damagetype = "antibuilding", + damagetype = "antilightbuilding", }, damage = { default = 60, diff --git a/Units-Configs-Basedefs/basedefs/hover/emissiletank_basedef.lua b/Units-Configs-Basedefs/basedefs/hover/emissiletank_basedef.lua index 3470c7caa..daf2fcce2 100644 --- a/Units-Configs-Basedefs/basedefs/hover/emissiletank_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hover/emissiletank_basedef.lua @@ -19,8 +19,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "largeExplosionGeneric", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "mtd_lit_all", idleAutoHeal = .5, idleTime = 2200, @@ -31,7 +31,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERTANK4", + movementClass = "HOVERTANK2", name = humanName, objectName = objectName, script = script, @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:factorysparks", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -132,15 +132,15 @@ weaponDefs = { soundStart = "weapons/missile_launch1.wav", tracks = true, - turnrate = 17500, + turnrate = 30000, weaponAcceleration = 400, weaponTimer = 1, weaponType = "StarburstLauncher", - weaponVelocity = 1000, + weaponVelocity = 3000, customparams = { isupgraded = isUpgraded, - damagetype = "antiair", + damagetype = "antilightarmored", }, damage = { default = 150, diff --git a/Units-Configs-Basedefs/basedefs/hover/eriottank2_basedef.lua b/Units-Configs-Basedefs/basedefs/hover/eriottank2_basedef.lua index bf7ad8f65..6ede05de5 100644 --- a/Units-Configs-Basedefs/basedefs/hover/eriottank2_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hover/eriottank2_basedef.lua @@ -18,8 +18,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericBlue", - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, iconType = "riot_lit", idleAutoHeal = .5, idleTime = 2200, @@ -30,7 +30,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERTANK3", + movementClass = "HOVERTANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units-Configs-Basedefs/basedefs/hover/eriottank2_shotgun_basedef.lua b/Units-Configs-Basedefs/basedefs/hover/eriottank2_shotgun_basedef.lua index 4924507f3..0c73a2647 100644 --- a/Units-Configs-Basedefs/basedefs/hover/eriottank2_shotgun_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/hover/eriottank2_shotgun_basedef.lua @@ -18,8 +18,8 @@ unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericBlue", - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, iconType = "riot_lit", idleAutoHeal = .5, idleTime = 2200, @@ -30,7 +30,7 @@ unitDef = { maxReverseVelocity = 1, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERTANK3", + movementClass = "HOVERTANK2", name = humanName, noChaseCategory = "VTOL", objectName = objectName, @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -152,38 +152,42 @@ weaponDefs = { }, riottankshotgun = { - AreaOfEffect = 250, + AreaOfEffect = 75, avoidFriendly = false, avoidFeature = false, collideFriendly = false, collideFeature = false, - burst = 5, - burstrate = 0.2, + --burstrate = 0.2, + --burst = 5, cegTag = "bruisercannon", - explosionGenerator = "custom:genericshellexplosion-medium", + edgeeffectiveness = 1, + explosionGenerator = "custom:genericshellexplosion-large-sparks-burn", energypershot = 0, interceptedByShieldType = 4, impulseFactor = 0, name = "Shotgun", - --projectiles = 10, + noSelfDamage = true, + noexplode = true, + projectiles = 5, range = 500, reloadtime = 5, - sprayangle = 2000, + sprayangle = 3500, + size = 2, weaponType = "Cannon", soundHit = "explosions/mediumcannonhit.wav", - soundStart = "weapons/bruisercannon.wav", - --sprayangle = 2000, + soundStart = "weapons/Shotgun Boom 102.wav", turret = true, weaponVelocity = 400, customparams = { isupgraded = isUpgraded, damagetype = "light", + nofriendlyfire = true, + single_hit = true, }, damage = { - default = 30, + default = 150, }, }, - -} +} \ No newline at end of file diff --git a/Units-Configs-Basedefs/basedefs/zaal/zairbomber_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zairbomber_basedef.lua index 7c02a3cf5..d8bc01b38 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zairbomber_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zairbomber_basedef.lua @@ -112,7 +112,7 @@ weaponDefs = { reloadtime = 9, weaponType = "MissileLauncher", smokeTrail = false, - --soundStart = "weapons/rocket1.wav", + soundStart = "weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 4.wav", --soundHit = "explosions/explode5.wav", startVelocity = 250, tolerance = 8000, diff --git a/Units-Configs-Basedefs/basedefs/zaal/zarm_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zarm_basedef.lua index 268aba394..3527ddae7 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zarm_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zarm_basedef.lua @@ -18,7 +18,7 @@ unitDef = { canHover = false, canMove = false, canPatrol = false, - canreclaim = false, + canreclaim = true, canstop = true, category = "BUILDING", description = [[Provides Tech/Builds Construction Bugs]], @@ -126,6 +126,7 @@ weaponDefs = { reloadtime = 2.5, smoketrail = false, soundhit = "ChickenDefenseSounds/e25", + soundstart = "weapons/zaal/large monster attack/large monster attack 5.wav", startvelocity = 200, tolerance = 10000, tracks = true, @@ -136,7 +137,7 @@ weaponDefs = { weapontype = "MissileLauncher", weaponvelocity = 2500, customparams = { - damagetype = "light", + damagetype = "antilightarmored", nofriendlyfire = 1, }, damage = { diff --git a/Units-Configs-Basedefs/basedefs/zaal/zarty_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zarty_basedef.lua index 223b7b9aa..022029891 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zarty_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zarty_basedef.lua @@ -58,7 +58,7 @@ unitDef = { explosiongenerators = { "custom:gdhcannon", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -125,8 +125,8 @@ weaponDefs = { rgbcolor = "0.1 0.6 1", size = 16, weaponType = "Cannon", - --soundHit = "explosions/artyhit.wav", - soundStart = "weapons/zaal/zartyroar.wav", + soundHit = "deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_25.wav", + soundStart = "weapons/zaal/Large monster Growls/Large monster Growls 5.wav", turret = true, waterWeapon = true, diff --git a/Units-Configs-Basedefs/basedefs/zaal/zassault_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zassault_basedef.lua index 1ddc25daf..c03dc54e3 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zassault_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zassault_basedef.lua @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:blood_spray", "custom:blood_explode", - "custom:dirt", + "custom:emptydirt", }, }, sounds = { @@ -75,8 +75,8 @@ unitDef = { weapons = { [1] = { def = "WEAPON", - maindir = "0 0 1", - maxangledif = 180, + --maindir = "0 0 1", + --maxangledif = 180, badTargetCategory = "NOTAIR", onlyTargetCategory = "NOTAIR BUILDING", }, @@ -121,7 +121,7 @@ weaponDefs = { rgbColor = "1 1 1", rgbColor2 = "1 1 1", soundTrigger = true, - soundstart = "weapons/zaal/ultraliskroar.wav", + soundstart = "weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 1.wav", texture1 = "shot", texture2 = "empty", thickness = 40, @@ -130,7 +130,7 @@ weaponDefs = { weaponVelocity = 2000, waterWeapon = true, customparams = { - damagetype = "antiarmored", + damagetype = "antilightarmored", nofriendlyfire = 1, }, damage = { diff --git a/Units-Configs-Basedefs/basedefs/zaal/zconstructor_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zconstructor_basedef.lua index af81c66cc..fc8fe1c65 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zconstructor_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zconstructor_basedef.lua @@ -18,7 +18,7 @@ unitDef = { canHover = false, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "LIGHT NOTAIR", description = [[Construction Bug]], @@ -70,7 +70,7 @@ unitDef = { explosiongenerators = { "custom:blood_spray", "custom:blood_explode", - "custom:dirt", + "custom:emptydirt", }, }, buildoptions = Shared.buildListZaalConstructor, diff --git a/Units-Configs-Basedefs/basedefs/zaal/zhive_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zhive_basedef.lua index 7371d3462..bc4191c76 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zhive_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zhive_basedef.lua @@ -2,7 +2,7 @@ unitDef = { activatewhenbuilt = true, buildAngle = 1024, buildCostEnergy = 0, - buildCostMetal = 100, + buildCostMetal = buildCostMetal, builder = true, buildTime = 5, buildpic = "zaal_unitpics/zhatch.png", @@ -69,7 +69,7 @@ unitDef = { customParams = { noalert = true, --ProvideTech = techprovided, - unittype = "factory", + unittype = "building", death_sounds = "bug", armortype = "building", normaltex = "unittextures/zarm_normals.dds", diff --git a/Units-Configs-Basedefs/basedefs/zaal/zkamikaze_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zkamikaze_basedef.lua index 35aa22a34..430dccb73 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zkamikaze_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zkamikaze_basedef.lua @@ -62,7 +62,7 @@ unitDef = { explosiongenerators = { "custom:blood_spray", "custom:blood_explode", - "custom:dirt", + "custom:emptydirt", }, }, sounds = { diff --git a/Units-Configs-Basedefs/basedefs/zaal/zlightswarm_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zlightswarm_basedef.lua index 054f5af69..2ceb1e366 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zlightswarm_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zlightswarm_basedef.lua @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:blood_spray", "custom:blood_explode", - "custom:dirt", + "custom:emptydirt", }, }, sounds = { @@ -75,8 +75,8 @@ unitDef = { weapons = { [1] = { def = "WEAPON", - maindir = "0 0 1", - maxangledif = 180, + --maindir = "0 0 1", + --maxangledif = 180, badTargetCategory = "BUILDING WALL", }, }, diff --git a/Units-Configs-Basedefs/basedefs/zaal/zmedswarm_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zmedswarm_basedef.lua index a061365b0..e2f9d5304 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zmedswarm_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zmedswarm_basedef.lua @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:blood_spray", "custom:blood_explode", - "custom:dirt", + "custom:emptydirt", }, }, sounds = { @@ -75,8 +75,8 @@ unitDef = { weapons = { [1] = { def = "WEAPON", - maindir = "0 0 1", - maxangledif = 180, + --maindir = "0 0 1", + --maxangledif = 180, badTargetCategory = "BUILDING WALL", }, }, diff --git a/Units-Configs-Basedefs/basedefs/zaal/zpyro_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zpyro_basedef.lua index 7b92cbdba..b8ea4e349 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zpyro_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zpyro_basedef.lua @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:blood_spray", "custom:blood_explode", - "custom:dirt", + "custom:emptydirt", }, }, sounds = { @@ -75,9 +75,9 @@ unitDef = { weapons = { [1] = { def = "WEAPON", - maindir = "0 0 1", - maxangledif = 180, - badTargetCategory = "NOTAIR", + --maindir = "0 0 1", + --maxangledif = 180, + badTargetCategory = "NOTAIR LIGHT ARMORED", onlyTargetCategory = "BUILDING NOTAIR", }, }, @@ -121,7 +121,7 @@ weaponDefs = { rgbColor = "1 1 1", rgbColor2 = "1 1 1", soundTrigger = true, - --soundstart = "weapons/heavycannonGD.wav", + soundstart = "weapons/zaal/Medium monster attack/Medium monster attack 4.wav", texture1 = "shot", texture2 = "empty", thickness = 20, @@ -130,7 +130,7 @@ weaponDefs = { waterWeapon = true, weaponVelocity = 2000, customparams = { - damagetype = "antibuilding", + damagetype = "antilightbuilding", nofriendlyfire = 1, }, damage = { diff --git a/Units-Configs-Basedefs/basedefs/zaal/zqueen_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zqueen_basedef.lua index 883ad36e2..417699d82 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zqueen_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zqueen_basedef.lua @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:blood_spray", "custom:blood_explode", - "custom:dirt", + "custom:emptydirt", }, }, sounds = { @@ -101,7 +101,7 @@ unitDef = { unittype = "mobile", canbetransported = "true", needed_cover = 3, - death_sounds = "bug", + death_sounds = "bugqueen", RequireTech = tech, armortype = armortype, nofriendlyfire = "1", @@ -140,7 +140,7 @@ weaponDefs = { size = 8, sizedecay = 0, soundhit = "ChickenDefenseSounds/e16", - soundstart = "weapons/zaal/queenroar.wav", + soundstart = "weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 10.wav", soundTrigger = true, sprayangle = 6000, tolerance = 5000, @@ -148,7 +148,7 @@ weaponDefs = { weapontimer = 0.2, weaponvelocity = 400, customparams = { - damagetype = "antibuilding", + damagetype = "antilightarmored", nofriendlyfire = 1, }, damage = { @@ -173,14 +173,14 @@ weaponDefs = { range = 280, reloadtime = 2.5, model = "ChickenDefenseModels/spike.s3o", - soundstart = "weapons/zaal/queenmeleeroar.wav", + soundstart = "weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 7.wav", tolerance = 5000, turret = true, waterweapon = true, weapontype = "Cannon", weaponvelocity = 2500, customparams = { - damagetype = "light", + damagetype = "antilightarmored", nofriendlyfire = 1, }, damage = { @@ -215,6 +215,7 @@ weaponDefs = { reloadtime = 1.5, smoketrail = true, soundhit = "ChickenDefenseSounds/e25", + soundstart = "weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 1.wav", startvelocity = 200, texture1 = "", texture2 = "sporetrail", @@ -264,6 +265,7 @@ weaponDefs = { reloadtime = 1.25, smoketrail = true, soundhit = "ChickenDefenseSounds/e25", + soundstart = "weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 2.wav", startvelocity = 200, texture1 = "", texture2 = "sporetrail", @@ -313,6 +315,7 @@ weaponDefs = { reloadtime = 1.75, smoketrail = true, soundhit = "ChickenDefenseSounds/e25", + soundstart = "weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 3.wav", startvelocity = 200, texture1 = "", texture2 = "sporetrail", diff --git a/Units-Configs-Basedefs/basedefs/zaal/zskirmisher_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/zskirmisher_basedef.lua index 0bea5573a..bd35f97a7 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/zskirmisher_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/zskirmisher_basedef.lua @@ -60,7 +60,7 @@ unitDef = { explosiongenerators = { "custom:blood_spray", "custom:blood_explode", - "custom:dirt", + "custom:emptydirt", }, }, sounds = { @@ -75,8 +75,8 @@ unitDef = { weapons = { [1] = { def = "WEAPON", - maindir = "0 0 1", - maxangledif = 180, + --maindir = "0 0 1", + --maxangledif = 180, badTargetCategory = "BUILDING WALL", }, }, @@ -120,7 +120,7 @@ weaponDefs = { rgbColor = "0.5 1 0.5", rgbColor2 = "1 1 1", soundTrigger = true, - --soundstart = "weapons/heavycannonGD.wav", + soundstart = "weapons/zaal/large monster attack/large monster attack 1.wav", texture1 = "shot", texture2 = "empty", thickness = 6, @@ -129,7 +129,7 @@ weaponDefs = { weaponVelocity = 2000, waterWeapon = true, customparams = { - damagetype = "antiarmored", + damagetype = "antilightarmored", nofriendlyfire = 1, }, damage = { diff --git a/Units-Configs-Basedefs/basedefs/zaal/ztenticle_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/ztenticle_basedef.lua index 9545bd82a..02ae7dd4e 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/ztenticle_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/ztenticle_basedef.lua @@ -18,7 +18,7 @@ unitDef = { canHover = false, canMove = false, canPatrol = false, - canreclaim = false, + canreclaim = true, canstop = true, category = "BUILDING", description = [[Builds Units]], diff --git a/Units-Configs-Basedefs/basedefs/zaal/ztiberium_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/ztiberium_basedef.lua index 7dbb122ca..6da997f27 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/ztiberium_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/ztiberium_basedef.lua @@ -2,7 +2,7 @@ unitDef = { activateWhenBuilt = true, buildAngle = 8196, buildCostEnergy = 0, - buildCostMetal = 25, + buildCostMetal = 15, builder = false, buildTime = 5, canAttack = false, @@ -12,8 +12,8 @@ unitDef = { metalStorage = storage, energyUse = 0, explodeAs = "BUG_DEATH_MEDIUM", - footprintX = 8, - footprintZ = 8, + footprintX = 4, + footprintZ = 4, idleAutoHeal = .5, idleTime = 2200, icontype = "storage", @@ -65,8 +65,8 @@ unitDef = { }, useGroundDecal = true, BuildingGroundDecalType = "zgroundtexture.dds", - BuildingGroundDecalSizeX = 14, - BuildingGroundDecalSizeY = 14, + BuildingGroundDecalSizeX = 8, + BuildingGroundDecalSizeY = 8, BuildingGroundDecalDecaySpeed = 0.9, } diff --git a/Units-Configs-Basedefs/basedefs/zaal/ztumor_basedef.lua b/Units-Configs-Basedefs/basedefs/zaal/ztumor_basedef.lua index 13c765633..8c6a22e63 100644 --- a/Units-Configs-Basedefs/basedefs/zaal/ztumor_basedef.lua +++ b/Units-Configs-Basedefs/basedefs/zaal/ztumor_basedef.lua @@ -1,10 +1,10 @@ unitDef = { buildCostEnergy = 0, - buildCostMetal = 10, + buildCostMetal = 5, buildDistance = buildDistance, builder = true, - buildTime = 20, + buildTime = 10, buildpic = "zaal_unitpics/ztumor.png", blocking = false, CanAttack = true, @@ -96,7 +96,7 @@ unitDef = { --area_mex_def = "zhatch", --ProvideTech = techprovided, unitdefbuildtime = true, - decloakradiusmodifier = 20, + decloakradiusmodifier = 1, canbetransported = "false", needed_cover = 1, death_sounds = "bug", diff --git a/Units/Federation of Kala - Faction 1/f1landfac.lua b/Units/Federation of Kala - Faction 1/f1landfac.lua new file mode 100644 index 000000000..500e7c3ed --- /dev/null +++ b/Units/Federation of Kala - Faction 1/f1landfac.lua @@ -0,0 +1,24 @@ +-- UNITDEF -- f1landfac -- +-------------------------------------------------------------------------------- + +unitName = "f1landfac" + +-------------------------------------------------------------------------------- + +buildCostMetal = 60 +maxDamage = buildCostMetal * 12.5 + +humanName = [[Land Factory]] + +objectName = "eallterrfac2.s3o" +script = "eallterrfac2.cob" + +AllTerrainFactoryBuildList = Shared.buildListf1landfac + +VFS.Include("units-configs-basedefs/basedefs/allterrain/eminifac_basedef.lua") + +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- diff --git a/Units/Federation of Kala - Faction 1/fedcommander.lua b/Units/Federation of Kala - Faction 1/fedcommander.lua new file mode 100644 index 000000000..d519aa1de --- /dev/null +++ b/Units/Federation of Kala - Faction 1/fedcommander.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- fedcommander -- +-------------------------------------------------------------------------------- + +unitName = [[fedcommander]] + +-------------------------------------------------------------------------------- + +humanname = [[Federation of Kala Command Unit]] +buildpicture = [[ecommander.png]] + +armortype = [[light]] +supplygiven = [[0]] +techprovided = [[tech0, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 2000 +maxvelocity = 3 +workertime = 1 + +movementclass = [[COMMANDERTANK4]] + +objectname = [[ecommander4-battle.s3o]] +script = [[ecommander4-battle.cob]] + +footprintx = 4 +footprintz = 4 + +buildlist = Shared.buildListFed + +weapon1 = [[machinegun]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/Federation of Kala - Faction 1/fedcommander_up1.lua b/Units/Federation of Kala - Faction 1/fedcommander_up1.lua new file mode 100644 index 000000000..a87ffbac0 --- /dev/null +++ b/Units/Federation of Kala - Faction 1/fedcommander_up1.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- fedcommander_up1 -- +-------------------------------------------------------------------------------- + +unitName = [[fedcommander_up1]] + +-------------------------------------------------------------------------------- + +humanname = [[Federation of Kala Command Unit]] +buildpicture = [[ecommander.png]] + +armortype = [[light]] +supplygiven = [[0]] +techprovided = [[tech0, tech1, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 5000 +maxvelocity = 3 +workertime = 2 + +movementclass = [[COMMANDERTANK4]] + +objectname = [[ecommander4-battle.s3o]] +script = [[ecommander4-battle.cob]] + +footprintx = 4 +footprintz = 4 + +buildlist = Shared.buildListFed + +weapon1 = [[machinegun_up1]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/Federation of Kala - Faction 1/fedcommander_up2.lua b/Units/Federation of Kala - Faction 1/fedcommander_up2.lua new file mode 100644 index 000000000..963973cea --- /dev/null +++ b/Units/Federation of Kala - Faction 1/fedcommander_up2.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- fedcommander_up2 -- +-------------------------------------------------------------------------------- + +unitName = [[fedcommander_up2]] + +-------------------------------------------------------------------------------- + +humanname = [[Federation of Kala Command Unit]] +buildpicture = [[ecommander.png]] + +armortype = [[armored]] +supplygiven = [[0]] +techprovided = [[tech0, tech1, tech2, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 10000 +maxvelocity = 3 +workertime = 3 + +movementclass = [[COMMANDERTANK4]] + +objectname = [[ecommander4-battle.s3o]] +script = [[ecommander4-battle.cob]] + +footprintx = 4 +footprintz = 4 + +buildlist = Shared.buildListFed + +weapon1 = [[machinegun_up2]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/Federation of Kala - Faction 1/fedcommander_up3.lua b/Units/Federation of Kala - Faction 1/fedcommander_up3.lua new file mode 100644 index 000000000..ad8734c6b --- /dev/null +++ b/Units/Federation of Kala - Faction 1/fedcommander_up3.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- fedcommander_up3 -- +-------------------------------------------------------------------------------- + +unitName = [[fedcommander_up3]] + +-------------------------------------------------------------------------------- + +humanname = [[Federation of Kala Command Unit]] +buildpicture = [[ecommander.png]] + +armortype = [[armored]] +supplygiven = [[0]] +techprovided = [[tech0, tech1, tech2, tech3, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 15000 +maxvelocity = 3 +workertime = 4 + +movementclass = [[COMMANDERTANK4]] + +objectname = [[ecommander4-battle.s3o]] +script = [[ecommander4-battle.cob]] + +footprintx = 4 +footprintz = 4 + +buildlist = Shared.buildListFed + +weapon1 = [[machinegun_up3]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/Federation of Kala - Faction 1/fedcommander_up4.lua b/Units/Federation of Kala - Faction 1/fedcommander_up4.lua new file mode 100644 index 000000000..2ab6d4885 --- /dev/null +++ b/Units/Federation of Kala - Faction 1/fedcommander_up4.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- fedcommander_up4 -- +-------------------------------------------------------------------------------- + +unitName = [[fedcommander_up4]] + +-------------------------------------------------------------------------------- + +humanname = [[Federation of Kala BattleMech Command Unit]] +buildpicture = [[ecommander.png]] + +armortype = [[armored]] +supplygiven = [[0]] +techprovided = [[tech0, tech1, tech2, tech3, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 20000 +maxvelocity = 3 +workertime = 5 + +movementclass = [[COMMANDERTANK6]] + +objectname = [[ecommander4-battle-large.s3o]] +script = [[ecommander4-battle.cob]] + +footprintx = 6 +footprintz = 6 + +buildlist = Shared.buildListFed + +weapon1 = [[heavybeamweapon]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/faction/xkconstructor.lua b/Units/Federation of Kala - Faction 1/fedengineer.lua similarity index 82% rename from Units/faction/xkconstructor.lua rename to Units/Federation of Kala - Faction 1/fedengineer.lua index 229793499..bf8bf40f4 100644 --- a/Units/faction/xkconstructor.lua +++ b/Units/Federation of Kala - Faction 1/fedengineer.lua @@ -1,13 +1,13 @@ --- UNITDEF -- xkconstructor -- +-- UNITDEF -- FEDENGINEER -- -------------------------------------------------------------------------------- -local unitName = "xkconstructor" +local unitName = "fedengineer" -------------------------------------------------------------------------------- local buildCostMetal = 40 local maxDamage = 400 -local buildDistance = 800 +local buildDistance = 350 local armortype = [[light]] --local supply = [[2]] @@ -28,7 +28,7 @@ local unitDef = { buildDistance = buildDistance, builder = true, buildTime = 5, - buildpic = [[pattern/xkconstructor.png]], + buildpic = "ehbotengineer.png", CanAttack = false, CanAssist = true, canBeAssisted = true, @@ -40,7 +40,7 @@ local unitDef = { canHover = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "LIGHT NOTAIR SUPPORT", description = [[Builds Units]], @@ -48,8 +48,8 @@ local unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericGreen", - footprintX = 6, - footprintZ = 6, + footprintX = 2, + footprintZ = 2, iconType = "engineer", idleAutoHeal = .5, idleTime = 2200, @@ -61,11 +61,11 @@ local unitDef = { maxWaterDepth = 10, metalmake = 0, metalStorage = 0, - movementClass = "PATTERNKBOT3", + movementClass = "HOVERHBOT2", moveState = "2", - name = "The Whatever", - objectName = "faction/xkconstructor.s3o", - script = "faction/xkconstructor.cob", + name = "The Lifter", + objectName = "ehbotengineer2.s3o", + script = "ehbotengineer_lus.lua", radarDistance = 0, repairable = false, selfDestructAs = "mediumExplosionGenericGreen", @@ -94,11 +94,11 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, - buildoptions = Shared.buildListXCommander, + buildoptions = Shared.buildListFed, sounds = { underattack = "other/unitsunderattack1", ok = { @@ -118,9 +118,9 @@ local unitDef = { armortype = armortype, noenergycost = true, -- supply_cost = supply, - normaltex = "unittextures/bfaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "pattern", + normaltex = "unittextures/lego2skin_explorernormal.dds", + buckettex = "unittextures/lego2skin_explorerbucket.dds", + factionname = "ateran", }, } diff --git a/Units/Federation of Kala - Faction 1/fedengineer_turret.lua b/Units/Federation of Kala - Faction 1/fedengineer_turret.lua new file mode 100644 index 000000000..a4f7f73b8 --- /dev/null +++ b/Units/Federation of Kala - Faction 1/fedengineer_turret.lua @@ -0,0 +1,129 @@ +-- UNITDEF -- FEDENGINEER_turret -- +-------------------------------------------------------------------------------- + +local unitName = "fedengineer_turret" + +-------------------------------------------------------------------------------- + +local buildCostMetal = 90 +local maxDamage = 400 +local buildDistance = 800 + +local armortype = [[light]] +--local supply = [[2]] + +local unitDef = { + + --mobileunit + transportbyenemy = false; + + --** + + + acceleration = 1, + brakeRate = 0.24, + buildCostEnergy = 0, + buildCostMetal = buildCostMetal, + buildDistance = buildDistance, + builder = true, + buildTime = 5, + buildpic = "ehbotengineer_turret.png", + CanAttack = false, + CanAssist = true, + canBeAssisted = true, + CanCapture = false, + CanRepair = true, + canRestore = false, + cantBeTransported = true, + canGuard = true, + canHover = true, + canMove = true, + canPatrol = true, + canreclaim = true, + canstop = true, + category = "LIGHT NOTAIR SUPPORT", + description = [[Builds Units]], + energyMake = 0, + energyStorage = 0, + energyUse = 0, + explodeAs = "mediumExplosionGenericGreen", + floater = true, + footprintX = 2, + footprintZ = 2, + iconType = "engineer", + idleAutoHeal = .5, + idleTime = 2200, + levelground = true, + maxDamage = maxDamage, + maxSlope = 26, + maxVelocity = 0.001, + maxReverseVelocity = 0.001, + maxWaterDepth = 5000, + metalmake = 0, + metalStorage = 0, + movementClass = "HOVERHBOT2", + moveState = "0", + pushResistant = true, + name = "The Lifter Turret", + objectName = "ehbotengineer_turret.s3o", + script = "ehbotengineer_turret_lus.lua", + radarDistance = 0, + repairable = false, + selfDestructAs = "mediumExplosionGenericGreen", + showNanoSpray = false, + side = "ARM", + sightDistance = buildDistance, + smoothAnim = true, + stealth = false, + seismicSignature = 2, + -- turnInPlace = false, + turnInPlace = true, + turnRate = 0.001, + -- turnrate = 1020, + unitname = unitName, + upright = true, + workerTime = 1, + capturespeed = 1, + TerraformSpeed = 100000, + ReclaimSpeed = 0, + repairspeed = 0.5, + sfxtypes = { + pieceExplosionGenerators = { + "deathceg3", + "deathceg4", + }, + + explosiongenerators = { + "custom:nanoorb", + "custom:emptydirt", + "custom:blacksmoke", + }, + }, + buildoptions = Shared.buildListTurret, + sounds = { + underattack = "other/unitsunderattack1", + ok = { + "ack", + }, + select = { + "unitselect", + }, + }, + customParams = { + unittype = "mobile", + area_mex_def = "emetalextractor", + canbetransported = "true", + needed_cover = 1, + death_sounds = "generic", + armortype = armortype, +-- supply_cost = supply, + normaltex = "unittextures/lego2skin_explorernormal.dds", + buckettex = "unittextures/lego2skin_explorerbucket.dds", + }, +} + +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- diff --git a/Units/faction/kbots/xflea.lua b/Units/Federation of Kala - Faction 1/fedorb.lua similarity index 60% rename from Units/faction/kbots/xflea.lua rename to Units/Federation of Kala - Faction 1/fedorb.lua index 9a5ee8003..7e5cda2da 100644 --- a/Units/faction/kbots/xflea.lua +++ b/Units/Federation of Kala - Faction 1/fedorb.lua @@ -1,26 +1,29 @@ --- UNITDEF -- xflea -- -------------------------------------------------------------------------------- -unitName = "xflea" +unitName = [[fedorb]] -------------------------------------------------------------------------------- -isUpgraded = [[0]] +isUpgraded = [[0]] -humanName = [[Skulk]] +humanName = [[O.R.B.]] -objectName = "faction/xflea.s3o" -script = "faction/xflea.cob" +objectName = [[eorb4.s3o]] +script = [[eorb3.cob]] -tech = [[tech1]] +workerTime = 1 +buildDistance = 350 + +tech = [[tech0]] armortype = [[light]] -supply = [[1]] -VFS.Include("units-configs-basedefs/basedefs/faction/xflea_basedef.lua") +buildlist = Shared.fedOrb + +VFS.Include("units-configs-basedefs/basedefs/eorb_basedef.lua") unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- return lowerkeys({ [unitName] = unitDef }) --------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/faction/factories/xklab.lua b/Units/Loz Alliance - Faction 2/f2landfac.lua similarity index 59% rename from Units/faction/factories/xklab.lua rename to Units/Loz Alliance - Faction 2/f2landfac.lua index 30d538a3f..3084be068 100644 --- a/Units/faction/factories/xklab.lua +++ b/Units/Loz Alliance - Faction 2/f2landfac.lua @@ -1,20 +1,21 @@ --- UNITDEF -- XKLAB -- +-- UNITDEF -- f2landfac -- -------------------------------------------------------------------------------- -unitName = "xklab" +unitName = "f2landfac" -------------------------------------------------------------------------------- -buildCostMetal = 30 +buildCostMetal = 60 maxDamage = buildCostMetal * 12.5 -humanName = "K-Bot Lab" -objectName = "faction/xklab.s3o" -script = "faction/xklab.cob" +humanName = [[Land Factory]] -hoverFactoryBuildList = Shared.buildListXKLab +objectName = "ehoverfactory.s3o" +script = "ehoverfac.cob" -VFS.Include("units-configs-basedefs/basedefs/faction/xklab_basedef.lua") +hoverFactoryBuildList = Shared.buildListf2landfac + +VFS.Include("units-configs-basedefs/basedefs/hover/ebasefactory_basedef.lua") -------------------------------------------------------------------------------- diff --git a/Units/Loz Alliance - Faction 2/lozcommander.lua b/Units/Loz Alliance - Faction 2/lozcommander.lua new file mode 100644 index 000000000..35fb813d4 --- /dev/null +++ b/Units/Loz Alliance - Faction 2/lozcommander.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- lozcommander -- +-------------------------------------------------------------------------------- + +unitName = [[lozcommander]] + +-------------------------------------------------------------------------------- + +humanname = [[Loz Alliance Command Unit]] +buildpicture = [[lozcommander.png]] + +armortype = [[light]] +supplygiven = [[0]] +techprovided = [[tech0, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 2000 +maxvelocity = 3 +workertime = 1 + +movementclass = [[COMMANDERTANK4]] + +objectname = [[lozcommandtank.s3o]] +script = [[lozcommandtank.cob]] + +footprintx = 4 +footprintz = 4 + +buildlist = Shared.buildListLoz + +weapon1 = [[machinegun]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/Loz Alliance - Faction 2/lozcommander_up1.lua b/Units/Loz Alliance - Faction 2/lozcommander_up1.lua new file mode 100644 index 000000000..766a128e9 --- /dev/null +++ b/Units/Loz Alliance - Faction 2/lozcommander_up1.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- lozcommander_up1 -- +-------------------------------------------------------------------------------- + +unitName = [[lozcommander_up1]] + +-------------------------------------------------------------------------------- + +humanname = [[Loz Alliance Command Unit]] +buildpicture = [[lozcommander.png]] + +armortype = [[light]] +supplygiven = [[0]] +techprovided = [[tech0, tech1, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 5000 +maxvelocity = 3 +workertime = 2 + +movementclass = [[COMMANDERTANK4]] + +objectname = [[lozcommandtank.s3o]] +script = [[lozcommandtank.cob]] + +footprintx = 4 +footprintz = 4 + +buildlist = Shared.buildListLoz + +weapon1 = [[machinegun_up1]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/Loz Alliance - Faction 2/lozcommander_up2.lua b/Units/Loz Alliance - Faction 2/lozcommander_up2.lua new file mode 100644 index 000000000..21cc0678f --- /dev/null +++ b/Units/Loz Alliance - Faction 2/lozcommander_up2.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- lozcommander_up2 -- +-------------------------------------------------------------------------------- + +unitName = [[lozcommander_up2]] + +-------------------------------------------------------------------------------- + +humanname = [[Loz Alliance Command Unit]] +buildpicture = [[lozcommander.png]] + +armortype = [[armored]] +supplygiven = [[0]] +techprovided = [[tech0, tech1, tech2, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 10000 +maxvelocity = 3 +workertime = 3 + +movementclass = [[COMMANDERTANK4]] + +objectname = [[lozcommandtank.s3o]] +script = [[lozcommandtank.cob]] + +footprintx = 4 +footprintz = 4 + +buildlist = Shared.buildListLoz + +weapon1 = [[machinegun_up2]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/Loz Alliance - Faction 2/lozcommander_up3.lua b/Units/Loz Alliance - Faction 2/lozcommander_up3.lua new file mode 100644 index 000000000..450f6b89e --- /dev/null +++ b/Units/Loz Alliance - Faction 2/lozcommander_up3.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- lozcommander_up3 -- +-------------------------------------------------------------------------------- + +unitName = [[lozcommander_up3]] + +-------------------------------------------------------------------------------- + +humanname = [[Loz Alliance Command Unit]] +buildpicture = [[lozcommander.png]] + +armortype = [[armored]] +supplygiven = [[0]] +techprovided = [[tech0, tech1, tech2, tech3, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 15000 +maxvelocity = 3 +workertime = 4 + +movementclass = [[COMMANDERTANK4]] + +objectname = [[lozcommandtank.s3o]] +script = [[lozcommandtank.cob]] + +footprintx = 4 +footprintz = 4 + +buildlist = Shared.buildListLoz + +weapon1 = [[machinegun_up3]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/Loz Alliance - Faction 2/lozcommander_up4.lua b/Units/Loz Alliance - Faction 2/lozcommander_up4.lua new file mode 100644 index 000000000..659d98e1a --- /dev/null +++ b/Units/Loz Alliance - Faction 2/lozcommander_up4.lua @@ -0,0 +1,39 @@ +-- UNITDEF -- lozcommander_up4 -- +-------------------------------------------------------------------------------- + +unitName = [[lozcommander_up4]] + +-------------------------------------------------------------------------------- + +humanname = [[Loz Alliance BattleMech Command Unit]] +buildpicture = [[lozcommander.png]] + +armortype = [[armored]] +supplygiven = [[0]] +techprovided = [[tech0, tech1, tech2, tech3, -overseer]] +techrequired = [[0 overseer]] + +maxdamage = 20000 +maxvelocity = 3 +workertime = 5 + +movementclass = [[COMMANDERTANK6]] + +objectname = [[lozcommandtank-battle.s3o]] +script = [[lozcommandtank.cob]] + +footprintx = 6 +footprintz = 6 + +buildlist = Shared.buildListLoz + +weapon1 = [[heavybeamweapon]] + +VFS.Include("units-configs-basedefs/basedefs/commander_basedef.lua") + +unitDef.weaponDefs = weaponDefs +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/faction/kbots/xwarrior.lua b/Units/Loz Alliance - Faction 2/lozengineer.lua similarity index 54% rename from Units/faction/kbots/xwarrior.lua rename to Units/Loz Alliance - Faction 2/lozengineer.lua index 136237228..887c96b22 100644 --- a/Units/faction/kbots/xwarrior.lua +++ b/Units/Loz Alliance - Faction 2/lozengineer.lua @@ -1,24 +1,24 @@ --- UNITDEF -- xwarrior -- +-- UNITDEF -- lozengineer -- -------------------------------------------------------------------------------- -unitName = "xwarrior" +unitName = "lozengineer" -------------------------------------------------------------------------------- -isUpgraded = [[0]] +buildCostMetal = 40 +buildDistance = 350 -humanName = [[Warrior]] +maxDamage = 500 -objectName = "faction/xwarrior.s3o" -script = "faction/xwarrior.cob" +humanName = [[Architect]] -tech = [[tech1]] -armortype = [[armored]] -supply = [[1]] +objectName = [[f2engineer.s3o]] +script = [[f2engineer_lus.lua]] -VFS.Include("units-configs-basedefs/basedefs/faction/xwarrior_basedef.lua") +armortype = [[light]] + +VFS.Include("units-configs-basedefs/basedefs/Faction 2/f2engineer_basedef.lua") -unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- return lowerkeys({ [unitName] = unitDef }) diff --git a/Units/faction/kbots/xskulk.lua b/Units/Loz Alliance - Faction 2/lozorb.lua similarity index 60% rename from Units/faction/kbots/xskulk.lua rename to Units/Loz Alliance - Faction 2/lozorb.lua index 74324976f..57b3fc328 100644 --- a/Units/faction/kbots/xskulk.lua +++ b/Units/Loz Alliance - Faction 2/lozorb.lua @@ -1,26 +1,29 @@ --- UNITDEF -- XSKULK -- -------------------------------------------------------------------------------- -unitName = "xskulk" +unitName = [[lozorb]] -------------------------------------------------------------------------------- -isUpgraded = [[0]] +isUpgraded = [[0]] -humanName = [[Skulk]] +humanName = [[O.R.B.]] -objectName = "faction/xskulk.s3o" -script = "faction/xskulk.cob" +objectName = [[eorb4.s3o]] +script = [[eorb3.cob]] -tech = [[tech1]] +workerTime = 1 +buildDistance = 350 + +tech = [[tech0]] armortype = [[light]] -supply = [[1]] -VFS.Include("units-configs-basedefs/basedefs/faction/xskulk_basedef.lua") +buildlist = Shared.lozOrb + +VFS.Include("units-configs-basedefs/basedefs/eorb_basedef.lua") unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- return lowerkeys({ [unitName] = unitDef }) --------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/aiunits/ecommanderbattleai.lua b/Units/aiunits/ecommanderbattleai.lua index 8f32ae7d2..17be64ed9 100644 --- a/Units/aiunits/ecommanderbattleai.lua +++ b/Units/aiunits/ecommanderbattleai.lua @@ -6,7 +6,7 @@ local unitName = "ecommanderbattleai" -------------------------------------------------------------------------------- local armortype = [[armored]] local supplyGiven = [[0]] -local techprovided = [[tech0, 1 tech0ai]] +local techprovided = [[tech0, tech1, tech2, tech3, 1 tech0ai]] local techrequired = [[0 overseer]] local weapon1Damage = 200 @@ -98,7 +98,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:gdhcannon", }, diff --git a/Units/aiunits/ecommanderbuildai.lua b/Units/aiunits/ecommanderbuildai.lua index ad3983df2..2ab3e6c75 100644 --- a/Units/aiunits/ecommanderbuildai.lua +++ b/Units/aiunits/ecommanderbuildai.lua @@ -95,7 +95,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units/aiunits/ecommandercloakai.lua b/Units/aiunits/ecommandercloakai.lua index fad6fc76c..1e81ab080 100644 --- a/Units/aiunits/ecommandercloakai.lua +++ b/Units/aiunits/ecommandercloakai.lua @@ -96,7 +96,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units/aiunits/ecommanderfactoryai.lua b/Units/aiunits/ecommanderfactoryai.lua index fd4b555d7..ebd3b3d4b 100644 --- a/Units/aiunits/ecommanderfactoryai.lua +++ b/Units/aiunits/ecommanderfactoryai.lua @@ -95,7 +95,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units/aiunits/ecommanderhealerai.lua b/Units/aiunits/ecommanderhealerai.lua index a056c1a7d..6ba73bd90 100644 --- a/Units/aiunits/ecommanderhealerai.lua +++ b/Units/aiunits/ecommanderhealerai.lua @@ -95,7 +95,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units/aiunits/ecommandershieldai.lua b/Units/aiunits/ecommandershieldai.lua index 90a869737..4038038f4 100644 --- a/Units/aiunits/ecommandershieldai.lua +++ b/Units/aiunits/ecommandershieldai.lua @@ -99,7 +99,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units/dev/atm.lua b/Units/dev/atm.lua index 7e7ee2ed6..b011361c1 100644 --- a/Units/dev/atm.lua +++ b/Units/dev/atm.lua @@ -35,6 +35,7 @@ local unitDef = { metalStorage = 900, name = "ATM Machine", objectName = "efusion2.s3o", + script = "efusion2.cob", radarDistance = 1000, reclaimable = false, selfDestructAs = "FUSIONPOP", diff --git a/Units/eair/eairplant.lua b/Units/eair/eairplant.lua index 6f44f5c29..e8ccc02c2 100644 --- a/Units/eair/eairplant.lua +++ b/Units/eair/eairplant.lua @@ -5,7 +5,7 @@ unitName = "eairplant" -------------------------------------------------------------------------------- -buildCostMetal = 30 +buildCostMetal = 60 maxDamage = buildCostMetal * 12.5 humanName = [[VTOL Factory]] diff --git a/Units/eallterrain/eminifac.lua b/Units/eallterrain/eminifac.lua index e76b92e4b..a5fa7397e 100644 --- a/Units/eallterrain/eminifac.lua +++ b/Units/eallterrain/eminifac.lua @@ -5,7 +5,7 @@ unitName = "eminifac" -------------------------------------------------------------------------------- -buildCostMetal = 30 +buildCostMetal = 60 maxDamage = buildCostMetal * 12.5 humanName = [[All-Terrain Strider Factory]] diff --git a/Units/eamphib/eamphibfac.lua b/Units/eamphib/eamphibfac.lua index 33ee5b086..99d0a99ee 100644 --- a/Units/eamphib/eamphibfac.lua +++ b/Units/eamphib/eamphibfac.lua @@ -5,7 +5,7 @@ unitName = "eamphibfac" -------------------------------------------------------------------------------- -buildCostMetal = 30 +buildCostMetal = 60 maxDamage = buildCostMetal * 12.5 humanName = [[Amphibious Tank Factory]] diff --git a/Units/ebox.lua b/Units/ebox.lua index 3571a95c7..03c3d4822 100644 --- a/Units/ebox.lua +++ b/Units/ebox.lua @@ -19,7 +19,7 @@ local unitDef = { acceleration = 1, brakeRate = 1, buildCostEnergy = 0, - buildCostMetal = 35, + buildCostMetal = 15, buildDistance = 400, builder = false, buildTime = 5, @@ -36,8 +36,8 @@ local unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "largeExplosionGenericWhite", - footprintX = 6, - footprintZ = 6, + footprintX = 2, + footprintZ = 2, iconType = "box", idleAutoHeal = .5, idleTime = 2200, @@ -48,17 +48,16 @@ local unitDef = { maxReverseVelocity = 4, maxWaterDepth = 10, metalStorage = 0, - movementClass = "HOVERTANK6", + movementClass = "HOVERTANK2", name = "B.O.X.", noChaseCategory = "VTOL", - objectName = "ebox.s3o", + objectName = "ebox_small.s3o", script = "ebox_lus.lua", radarDistance = 1250, - radarEmitHeight = 300, repairable = false, selfDestructAs = "largeExplosionGenericWhite", side = "CORE", - sightDistance = 250, + sightDistance = 750, smoothAnim = true, stealth = true, seismicSignature = 2, @@ -75,7 +74,7 @@ local unitDef = { "deathceg4", }, explosiongenerators = { - "custom:dirt", + "custom:emptydirt", }, }, diff --git a/Units/ebuilding/eartyturret.lua b/Units/ebuilding/eartyturret.lua index 8060a98cf..e79acafa2 100644 --- a/Units/ebuilding/eartyturret.lua +++ b/Units/ebuilding/eartyturret.lua @@ -12,7 +12,7 @@ script = [[eartyturret.cob]] tech = [[tech3]] armortype = [[building]] -AreaOfEffect = 300 +AreaOfEffect = 500 VFS.Include("units-configs-basedefs/basedefs/buildings/eartyturret_basedef.lua") diff --git a/Units/faction/turrets/xllt.lua b/Units/ebuilding/eflakturret.lua similarity index 66% rename from Units/faction/turrets/xllt.lua rename to Units/ebuilding/eflakturret.lua index f4f0cd001..d7beba03b 100644 --- a/Units/faction/turrets/xllt.lua +++ b/Units/ebuilding/eflakturret.lua @@ -1,22 +1,22 @@ --- UNITDEF -- xllt -- +-- UNITDEF -- EFLAKTURRET -- -------------------------------------------------------------------------------- -unitName = [[xllt]] +unitName = [[eflakturret]] -------------------------------------------------------------------------------- isUpgraded = [[0]] -humanName = [[LLT]] +humanName = [[Fortifier]] -objectName = [[faction/xllt.s3o]] -script = [[faction/xllt.cob]] +objectName = [[eflakturret.s3o]] +script = [[eflakturret.cob]] -tech = [[tech0]] +tech = [[tech2]] armortype = [[building]] --supply = [[3]] -VFS.Include("units-configs-basedefs/basedefs/faction/xllt_basedef.lua") +VFS.Include("units-configs-basedefs/basedefs/buildings/eflakturret_basedef.lua") unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- diff --git a/Units/ebuilding/egeothermal.lua b/Units/ebuilding/egeothermal.lua index 8aeed6101..883985992 100644 --- a/Units/ebuilding/egeothermal.lua +++ b/Units/ebuilding/egeothermal.lua @@ -26,8 +26,8 @@ local unitDef = { energyMake = energyproduced, energyStorage = 0, explodeAs = "largeBuildingExplosionGenericBlueEMP", - footprintX = 8, - footprintZ = 8, + footprintX = 4, + footprintZ = 4, iconType = "generator", idleAutoHeal = .5, idleTime = 2200, diff --git a/Units/ebuilding/ejammer2.lua b/Units/ebuilding/ejammer2.lua index ed9a1fa0b..525b8433d 100644 --- a/Units/ebuilding/ejammer2.lua +++ b/Units/ebuilding/ejammer2.lua @@ -25,8 +25,8 @@ local unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "smallBuildingExplosionGenericPurple", - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "radarjam", idleAutoHeal = .5, idleTime = 2200, diff --git a/Units/ebuilding/ekmar.lua b/Units/ebuilding/ekmar.lua index 226ef9ddd..5b756a7ad 100644 --- a/Units/ebuilding/ekmar.lua +++ b/Units/ebuilding/ekmar.lua @@ -9,9 +9,9 @@ local armortype = [[building]] local techrequired = [[tech2]] -local shield1Power = 500 -local shield1PowerRegen = 50 -local shield1PowerRegenEnergy = 50 +local shield1Power = 2500 +local shield1PowerRegen = 25 +local shield1PowerRegenEnergy = 25 local buildCostMetal = 50 local maxDamage = buildCostMetal * 12.5 @@ -30,8 +30,8 @@ local unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumBuildingExplosionGenericBlue", - footprintX = 3, - footprintZ = 3, + footprintX = 2, + footprintZ = 2, floater = true, iconType = "baseshield", idleAutoHeal = .5, diff --git a/Units/ebuilding/emediumgen.lua b/Units/ebuilding/emediumgen.lua index 0f5bd5bbe..2ce9ab364 100644 --- a/Units/ebuilding/emediumgen.lua +++ b/Units/ebuilding/emediumgen.lua @@ -29,8 +29,8 @@ Provides +]] .. powerprovided, energyStorage = 0, energyMake = energyproduced, explodeAs = "largeBuildingExplosionGenericBlueEMP", - footprintX = 6, - footprintZ = 6, + footprintX = 3, + footprintZ = 3, icontype = "generator", idleAutoHeal = .5, idleTime = 2200, diff --git a/Units/ebuilding/emetalextractor.lua b/Units/ebuilding/emetalextractor.lua index 56fc5ff32..9d8e6221d 100644 --- a/Units/ebuilding/emetalextractor.lua +++ b/Units/ebuilding/emetalextractor.lua @@ -5,16 +5,18 @@ unitName = [[emetalextractor]] -------------------------------------------------------------------------------- +ateranMexCost = Spring.GetModOptions().metalextractorcostateran or 50 + metalMultiplier = 1 -buildCostMetal = 20 +buildCostMetal = ateranMexCost energyUse = 0 primaryCEG = "custom:fusionreactionnuclear-1color" humanName = [[Metal Extractor]] -objectName = [[emetalextractor2.s3o]] +objectName = [[emetalextractor2_small.s3o]] script = [[emetalextractor.cob]] tech = [[tech0]] diff --git a/Units/ebuilding/emetalextractor_up1.lua b/Units/ebuilding/emetalextractor_up1.lua index ba9612edb..0bf8c1b86 100644 --- a/Units/ebuilding/emetalextractor_up1.lua +++ b/Units/ebuilding/emetalextractor_up1.lua @@ -5,16 +5,16 @@ unitName = [[emetalextractor_up1]] -------------------------------------------------------------------------------- -metalMultiplier = 1.33 +metalMultiplier = 2 -buildCostMetal = 100 +buildCostMetal = 150 energyUse = 2 primaryCEG = "custom:fusionreactionnuclear-2color" humanName = [[Metal Extractor Mk II]] -objectName = [[emetalextractor2.s3o]] +objectName = [[emetalextractor2_up1.s3o]] script = [[emetalextractor.cob]] tech = [[tech1]] diff --git a/Units/ebuilding/emetalextractor_up2.lua b/Units/ebuilding/emetalextractor_up2.lua index 30929dc2c..80fb77189 100644 --- a/Units/ebuilding/emetalextractor_up2.lua +++ b/Units/ebuilding/emetalextractor_up2.lua @@ -5,16 +5,16 @@ unitName = [[emetalextractor_up2]] -------------------------------------------------------------------------------- -metalMultiplier = 1.66 +metalMultiplier = 4 -buildCostMetal = 200 -energyUse = 5 +buildCostMetal = 300 +energyUse = 25 primaryCEG = "custom:fusionreactionnuclear-3color" humanName = [[Metal Extractor Mk III]] -objectName = [[emetalextractor2.s3o]] +objectName = [[emetalextractor2_up2.s3o]] script = [[emetalextractor.cob]] tech = [[tech2]] diff --git a/Units/ebuilding/emetalextractor_up3.lua b/Units/ebuilding/emetalextractor_up3.lua index bf3874801..1e5ae3181 100644 --- a/Units/ebuilding/emetalextractor_up3.lua +++ b/Units/ebuilding/emetalextractor_up3.lua @@ -5,16 +5,16 @@ unitName = [[emetalextractor_up3]] -------------------------------------------------------------------------------- -metalMultiplier = 2 +metalMultiplier = 8 -buildCostMetal = 300 -energyUse = 10 +buildCostMetal = 600 +energyUse = 50 primaryCEG = "custom:fusionreactionnuclear-4color" humanName = [[Metal Extractor Mk IV]] -objectName = [[emetalextractor2.s3o]] +objectName = [[emetalextractor2_up3.s3o]] script = [[emetalextractor.cob]] tech = [[tech3]] diff --git a/Units/ebuilding/emine.lua b/Units/ebuilding/emine.lua index dd370760f..120e22ed7 100644 --- a/Units/ebuilding/emine.lua +++ b/Units/ebuilding/emine.lua @@ -8,9 +8,8 @@ local unitName = "emine" local armortype = [[building]] --local supply = [[1]] -local weapon1Damage = 305 -local weapon1AOE = 1 -local energycosttofire = weapon1Damage / 10 * ((weapon1AOE / 1000) + 1) +local weapon1Damage = 1000 +local weapon1AOE = 25 local function roundToFirstDecimal(energycosttofire) return math.floor(energycosttofire*10 + 0.5)*0.1 @@ -21,7 +20,7 @@ local unitDef = { blocking = false, buildAngle = 1024, buildCostEnergy = 0, - buildCostMetal = 10, + buildCostMetal = 5, builder = false, buildTime = 5, category = "LIGHT NOTAIR", @@ -32,7 +31,7 @@ local unitDef = { cloakCost = 0, cloakCostMoving = 0, minCloakDistance = 0, - decloakOnFire = false, + decloakOnFire = true, decloakSpherical = true, initCloaked = true, @@ -136,7 +135,7 @@ local weaponDefs = { model = "missilesmallvlaunch.s3o", edgeeffectiveness = 1, - energypershot = energycosttofire, + energypershot = 0, range =400, reloadtime =8, weaponvelocity =2500, diff --git a/Units/ebuilding/eradar2.lua b/Units/ebuilding/eradar2.lua index 5cb8989d7..1ee47c0ba 100644 --- a/Units/ebuilding/eradar2.lua +++ b/Units/ebuilding/eradar2.lua @@ -1,97 +1,28 @@ --- UNITDEF -- ERADAR2 -- +-- UNITDEF -- eradar2 -- -------------------------------------------------------------------------------- -local unitName = "eradar2" +unitName = [[eradar2]] --------------------------------------------------------------------------------- - -local armortype = [[building]] +buildCostMetal = 5 -local techrequired = [[tech1]] +humanName = [[Radar Tower]] +objectName = [[eradar3_small.s3o]] -local buildCostMetal = 10 -local maxDamage = buildCostMetal * 12.5 +radarDistance = 1000 +radarEmitHeight = 64 -local unitDef = { - activateWhenBuilt = true, - buildAngle = 16384, - buildCostEnergy = 0, - buildCostMetal = buildCostMetal, - builder = false, - buildTime = 5, - category = "BUILDING NOTAIR", - description = [[Radar Dome/Sensor Tower]], - energyMake = 0, - energyStorage = 0, - energyUse = 0, - explodeAs = "largeBuildingExplosionGenericWhite", - footprintX = 6, - footprintZ = 6, - floater = true, - iconType = "radar", - idleAutoHeal = .5, - idleTime = 2200, - isTargetingUpgrade = false, - maxDamage = maxDamage, - maxSlope = 75, - maxWaterDepth = 999999, - metalStorage = 0, - name = "Radar Dome", - objectName = "eradar3.s3o", - script = "eradar3.cob", - onoffable = true, - radarDistance = 1500, - radarEmitHeight = 300, - repairable = false, - selfDestructAs = "largeBuildingExplosionGenericWhite", - side = "CORE", - sightDistance = 250, - smoothAnim = true, - sonarDistance = 1000, - seismicDistance = 1000, - unitname = "eradar2", - workerTime = 0, - yardMap = "oooooo oooooo oooooo oooooo oooooo oooooo", +sightDistance = 750 +sonarDistance = 750 +seismicDistance = 750 - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:blacksmoke", - }, - }, +tech = [[tech0]] +armortype = [[building]] - sounds = { - underattack = "other/unitsunderattack1", - select = { - "other/gdradar", - }, - }, - customParams = { - RequireTech = techrequired, - unittype = "building", - needed_cover = 2, - death_sounds = "generic", - armortype = armortype, - normaltex = "unittextures/lego2skin_explorernormal.dds", - buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "ateran", - corpse = "energycore", - helptext = [[]], - }, - useGroundDecal = true, - BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 8, - BuildingGroundDecalSizeY = 8, - BuildingGroundDecalDecaySpeed = 0.9, -} +VFS.Include("units-configs-basedefs/basedefs/buildings/eradar2_basedef.lua") -------------------------------------------------------------------------------- -return lowerkeys({ [unitName] = unitDef }) +return lowerkeys({ [unitName] = unitDef }) --------------------------------------------------------------------------------- +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/ebuilding/eradar2_up1.lua b/Units/ebuilding/eradar2_up1.lua new file mode 100644 index 000000000..52d2660a1 --- /dev/null +++ b/Units/ebuilding/eradar2_up1.lua @@ -0,0 +1,28 @@ +-- UNITDEF -- eradar2_up1 -- +-------------------------------------------------------------------------------- + +unitName = [[eradar2_up1]] + +buildCostMetal = 40 + +humanName = [[Radar Tower]] +objectName = [[eradar3_large.s3o]] + +radarDistance = 3000 +radarEmitHeight = 128 + +sightDistance = 1500 +sonarDistance = 1500 +seismicDistance = 1500 + +tech = [[tech2]] +armortype = [[building]] + + +VFS.Include("units-configs-basedefs/basedefs/buildings/eradar2_basedef.lua") + +-------------------------------------------------------------------------------- + +return lowerkeys({ [unitName] = unitDef }) + +-------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/ebuilding/eshieldgen.lua b/Units/ebuilding/eshieldgen.lua index cb80f2e28..5014ec1bd 100644 --- a/Units/ebuilding/eshieldgen.lua +++ b/Units/ebuilding/eshieldgen.lua @@ -40,7 +40,7 @@ local unitDef = { maxSlope = 30, maxWaterDepth = 0, metalStorage = 0, - name = "Protector", + name = "Tuning Fork", objectName = "eantinuke.s3o", script = "eshieldgen2.cob", onlytargetcategory2 = "NOTAIR", diff --git a/Units/ebuilding/esilo.lua b/Units/ebuilding/esilo.lua index 6504663dd..e8a48b31b 100644 --- a/Units/ebuilding/esilo.lua +++ b/Units/ebuilding/esilo.lua @@ -157,7 +157,7 @@ local weaponDefs = { weaponType = "StarburstLauncher", weaponVelocity = 1000, customparams = { - damagetype = "light", + damagetype = "antibuilding", death_sounds = "nuke", oldcosttofireforumula = true, effectedByunitHealthModifier = true, diff --git a/Units/ebuilding/esolar2.lua b/Units/ebuilding/esolar2.lua index 328368154..51cfe9ce3 100644 --- a/Units/ebuilding/esolar2.lua +++ b/Units/ebuilding/esolar2.lua @@ -6,9 +6,9 @@ local unitName = "esolar2" -------------------------------------------------------------------------------- local armortype = [[building]] -local energyproduced = [[10]] +local energyproduced = [[5]] -local buildCostMetal = 100 +local buildCostMetal = 50 local maxDamage = buildCostMetal * 12.5 local unitDef = { @@ -24,8 +24,8 @@ local unitDef = { energyStorage = 0, energyMake = energyproduced, explodeAs = "mediumBuildingExplosionGenericBlueEMP", - footprintX = 6, - footprintZ = 6, + footprintX = 2, + footprintZ = 2, icontype = "generator", idleAutoHeal = .5, idleTime = 2200, @@ -34,7 +34,7 @@ local unitDef = { maxWaterDepth = 5000, metalStorage = 0, name = "Fission Energy Generator", - objectName = "epowerplant6x6.s3o", + objectName = "epowerplant3x3.s3o", script = "esolar2.cob", onoffable = false, radarDistance = 0, @@ -44,7 +44,7 @@ local unitDef = { sightDistance = 367, smoothAnim = true, unitname = "esolar2", - yardMap = "oooooo oooooo oooooo oooooo oooooo oooooo", + yardMap = "ooo ooo ooo", sfxtypes = { pieceExplosionGenerators = { @@ -94,8 +94,8 @@ local unitDef = { }, useGroundDecal = true, BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 8, - BuildingGroundDecalSizeY = 8, + BuildingGroundDecalSizeX = 5, + BuildingGroundDecalSizeY = 5, BuildingGroundDecalDecaySpeed = 0.9, } -------------------------------------------------------------------------------- diff --git a/Units/ebuilding/estorage.lua b/Units/ebuilding/estorage.lua index 065fb2063..dce2a5938 100644 --- a/Units/ebuilding/estorage.lua +++ b/Units/ebuilding/estorage.lua @@ -6,10 +6,10 @@ local unitName = "estorage" -------------------------------------------------------------------------------- local armortype = [[building]] -local storage = 25 -local supplygranted = 10 +local storage = 50 +local supplygranted = 25 -local buildCostMetal = 25 +local buildCostMetal = 15 local maxDamage = buildCostMetal * 12.5 local unitDef = { @@ -32,8 +32,8 @@ local unitDef = { metalStorage = storage, energyUse = 0, explodeAs = "smallBuildingExplosionGenericPurple", - footprintX = 4, - footprintZ = 8, + footprintX = 2, + footprintZ = 4, idleAutoHeal = .5, idleTime = 2200, icontype = "storage", @@ -42,7 +42,7 @@ local unitDef = { maxWaterDepth = 5000, --metalStorage = storage, name = "Supply/Storage Depot", - objectName = "estorage2.s3o", + objectName = "estorage2_small.s3o", script = "estorage2.cob", radarDistance = 0, repairable = false, @@ -52,7 +52,7 @@ local unitDef = { smoothAnim = true, unitname = "estorage", workerTime = 0, - yardMap = "yyooooyy yyooooyy yyooooyy yyooooyy yyooooyy yyooooyy yyooooyy yyooooyy ", + yardMap = "oo oo oo oo oo oo oo oo", sfxtypes = { pieceExplosionGenerators = { @@ -62,8 +62,8 @@ local unitDef = { explosiongenerators = { "custom:blacksmoke", - "custom:fusionreactionstoragenew", - "custom:fusionreactionstoragenew-blue", + "custom:fusionreactionstoragenew-small", + "custom:fusionreactionstoragenew-blue-small", "custom:skyhatelaser", }, }, @@ -92,8 +92,8 @@ local unitDef = { }, useGroundDecal = true, BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 10, - BuildingGroundDecalSizeY = 10, + BuildingGroundDecalSizeX = 4, + BuildingGroundDecalSizeY = 6, BuildingGroundDecalDecaySpeed = 0.9, } diff --git a/Units/ebuilding/etech1.lua b/Units/ebuilding/etech1.lua index 3c822d07e..8dc5459bc 100644 --- a/Units/ebuilding/etech1.lua +++ b/Units/ebuilding/etech1.lua @@ -28,8 +28,8 @@ local unitDef = { energyStorage = 0, energyMake = energyproduced, explodeAs = "hugeBuildingExplosionGenericBlue", - footprintX = 8, - footprintZ = 8, + footprintX = 4, + footprintZ = 4, icontype = "energy", idleAutoHeal = .5, idleTime = 2200, diff --git a/Units/ebuilding/etech2.lua b/Units/ebuilding/etech2.lua index 1c9c948d2..6235a5f05 100644 --- a/Units/ebuilding/etech2.lua +++ b/Units/ebuilding/etech2.lua @@ -30,8 +30,8 @@ local unitDef = { energyStorage = 0, energyMake = energyproduced, explodeAs = "hugeBuildingExplosionGenericPurple", - footprintX = 8, - footprintZ = 8, + footprintX = 4, + footprintZ = 4, icontype = "energy", idleAutoHeal = .5, idleTime = 2200, diff --git a/Units/ebuilding/etech3.lua b/Units/ebuilding/etech3.lua index cec2abb52..23947c5e5 100644 --- a/Units/ebuilding/etech3.lua +++ b/Units/ebuilding/etech3.lua @@ -30,8 +30,8 @@ local unitDef = { energyStorage = 0, energyMake = energyproduced, explodeAs = "hugeBuildingExplosionGenericGreen", - footprintX = 8, - footprintZ = 8, + footprintX = 4, + footprintZ = 4, icontype = "energy", idleAutoHeal = .5, idleTime = 2200, diff --git a/Units/ecommander.lua b/Units/ecommander.lua index fd85bcda8..8c75f03e6 100644 --- a/Units/ecommander.lua +++ b/Units/ecommander.lua @@ -10,10 +10,6 @@ local supplyGiven = [[0]] local techprovided = [[tech0, -overseer]] local techrequired = [[0 overseer]] -local weapon1Damage = 15 -local weapon1AOE = 25 -local energycosttofire1 = 0 --weapon1Damage / 10 * ((weapon1AOE / 1000) + 1) - local unitDef = { @@ -30,6 +26,7 @@ local unitDef = { buildDistance = 350, builder = true, buildTime = 2.5, + buildpic = "ecommanderbattle.png", capturable = false, CanAttack = true, CanAssist = true, @@ -41,7 +38,7 @@ local unitDef = { canGuard = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "NOTAIR SUPPORT LIGHT", description = [[Builds Units]], @@ -51,12 +48,12 @@ local unitDef = { explodeAs = "commnuke", footprintX = 4, footprintZ = 4, - hideDamage = true, + iconType = "commander", idleAutoHeal = .5, idleTime = 2200, levelground = true, - maxDamage = 5000, + maxDamage = 2000, maxSlope = 180, maxVelocity = 3, maxReverseVelocity = 1, @@ -65,7 +62,7 @@ local unitDef = { metalStorage = 0, movementClass = "COMMANDERTANK4", moveState = "0", - name = "The Healer Overseer", + name = "The Overseer", noChaseCategories = "NOTAIR SUPPORT VTOL AMPHIB", objectName = "ecommander4-battle.s3o", script = "ecommander4-battle.cob", @@ -85,8 +82,7 @@ local unitDef = { workerTime = 1, capturespeed = 0.25, TerraformSpeed = 2147000, - ReclaimSpeed = 0, - -- 0.03125 = 1 hp per second + ReclaimSpeed = 1, -- 0.03125 = 1 hp per second repairspeed = 0.5, sfxtypes = { pieceExplosionGenerators = { @@ -96,7 +92,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:gdhcannon", }, @@ -141,132 +137,45 @@ local unitDef = { local weaponDefs = { machinegun = { - accuracy = 300, - AreaOfEffect = weapon1AOE, + AreaOfEffect = 50, avoidFriendly = false, avoidFeature = false, collideFriendly = false, collideFeature = false, - beamTime = 0.1, coreThickness = 0.5, - duration = 0.1, - explosionGenerator = "custom:genericshellexplosion-large-sparks-burn", - energypershot = energycosttofire1, + duration = 0.2, + explosionGenerator = "custom:genericshellexplosion-small", + energypershot = 0, fallOffRate = 0, fireStarter = 50, interceptedByShieldType = 4, impulsefactor = 0, minintensity = "1", - name = "Machine Gun", + name = "Overseer Pulse Laser", range = 650, - reloadtime = 0.1, + reloadtime = 1, WeaponType = "LaserCannon", rgbColor = "1 0.2 0", rgbColor2 = "1 1 1", soundTrigger = true, - soundstart = "weapons/tankdestroyerfire.wav", + soundstart = "weapons/Sci Fi Sniper 10.wav", texture1 = "shot", texture2 = "empty", - thickness = 5, + thickness = 7, tolerance = 1000, turret = true, - weaponVelocity = 1000, + weaponVelocity = 1500, customparams = { damagetype = "light", - nocosttofire = true, }, damage = { - default = weapon1Damage, - }, - }, - - riottankempweapon = { - - AreaOfEffect = weapon1AOE, - avoidFeature = false, - avoidFriendly = false, - avoidGround = false, - collideFeature = false, - collideFriendly = false, - coreThickness = 0.6, - -- cegTag = "mediumcannonweapon3", - duration = 0.05, - edgeeffectiveness = 0.1, - energypershot = energycosttofire, - explosionGenerator = "custom:genericshellexplosion-medium-lightning", - fallOffRate = 1, - fireStarter = 100, - impulseFactor = 0, - - minintensity = 1, - name = "EMP Blast Wave", - noexplode = true, - paralyzer = true, - paralyzetime = 2.5, - range = 500, - reloadtime = 1, - WeaponType = "LaserCannon", - rgbColor = "0 0.2 1", - rgbColor2 = "1 1 1", - soundTrigger = true, - soundstart = "weapons/fnubeamfire.wav", - soundHit = "explosions/phasegun1hit.wav", - texture1 = "wave", - texture2 = "empty", - thickness = 40, - tolerance = 1000, - turret = true, - weaponVelocity = 1000, - customparams = { - damagetype = "light", - nofriendlyfire = 1, - nocosttofire = true, - - --Upgrades-- - upgradeClass = "groundweapons", - }, - damage = { - default = weapon1Damage, + default = 200, }, }, - emp = { - AreaOfEffect = 500, - avoidFriendly = false, - avoidFeature = false, - collideFriendly = false, - collideFeature = false, - explosionGenerator = "custom:genericshellexplosion-large-blue-emp", - tolerance = 1000, - energypershot = 0, - explosionScar = false, - impulseFactor = 0, - name = "Emp Blast Weapon", - noSelfDamage = true, - paralyzer = true, - paralyzetime = 5, - range = 500, - reloadtime = 10, - weaponType = "Cannon", - soundhit = "explosions/emp.wav", - size = 0, - turret = true, - weaponVelocity = 10000, - customparams = { - damagetype = "light", - nofriendlyfire = 1, - nocosttofire = true, - - --Upgrades-- - upgradeClass = "light", - }, - damage = { - default = 1000, - }, - }, commnuke = { AreaOfEffect = 500, avoidFriendly = false, diff --git a/Units/ecommanderbattle.lua b/Units/ecommanderbattle.lua index b5e669f6c..c920721fe 100644 --- a/Units/ecommanderbattle.lua +++ b/Units/ecommanderbattle.lua @@ -33,6 +33,7 @@ local unitDef = { buildDistance = 350, builder = true, buildTime = 2.5, + buildpic = "ecommanderbattle.png", capturable = false, CanAttack = true, CanAssist = true, @@ -44,23 +45,23 @@ local unitDef = { canGuard = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "NOTAIR SUPPORT ARMORED", - description = [[Builds Units • Provides support in battles]], + description = [[Experimental Assault Overseer]], energyMake = 0, energyStorage = 0, energyUse = 0, explodeAs = "commnuke", footprintX = 4, footprintZ = 4, - hideDamage = true, + iconType = "commander", - autoHeal = 10, - idleAutoHeal = 20, + autoHeal = 0.5, + idleAutoHeal = 50, idleTime = 300, levelground = true, - maxDamage = 10000, + maxDamage = 15000, maxSlope = 180, maxVelocity = 3, maxReverseVelocity = 1, @@ -100,9 +101,9 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", - "custom:gdhcannon", + "custom:electricity", }, }, --buildoptions = Shared.buildList, @@ -121,8 +122,8 @@ local unitDef = { -- def = "riottankempweapon", -- }, [1] = { - def = "machinegun", - badTargetCategory = "BUILDING ARMORED WALL", + def = "heavybeamweapon", + badTargetCategory = "BUILDING WALL", }, }, customParams = { @@ -327,6 +328,92 @@ local weaponDefs = { default = weapon2Damage, }, }, + sniper = { + AreaOfEffect = 25, + avoidFeature = false, + avoidFriendly = false, + beamTime = 0.1, + + collideFeature = false, + collideFriendly = false, + coreThickness = 0.6, + -- cegTag = "mediumcannonweapon3", + duration = 0.2, + energypershot = 0, + explosionGenerator = "custom:genericshellexplosion-medium-purple", + fallOffRate = 0, + fireStarter = 100, + impulseFactor = 0, + interceptedByShieldType = 4, + + minintensity = "1", + name = "Laser", + range = 650, + reloadtime = 1, + WeaponType = "LaserCannon", + rgbColor = "0 0.5 1", + rgbColor2 = "1 1 1", + soundTrigger = true, + soundstart = "weapons/Sci Fi Blaster 4.wav", + soundHit = "explosions/explode5.wav", + texture1 = "shot", + texture2 = "empty", + thickness = 5, + tolerance = 1000, + turret = true, + weaponVelocity = 3000, + customparams = { + damagetype = "antilightarmored", + }, + damage = { + default = 750, + }, + }, + + heavybeamweapon = { + AreaOfEffect = 10, + avoidFriendly = false, + avoidFeature = false, + collideFriendly = false, + collideFeature = false, + largebeamlaser = true, + beamTime = 0.5, + cameraShake = 0, + coreThickness = 0.5, + -- cegTag = "mediumcannonweapon3", + -- duration = 0.2, + energypershot = 0, + explosionGenerator = "custom:genericshellexplosion-large-sparks-burn", + fallOffRate = 0, + fireStarter = 50, + impulseFactor = 0, + interceptedByShieldType = 4, + minintensity = 1, + name = "Laser", + range = 800, + reloadtime = 0.5, + WeaponType = "BeamLaser", + rgbColor = "0.25 0 0.25", + rgbColor2 = "0.5 0.5 0.5", + soundTrigger = true, + soundstart = "weapons/Sci Fi Beam 3-short.wav", + -- soundHit = "explosions/mediumcannonhit.wav", + -- sweepfire = true, + texture1 = "shot", + texture2 = "empty", + thickness = 5, + tolerance = 1000, + turret = true, + weaponVelocity = 800, + customparams = { + isupgraded = isUpgraded, + damagetype = "antilightarmored", + }, + damage = { + default = 500, + }, + }, + } unitDef.weaponDefs = weaponDefs -------------------------------------------------------------------------------- diff --git a/Units/ecommanderbuild.lua b/Units/ecommanderbuild.lua index c03c62a04..533e94fc3 100644 --- a/Units/ecommanderbuild.lua +++ b/Units/ecommanderbuild.lua @@ -29,6 +29,7 @@ local unitDef = { buildDistance = 600, builder = true, buildTime = 2.5, + buildpic = "ecommanderbattle.png", capturable = false, CanAttack = true, CanAssist = true, @@ -40,22 +41,22 @@ local unitDef = { canGuard = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "NOTAIR SUPPORT LIGHT", - description = [[Builds Units x3 as fast]], + description = [[Builds Units x8 as fast]], energyMake = 0, energyStorage = 0, energyUse = 0, explodeAs = "commnuke", footprintX = 4, footprintZ = 4, - hideDamage = true, + iconType = "commander", idleAutoHeal = .5, idleTime = 2200, levelground = true, - maxDamage = 10000, + maxDamage = 6000, maxSlope = 180, maxVelocity = 3, maxReverseVelocity = 1, @@ -81,7 +82,7 @@ local unitDef = { turnRate = 5000, unitname = unitName, upright = false, - workerTime = 4, + workerTime = 8, capturespeed = 0.25, TerraformSpeed = 2147000, ReclaimSpeed = 0, @@ -95,7 +96,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:gdhcannon", }, @@ -146,45 +147,42 @@ Reclaims any energy cores within it's proximity.]], local weaponDefs = { machinegun = { - accuracy = 300, - AreaOfEffect = weapon1AOE, + AreaOfEffect = 50, avoidFriendly = false, avoidFeature = false, collideFriendly = false, collideFeature = false, - beamTime = 0.1, coreThickness = 0.5, - duration = 0.1, - explosionGenerator = "custom:genericshellexplosion-large-sparks-burn", - energypershot = energycosttofire1, + duration = 0.2, + explosionGenerator = "custom:genericshellexplosion-small", + energypershot = 0, fallOffRate = 0, fireStarter = 50, interceptedByShieldType = 4, impulsefactor = 0, minintensity = "1", - name = "Machine Gun", + name = "Overseer Pulse Laser", range = 650, - reloadtime = 0.1, + reloadtime = 1, WeaponType = "LaserCannon", rgbColor = "1 0.2 0", rgbColor2 = "1 1 1", soundTrigger = true, - soundstart = "weapons/tankdestroyerfire.wav", + soundstart = "weapons/Sci Fi Sniper 10.wav", texture1 = "shot", texture2 = "empty", - thickness = 5, + thickness = 7, tolerance = 1000, turret = true, - weaponVelocity = 1000, + weaponVelocity = 1500, customparams = { damagetype = "light", - nocosttofire = true, }, damage = { - default = weapon1Damage, + default = 200, }, }, diff --git a/Units/ecommandercloak.lua b/Units/ecommandercloak.lua index 61a70e348..8ebf3556e 100644 --- a/Units/ecommandercloak.lua +++ b/Units/ecommandercloak.lua @@ -29,6 +29,7 @@ local unitDef = { buildDistance = 350, builder = true, buildTime = 2.5, + buildpic = "ecommanderbattle.png", capturable = false, CanAttack = true, CanAssist = true, @@ -40,7 +41,7 @@ local unitDef = { canGuard = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "NOTAIR SUPPORT LIGHT", description = [[Provides Massive Cloak Field]], @@ -50,12 +51,12 @@ local unitDef = { explodeAs = "commnuke", footprintX = 4, footprintZ = 4, - hideDamage = true, + iconType = "commander", idleAutoHeal = .5, idleTime = 2200, levelground = true, - maxDamage = 15000, + maxDamage = 10000, maxSlope = 180, maxVelocity = 3, maxReverseVelocity = 1, @@ -96,7 +97,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units/ecommanderfactory.lua b/Units/ecommanderfactory.lua index cc432862f..394559e95 100644 --- a/Units/ecommanderfactory.lua +++ b/Units/ecommanderfactory.lua @@ -29,6 +29,7 @@ local unitDef = { buildDistance = 250, builder = true, buildTime = 2.5, + buildpic = "ecommanderbattle.png", capturable = false, CanAttack = true, CanAssist = true, @@ -40,7 +41,7 @@ local unitDef = { canGuard = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "NOTAIR SUPPORT LIGHT", description = [[Creates buildings and mobile units • Gives ]] ..supplyGiven.. [[ Supply]], @@ -50,7 +51,7 @@ local unitDef = { explodeAs = "commnuke", footprintX = 4, footprintZ = 4, - hideDamage = true, + iconType = "commander", idleAutoHeal = .5, idleTime = 2200, @@ -95,7 +96,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:gdhcannon", }, @@ -140,45 +141,42 @@ local unitDef = { local weaponDefs = { machinegun = { - accuracy = 300, - AreaOfEffect = weapon1AOE, + AreaOfEffect = 50, avoidFriendly = false, avoidFeature = false, collideFriendly = false, collideFeature = false, - beamTime = 0.1, coreThickness = 0.5, - duration = 0.1, - explosionGenerator = "custom:genericshellexplosion-large-sparks-burn", - energypershot = energycosttofire1, + duration = 0.2, + explosionGenerator = "custom:genericshellexplosion-small", + energypershot = 0, fallOffRate = 0, fireStarter = 50, interceptedByShieldType = 4, impulsefactor = 0, minintensity = "1", - name = "Machine Gun", + name = "Overseer Pulse Laser", range = 650, - reloadtime = 0.1, + reloadtime = 1, WeaponType = "LaserCannon", rgbColor = "1 0.2 0", rgbColor2 = "1 1 1", soundTrigger = true, - soundstart = "weapons/tankdestroyerfire.wav", + soundstart = "weapons/Sci Fi Sniper 10.wav", texture1 = "shot", texture2 = "empty", - thickness = 5, + thickness = 7, tolerance = 1000, turret = true, - weaponVelocity = 1000, + weaponVelocity = 1500, customparams = { damagetype = "light", - nocosttofire = true, }, damage = { - default = weapon1Damage, + default = 200, }, }, diff --git a/Units/faction/xcommander.lua b/Units/ecommanderhealer.lua similarity index 64% rename from Units/faction/xcommander.lua rename to Units/ecommanderhealer.lua index a9a6b5afe..05cdb517a 100644 --- a/Units/faction/xcommander.lua +++ b/Units/ecommanderhealer.lua @@ -1,18 +1,15 @@ --- UNITDEF -- XCOMMANDER -- +-- UNITDEF -- ECOMMANDERHEALER -- -------------------------------------------------------------------------------- -local unitName = "xcommander" +local unitName = "ecommanderhealer" -------------------------------------------------------------------------------- local armortype = [[light]] local supplyGiven = [[0]] -local techprovided = [[tech0,tech1,tech2,tech3 -overseer]] +local techprovided = [[tech0, -overseer]] local techrequired = [[0 overseer]] -local weapon1Damage = 200 -local weapon1AOE = 250 -local energycosttofire = 0 --weapon1Damage / 10 * ((weapon1AOE / 1000) + 1) local unitDef = { @@ -22,14 +19,14 @@ local unitDef = { --** - acceleration = 1, + acceleration = 0.2, brakeRate = 1, buildCostEnergy = 0, buildCostMetal = 1000, - buildDistance = 1000, - buildpic = [[pattern/xcommander.png]], + buildDistance = 350, builder = true, buildTime = 2.5, + buildpic = "ecommanderbattle.png", capturable = false, CanAttack = true, CanAssist = true, @@ -41,22 +38,22 @@ local unitDef = { canGuard = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "NOTAIR SUPPORT LIGHT", - description = [[Builds Units]], + description = [[Provides a Large Healing Area of Effect]], energyMake = 0, energyStorage = 0, energyUse = 0, explodeAs = "commnuke", footprintX = 4, footprintZ = 4, - hideDamage = true, + iconType = "commander", idleAutoHeal = .5, idleTime = 2200, levelground = true, - maxDamage = 5000, + maxDamage = 6000, maxSlope = 180, maxVelocity = 3, maxReverseVelocity = 1, @@ -67,8 +64,8 @@ local unitDef = { moveState = "0", name = "The Healer Overseer", noChaseCategories = "NOTAIR SUPPORT VTOL AMPHIB", - objectName = "faction/xcommander.s3o", - script = "faction/xcommander.cob", + objectName = "ecommander4-battle.s3o", + script = "ecommander4-battle.cob", radarDistance = 0, repairable = false, selfDestructAs = "commnuke", @@ -81,12 +78,11 @@ local unitDef = { turnInPlace = true, turnRate = 5000, unitname = unitName, - upright = true, + upright = false, workerTime = 1, capturespeed = 0.25, TerraformSpeed = 2147000, - ReclaimSpeed = 0, - -- 0.03125 = 1 hp per second + ReclaimSpeed = 1, -- 0.03125 = 1 hp per second repairspeed = 0.5, sfxtypes = { pieceExplosionGenerators = { @@ -96,11 +92,12 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", + "custom:gdhcannon", }, }, - buildoptions = Shared.buildListXCommander, + buildoptions = Shared.buildList, sounds = { build = "miscfx/buildstart.wav", underattack = "other/unitsunderattack1", @@ -113,7 +110,7 @@ local unitDef = { }, weapons = { [1] = { - def = "riottankempweapon", + def = "machinegun", }, }, customParams = { @@ -129,9 +126,9 @@ local unitDef = { armortype = armortype, nofriendlyfire = "1", - normaltex = "unittextures/bfaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "xed", + normaltex = "unittextures/lego2skin_explorernormal.dds", + buckettex = "unittextures/lego2skin_explorerbucket.dds", + factionname = "ateran", }, } @@ -139,90 +136,46 @@ local unitDef = { local weaponDefs = { - riottankempweapon = { - - AreaOfEffect = weapon1AOE, - avoidFeature = false, + machinegun = { + AreaOfEffect = 50, avoidFriendly = false, - avoidGround = false, - collideFeature = false, + avoidFeature = false, collideFriendly = false, - coreThickness = 0.6, - -- cegTag = "mediumcannonweapon3", - duration = 0.05, - edgeeffectiveness = 0.1, - energypershot = energycosttofire, - explosionGenerator = "custom:genericshellexplosion-medium-lightning", - fallOffRate = 1, - fireStarter = 100, - impulseFactor = 0, + collideFeature = false, + + coreThickness = 0.5, + duration = 0.2, + explosionGenerator = "custom:genericshellexplosion-small", + energypershot = 0, + fallOffRate = 0, + fireStarter = 50, + interceptedByShieldType = 4, + impulsefactor = 0, - minintensity = 1, - name = "EMP Blast Wave", - noexplode = true, - paralyzer = true, - paralyzetime = 2.5, - range = 500, + minintensity = "1", + name = "Overseer Pulse Laser", + range = 650, reloadtime = 1, WeaponType = "LaserCannon", - rgbColor = "0 0.2 1", + rgbColor = "1 0.2 0", rgbColor2 = "1 1 1", soundTrigger = true, - soundstart = "weapons/fnubeamfire.wav", - soundHit = "explosions/phasegun1hit.wav", - texture1 = "wave", + soundstart = "weapons/Sci Fi Sniper 10.wav", + texture1 = "shot", texture2 = "empty", - thickness = 40, + thickness = 7, tolerance = 1000, turret = true, - weaponVelocity = 1000, + weaponVelocity = 1500, customparams = { - damagetype = "light", - nofriendlyfire = 1, - nocosttofire = true, - - --Upgrades-- - upgradeClass = "groundweapons", + damagetype = "light", + nocosttofire = true, }, damage = { - default = weapon1Damage, + default = 200, }, }, - emp = { - AreaOfEffect = 500, - avoidFriendly = false, - avoidFeature = false, - collideFriendly = false, - collideFeature = false, - explosionGenerator = "custom:genericshellexplosion-large-blue-emp", - tolerance = 1000, - energypershot = 0, - explosionScar = false, - impulseFactor = 0, - name = "Emp Blast Weapon", - noSelfDamage = true, - paralyzer = true, - paralyzetime = 5, - range = 500, - reloadtime = 10, - weaponType = "Cannon", - soundhit = "explosions/emp.wav", - size = 0, - turret = true, - weaponVelocity = 10000, - customparams = { - damagetype = "light", - nofriendlyfire = 1, - nocosttofire = true, - - --Upgrades-- - upgradeClass = "groundweapons", - }, - damage = { - default = 1000, - }, - }, commnuke = { AreaOfEffect = 500, avoidFriendly = false, diff --git a/Units/ecommandermeteor.lua b/Units/ecommandermeteor.lua index ffd60d6b2..faf5506e1 100644 --- a/Units/ecommandermeteor.lua +++ b/Units/ecommandermeteor.lua @@ -17,73 +17,62 @@ local unitDef = { transportbyenemy = false; --** - - acceleration = 0.2, - brakeRate = 1, + buildCostEnergy = 0, buildCostMetal = 1000, buildDistance = 350, builder = true, buildTime = 2.5, + buildpic = "ecommanderbattle.png", capturable = false, CanAttack = true, - CanAssist = true, + CanAssist = false, canBeAssisted = true, CanCapture = false, - CanRepair = true, + CanRepair = false, canRestore = false, canGuard = true, - canMove = true, - canPatrol = true, + canMove = false, + canPatrol = false, canreclaim = false, canstop = true, - category = "NOTAIR SUPPORT ARMORED", - description = [[Builds Units • Provides support in battles]], + category = "NOTAIR BUILDING", + description = [[Astrological Control Center]], energyMake = 0, energyStorage = 0, energyUse = 0, explodeAs = "commnuke", - footprintX = 4, - footprintZ = 4, - hideDamage = true, + footprintX = 8, + footprintZ = 8, + iconType = "commander", idleAutoHeal = 5, idleTime = 300, levelground = true, - maxDamage = 10000, + maxDamage = 20000, maxSlope = 180, - maxVelocity = 3, - maxReverseVelocity = 1, maxWaterDepth = 5000, metalmake = 0, metalStorage = 0, - movementClass = "COMMANDERTANK4", moveState = "0", name = "The Meteor Overseer", noChaseCategories = "NOTAIR SUPPORT VTOL AMPHIB", fireState = 0, - objectName = "ecommander4.s3o", + objectName = "ecommander-meteor.s3o", script = "ecommander4-meteor.cob", radarDistance = 0, repairable = false, selfDestructAs = "commnuke", showPlayerName = true, showNanoSpray = true, - sightDistance = 650, + sightDistance = 250, smoothAnim = true, stealth = true, - seismicSignature = 2, - turnInPlace = true, - turnRate = 5000, unitname = unitName, upright = false, - workerTime = 1, - capturespeed = 0.25, - TerraformSpeed = 2147000, - ReclaimSpeed = 0, - -- 0.03125 = 1 hp per second - repairspeed = 0.5, + yardmap = "oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo", + sfxtypes = { pieceExplosionGenerators = { "deathceg3", @@ -92,7 +81,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", "custom:gdhcannon", }, @@ -114,7 +103,7 @@ local unitDef = { -- }, [1] = { def = "meteor", - badtargetcategory = "VTOL", + badtargetcategory = "VTOL LIGHT ARMORED", }, }, customParams = { @@ -134,6 +123,11 @@ local unitDef = { buckettex = "unittextures/lego2skin_explorerbucket.dds", factionname = "ateran", }, + useGroundDecal = true, + BuildingGroundDecalType = "factorygroundplate.dds", + BuildingGroundDecalSizeX = 10, + BuildingGroundDecalSizeY = 10, + BuildingGroundDecalDecaySpeed = 0.9, } -------------------------------------------------------------------------------- @@ -156,7 +150,7 @@ local weaponDefs = { impulseFactor = 0, interceptedByShieldType = 4, name = unitName .. "Weapon", - range = 10000, + range = 50000, reloadtime = 120, size = 16, weaponType = "Cannon", diff --git a/Units/ecommandershield.lua b/Units/ecommandershield.lua index 3fa993886..48dee7a5c 100644 --- a/Units/ecommandershield.lua +++ b/Units/ecommandershield.lua @@ -33,6 +33,7 @@ local unitDef = { buildDistance = 350, builder = true, buildTime = 2.5, + buildpic = "ecommanderbattle.png", capturable = false, CanAttack = true, CanAssist = true, @@ -44,7 +45,7 @@ local unitDef = { canGuard = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "NOTAIR SUPPORT LIGHT", description = [[Provides large shielding • Self-Heals out of combat 40hp/s when idle]], @@ -54,12 +55,12 @@ local unitDef = { explodeAs = "commnuke", footprintX = 4, footprintZ = 4, - hideDamage = true, + iconType = "commander", idleAutoHeal = 40, idleTime = 5, levelground = true, - maxDamage = 7500, + maxDamage = 8000, maxSlope = 180, maxVelocity = 3, maxReverseVelocity = 1, @@ -99,7 +100,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units/ehbot/mobile/ehbotfac.lua b/Units/ehbot/mobile/ehbotfac.lua index 13845e7f4..535de8b8e 100644 --- a/Units/ehbot/mobile/ehbotfac.lua +++ b/Units/ehbot/mobile/ehbotfac.lua @@ -5,7 +5,7 @@ unitName = "ehbotfac" -------------------------------------------------------------------------------- -buildCostMetal = 30 +buildCostMetal = 60 maxDamage = buildCostMetal * 12.5 humanName = [[H-Bot Factory]] diff --git a/Units/ehbotengineer.lua b/Units/ehbotengineer.lua index b8efc6bfe..1fabe17d4 100644 --- a/Units/ehbotengineer.lua +++ b/Units/ehbotengineer.lua @@ -7,7 +7,7 @@ local unitName = "ehbotengineer" local buildCostMetal = 40 local maxDamage = 400 -local buildDistance = 800 +local buildDistance = 350 local armortype = [[light]] --local supply = [[2]] @@ -39,7 +39,7 @@ local unitDef = { canHover = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "LIGHT NOTAIR SUPPORT", description = [[Builds Units]], @@ -47,8 +47,8 @@ local unitDef = { energyStorage = 0, energyUse = 0, explodeAs = "mediumExplosionGenericGreen", - footprintX = 6, - footprintZ = 6, + footprintX = 2, + footprintZ = 2, iconType = "engineer", idleAutoHeal = .5, idleTime = 2200, @@ -60,7 +60,7 @@ local unitDef = { maxWaterDepth = 10, metalmake = 0, metalStorage = 0, - movementClass = "HOVERHBOT6", + movementClass = "HOVERHBOT2", moveState = "2", name = "The Lifter", objectName = "ehbotengineer2.s3o", @@ -93,7 +93,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, diff --git a/Units/ehbotengineer_turret.lua b/Units/ehbotengineer_turret.lua index b2f01d507..cbff6d4e9 100644 --- a/Units/ehbotengineer_turret.lua +++ b/Units/ehbotengineer_turret.lua @@ -7,7 +7,7 @@ local unitName = "ehbotengineer_turret" local buildCostMetal = 90 local maxDamage = 400 -local buildDistance = 1000 +local buildDistance = 800 local armortype = [[light]] --local supply = [[2]] @@ -38,7 +38,7 @@ local unitDef = { canHover = true, canMove = true, canPatrol = true, - canreclaim = false, + canreclaim = true, canstop = true, category = "LIGHT NOTAIR SUPPORT", description = [[Builds Units]], @@ -47,8 +47,8 @@ local unitDef = { energyUse = 0, explodeAs = "mediumExplosionGenericGreen", floater = true, - footprintX = 4, - footprintZ = 4, + footprintX = 2, + footprintZ = 2, iconType = "engineer", idleAutoHeal = .5, idleTime = 2200, @@ -60,7 +60,7 @@ local unitDef = { maxWaterDepth = 5000, metalmake = 0, metalStorage = 0, - movementClass = "HOVERHBOT4", + movementClass = "HOVERHBOT2", moveState = "0", pushResistant = true, name = "The Lifter Turret", @@ -94,7 +94,7 @@ local unitDef = { explosiongenerators = { "custom:nanoorb", - "custom:dirt", + "custom:emptydirt", "custom:blacksmoke", }, }, @@ -118,10 +118,6 @@ local unitDef = { -- supply_cost = supply, normaltex = "unittextures/lego2skin_explorernormal.dds", buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "ateran", - helptext = [[Armortype: ]] .. armortype .. [[ - -Moving an Engineer in proximity to a Energy Core will spawn a small gunship drone from that core.]], }, } diff --git a/Units/ehover/ebasefactory.lua b/Units/ehover/ebasefactory.lua index 443c2e966..13b4d3f97 100644 --- a/Units/ehover/ebasefactory.lua +++ b/Units/ehover/ebasefactory.lua @@ -5,7 +5,7 @@ unitName = "ebasefactory" -------------------------------------------------------------------------------- -buildCostMetal = 30 +buildCostMetal = 60 maxDamage = buildCostMetal * 12.5 humanName = "Hover Factory" diff --git a/Units/faction/eco/xmetalextractor.lua b/Units/faction/eco/xmetalextractor.lua deleted file mode 100644 index be3044185..000000000 --- a/Units/faction/eco/xmetalextractor.lua +++ /dev/null @@ -1,30 +0,0 @@ --- UNITDEF -- XMETALEXTRACTOR -- --------------------------------------------------------------------------------- - -unitName = [[xmetalextractor]] - --------------------------------------------------------------------------------- - -metalMultiplier = 1 - -buildCostMetal = 20 -energyUse = 0 - -buildPic = "pattern/xmetalextractor.png" - -humanName = [[Metal Extractor]] - -objectName = [[faction/xmetalextractor.s3o]] -script = [[faction/xmetalextractor.cob]] - -tech = [[tech0]] -armortype = [[building]] - -VFS.Include("units-configs-basedefs/basedefs/faction/xmetalextractor_basedef.lua") - -unitDef.weaponDefs = weaponDefs --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/faction/eco/xmetalextractormoho.lua b/Units/faction/eco/xmetalextractormoho.lua deleted file mode 100644 index d352b31a7..000000000 --- a/Units/faction/eco/xmetalextractormoho.lua +++ /dev/null @@ -1,30 +0,0 @@ --- UNITDEF -- XMETALEXTRACTORMOHO -- --------------------------------------------------------------------------------- - -unitName = [[xmetalextractormoho]] - --------------------------------------------------------------------------------- - -metalMultiplier = 2 - -buildCostMetal = 300 -energyUse = 10 - -buildPic = "pattern/xmetalextractormoho.png" - -humanName = [[Metal Extractor]] - -objectName = [[faction/xmetalextractormoho.s3o]] -script = [[faction/xmetalextractor.cob]] - -tech = [[tech0]] -armortype = [[building]] - -VFS.Include("units-configs-basedefs/basedefs/faction/xmetalextractor_basedef.lua") - -unitDef.weaponDefs = weaponDefs --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/faction/eco/xsolar.lua b/Units/faction/eco/xsolar.lua deleted file mode 100644 index 4d5b9923f..000000000 --- a/Units/faction/eco/xsolar.lua +++ /dev/null @@ -1,92 +0,0 @@ --- UNITDEF -- XSOLAR -- --------------------------------------------------------------------------------- - -local unitName = "xsolar" - --------------------------------------------------------------------------------- - -local armortype = [[building]] -local techrequired = [[tech1]] -local energyproduced = [[10]] - -local buildCostMetal = 100 -local maxDamage = buildCostMetal * 12.5 - -local unitDef = { - activateWhenBuilt = true, - buildAngle = 2048, - buildCostEnergy = 0, - buildCostMetal = buildCostMetal, - builder = false, - buildTime = 5, - buildPic = "pattern/xsolar.png", - canAttack = false, - category = "BUILDING NOTAIR ECO", - description = [[Produces +]] .. energyproduced .. [[ Energy]], - energyStorage = 0, - energyMake = energyproduced, - explodeAs = "mediumBuildingExplosionGenericBlueEMP", - footprintX = 6, - footprintZ = 6, - icontype = "generator", - idleAutoHeal = .5, - idleTime = 2200, - maxDamage = maxDamage, - maxSlope = 60, - maxWaterDepth = 5000, - metalStorage = 0, - name = "Fission Energy Generator", - objectName = "faction/xsolar.s3o", - script = "faction/xsolar.cob", - onoffable = false, - radarDistance = 0, - repairable = false, - selfDestructAs = "mediumBuildingExplosionGenericBlueEMP", - side = "CORE", - sightDistance = 367, - smoothAnim = true, - unitname = "esolar2", - yardMap = "oooooo oooooo oooooo oooooo oooooo oooooo", - - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:blacksmoke", - }, - }, - - sounds = { - underattack = "other/unitsunderattack1", - select = { - "other/gdenergy", - }, - }, - weapons = { - }, - customParams = { - unittype = "building", - iseco = 1, - needed_cover = 2, - death_sounds = "generic", - RequireTech = techrequired, - armortype = armortype, - noenergycost = true, - normaltex = "unittextures/bfaction_normals.dds", - factionname = "pattern", - corpse = "energycore", - }, - useGroundDecal = true, - BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 8, - BuildingGroundDecalSizeY = 8, - BuildingGroundDecalDecaySpeed = 0.9, -} --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- diff --git a/Units/faction/eco/xstorage.lua b/Units/faction/eco/xstorage.lua deleted file mode 100644 index 20f915013..000000000 --- a/Units/faction/eco/xstorage.lua +++ /dev/null @@ -1,100 +0,0 @@ --- UNITDEF -- xstorage -- --------------------------------------------------------------------------------- - -local unitName = "xstorage" - --------------------------------------------------------------------------------- - -local armortype = [[building]] -local storage = 25 -local supplygranted = 10 - -local buildCostMetal = 25 -local maxDamage = buildCostMetal * 12.5 - -local unitDef = { - activateWhenBuilt = true, - buildAngle = 8196, - buildCostEnergy = 0, - buildCostMetal = buildCostMetal, - builder = false, - buildTime = 5, - buildpic = [[pattern/xstorage.png]], - canAttack = false, - category = "BUILDING NOTAIR ECO", - - description = [[Provides +]] .. supplygranted .. [[ Supply • Provides +]] .. storage .. [[ Metal/Energy Storage]], - energyStorage = storage, - metalStorage = storage, - energyUse = 0, - explodeAs = "smallBuildingExplosionGenericPurple", - footprintX = 8, - footprintZ = 8, - idleAutoHeal = .5, - idleTime = 2200, - icontype = "storage", - maxDamage = maxDamage, - maxSlope = 50, - maxWaterDepth = 5000, - --metalStorage = storage, - name = "Supply/Storage Depot", - objectName = "faction/xstorage.s3o", - script = "faction/xstorage.cob", - radarDistance = 0, - repairable = false, - selfDestructAs = "smallBuildingExplosionGenericPurple", - side = "CORE", - sightDistance = 367, - smoothAnim = true, - unitname = "xstorage", - workerTime = 0, - yardMap = "oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo", - - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:blacksmoke", - "custom:fusionreactionstoragenew", - "custom:fusionreactionstoragenew-blue", - "custom:skyhatelaser", - }, - }, - - sounds = { - underattack = "other/unitsunderattack1", - select = { - "other/gdenergy", - }, - }, - weapons = { - }, - customParams = { - unittype = "building", - iseco = 1, - needed_cover = 2, - supply_granted = supplygranted, - death_sounds = "generic", - armortype = "building", - noenergycost = true, - normaltex = "unittextures/bfaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - factionname = "ateran", - helptext = [[]], - corpse = "energycore", - }, - useGroundDecal = true, - BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 12, - BuildingGroundDecalSizeY = 12, - BuildingGroundDecalDecaySpeed = 0.9, -} - --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- diff --git a/Units/faction/kbots/xcrasher.lua b/Units/faction/kbots/xcrasher.lua deleted file mode 100644 index 02e9943ba..000000000 --- a/Units/faction/kbots/xcrasher.lua +++ /dev/null @@ -1,26 +0,0 @@ --- UNITDEF -- xcrasher -- --------------------------------------------------------------------------------- - -unitName = "xcrasher" - --------------------------------------------------------------------------------- - -isUpgraded = [[0]] - -humanName = [[Crasher]] - -objectName = "faction/xcrasher.s3o" -script = "faction/xcrasher.cob" - -tech = [[tech1]] -armortype = [[light]] -supply = [[1]] - -VFS.Include("units-configs-basedefs/basedefs/faction/xcrasher_basedef.lua") - -unitDef.weaponDefs = weaponDefs --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/faction/kbots/xhammer.lua b/Units/faction/kbots/xhammer.lua deleted file mode 100644 index 142b94a95..000000000 --- a/Units/faction/kbots/xhammer.lua +++ /dev/null @@ -1,26 +0,0 @@ --- UNITDEF -- xhammer -- --------------------------------------------------------------------------------- - -unitName = "xhammer" - --------------------------------------------------------------------------------- - -isUpgraded = [[0]] - -humanName = [[Hammer]] - -objectName = "faction/xhammer.s3o" -script = "faction/xhammer.cob" - -tech = [[tech1]] -armortype = [[light]] -supply = [[1]] - -VFS.Include("units-configs-basedefs/basedefs/faction/xhammer_basedef.lua") - -unitDef.weaponDefs = weaponDefs --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/faction/kbots/xrocko.lua b/Units/faction/kbots/xrocko.lua deleted file mode 100644 index 2b0409dda..000000000 --- a/Units/faction/kbots/xrocko.lua +++ /dev/null @@ -1,26 +0,0 @@ --- UNITDEF -- xrocko -- --------------------------------------------------------------------------------- - -unitName = "xrocko" - --------------------------------------------------------------------------------- - -isUpgraded = [[0]] - -humanName = [[Rocko]] - -objectName = "faction/xrocko.s3o" -script = "faction/xrocko.cob" - -tech = [[tech1]] -armortype = [[light]] -supply = [[1]] - -VFS.Include("units-configs-basedefs/basedefs/faction/xrocko_basedef.lua") - -unitDef.weaponDefs = weaponDefs --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/faction/misc/xantinuke.lua b/Units/faction/misc/xantinuke.lua deleted file mode 100644 index 8e11b29b3..000000000 --- a/Units/faction/misc/xantinuke.lua +++ /dev/null @@ -1,162 +0,0 @@ --- UNITDEF -- ESHIELDGEN -- --------------------------------------------------------------------------------- - -local unitName = "xantinuke" - --------------------------------------------------------------------------------- - -local armortype = [[building]] ---local supply = [[20]] ---local techprovided = [[-baseshield]] -local techrequired = [[tech2]] - -local weapon1Damage = 3001 -local weapon1AOE = 1 ---local stockpiletime = 60 - -local buildCostMetal = 450 -local maxDamage = buildCostMetal * 12.5 - -local unitDef = { - buildAngle = 8192, - buildCostEnergy = 0, - buildCostMetal = buildCostMetal, - builder = false, - buildTime = 5, - canAttack = false, - canstop = "1", - category = "BUILDING NOTAIR", - description = [[Anti-Nuke Defense Facility]], - energyMake = 0, - energyStorage = 0, - energyUse = 0, - explodeAs = "hugeBuildingExplosionGenericGreen", - footprintX = 5, - footprintZ = 5, - iconType = "nukeshield", - idleAutoHeal = .5, - idleTime = 2200, - maxDamage = maxDamage, - maxSlope = 30, - maxWaterDepth = 0, - metalStorage = 0, - name = "Anti-Nuke", - objectName = "faction/xantinuke.s3o", - script = "faction/xantinuke.cob", - onlytargetcategory2 = "NOTAIR", - onlytargetcategory3 = "NOTAIR", - onlytargetcategory4 = "NOTAIR", - onlytargetcategory5 = "NOTAIR", - onlytargetcategory6 = "NOTAIR", - radarDistance = 0, - repairable = false, - selfDestructAs = "hugeBuildingExplosionGenericGreen", - side = "ARM", - sightDistance = 600, - smoothAnim = true, - unitlimit = "2", - unitname = unitName, - workerTime = 0, - yardMap = "ooooo ooooo ooooo ooooo ooooo", - - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:blacksmoke", - }, - }, - - sounds = { - underattack = "other/unitsunderattack1", - select = { - "other/turretselect", - }, - }, - weapons = { - [1] = { - def = "nukeinterceptor", - }, - }, - customParams = { - --ProvideTech = techprovided, - RequireTech = techrequired, - unittype = "building", - --supply_cost = supply, - needed_cover = 5, - death_sounds = "generic", - --ProvideTechRange = "300", - armortype = armortype, - normaltex = "unittextures/afaction_normals.dds", - corpse = "energycore", - factionname = "ateran", - }, - useGroundDecal = true, - BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 7, - BuildingGroundDecalSizeY = 7, - BuildingGroundDecalDecaySpeed = 0.9, -} - - --------------------------------------------------------------------------------- - - -local weaponDefs = { - nukeinterceptor = { - AreaOfEffect = weapon1AOE, - avoidFeature = false, - avoidFriendly = false, - beamTime = 5, - collideFeature = false, - collideFriendly = false, - coverage = 2000, - rgbColor = "0.5 0.5 0", - rgbColor2 = "0.5 0.5 0.5", - coreThickness = 0.5, - duration = 0.4, - explosionGenerator = "custom:genericshellexplosion-large-blue", - energypershot = 0, - fallOffRate = 0.1, - fireStarter = 50, - interceptor = 1, - interceptSolo = false, - largeBeamLaser = true, - laserflaresize = 5, - - minintensity = 1, - name = "Laser", - range = 2000, - reloadtime = 170, - WeaponType = "BeamLaser", - soundStart = "weapons/antinukelaser.wav", - soundTrigger = true, - --stockpile = true, - --stockpiletime = stockpiletime, - texture1 = "lightning", - texture2 = "laserend", - thickness = 20, - tolerance = 500, - turret = true, - weaponVelocity = 1500, - waterweapon = true, - customparams = { - nofriendlyfire = 1, - nocosttofire = true, - }, - damage = { - default = weapon1Damage, - }, - }, -} -unitDef.weaponDefs = weaponDefs - - --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- diff --git a/Units/faction/misc/xnukesilo.lua b/Units/faction/misc/xnukesilo.lua deleted file mode 100644 index 6ec17b894..000000000 --- a/Units/faction/misc/xnukesilo.lua +++ /dev/null @@ -1,178 +0,0 @@ --- UNITDEF -- xnukesilo -- --------------------------------------------------------------------------------- - -local unitName = "xnukesilo" - --------------------------------------------------------------------------------- - -local armortype = [[building]] ---local supply = [[50]] ---local techprovided = [[-nukxnukesilo]] -local techrequired = [[tech3]] - -local weapon1Damage = 3000 -local weapon1AOE = 1500 -local energycosttofire = weapon1Damage / 10 * ((weapon1AOE / 1000) + 1) ---local stockpiletime = 60 - -local function roundToFirstDecimal(energycosttofire) - return math.floor(energycosttofire*10 + 0.5)*0.1 -end - -local buildCostMetal = 1750 -local maxDamage = buildCostMetal * 12.5 - -local unitDef = { - - buildAngle = 8192, - buildCostEnergy = 0, - buildCostMetal = buildCostMetal, - builder = false, - buildTime = 5, - canAttack = true, - canstop = "1", - category = "BUILDING NOTAIR", - description = [[ ]], - energyMake = 0, - energyStorage = 0, - energyUse = 0, - explodeAs = "nukemissile", - floater = true, - fireState = 0, - footprintX = 8, - footprintZ = 8, - iconType = "xnukesilo", - idleAutoHeal = .5, - idleTime = 2200, - maxDamage = maxDamage, - maxSlope = 30, - maxWaterDepth = 5000, - metalStorage = 0, - name = [[Eradicator: Nuclear Strike Facility]], - objectName = "faction/xnukesilo.s3o", - radarDistance = 0, - repairable = false, - script = "faction/xnukesilo.cob", - selfDestructAs = "nukemissile", - side = "ARM", - sightDistance = 600, - smoothAnim = true, - unitlimit = "2", - unitname = "xnukesilo", - workerTime = 0, - yardMap = "oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo", - - sfxtypes = { - pieceExplosionGenerators = { - "deathceg3", - "deathceg4", - }, - - explosiongenerators = { - "custom:needspower", - "custom:blacksmoke", - "custom:steam", - }, - }, - - sounds = { - underattack = "other/unitsunderattack1", - select = { - "other/turretselect", - }, - }, - weapons = { - [1] = { - def = "nukemissile", - badTargetCategory = "LIGHT ARMORED", - }, - }, - customParams = { - --ProvideTech = techprovided, - RequireTech = techrequired, - unittype = "turret", - needed_cover = 8, - --supply_cost = supply, - death_sounds = "nuke", - armortype = "building", - normaltex = "unittextures/bfaction_normals.dds", - --buckettex = "unittextures/lego2skin_explorerbucket.dds", - corpse = "energycore", - factionname = "ateran", - }, - useGroundDecal = true, - BuildingGroundDecalType = "factorygroundplate.dds", - BuildingGroundDecalSizeX = 10, - BuildingGroundDecalSizeY = 10, - BuildingGroundDecalDecaySpeed = 0.9, -} - - --------------------------------------------------------------------------------- --- Energy Per Shot Calculation is: dmg / 20 * ((aoe / 1000) + 1) - -local weaponDefs = { - nukemissile = { - AreaOfEffect = weapon1AOE, - avoidFriendly = false, - avoidFeature = false, - cegTag = "NUKETRAIL", - collideFriendly = false, - collideFeature = false, - commandFire = true, - craterBoost = 0, - craterMult = 0, - edgeeffectiveness = 1, - energypershot = energycosttofire, - explosionGenerator = "custom:nukedatbewm", - fireStarter = 100, - flightTime = 400, - - id = 124, - impulseBoost = 0, - impulseFactor = 0, - --interceptedByShieldType = 4, - - metalpershot = 0, - model = "enuke.s3o", - name = "Nuke", - range = 32000, - reloadtime = 200, - weaponType = "MissileLauncher", - - - smokeTrail = false, - soundHit = "explosions/explosion_enormous.wav", - soundStart = "weapons/nukelaunch.wav", - --- stockpile = true, --- stockpileTime = stockpiletime, - startVelocity = 10, - tracks = true, - turnRate = 3000, - targetable = 1, - - weaponAcceleration = 60, - weaponTimer = 5, - weaponType = "StarburstLauncher", - weaponVelocity = 1000, - customparams = { - damagetype = "light", - death_sounds = "nuke", - oldcosttofireforumula = true, - effectedByunitHealthModifier = true, - friendlyfireexception = true, - }, - damage = { - default = weapon1Damage, - }, - }, -} -unitDef.weaponDefs = weaponDefs - - --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- diff --git a/Units/faction/turrets/xrocketturret.lua b/Units/faction/turrets/xrocketturret.lua deleted file mode 100644 index 24fed451a..000000000 --- a/Units/faction/turrets/xrocketturret.lua +++ /dev/null @@ -1,26 +0,0 @@ --- UNITDEF -- xrocketturret -- --------------------------------------------------------------------------------- - -unitName = [[xrocketturret]] - --------------------------------------------------------------------------------- - -isUpgraded = [[0]] - -humanName = [[Rocket Turret]] - -objectName = [[faction/xrocketturret.s3o]] -script = [[faction/xrocketturret.cob]] - -tech = [[tech0]] -armortype = [[building]] ---supply = [[3]] - -VFS.Include("units-configs-basedefs/basedefs/faction/xrocketturret_basedef.lua") - -unitDef.weaponDefs = weaponDefs --------------------------------------------------------------------------------- - -return lowerkeys({ [unitName] = unitDef }) - --------------------------------------------------------------------------------- \ No newline at end of file diff --git a/Units/lootboxes/lootboxbronze.lua b/Units/lootboxes/lootboxbronze.lua index 685ef743d..92d38eee2 100644 --- a/Units/lootboxes/lootboxbronze.lua +++ b/Units/lootboxes/lootboxbronze.lua @@ -3,32 +3,28 @@ return { acceleration = 0, activatewhenbuilt = true, autoheal = 1, - brakerate = 1, + brakerate = 0, buildcostenergy = 25000, buildcostmetal = 375, - buildpic = "lootboxes/LOOTBOXBRONZE.PNG", buildtime = 5000, canfight = false, canguard = false, canhover = true, - canmove = true, + canmove = false, canpatrol = false, canrepeat = false, - canselfdestruct = true, + canselfdestruct = false, canstop = false, cantbetransported = false, capturable = true, - category = "ALL NOTLAND NOTSUB NOWEAPON NOTSHIP NOTAIR NOTHOVER SURFACE EMPABLE", - collisionvolumeoffsets = "0 0 0", - collisionvolumescales = "31 32 16", - collisionvolumetype = "box", + category = "BUILDING", - description = "Bronze Lootbox", + description = "Bronze Lootbox: While you maintain control of it, this lootbox will provide extra resources.", energymake = 20, explodeas = "lootboxExplosion1", floater = true, - footprintx = 2, - footprintz = 2, + footprintx = 3, + footprintz = 3, icontype = "lootbox", idleautoheal = 10, idletime = 1800, @@ -36,14 +32,13 @@ return { mass = 4000, maxdamage = 3000, maxslope = 10, - maxvelocity = 0.001, + maxvelocity = 0.00000001, maxwaterdepth = 0, metalmake = 1, - movementclass = "HOVERTANK2", movestate = 0, name = "Lootbox", noautofire = false, - objectname = "lootboxes/lootbox.s3o", + objectname = "lootboxes/lootbox3x3.s3o", pushResistant = true, script = "lootboxes/lootboxgold.cob", seismicsignature = 0, @@ -57,7 +52,7 @@ return { upright = true, usebuildinggrounddecal = true, --waterline = 0, - yardmap = "oooo", + yardmap = "ooo ooo ooo", customparams = { normaltex = "unittextures/bfaction_normals.dds", subfolder = "other/lootboxes", diff --git a/Units/lootboxes/lootboxgold.lua b/Units/lootboxes/lootboxgold.lua index 1f2933dea..6c354fc00 100644 --- a/Units/lootboxes/lootboxgold.lua +++ b/Units/lootboxes/lootboxgold.lua @@ -6,28 +6,24 @@ return { brakerate = 1, buildcostenergy = 25000, buildcostmetal = 1500, - buildpic = "lootboxes/LOOTBOXGOLD.PNG", buildtime = 5000, canfight = false, canguard = false, - canmove = true, + canmove = false, canpatrol = false, canrepeat = false, - canselfdestruct = true, + canselfdestruct = false, canstop = false, cantbetransported = false, capturable = true, - category = "ALL NOTLAND NOTSUB NOWEAPON NOTSHIP NOTAIR NOTHOVER SURFACE EMPABLE", - collisionvolumeoffsets = "0 0 0", - collisionvolumescales = "31 32 16", - collisionvolumetype = "box", + category = "BUILDING", - description = "Gold Lootbox", + description = "Gold Lootbox: While you maintain control of it, this lootbox will provide extra resources.", energymake = 40, explodeas = "lootboxExplosion3", floater = true, - footprintx = 2, - footprintz = 2, + footprintx = 5, + footprintz = 5, icontype = "lootbox", idleautoheal = 10, idletime = 1800, @@ -35,14 +31,13 @@ return { mass = 4000, maxdamage = 5000, maxslope = 10, - maxvelocity = 0.001, + maxvelocity = 0.00000001, maxwaterdepth = 0, - metalmake = 2, - movementclass = "HOVERTANK2", + metalmake = 3, movestate = 0, name = "Lootbox", noautofire = false, - objectname = "lootboxes/lootbox.s3o", + objectname = "lootboxes/lootbox5x5.s3o", pushResistant = true, script = "lootboxes/lootboxgold.cob", seismicsignature = 0, @@ -56,7 +51,7 @@ return { upright = true, usebuildinggrounddecal = true, --waterline = 0, - yardmap = "oooo", + yardmap = "ooooo ooooo ooooo ooooo ooooo", customparams = { normaltex = "unittextures/bfaction_normals.dds", subfolder = "other/lootboxes", diff --git a/Units/lootboxes/lootboxplatinum.lua b/Units/lootboxes/lootboxplatinum.lua index f4f48b4ee..6594c8633 100644 --- a/Units/lootboxes/lootboxplatinum.lua +++ b/Units/lootboxes/lootboxplatinum.lua @@ -6,28 +6,24 @@ return { brakerate = 1, buildcostenergy = 25000, buildcostmetal = 2500, - buildpic = "lootboxes/LOOTBOXPLATINUM.PNG", buildtime = 5000, canfight = false, canguard = false, - canmove = true, + canmove = false, canpatrol = false, canrepeat = false, - canselfdestruct = true, + canselfdestruct = false, canstop = false, cantbetransported = false, capturable = true, - category = "ALL NOTLAND NOTSUB NOWEAPON NOTSHIP NOTAIR NOTHOVER SURFACE EMPABLE", - collisionvolumeoffsets = "0 0 0", - collisionvolumescales = "31 32 16", - collisionvolumetype = "box", + category = "BUILDING", - description = "Platinum Lootbox", + description = "Platinum Lootbox: While you maintain control of it, this lootbox will provide extra resources.", energymake = 80, explodeas = "lootboxExplosion4", floater = true, - footprintx = 2, - footprintz = 2, + footprintx = 6, + footprintz = 6, icontype = "lootbox", idleautoheal = 10, idletime = 1800, @@ -35,14 +31,13 @@ return { mass = 4000, maxdamage = 6000, maxslope = 10, - maxvelocity = 0.001, + maxvelocity = 0.00000001, maxwaterdepth = 0, - metalmake = 3, - movementclass = "HOVERTANK2", + metalmake = 4, movestate = 0, name = "Lootbox", noautofire = false, - objectname = "lootboxes/lootbox.s3o", + objectname = "lootboxes/lootbox6x6.s3o", pushResistant = true, script = "lootboxes/lootboxgold.cob", seismicsignature = 0, @@ -56,7 +51,7 @@ return { upright = true, usebuildinggrounddecal = true, --waterline = 0, - yardmap = "oooo", + yardmap = "oooooo oooooo oooooo oooooo oooooo oooooo", customparams = { normaltex = "unittextures/bfaction_normals.dds", subfolder = "other/lootboxes", diff --git a/Units/lootboxes/lootboxsilver.lua b/Units/lootboxes/lootboxsilver.lua index a5d29ec90..7f285116a 100644 --- a/Units/lootboxes/lootboxsilver.lua +++ b/Units/lootboxes/lootboxsilver.lua @@ -6,28 +6,24 @@ return { brakerate = 1, buildcostenergy = 25000, buildcostmetal = 750, - buildpic = "lootboxes/LOOTBOXSILVER.PNG", buildtime = 5000, canfight = false, canguard = false, - canmove = true, + canmove = false, canpatrol = false, canrepeat = false, - canselfdestruct = true, + canselfdestruct = false, canstop = false, cantbetransported = false, capturable = true, - category = "ALL NOTLAND NOTSUB NOWEAPON NOTSHIP NOTAIR NOTHOVER SURFACE EMPABLE", - collisionvolumeoffsets = "0 0 0", - collisionvolumescales = "31 32 16", - collisionvolumetype = "box", + category = "BUILDING", - description = "Silver Lootbox", + description = "Silver Lootbox: While you maintain control of it, this lootbox will provide extra resources.", energymake = 30, explodeas = "lootboxExplosion2", floater = true, - footprintx = 2, - footprintz = 2, + footprintx = 4, + footprintz = 4, icontype = "lootbox", idleautoheal = 10, idletime = 1800, @@ -35,14 +31,13 @@ return { mass = 4000, maxdamage = 4000, maxslope = 10, - maxvelocity = 0.001, + maxvelocity = 0.00000001, maxwaterdepth = 0, - metalmake = 1.5, - movementclass = "HOVERTANK2", + metalmake = 2, movestate = 0, name = "Lootbox", noautofire = false, - objectname = "lootboxes/lootbox.s3o", + objectname = "lootboxes/lootbox4x4.s3o", pushResistant = true, script = "lootboxes/lootboxgold.cob", seismicsignature = 0, @@ -56,7 +51,7 @@ return { upright = true, usebuildinggrounddecal = true, --waterline = 0, - yardmap = "oooo", + yardmap = "oooo oooo oooo oooo", customparams = { normaltex = "unittextures/bfaction_normals.dds", subfolder = "other/lootboxes", diff --git a/Units/zaal/buildings/zespire1.lua b/Units/zaal/buildings/zespire1.lua index 51825cbc3..aaf7b9497 100644 --- a/Units/zaal/buildings/zespire1.lua +++ b/Units/zaal/buildings/zespire1.lua @@ -4,10 +4,10 @@ unitName = "zespire1" -------------------------------------------------------------------------------- -buildCostMetal = 100 +buildCostMetal = 50 supplygranted = 0 -energyMake = 10 +energyMake = 5 humanName = "Basic Energy Spire" diff --git a/Units/zaal/buildings/zmex.lua b/Units/zaal/buildings/zmex.lua index 05676bced..69687bb74 100644 --- a/Units/zaal/buildings/zmex.lua +++ b/Units/zaal/buildings/zmex.lua @@ -5,11 +5,13 @@ unitName = [[zmex]] -------------------------------------------------------------------------------- +zaalMexCost = Spring.GetModOptions().metalextractorcostzaal or 65 + metalMultiplier = 1 energyUse = 0 -buildCostMetal = 50 +buildCostMetal = zaalMexCost yardMap = [[oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo oooooooo]] diff --git a/Units/zaal/buildings/ztiberium.lua b/Units/zaal/buildings/ztiberium.lua index 4bf87fb2b..865b81eaa 100644 --- a/Units/zaal/buildings/ztiberium.lua +++ b/Units/zaal/buildings/ztiberium.lua @@ -5,11 +5,11 @@ unitName = "ztiberium" -------------------------------------------------------------------------------- supplygranted = 25 -storage = 25 +storage = 50 humanName = "Tiberium Supply/Storage" -objectName = "zaal/ztiberium.s3o" +objectName = "zaal/ztiberium_small.s3o" script = "zaal/ztiberium.cob" armortype = [[building]] diff --git a/Weapons/NOWEAPON.lua b/Weapons/NOWEAPON.lua new file mode 100644 index 000000000..397e63807 --- /dev/null +++ b/Weapons/NOWEAPON.lua @@ -0,0 +1,14 @@ +unitDeaths = { + + NOWEAPON = { + weaponType = "Cannon", + impulseFactor = 0, + AreaOfEffect=0, + explosiongenerator="custom:empty", + cameraShake=0, + damage = { + default = 0, + }, + }, +} +return lowerkeys(unitDeaths) \ No newline at end of file diff --git a/bitmaps/default/metal_basic.dds b/bitmaps/default/metal_basic.dds new file mode 100644 index 000000000..681d444ec Binary files /dev/null and b/bitmaps/default/metal_basic.dds differ diff --git a/bitmaps/default/metalshimmer_color8.dds b/bitmaps/default/metalshimmer_color8.dds new file mode 100644 index 000000000..f5c436bb9 Binary files /dev/null and b/bitmaps/default/metalshimmer_color8.dds differ diff --git a/bitmaps/default/metalshimmer_color9.dds b/bitmaps/default/metalshimmer_color9.dds new file mode 100644 index 000000000..eefd5f0d1 Binary files /dev/null and b/bitmaps/default/metalshimmer_color9.dds differ diff --git a/license.txt b/license.txt deleted file mode 100644 index 56f1d46e1..000000000 --- a/license.txt +++ /dev/null @@ -1 +0,0 @@ -All assets are CC BY SA except where otherwise marked (Most LUA falls under GPL, for example). \ No newline at end of file diff --git a/modinfo.lua b/modinfo.lua index 9ce2ec979..3a800d498 100644 --- a/modinfo.lua +++ b/modinfo.lua @@ -13,13 +13,14 @@ return { name='Evolution RTS -', description='EvoRTS', shortname='EvoRTS', - version='$VERSION', + version='dev', mutator='Official', game='Evolution RTS', shortGame='EvoRTS', modtype=1, depend = { - "Spring Features v1.9", + "Evolution RTS Music Addon v3", + -- "Spring Features v1.9", -- "Evolution RTS Music Addon v1", -- "Shard LuaAI $VERSION", -- "Evolution RTS Shard LuaAI $VERSION", diff --git a/sounds/acknowledgements/dothis.wav b/sounds/acknowledgements/dothis.wav new file mode 100644 index 000000000..e2ac0f66a Binary files /dev/null and b/sounds/acknowledgements/dothis.wav differ diff --git a/sounds/deathsounds/bug/Huge monster Death 1.wav b/sounds/deathsounds/bug/Huge monster Death 1.wav new file mode 100644 index 000000000..6dfcb4a9b Binary files /dev/null and b/sounds/deathsounds/bug/Huge monster Death 1.wav differ diff --git a/sounds/deathsounds/bug/Huge monster Death 2.wav b/sounds/deathsounds/bug/Huge monster Death 2.wav new file mode 100644 index 000000000..a0b2d6797 Binary files /dev/null and b/sounds/deathsounds/bug/Huge monster Death 2.wav differ diff --git a/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 1.wav b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 1.wav new file mode 100644 index 000000000..9f28afec5 Binary files /dev/null and b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 1.wav differ diff --git a/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 2.wav b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 2.wav new file mode 100644 index 000000000..fde421881 Binary files /dev/null and b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 2.wav differ diff --git a/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 3.wav b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 3.wav new file mode 100644 index 000000000..2eba3c5ea Binary files /dev/null and b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 3.wav differ diff --git a/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 4.wav b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 4.wav new file mode 100644 index 000000000..d2a131537 Binary files /dev/null and b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 4.wav differ diff --git a/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 5.wav b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 5.wav new file mode 100644 index 000000000..087f97da0 Binary files /dev/null and b/sounds/deathsounds/bug/Huge monster Grunt (Gets hit) 5.wav differ diff --git a/sounds/deathsounds/bug/Medium monster Death 1.wav b/sounds/deathsounds/bug/Medium monster Death 1.wav new file mode 100644 index 000000000..e7b0a019e Binary files /dev/null and b/sounds/deathsounds/bug/Medium monster Death 1.wav differ diff --git a/sounds/deathsounds/bug/Medium monster Death 2.wav b/sounds/deathsounds/bug/Medium monster Death 2.wav new file mode 100644 index 000000000..454f18be6 Binary files /dev/null and b/sounds/deathsounds/bug/Medium monster Death 2.wav differ diff --git a/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 1.wav b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 1.wav new file mode 100644 index 000000000..73b9cfd5b Binary files /dev/null and b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 1.wav differ diff --git a/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 2.wav b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 2.wav new file mode 100644 index 000000000..8f8c1727d Binary files /dev/null and b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 2.wav differ diff --git a/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 3.wav b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 3.wav new file mode 100644 index 000000000..05c520bea Binary files /dev/null and b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 3.wav differ diff --git a/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 4.wav b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 4.wav new file mode 100644 index 000000000..e32629e6b Binary files /dev/null and b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 4.wav differ diff --git a/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 5.wav b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 5.wav new file mode 100644 index 000000000..d7e9dc964 Binary files /dev/null and b/sounds/deathsounds/bug/Medium monster Grunt (Gets hit) 5.wav differ diff --git a/sounds/deathsounds/bug/Small monster Death 1.wav b/sounds/deathsounds/bug/Small monster Death 1.wav new file mode 100644 index 000000000..91d8b8307 Binary files /dev/null and b/sounds/deathsounds/bug/Small monster Death 1.wav differ diff --git a/sounds/deathsounds/bug/Small monster Death 2.wav b/sounds/deathsounds/bug/Small monster Death 2.wav new file mode 100644 index 000000000..c895b305e Binary files /dev/null and b/sounds/deathsounds/bug/Small monster Death 2.wav differ diff --git a/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 1.wav b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 1.wav new file mode 100644 index 000000000..9bb7088f1 Binary files /dev/null and b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 1.wav differ diff --git a/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 2.wav b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 2.wav new file mode 100644 index 000000000..3e05c4bfa Binary files /dev/null and b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 2.wav differ diff --git a/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 3.wav b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 3.wav new file mode 100644 index 000000000..79745d353 Binary files /dev/null and b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 3.wav differ diff --git a/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 4.wav b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 4.wav new file mode 100644 index 000000000..bd8e18236 Binary files /dev/null and b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 4.wav differ diff --git a/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 5.wav b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 5.wav new file mode 100644 index 000000000..fa575ca1b Binary files /dev/null and b/sounds/deathsounds/bug/Small monster Grunt (Gets hit) 5.wav differ diff --git a/sounds/deathsounds/bug/large monster Death 1.wav b/sounds/deathsounds/bug/large monster Death 1.wav new file mode 100644 index 000000000..0bffbb517 Binary files /dev/null and b/sounds/deathsounds/bug/large monster Death 1.wav differ diff --git a/sounds/deathsounds/bug/large monster Death 2.wav b/sounds/deathsounds/bug/large monster Death 2.wav new file mode 100644 index 000000000..9a69fdf42 Binary files /dev/null and b/sounds/deathsounds/bug/large monster Death 2.wav differ diff --git a/sounds/deathsounds/bug/large monster Grunt (Gets hit) 1.wav b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 1.wav new file mode 100644 index 000000000..3bebfcb51 Binary files /dev/null and b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 1.wav differ diff --git a/sounds/deathsounds/bug/large monster Grunt (Gets hit) 2.wav b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 2.wav new file mode 100644 index 000000000..4d2f80d46 Binary files /dev/null and b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 2.wav differ diff --git a/sounds/deathsounds/bug/large monster Grunt (Gets hit) 3.wav b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 3.wav new file mode 100644 index 000000000..918ece451 Binary files /dev/null and b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 3.wav differ diff --git a/sounds/deathsounds/bug/large monster Grunt (Gets hit) 4.wav b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 4.wav new file mode 100644 index 000000000..3a35c9750 Binary files /dev/null and b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 4.wav differ diff --git a/sounds/deathsounds/bug/large monster Grunt (Gets hit) 5.wav b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 5.wav new file mode 100644 index 000000000..a5c13e051 Binary files /dev/null and b/sounds/deathsounds/bug/large monster Grunt (Gets hit) 5.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 1.wav b/sounds/deathsounds/bugqueen/DEATH 1.wav new file mode 100644 index 000000000..d533a9c3b Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 1.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 10.wav b/sounds/deathsounds/bugqueen/DEATH 10.wav new file mode 100644 index 000000000..35b0a683c Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 10.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 2.wav b/sounds/deathsounds/bugqueen/DEATH 2.wav new file mode 100644 index 000000000..6794993c9 Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 2.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 3.wav b/sounds/deathsounds/bugqueen/DEATH 3.wav new file mode 100644 index 000000000..9b7911547 Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 3.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 4.wav b/sounds/deathsounds/bugqueen/DEATH 4.wav new file mode 100644 index 000000000..5eee4fd92 Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 4.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 5.wav b/sounds/deathsounds/bugqueen/DEATH 5.wav new file mode 100644 index 000000000..450c67e4d Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 5.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 6.wav b/sounds/deathsounds/bugqueen/DEATH 6.wav new file mode 100644 index 000000000..15a8f108a Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 6.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 7.wav b/sounds/deathsounds/bugqueen/DEATH 7.wav new file mode 100644 index 000000000..8fe5e5944 Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 7.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 8.wav b/sounds/deathsounds/bugqueen/DEATH 8.wav new file mode 100644 index 000000000..676977bbd Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 8.wav differ diff --git a/sounds/deathsounds/bugqueen/DEATH 9.wav b/sounds/deathsounds/bugqueen/DEATH 9.wav new file mode 100644 index 000000000..366d9ca5b Binary files /dev/null and b/sounds/deathsounds/bugqueen/DEATH 9.wav differ diff --git a/sounds/deathsounds/generic/Explosion Barrel_01.wav b/sounds/deathsounds/generic/Explosion Barrel_01.wav new file mode 100644 index 000000000..f0500f521 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Barrel_01.wav differ diff --git a/sounds/deathsounds/generic/Explosion C4_01.wav b/sounds/deathsounds/generic/Explosion C4_01.wav new file mode 100644 index 000000000..a9665b159 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion C4_01.wav differ diff --git a/sounds/deathsounds/generic/Explosion C4_02.wav b/sounds/deathsounds/generic/Explosion C4_02.wav new file mode 100644 index 000000000..3d7899ca6 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion C4_02.wav differ diff --git a/sounds/deathsounds/generic/Explosion Car_01.wav b/sounds/deathsounds/generic/Explosion Car_01.wav new file mode 100644 index 000000000..23fffc0e4 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Car_01.wav differ diff --git a/sounds/deathsounds/generic/Explosion Car_02.wav b/sounds/deathsounds/generic/Explosion Car_02.wav new file mode 100644 index 000000000..c88996a86 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Car_02.wav differ diff --git a/sounds/deathsounds/generic/Explosion Car_03.wav b/sounds/deathsounds/generic/Explosion Car_03.wav new file mode 100644 index 000000000..aff4750bb Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Car_03.wav differ diff --git a/sounds/deathsounds/generic/Explosion Car_04.wav b/sounds/deathsounds/generic/Explosion Car_04.wav new file mode 100644 index 000000000..160154cf8 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Car_04.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_01.wav b/sounds/deathsounds/generic/Explosion Classic_01.wav new file mode 100644 index 000000000..ae54a53fe Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_01.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_02.wav b/sounds/deathsounds/generic/Explosion Classic_02.wav new file mode 100644 index 000000000..e1c2299ad Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_02.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_03.wav b/sounds/deathsounds/generic/Explosion Classic_03.wav new file mode 100644 index 000000000..e42340694 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_03.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_04.wav b/sounds/deathsounds/generic/Explosion Classic_04.wav new file mode 100644 index 000000000..072936a33 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_04.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_05.wav b/sounds/deathsounds/generic/Explosion Classic_05.wav new file mode 100644 index 000000000..48565804b Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_05.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_06.wav b/sounds/deathsounds/generic/Explosion Classic_06.wav new file mode 100644 index 000000000..ce3d61149 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_06.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_07.wav b/sounds/deathsounds/generic/Explosion Classic_07.wav new file mode 100644 index 000000000..526a06686 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_07.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_08.wav b/sounds/deathsounds/generic/Explosion Classic_08.wav new file mode 100644 index 000000000..d1047cd14 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_08.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_09.wav b/sounds/deathsounds/generic/Explosion Classic_09.wav new file mode 100644 index 000000000..34919088d Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_09.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_10.wav b/sounds/deathsounds/generic/Explosion Classic_10.wav new file mode 100644 index 000000000..120d19481 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_10.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_11.wav b/sounds/deathsounds/generic/Explosion Classic_11.wav new file mode 100644 index 000000000..e81e9e338 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_11.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_12.wav b/sounds/deathsounds/generic/Explosion Classic_12.wav new file mode 100644 index 000000000..4dbdff109 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_12.wav differ diff --git a/sounds/deathsounds/generic/Explosion Classic_13.wav b/sounds/deathsounds/generic/Explosion Classic_13.wav new file mode 100644 index 000000000..5c892f077 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Classic_13.wav differ diff --git a/sounds/deathsounds/generic/Explosion Fireworks_01.wav b/sounds/deathsounds/generic/Explosion Fireworks_01.wav new file mode 100644 index 000000000..25d275c02 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Fireworks_01.wav differ diff --git a/sounds/deathsounds/generic/Explosion Fireworks_02.wav b/sounds/deathsounds/generic/Explosion Fireworks_02.wav new file mode 100644 index 000000000..5064a497e Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Fireworks_02.wav differ diff --git a/sounds/deathsounds/generic/Explosion Flesh_01.wav b/sounds/deathsounds/generic/Explosion Flesh_01.wav new file mode 100644 index 000000000..a898e68b2 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Flesh_01.wav differ diff --git a/sounds/deathsounds/generic/Explosion Flesh_02.wav b/sounds/deathsounds/generic/Explosion Flesh_02.wav new file mode 100644 index 000000000..456451911 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Flesh_02.wav differ diff --git a/sounds/deathsounds/generic/Explosion Flesh_03.wav b/sounds/deathsounds/generic/Explosion Flesh_03.wav new file mode 100644 index 000000000..7e57f7834 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Flesh_03.wav differ diff --git a/sounds/deathsounds/generic/Explosion Flesh_04.wav b/sounds/deathsounds/generic/Explosion Flesh_04.wav new file mode 100644 index 000000000..eccb5b331 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Flesh_04.wav differ diff --git a/sounds/deathsounds/generic/Explosion Flesh_05.wav b/sounds/deathsounds/generic/Explosion Flesh_05.wav new file mode 100644 index 000000000..3bf89b3d0 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Flesh_05.wav differ diff --git a/sounds/deathsounds/generic/Explosion Flesh_06.wav b/sounds/deathsounds/generic/Explosion Flesh_06.wav new file mode 100644 index 000000000..39d338daa Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Flesh_06.wav differ diff --git a/sounds/deathsounds/generic/Explosion Gas_01.wav b/sounds/deathsounds/generic/Explosion Gas_01.wav new file mode 100644 index 000000000..503c4c6c9 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Gas_01.wav differ diff --git a/sounds/deathsounds/generic/Explosion Gas_02.wav b/sounds/deathsounds/generic/Explosion Gas_02.wav new file mode 100644 index 000000000..54e61d506 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Gas_02.wav differ diff --git a/sounds/deathsounds/generic/Explosion Glass_01.wav b/sounds/deathsounds/generic/Explosion Glass_01.wav new file mode 100644 index 000000000..294297713 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Glass_01.wav differ diff --git a/sounds/deathsounds/generic/Explosion Glass_02.wav b/sounds/deathsounds/generic/Explosion Glass_02.wav new file mode 100644 index 000000000..d5dcf11c6 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Glass_02.wav differ diff --git a/sounds/deathsounds/generic/Explosion Glass_03.wav b/sounds/deathsounds/generic/Explosion Glass_03.wav new file mode 100644 index 000000000..fbd984a86 Binary files /dev/null and b/sounds/deathsounds/generic/Explosion Glass_03.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_01.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_01.wav new file mode 100644 index 000000000..9779c5a92 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_01.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_02.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_02.wav new file mode 100644 index 000000000..75d9d79c0 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_02.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_03.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_03.wav new file mode 100644 index 000000000..93b4af5bb Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_03.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_04.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_04.wav new file mode 100644 index 000000000..4a32d746b Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_04.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_05.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_05.wav new file mode 100644 index 000000000..f6c2b151f Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_05.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_06.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_06.wav new file mode 100644 index 000000000..1bb9ee1de Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_06.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_07.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_07.wav new file mode 100644 index 000000000..f463ac490 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_07.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_08.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_08.wav new file mode 100644 index 000000000..0a8be7f51 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_08.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_09.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_09.wav new file mode 100644 index 000000000..a467d8c1d Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_09.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_10.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_10.wav new file mode 100644 index 000000000..b6c0afb42 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_10.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_11.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_11.wav new file mode 100644 index 000000000..b88b82179 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_11.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_12.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_12.wav new file mode 100644 index 000000000..ca1597ce0 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_12.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_13.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_13.wav new file mode 100644 index 000000000..fd09f3ad8 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_13.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_14.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_14.wav new file mode 100644 index 000000000..85c9d6248 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_14.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_15.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_15.wav new file mode 100644 index 000000000..537451e78 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_15.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_16.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_16.wav new file mode 100644 index 000000000..1611a1fb3 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_16.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_17.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_17.wav new file mode 100644 index 000000000..fb873b229 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_17.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_18.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_18.wav new file mode 100644 index 000000000..e8d8860ad Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_18.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_19.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_19.wav new file mode 100644 index 000000000..7a73a9280 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_19.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_20.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_20.wav new file mode 100644 index 000000000..03db3df8d Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_20.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_21.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_21.wav new file mode 100644 index 000000000..b828126bf Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_21.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_22.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_22.wav new file mode 100644 index 000000000..cde9c2088 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_22.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_23.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_23.wav new file mode 100644 index 000000000..0bae15651 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_23.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_24.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_24.wav new file mode 100644 index 000000000..44d02bfce Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_24.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_25.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_25.wav new file mode 100644 index 000000000..08605716d Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_25.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_26.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_26.wav new file mode 100644 index 000000000..8441a5c6a Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_26.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_27.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_27.wav new file mode 100644 index 000000000..ce386ba20 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_27.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_28.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_28.wav new file mode 100644 index 000000000..41b870f01 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_CloseExplosion_28.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_01.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_01.wav new file mode 100644 index 000000000..ee2b144e4 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_01.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_02.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_02.wav new file mode 100644 index 000000000..52d996d66 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_02.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_03.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_03.wav new file mode 100644 index 000000000..9d9ef7661 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_03.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_04.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_04.wav new file mode 100644 index 000000000..18e808e18 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_04.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_05.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_05.wav new file mode 100644 index 000000000..3c7296219 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_05.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_06.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_06.wav new file mode 100644 index 000000000..aebfeba9a Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_06.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_07.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_07.wav new file mode 100644 index 000000000..0a6011455 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_07.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_08.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_08.wav new file mode 100644 index 000000000..46028dcdf Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_08.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_09.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_09.wav new file mode 100644 index 000000000..e77c108c2 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_09.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_10.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_10.wav new file mode 100644 index 000000000..4d6d8a762 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_10.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_11.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_11.wav new file mode 100644 index 000000000..ba177ae38 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_11.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_12.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_12.wav new file mode 100644 index 000000000..726bdba0a Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_12.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_13.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_13.wav new file mode 100644 index 000000000..91ab5add9 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_13.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_14.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_14.wav new file mode 100644 index 000000000..6b2896d98 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_14.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_15.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_15.wav new file mode 100644 index 000000000..172d27c0a Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_15.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_16.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_16.wav new file mode 100644 index 000000000..6adfb121d Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_16.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_17.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_17.wav new file mode 100644 index 000000000..29ce9b40e Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_17.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_18.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_18.wav new file mode 100644 index 000000000..e4d405ed0 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_18.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_19.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_19.wav new file mode 100644 index 000000000..994ffb867 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_19.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_20.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_20.wav new file mode 100644 index 000000000..044fc9742 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_20.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_21.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_21.wav new file mode 100644 index 000000000..6838ba8ed Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_21.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_22.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_22.wav new file mode 100644 index 000000000..9b65c25a0 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_22.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_23.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_23.wav new file mode 100644 index 000000000..4f4da3a92 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_23.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_24.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_24.wav new file mode 100644 index 000000000..6f19d169f Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_24.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_25.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_25.wav new file mode 100644 index 000000000..4c4d92fbf Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_25.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_26.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_26.wav new file mode 100644 index 000000000..a6c6f008a Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_26.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_27.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_27.wav new file mode 100644 index 000000000..a6933c493 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_27.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_28.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_28.wav new file mode 100644 index 000000000..50b59fd48 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_DistantExplosion_28.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_01.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_01.wav new file mode 100644 index 000000000..4f7fa33ec Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_01.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_02.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_02.wav new file mode 100644 index 000000000..45970742c Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_02.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_03.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_03.wav new file mode 100644 index 000000000..6c50e1ae4 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_03.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_04.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_04.wav new file mode 100644 index 000000000..ec74f6965 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_04.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_05.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_05.wav new file mode 100644 index 000000000..4209819d3 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_05.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_06.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_06.wav new file mode 100644 index 000000000..8ffc4da51 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_06.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_07.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_07.wav new file mode 100644 index 000000000..25095ea77 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_07.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_08.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_08.wav new file mode 100644 index 000000000..fa2d416fd Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_08.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_09.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_09.wav new file mode 100644 index 000000000..a17863862 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_09.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_10.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_10.wav new file mode 100644 index 000000000..ba07c608a Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_10.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_11.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_11.wav new file mode 100644 index 000000000..107a5fc1c Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_11.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_12.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_12.wav new file mode 100644 index 000000000..f00d12d26 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_12.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_13.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_13.wav new file mode 100644 index 000000000..6e7125935 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_13.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_14.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_14.wav new file mode 100644 index 000000000..485892f11 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_14.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_15.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_15.wav new file mode 100644 index 000000000..5a0ba3927 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_15.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_16.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_16.wav new file mode 100644 index 000000000..d7b2036cb Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_16.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_17.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_17.wav new file mode 100644 index 000000000..4e39c89b0 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_17.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_18.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_18.wav new file mode 100644 index 000000000..8050d98a0 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_18.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_19.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_19.wav new file mode 100644 index 000000000..15bcb0a31 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_19.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_20.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_20.wav new file mode 100644 index 000000000..3d0a8de19 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_20.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_21.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_21.wav new file mode 100644 index 000000000..449709519 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_21.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_22.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_22.wav new file mode 100644 index 000000000..a7af8923c Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_22.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_23.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_23.wav new file mode 100644 index 000000000..406fd101e Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_23.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_24.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_24.wav new file mode 100644 index 000000000..fb9887c40 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_24.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_25.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_25.wav new file mode 100644 index 000000000..7a98b901a Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_25.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_26.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_26.wav new file mode 100644 index 000000000..b0fb9f493 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_26.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_27.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_27.wav new file mode 100644 index 000000000..1127a3ce4 Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_27.wav differ diff --git a/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_28.wav b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_28.wav new file mode 100644 index 000000000..76898400b Binary files /dev/null and b/sounds/deathsounds/generic/TomWinandySFX_Explosions Volume I_MediumExplosion_28.wav differ diff --git a/sounds/unitselections/amphibselect.wav b/sounds/unitselections/amphibselect.wav new file mode 100644 index 000000000..42aa31a06 Binary files /dev/null and b/sounds/unitselections/amphibselect.wav differ diff --git a/sounds/unitselections/engineidle.wav b/sounds/unitselections/engineidle.wav new file mode 100644 index 000000000..2dedf9ccf Binary files /dev/null and b/sounds/unitselections/engineidle.wav differ diff --git a/sounds/unitselections/enginestart.wav b/sounds/unitselections/enginestart.wav new file mode 100644 index 000000000..c7096928c Binary files /dev/null and b/sounds/unitselections/enginestart.wav differ diff --git a/sounds/voice/scavengers/BotrailcannonDetected.wav b/sounds/voice/scavengers/BotrailcannonDetected.wav new file mode 100644 index 000000000..7280a6c38 Binary files /dev/null and b/sounds/voice/scavengers/BotrailcannonDetected.wav differ diff --git a/sounds/voice/scavengers/DemonDetected.wav b/sounds/voice/scavengers/DemonDetected.wav new file mode 100644 index 000000000..2b0fb97fe Binary files /dev/null and b/sounds/voice/scavengers/DemonDetected.wav differ diff --git a/sounds/voice/scavengers/EpicDragonDetected.wav b/sounds/voice/scavengers/EpicDragonDetected.wav new file mode 100644 index 000000000..518304b9e Binary files /dev/null and b/sounds/voice/scavengers/EpicDragonDetected.wav differ diff --git a/sounds/voice/scavengers/EpicGruntDetected.wav b/sounds/voice/scavengers/EpicGruntDetected.wav new file mode 100644 index 000000000..48f50f2d6 Binary files /dev/null and b/sounds/voice/scavengers/EpicGruntDetected.wav differ diff --git a/sounds/voice/scavengers/EpicPawnDetected.wav b/sounds/voice/scavengers/EpicPawnDetected.wav new file mode 100644 index 000000000..9177aab12 Binary files /dev/null and b/sounds/voice/scavengers/EpicPawnDetected.wav differ diff --git a/sounds/voice/scavengers/EpicTzarDetected.wav b/sounds/voice/scavengers/EpicTzarDetected.wav new file mode 100644 index 000000000..d4e6d4fdd Binary files /dev/null and b/sounds/voice/scavengers/EpicTzarDetected.wav differ diff --git a/sounds/voice/scavengers/RatteDetected.wav b/sounds/voice/scavengers/RatteDetected.wav new file mode 100644 index 000000000..6ecbf8a21 Binary files /dev/null and b/sounds/voice/scavengers/RatteDetected.wav differ diff --git a/sounds/voice/scavengers/SuperKrogDetected.wav b/sounds/voice/scavengers/SuperKrogDetected.wav new file mode 100644 index 000000000..a615f3069 Binary files /dev/null and b/sounds/voice/scavengers/SuperKrogDetected.wav differ diff --git a/sounds/voice/scavengers/SuperKrowDetected.wav b/sounds/voice/scavengers/SuperKrowDetected.wav new file mode 100644 index 000000000..fbc1ad99f Binary files /dev/null and b/sounds/voice/scavengers/SuperKrowDetected.wav differ diff --git a/sounds/voice/scavengers/SuperPeeWeeDetected.wav b/sounds/voice/scavengers/SuperPeeWeeDetected.wav new file mode 100644 index 000000000..3a44c0fd1 Binary files /dev/null and b/sounds/voice/scavengers/SuperPeeWeeDetected.wav differ diff --git a/sounds/voice/scavengers/SuperStumpyDetected.wav b/sounds/voice/scavengers/SuperStumpyDetected.wav new file mode 100644 index 000000000..df9448f29 Binary files /dev/null and b/sounds/voice/scavengers/SuperStumpyDetected.wav differ diff --git a/sounds/voice/scavengers/additionalforcesjoining.wav b/sounds/voice/scavengers/additionalforcesjoining.wav new file mode 100644 index 000000000..ee5e86b2a Binary files /dev/null and b/sounds/voice/scavengers/additionalforcesjoining.wav differ diff --git a/sounds/voice/scavengers/additionalunitsdropping.wav b/sounds/voice/scavengers/additionalunitsdropping.wav new file mode 100644 index 000000000..4a7b100e5 Binary files /dev/null and b/sounds/voice/scavengers/additionalunitsdropping.wav differ diff --git a/sounds/voice/scavengers/classifiedAsScavengers.wav b/sounds/voice/scavengers/classifiedAsScavengers.wav new file mode 100644 index 000000000..5a5bc6f4b Binary files /dev/null and b/sounds/voice/scavengers/classifiedAsScavengers.wav differ diff --git a/sounds/voice/scavengers/droppingUnits.wav b/sounds/voice/scavengers/droppingUnits.wav new file mode 100644 index 000000000..a5e897a81 Binary files /dev/null and b/sounds/voice/scavengers/droppingUnits.wav differ diff --git a/sounds/voice/scavengers/droppodsDetectedInArea.wav b/sounds/voice/scavengers/droppodsDetectedInArea.wav new file mode 100644 index 000000000..05bfb0aba Binary files /dev/null and b/sounds/voice/scavengers/droppodsDetectedInArea.wav differ diff --git a/sounds/voice/scavengers/droppodsDetectedNearby.wav b/sounds/voice/scavengers/droppodsDetectedNearby.wav new file mode 100644 index 000000000..13f42627c Binary files /dev/null and b/sounds/voice/scavengers/droppodsDetectedNearby.wav differ diff --git a/sounds/voice/scavengers/newunitsdropshipped.wav b/sounds/voice/scavengers/newunitsdropshipped.wav new file mode 100644 index 000000000..48896d74e Binary files /dev/null and b/sounds/voice/scavengers/newunitsdropshipped.wav differ diff --git a/sounds/voice/scavengers/reinforcementshavearrived.wav b/sounds/voice/scavengers/reinforcementshavearrived.wav new file mode 100644 index 000000000..8276a92a7 Binary files /dev/null and b/sounds/voice/scavengers/reinforcementshavearrived.wav differ diff --git a/sounds/voice/scavengers/scav-event-airtransport.wav b/sounds/voice/scavengers/scav-event-airtransport.wav new file mode 100644 index 000000000..2b9ab1454 Binary files /dev/null and b/sounds/voice/scavengers/scav-event-airtransport.wav differ diff --git a/sounds/voice/scavengers/scav-event-cloud.wav b/sounds/voice/scavengers/scav-event-cloud.wav new file mode 100644 index 000000000..3b69354a4 Binary files /dev/null and b/sounds/voice/scavengers/scav-event-cloud.wav differ diff --git a/sounds/voice/scavengers/scav-event-malfunctions.wav b/sounds/voice/scavengers/scav-event-malfunctions.wav new file mode 100644 index 000000000..bf2727a14 Binary files /dev/null and b/sounds/voice/scavengers/scav-event-malfunctions.wav differ diff --git a/sounds/voice/scavengers/scav-event-miniboss.wav b/sounds/voice/scavengers/scav-event-miniboss.wav new file mode 100644 index 000000000..c2ee7e2bd Binary files /dev/null and b/sounds/voice/scavengers/scav-event-miniboss.wav differ diff --git a/sounds/voice/scavengers/scav-event-paralysis.wav b/sounds/voice/scavengers/scav-event-paralysis.wav new file mode 100644 index 000000000..0d5dee64b Binary files /dev/null and b/sounds/voice/scavengers/scav-event-paralysis.wav differ diff --git a/sounds/voice/scavengers/scav-event-rebellion.wav b/sounds/voice/scavengers/scav-event-rebellion.wav new file mode 100644 index 000000000..e6a31410d Binary files /dev/null and b/sounds/voice/scavengers/scav-event-rebellion.wav differ diff --git a/sounds/voice/scavengers/scav-event-swarmdetected.wav b/sounds/voice/scavengers/scav-event-swarmdetected.wav new file mode 100644 index 000000000..a751893e0 Binary files /dev/null and b/sounds/voice/scavengers/scav-event-swarmdetected.wav differ diff --git a/sounds/voice/scavengers/scavShutdownDetected.wav b/sounds/voice/scavengers/scavShutdownDetected.wav new file mode 100644 index 000000000..ecd4d51c3 Binary files /dev/null and b/sounds/voice/scavengers/scavShutdownDetected.wav differ diff --git a/sounds/voice/scavengers/scavadditionalcomdetected.wav b/sounds/voice/scavengers/scavadditionalcomdetected.wav new file mode 100644 index 000000000..7df5be596 Binary files /dev/null and b/sounds/voice/scavengers/scavadditionalcomdetected.wav differ diff --git a/sounds/voice/scavengers/scavanotherscavcomdetected.wav b/sounds/voice/scavengers/scavanotherscavcomdetected.wav new file mode 100644 index 000000000..49e962d02 Binary files /dev/null and b/sounds/voice/scavengers/scavanotherscavcomdetected.wav differ diff --git a/sounds/voice/scavengers/scavbossdetected.wav b/sounds/voice/scavengers/scavbossdetected.wav new file mode 100644 index 000000000..3456257d6 Binary files /dev/null and b/sounds/voice/scavengers/scavbossdetected.wav differ diff --git a/sounds/voice/scavengers/scavcomdetected.wav b/sounds/voice/scavengers/scavcomdetected.wav new file mode 100644 index 000000000..6df3c7178 Binary files /dev/null and b/sounds/voice/scavengers/scavcomdetected.wav differ diff --git a/sounds/voice/scavengers/scavcomnewdetect.wav b/sounds/voice/scavengers/scavcomnewdetect.wav new file mode 100644 index 000000000..f10dccb48 Binary files /dev/null and b/sounds/voice/scavengers/scavcomnewdetect.wav differ diff --git a/sounds/voice/scavengers/scavcomspotted.wav b/sounds/voice/scavengers/scavcomspotted.wav new file mode 100644 index 000000000..241808e58 Binary files /dev/null and b/sounds/voice/scavengers/scavcomspotted.wav differ diff --git a/sounds/voice/scavengers/scavdrop.wav b/sounds/voice/scavengers/scavdrop.wav new file mode 100644 index 000000000..d60eec7aa Binary files /dev/null and b/sounds/voice/scavengers/scavdrop.wav differ diff --git a/sounds/voice/scavengers/scavdroplootspawn.wav b/sounds/voice/scavengers/scavdroplootspawn.wav new file mode 100644 index 000000000..827847ccf Binary files /dev/null and b/sounds/voice/scavengers/scavdroplootspawn.wav differ diff --git a/sounds/voice/scavengers/scavdropspawn.wav b/sounds/voice/scavengers/scavdropspawn.wav new file mode 100644 index 000000000..a1dcf5dd5 Binary files /dev/null and b/sounds/voice/scavengers/scavdropspawn.wav differ diff --git a/sounds/voice/scavengers/scavdropspawnbeacon.wav b/sounds/voice/scavengers/scavdropspawnbeacon.wav new file mode 100644 index 000000000..5ca7e7ab0 Binary files /dev/null and b/sounds/voice/scavengers/scavdropspawnbeacon.wav differ diff --git a/sounds/voice/scavengers/scavdropspawnprinter.wav b/sounds/voice/scavengers/scavdropspawnprinter.wav new file mode 100644 index 000000000..1ab70c6ec Binary files /dev/null and b/sounds/voice/scavengers/scavdropspawnprinter.wav differ diff --git a/sounds/voice/scavengers/scavfinal01remain.wav b/sounds/voice/scavengers/scavfinal01remain.wav new file mode 100644 index 000000000..b5f224957 Binary files /dev/null and b/sounds/voice/scavengers/scavfinal01remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal02remain.wav b/sounds/voice/scavengers/scavfinal02remain.wav new file mode 100644 index 000000000..e348dc0e0 Binary files /dev/null and b/sounds/voice/scavengers/scavfinal02remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal03remain.wav b/sounds/voice/scavengers/scavfinal03remain.wav new file mode 100644 index 000000000..e30629230 Binary files /dev/null and b/sounds/voice/scavengers/scavfinal03remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal04remain.wav b/sounds/voice/scavengers/scavfinal04remain.wav new file mode 100644 index 000000000..028f4166d Binary files /dev/null and b/sounds/voice/scavengers/scavfinal04remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal05remain.wav b/sounds/voice/scavengers/scavfinal05remain.wav new file mode 100644 index 000000000..b8c3e02f8 Binary files /dev/null and b/sounds/voice/scavengers/scavfinal05remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal06remain.wav b/sounds/voice/scavengers/scavfinal06remain.wav new file mode 100644 index 000000000..3316c899c Binary files /dev/null and b/sounds/voice/scavengers/scavfinal06remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal07remain.wav b/sounds/voice/scavengers/scavfinal07remain.wav new file mode 100644 index 000000000..5aa1883e4 Binary files /dev/null and b/sounds/voice/scavengers/scavfinal07remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal08remain.wav b/sounds/voice/scavengers/scavfinal08remain.wav new file mode 100644 index 000000000..667400062 Binary files /dev/null and b/sounds/voice/scavengers/scavfinal08remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal09remain.wav b/sounds/voice/scavengers/scavfinal09remain.wav new file mode 100644 index 000000000..f59cadf6a Binary files /dev/null and b/sounds/voice/scavengers/scavfinal09remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal10remain.wav b/sounds/voice/scavengers/scavfinal10remain.wav new file mode 100644 index 000000000..457d87ac1 Binary files /dev/null and b/sounds/voice/scavengers/scavfinal10remain.wav differ diff --git a/sounds/voice/scavengers/scavfinal12remain.wav b/sounds/voice/scavengers/scavfinal12remain.wav new file mode 100644 index 000000000..dd1d3f118 Binary files /dev/null and b/sounds/voice/scavengers/scavfinal12remain.wav differ diff --git a/sounds/voice/scavengers/scavfinalattack.wav b/sounds/voice/scavengers/scavfinalattack.wav new file mode 100644 index 000000000..f79cdfa25 Binary files /dev/null and b/sounds/voice/scavengers/scavfinalattack.wav differ diff --git a/sounds/voice/scavengers/scavfinalboss.wav b/sounds/voice/scavengers/scavfinalboss.wav new file mode 100644 index 000000000..415ba5545 Binary files /dev/null and b/sounds/voice/scavengers/scavfinalboss.wav differ diff --git a/sounds/voice/scavengers/scavfinalcountdown.wav b/sounds/voice/scavengers/scavfinalcountdown.wav new file mode 100644 index 000000000..c9b5a79c9 Binary files /dev/null and b/sounds/voice/scavengers/scavfinalcountdown.wav differ diff --git a/sounds/voice/scavengers/scavfinalretreating.wav b/sounds/voice/scavengers/scavfinalretreating.wav new file mode 100644 index 000000000..32c8af636 Binary files /dev/null and b/sounds/voice/scavengers/scavfinalretreating.wav differ diff --git a/sounds/voice/scavengers/scavfinalretreatingyes.wav b/sounds/voice/scavengers/scavfinalretreatingyes.wav new file mode 100644 index 000000000..4c5464ca8 Binary files /dev/null and b/sounds/voice/scavengers/scavfinalretreatingyes.wav differ diff --git a/sounds/voice/scavengers/scavfinalsurvive10min.wav b/sounds/voice/scavengers/scavfinalsurvive10min.wav new file mode 100644 index 000000000..cf64a2578 Binary files /dev/null and b/sounds/voice/scavengers/scavfinalsurvive10min.wav differ diff --git a/sounds/voice/scavengers/scavfinalsurvive15min.wav b/sounds/voice/scavengers/scavfinalsurvive15min.wav new file mode 100644 index 000000000..c8775147b Binary files /dev/null and b/sounds/voice/scavengers/scavfinalsurvive15min.wav differ diff --git a/sounds/voice/scavengers/scavfinalvictory.wav b/sounds/voice/scavengers/scavfinalvictory.wav new file mode 100644 index 000000000..e379716d5 Binary files /dev/null and b/sounds/voice/scavengers/scavfinalvictory.wav differ diff --git a/sounds/voice/scavengers/scavheavyairdetected.wav b/sounds/voice/scavengers/scavheavyairdetected.wav new file mode 100644 index 000000000..bf98ad595 Binary files /dev/null and b/sounds/voice/scavengers/scavheavyairdetected.wav differ diff --git a/sounds/voice/scavengers/scavheavyshipsdetected.wav b/sounds/voice/scavengers/scavheavyshipsdetected.wav new file mode 100644 index 000000000..8d6faa23a Binary files /dev/null and b/sounds/voice/scavengers/scavheavyshipsdetected.wav differ diff --git a/sounds/voice/scavengers/scavlootdrop.wav b/sounds/voice/scavengers/scavlootdrop.wav new file mode 100644 index 000000000..7178aa371 Binary files /dev/null and b/sounds/voice/scavengers/scavlootdrop.wav differ diff --git a/sounds/voice/scavengers/scavnewcomentered.wav b/sounds/voice/scavengers/scavnewcomentered.wav new file mode 100644 index 000000000..f733c7f93 Binary files /dev/null and b/sounds/voice/scavengers/scavnewcomentered.wav differ diff --git a/sounds/voice/scavengers/scavpreparingfinalattack.wav b/sounds/voice/scavengers/scavpreparingfinalattack.wav new file mode 100644 index 000000000..e7be7a320 Binary files /dev/null and b/sounds/voice/scavengers/scavpreparingfinalattack.wav differ diff --git a/sounds/voice/scavspawn.wav b/sounds/voice/scavengers/scavspawn.wav similarity index 100% rename from sounds/voice/scavspawn.wav rename to sounds/voice/scavengers/scavspawn.wav diff --git a/sounds/voice/scavengers/scavtech3.wav b/sounds/voice/scavengers/scavtech3.wav new file mode 100644 index 000000000..c5cb2af95 Binary files /dev/null and b/sounds/voice/scavengers/scavtech3.wav differ diff --git a/sounds/voice/scavengers/scavtech3b.wav b/sounds/voice/scavengers/scavtech3b.wav new file mode 100644 index 000000000..6fd5c2a7c Binary files /dev/null and b/sounds/voice/scavengers/scavtech3b.wav differ diff --git a/sounds/voice/scavengers/scavtech3c.wav b/sounds/voice/scavengers/scavtech3c.wav new file mode 100644 index 000000000..9dd699313 Binary files /dev/null and b/sounds/voice/scavengers/scavtech3c.wav differ diff --git a/sounds/voice/scavengers/scavtech3d.wav b/sounds/voice/scavengers/scavtech3d.wav new file mode 100644 index 000000000..c493e4a63 Binary files /dev/null and b/sounds/voice/scavengers/scavtech3d.wav differ diff --git a/sounds/voice/scavengers/scavtech3e.wav b/sounds/voice/scavengers/scavtech3e.wav new file mode 100644 index 000000000..c981538b8 Binary files /dev/null and b/sounds/voice/scavengers/scavtech3e.wav differ diff --git a/sounds/voice/scavengers/unidentifiedObjectsDetected.wav b/sounds/voice/scavengers/unidentifiedObjectsDetected.wav new file mode 100644 index 000000000..502721fd6 Binary files /dev/null and b/sounds/voice/scavengers/unidentifiedObjectsDetected.wav differ diff --git a/sounds/voice/scavengers/waitingForIntel.wav b/sounds/voice/scavengers/waitingForIntel.wav new file mode 100644 index 000000000..39c6f7b4d Binary files /dev/null and b/sounds/voice/scavengers/waitingForIntel.wav differ diff --git a/sounds/voice/scavengers/warning.wav b/sounds/voice/scavengers/warning.wav new file mode 100644 index 000000000..6b161dc9b Binary files /dev/null and b/sounds/voice/scavengers/warning.wav differ diff --git a/sounds/weapons/Assault Rifle Shot_05.wav b/sounds/weapons/Assault Rifle Shot_05.wav new file mode 100644 index 000000000..ad4d46315 Binary files /dev/null and b/sounds/weapons/Assault Rifle Shot_05.wav differ diff --git a/sounds/weapons/Machine Gun Shot_05.wav b/sounds/weapons/Machine Gun Shot_05.wav new file mode 100644 index 000000000..ff9c53f0b Binary files /dev/null and b/sounds/weapons/Machine Gun Shot_05.wav differ diff --git a/sounds/weapons/Sci Fi Beam 3-short.wav b/sounds/weapons/Sci Fi Beam 3-short.wav new file mode 100644 index 000000000..90a765134 Binary files /dev/null and b/sounds/weapons/Sci Fi Beam 3-short.wav differ diff --git a/sounds/weapons/Sci Fi Beam 3.wav b/sounds/weapons/Sci Fi Beam 3.wav new file mode 100644 index 000000000..2868a0a00 Binary files /dev/null and b/sounds/weapons/Sci Fi Beam 3.wav differ diff --git a/sounds/weapons/Sci Fi Blaster 4.wav b/sounds/weapons/Sci Fi Blaster 4.wav new file mode 100644 index 000000000..cd593acd7 Binary files /dev/null and b/sounds/weapons/Sci Fi Blaster 4.wav differ diff --git a/sounds/weapons/Sci Fi Sniper 10.wav b/sounds/weapons/Sci Fi Sniper 10.wav new file mode 100644 index 000000000..5c09315e3 Binary files /dev/null and b/sounds/weapons/Sci Fi Sniper 10.wav differ diff --git a/sounds/weapons/Shotgun Boom 101.wav b/sounds/weapons/Shotgun Boom 101.wav new file mode 100644 index 000000000..de85512e9 Binary files /dev/null and b/sounds/weapons/Shotgun Boom 101.wav differ diff --git a/sounds/weapons/Shotgun Boom 102.wav b/sounds/weapons/Shotgun Boom 102.wav new file mode 100644 index 000000000..6628ddcb0 Binary files /dev/null and b/sounds/weapons/Shotgun Boom 102.wav differ diff --git a/sounds/weapons/Shotgun Boom 103.wav b/sounds/weapons/Shotgun Boom 103.wav new file mode 100644 index 000000000..81b13969f Binary files /dev/null and b/sounds/weapons/Shotgun Boom 103.wav differ diff --git a/sounds/weapons/bombdrop.wav b/sounds/weapons/bombdrop.wav new file mode 100644 index 000000000..e537d6b0a Binary files /dev/null and b/sounds/weapons/bombdrop.wav differ diff --git a/sounds/weapons/lightningstrike.wav b/sounds/weapons/lightningstrike.wav new file mode 100644 index 000000000..5d4d8377b Binary files /dev/null and b/sounds/weapons/lightningstrike.wav differ diff --git a/sounds/weapons/plasma3c.wav b/sounds/weapons/plasma3c.wav new file mode 100644 index 000000000..0017bdf94 Binary files /dev/null and b/sounds/weapons/plasma3c.wav differ diff --git a/sounds/weapons/shotgun-reload.wav b/sounds/weapons/shotgun-reload.wav index 89c38ccb1..26d27a9ec 100644 Binary files a/sounds/weapons/shotgun-reload.wav and b/sounds/weapons/shotgun-reload.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 1.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 1.wav new file mode 100644 index 000000000..b65561fe5 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 1.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 2.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 2.wav new file mode 100644 index 000000000..e435298eb Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 2.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 3.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 3.wav new file mode 100644 index 000000000..391a550bf Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 3.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 4.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 4.wav new file mode 100644 index 000000000..fa27ed7e7 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 4.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 5.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 5.wav new file mode 100644 index 000000000..fc31c4292 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY BREATHING FIRE/BABY BREATHING FIRE 5.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 1.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 1.wav new file mode 100644 index 000000000..580751deb Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 1.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 2.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 2.wav new file mode 100644 index 000000000..92c549a40 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 2.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 3.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 3.wav new file mode 100644 index 000000000..abd43be00 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 3.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 4.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 4.wav new file mode 100644 index 000000000..c0a151e3a Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 4.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 5.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 5.wav new file mode 100644 index 000000000..146054541 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY FOOTSTEPS/BABY FOOTSTEPS 5.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 1.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 1.wav new file mode 100644 index 000000000..1afe6f524 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 1.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 2.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 2.wav new file mode 100644 index 000000000..649395fe5 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 2.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 3.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 3.wav new file mode 100644 index 000000000..dd49a6f13 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 3.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 4.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 4.wav new file mode 100644 index 000000000..185f441c3 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 4.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 5.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 5.wav new file mode 100644 index 000000000..197acf44c Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY ROAR/BABY ROAR 5.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 1.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 1.wav new file mode 100644 index 000000000..7382ecdfd Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 1.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 2.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 2.wav new file mode 100644 index 000000000..b7a66a712 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 2.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 3.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 3.wav new file mode 100644 index 000000000..cc48551c3 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 3.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 4.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 4.wav new file mode 100644 index 000000000..6e93fd744 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 4.wav differ diff --git a/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 5.wav b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 5.wav new file mode 100644 index 000000000..7cfbcc8a0 Binary files /dev/null and b/sounds/weapons/zaal/BABY DRAGONS/BABY TAKING DAMAGE/BABY TAKING DAMAGE 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 1.wav new file mode 100644 index 000000000..de9c23d5c Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 2.wav new file mode 100644 index 000000000..fa19af3f1 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 3.wav new file mode 100644 index 000000000..a402f2c0f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 4.wav new file mode 100644 index 000000000..f8e1da6d3 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 5.wav new file mode 100644 index 000000000..b7e96f940 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON AGGRO/AGGRO 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 1.wav new file mode 100644 index 000000000..c04e12191 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 10.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 10.wav new file mode 100644 index 000000000..5e46f6837 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 10.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 2.wav new file mode 100644 index 000000000..e2297ce39 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 3.wav new file mode 100644 index 000000000..27b4ffe6e Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 4.wav new file mode 100644 index 000000000..44b24b4ea Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 5.wav new file mode 100644 index 000000000..a7f25b6d6 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 6.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 6.wav new file mode 100644 index 000000000..06b856eda Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 6.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 7.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 7.wav new file mode 100644 index 000000000..e42b97784 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 7.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 8.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 8.wav new file mode 100644 index 000000000..e05ec81a2 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 8.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 9.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 9.wav new file mode 100644 index 000000000..383845fc6 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ATTACKS/DRAGON ATTACKS 9.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 1.wav new file mode 100644 index 000000000..3d8fa8442 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 10.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 10.wav new file mode 100644 index 000000000..08cfbac1d Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 10.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 2.wav new file mode 100644 index 000000000..83c4c0c14 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 3.wav new file mode 100644 index 000000000..8d8883018 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 4.wav new file mode 100644 index 000000000..c19a74ae9 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 5.wav new file mode 100644 index 000000000..cc8dae6d9 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 6.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 6.wav new file mode 100644 index 000000000..02f5cdd91 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 6.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 7.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 7.wav new file mode 100644 index 000000000..acf47fd05 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 7.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 8.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 8.wav new file mode 100644 index 000000000..db9b7b7fb Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 8.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 9.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 9.wav new file mode 100644 index 000000000..dc6fdf9bb Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BITES/DRAGON BITES 9.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 1.wav new file mode 100644 index 000000000..87b41415e Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 10.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 10.wav new file mode 100644 index 000000000..a1adf52a1 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 10.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 11.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 11.wav new file mode 100644 index 000000000..90f4e84f7 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 11.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 12.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 12.wav new file mode 100644 index 000000000..47be900f0 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 12.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 13.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 13.wav new file mode 100644 index 000000000..b699a4f7b Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 13.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 14.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 14.wav new file mode 100644 index 000000000..364a84069 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 14.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 15.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 15.wav new file mode 100644 index 000000000..7468bf85c Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 15.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 16.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 16.wav new file mode 100644 index 000000000..6aa492203 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 16.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 17.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 17.wav new file mode 100644 index 000000000..5e7f9a79f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 17.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 18.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 18.wav new file mode 100644 index 000000000..51482347d Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 18.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 19.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 19.wav new file mode 100644 index 000000000..603939cb4 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 19.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 2.wav new file mode 100644 index 000000000..b58be3ddc Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 20.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 20.wav new file mode 100644 index 000000000..f211ebf0b Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 20.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 21.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 21.wav new file mode 100644 index 000000000..b8e953e54 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 21.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 22.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 22.wav new file mode 100644 index 000000000..839a796c2 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 22.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 23.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 23.wav new file mode 100644 index 000000000..5d54349ec Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 23.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 3.wav new file mode 100644 index 000000000..bb01e3001 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 4.wav new file mode 100644 index 000000000..2b2e5dac4 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 5.wav new file mode 100644 index 000000000..4d8e5746f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 6.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 6.wav new file mode 100644 index 000000000..bac77c1f5 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 6.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 7.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 7.wav new file mode 100644 index 000000000..303e5a1f4 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 7.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 8.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 8.wav new file mode 100644 index 000000000..619dacd85 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 8.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 9.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 9.wav new file mode 100644 index 000000000..2a8c3e217 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING FIRE/DRAGON BREATHING FIRE 9.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 1.wav new file mode 100644 index 000000000..8fa013f28 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 10.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 10.wav new file mode 100644 index 000000000..70e626b93 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 10.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 11.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 11.wav new file mode 100644 index 000000000..908d68deb Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 11.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 12.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 12.wav new file mode 100644 index 000000000..a87125e33 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 12.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 13.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 13.wav new file mode 100644 index 000000000..9d8998c1f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 13.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 14.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 14.wav new file mode 100644 index 000000000..2ff6cb658 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 14.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 15.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 15.wav new file mode 100644 index 000000000..c91c119b0 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 15.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 16.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 16.wav new file mode 100644 index 000000000..a2e44f3bd Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 16.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 17.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 17.wav new file mode 100644 index 000000000..fec021402 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 17.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 18.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 18.wav new file mode 100644 index 000000000..dc236b0c0 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 18.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 19.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 19.wav new file mode 100644 index 000000000..1d441c7fd Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 19.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 2.wav new file mode 100644 index 000000000..84450547a Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 20.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 20.wav new file mode 100644 index 000000000..cbf64fba7 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 20.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 3.wav new file mode 100644 index 000000000..6d5da92b3 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 4.wav new file mode 100644 index 000000000..fa34ccacb Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 5.wav new file mode 100644 index 000000000..a75912eda Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 6.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 6.wav new file mode 100644 index 000000000..deba0ec21 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 6.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 7.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 7.wav new file mode 100644 index 000000000..7556cb664 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 7.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 8.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 8.wav new file mode 100644 index 000000000..34bb06130 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 8.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 9.wav b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 9.wav new file mode 100644 index 000000000..252ba0b72 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON BREATHING/BREATHING 9.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 1.wav new file mode 100644 index 000000000..909832d63 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 2.wav new file mode 100644 index 000000000..6410391cd Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 3.wav new file mode 100644 index 000000000..5f6ff8839 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 4.wav new file mode 100644 index 000000000..c674cb1dd Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 5.wav new file mode 100644 index 000000000..f13257aef Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON EATING/EATING 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 1.wav new file mode 100644 index 000000000..e117fa1c8 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 10.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 10.wav new file mode 100644 index 000000000..20a727207 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 10.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 11.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 11.wav new file mode 100644 index 000000000..7d312c284 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 11.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 12.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 12.wav new file mode 100644 index 000000000..ef8096c1c Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 12.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 13.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 13.wav new file mode 100644 index 000000000..b613b921f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 13.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 14.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 14.wav new file mode 100644 index 000000000..4d222e386 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 14.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 15.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 15.wav new file mode 100644 index 000000000..1b8e6b314 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 15.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 16.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 16.wav new file mode 100644 index 000000000..e56d4b440 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 16.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 17.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 17.wav new file mode 100644 index 000000000..3af373d19 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 17.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 18.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 18.wav new file mode 100644 index 000000000..2f1a5019c Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 18.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 19.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 19.wav new file mode 100644 index 000000000..c0a120542 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 19.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 2.wav new file mode 100644 index 000000000..3b18dc665 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 20.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 20.wav new file mode 100644 index 000000000..c7d689c36 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 20.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 3.wav new file mode 100644 index 000000000..494a64005 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 4.wav new file mode 100644 index 000000000..52cb18baf Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 5.wav new file mode 100644 index 000000000..651577240 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 6.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 6.wav new file mode 100644 index 000000000..17391f785 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 6.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 7.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 7.wav new file mode 100644 index 000000000..52e21c993 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 7.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 8.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 8.wav new file mode 100644 index 000000000..da40ddd68 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 8.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 9.wav b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 9.wav new file mode 100644 index 000000000..4686f74a3 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON FOOTSTEPS/Footsteps 9.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 1.wav new file mode 100644 index 000000000..3d5c3bf9e Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 2.wav new file mode 100644 index 000000000..1d09feb1e Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 3.wav new file mode 100644 index 000000000..bc9459c4b Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 4.wav new file mode 100644 index 000000000..8c64761e0 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 5.wav new file mode 100644 index 000000000..872684104 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON HISSES/HISSES 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 1.wav new file mode 100644 index 000000000..8f61fd016 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 2.wav new file mode 100644 index 000000000..a8f1d82a2 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 3.wav new file mode 100644 index 000000000..e18f32d8f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 4.wav new file mode 100644 index 000000000..ce32389ae Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 5.wav new file mode 100644 index 000000000..115c818da Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON LANDING/LANDING 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 1.wav new file mode 100644 index 000000000..adf1c384d Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 10.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 10.wav new file mode 100644 index 000000000..ac88531c4 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 10.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 11.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 11.wav new file mode 100644 index 000000000..6c45e92a1 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 11.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 12.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 12.wav new file mode 100644 index 000000000..6eeb6449e Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 12.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 13.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 13.wav new file mode 100644 index 000000000..18f70202c Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 13.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 14.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 14.wav new file mode 100644 index 000000000..022b54228 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 14.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 15.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 15.wav new file mode 100644 index 000000000..ae9307a40 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 15.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 16.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 16.wav new file mode 100644 index 000000000..3339d1098 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 16.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 17.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 17.wav new file mode 100644 index 000000000..86a81392d Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 17.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 18.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 18.wav new file mode 100644 index 000000000..fffa31dea Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 18.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 19.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 19.wav new file mode 100644 index 000000000..7965ee64d Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 19.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 2.wav new file mode 100644 index 000000000..061f85b82 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 20.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 20.wav new file mode 100644 index 000000000..3e63e16e5 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 20.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 3.wav new file mode 100644 index 000000000..6bedd9d6f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 4.wav new file mode 100644 index 000000000..9bc8adff5 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 5.wav new file mode 100644 index 000000000..bdcbe4744 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 6.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 6.wav new file mode 100644 index 000000000..c284870ea Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 6.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 7.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 7.wav new file mode 100644 index 000000000..3ef5ae0c2 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 7.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 8.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 8.wav new file mode 100644 index 000000000..65c90557e Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 8.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 9.wav b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 9.wav new file mode 100644 index 000000000..107b47c13 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON ROAR/ROAR 9.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 1.wav new file mode 100644 index 000000000..c38bf3938 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 2.wav new file mode 100644 index 000000000..b976d9724 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 3.wav new file mode 100644 index 000000000..2d5241c2a Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 4.wav new file mode 100644 index 000000000..21b56cb2c Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 5.wav new file mode 100644 index 000000000..22af82c32 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON SCREECH/SCREECH 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 1.wav new file mode 100644 index 000000000..9f4fa095f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 10.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 10.wav new file mode 100644 index 000000000..241de9846 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 10.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 2.wav new file mode 100644 index 000000000..02992270f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 3.wav new file mode 100644 index 000000000..f5273df57 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 4.wav new file mode 100644 index 000000000..9e8bc8432 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 5.wav new file mode 100644 index 000000000..66712f94b Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 6.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 6.wav new file mode 100644 index 000000000..69b544aac Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 6.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 7.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 7.wav new file mode 100644 index 000000000..5f99f6bed Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 7.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 8.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 8.wav new file mode 100644 index 000000000..af3aad33f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 8.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 9.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 9.wav new file mode 100644 index 000000000..bc88eb3a6 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING DAMAGE/TAKING DAMAGE 9.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 1.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 1.wav new file mode 100644 index 000000000..5b195db82 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 2.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 2.wav new file mode 100644 index 000000000..9da5cb69a Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 3.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 3.wav new file mode 100644 index 000000000..4221dab95 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 4.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 4.wav new file mode 100644 index 000000000..1960a88df Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 5.wav b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 5.wav new file mode 100644 index 000000000..5fa708e65 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/DRAGON TAKING FLIGHT/TAKING FLIGHT 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 1.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 1.wav new file mode 100644 index 000000000..4a415f5cb Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 1.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 10.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 10.wav new file mode 100644 index 000000000..cc396ca82 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 10.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 2.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 2.wav new file mode 100644 index 000000000..53938d42d Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 2.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 3.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 3.wav new file mode 100644 index 000000000..5c2c3136d Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 3.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 4.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 4.wav new file mode 100644 index 000000000..8ed4ea3d1 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 4.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 5.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 5.wav new file mode 100644 index 000000000..1203df050 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 5.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 6.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 6.wav new file mode 100644 index 000000000..78b10cba8 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 6.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 7.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 7.wav new file mode 100644 index 000000000..5572020d8 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 7.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 8.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 8.wav new file mode 100644 index 000000000..e87acca1f Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 8.wav differ diff --git a/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 9.wav b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 9.wav new file mode 100644 index 000000000..8866a1d99 Binary files /dev/null and b/sounds/weapons/zaal/DRAGONS/FLAPPING WINGS/FLAPPING WINGS 9.wav differ diff --git a/sounds/weapons/zaal/Huge monster Breathing/Huge monster Breathing 1.wav b/sounds/weapons/zaal/Huge monster Breathing/Huge monster Breathing 1.wav new file mode 100644 index 000000000..5c845053a Binary files /dev/null and b/sounds/weapons/zaal/Huge monster Breathing/Huge monster Breathing 1.wav differ diff --git a/sounds/weapons/zaal/Huge monster Breathing/Huge monster Breathing 2.wav b/sounds/weapons/zaal/Huge monster Breathing/Huge monster Breathing 2.wav new file mode 100644 index 000000000..b7ea1f315 Binary files /dev/null and b/sounds/weapons/zaal/Huge monster Breathing/Huge monster Breathing 2.wav differ diff --git a/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 1.wav b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 1.wav new file mode 100644 index 000000000..efce8bec8 Binary files /dev/null and b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 1.wav differ diff --git a/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 2.wav b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 2.wav new file mode 100644 index 000000000..cf84de34e Binary files /dev/null and b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 2.wav differ diff --git a/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 3.wav b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 3.wav new file mode 100644 index 000000000..65cd4baef Binary files /dev/null and b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 3.wav differ diff --git a/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 4.wav b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 4.wav new file mode 100644 index 000000000..cd88c2380 Binary files /dev/null and b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 4.wav differ diff --git a/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 5.wav b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 5.wav new file mode 100644 index 000000000..2b2d58c84 Binary files /dev/null and b/sounds/weapons/zaal/Huge monster Growls/Huge monster Growls 5.wav differ diff --git a/sounds/weapons/zaal/Huge monster attack/Huge monster attack 1.wav b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 1.wav new file mode 100644 index 000000000..eaf302231 Binary files /dev/null and b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 1.wav differ diff --git a/sounds/weapons/zaal/Huge monster attack/Huge monster attack 2.wav b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 2.wav new file mode 100644 index 000000000..2aefdaa5c Binary files /dev/null and b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 2.wav differ diff --git a/sounds/weapons/zaal/Huge monster attack/Huge monster attack 3.wav b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 3.wav new file mode 100644 index 000000000..902ad5f8c Binary files /dev/null and b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 3.wav differ diff --git a/sounds/weapons/zaal/Huge monster attack/Huge monster attack 4.wav b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 4.wav new file mode 100644 index 000000000..9a48fc475 Binary files /dev/null and b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 4.wav differ diff --git a/sounds/weapons/zaal/Huge monster attack/Huge monster attack 5.wav b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 5.wav new file mode 100644 index 000000000..9655ff28c Binary files /dev/null and b/sounds/weapons/zaal/Huge monster attack/Huge monster attack 5.wav differ diff --git a/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 1.wav b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 1.wav new file mode 100644 index 000000000..c75cb5b14 Binary files /dev/null and b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 1.wav differ diff --git a/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 2.wav b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 2.wav new file mode 100644 index 000000000..68116229f Binary files /dev/null and b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 2.wav differ diff --git a/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 3.wav b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 3.wav new file mode 100644 index 000000000..602411e78 Binary files /dev/null and b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 3.wav differ diff --git a/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 4.wav b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 4.wav new file mode 100644 index 000000000..82af7ec89 Binary files /dev/null and b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 4.wav differ diff --git a/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 5.wav b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 5.wav new file mode 100644 index 000000000..f3c1113fb Binary files /dev/null and b/sounds/weapons/zaal/Huge monster footsteps/Huge monster footsteps 5.wav differ diff --git a/sounds/weapons/zaal/Huge monster laugh/Huge monster laugh 1.wav b/sounds/weapons/zaal/Huge monster laugh/Huge monster laugh 1.wav new file mode 100644 index 000000000..4c1c34d9c Binary files /dev/null and b/sounds/weapons/zaal/Huge monster laugh/Huge monster laugh 1.wav differ diff --git a/sounds/weapons/zaal/Huge monster laugh/Huge monster laugh 2.wav b/sounds/weapons/zaal/Huge monster laugh/Huge monster laugh 2.wav new file mode 100644 index 000000000..9466812ca Binary files /dev/null and b/sounds/weapons/zaal/Huge monster laugh/Huge monster laugh 2.wav differ diff --git a/sounds/weapons/zaal/Large monster Growls/Large monster Growls 1.wav b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 1.wav new file mode 100644 index 000000000..8d256b77a Binary files /dev/null and b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 1.wav differ diff --git a/sounds/weapons/zaal/Large monster Growls/Large monster Growls 2.wav b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 2.wav new file mode 100644 index 000000000..b2daee2b8 Binary files /dev/null and b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 2.wav differ diff --git a/sounds/weapons/zaal/Large monster Growls/Large monster Growls 3.wav b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 3.wav new file mode 100644 index 000000000..87c24e600 Binary files /dev/null and b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 3.wav differ diff --git a/sounds/weapons/zaal/Large monster Growls/Large monster Growls 4.wav b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 4.wav new file mode 100644 index 000000000..f1aebccda Binary files /dev/null and b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 4.wav differ diff --git a/sounds/weapons/zaal/Large monster Growls/Large monster Growls 5.wav b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 5.wav new file mode 100644 index 000000000..af77a9eef Binary files /dev/null and b/sounds/weapons/zaal/Large monster Growls/Large monster Growls 5.wav differ diff --git a/sounds/weapons/zaal/Medium monster Breathing/Medium monster Breathing 1.wav b/sounds/weapons/zaal/Medium monster Breathing/Medium monster Breathing 1.wav new file mode 100644 index 000000000..cd80ba9ba Binary files /dev/null and b/sounds/weapons/zaal/Medium monster Breathing/Medium monster Breathing 1.wav differ diff --git a/sounds/weapons/zaal/Medium monster Breathing/Medium monster Breathing 2.wav b/sounds/weapons/zaal/Medium monster Breathing/Medium monster Breathing 2.wav new file mode 100644 index 000000000..14fa641b1 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster Breathing/Medium monster Breathing 2.wav differ diff --git a/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 1.wav b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 1.wav new file mode 100644 index 000000000..a91109d16 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 1.wav differ diff --git a/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 2.wav b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 2.wav new file mode 100644 index 000000000..6f4f02246 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 2.wav differ diff --git a/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 3.wav b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 3.wav new file mode 100644 index 000000000..c0185a9bf Binary files /dev/null and b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 3.wav differ diff --git a/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 4.wav b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 4.wav new file mode 100644 index 000000000..b0eab2991 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 4.wav differ diff --git a/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 5.wav b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 5.wav new file mode 100644 index 000000000..87f6a6d17 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster Growls/Medium monster Growls 5.wav differ diff --git a/sounds/weapons/zaal/Medium monster attack/Medium monster attack 1.wav b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 1.wav new file mode 100644 index 000000000..845a00863 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 1.wav differ diff --git a/sounds/weapons/zaal/Medium monster attack/Medium monster attack 2.wav b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 2.wav new file mode 100644 index 000000000..33b1d0c1d Binary files /dev/null and b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 2.wav differ diff --git a/sounds/weapons/zaal/Medium monster attack/Medium monster attack 3.wav b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 3.wav new file mode 100644 index 000000000..8578ea344 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 3.wav differ diff --git a/sounds/weapons/zaal/Medium monster attack/Medium monster attack 4.wav b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 4.wav new file mode 100644 index 000000000..6bb4c5d23 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 4.wav differ diff --git a/sounds/weapons/zaal/Medium monster attack/Medium monster attack 5.wav b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 5.wav new file mode 100644 index 000000000..210f37a6c Binary files /dev/null and b/sounds/weapons/zaal/Medium monster attack/Medium monster attack 5.wav differ diff --git a/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 1.wav b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 1.wav new file mode 100644 index 000000000..f044f93a4 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 1.wav differ diff --git a/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 2.wav b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 2.wav new file mode 100644 index 000000000..fe5d08f11 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 2.wav differ diff --git a/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 3.wav b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 3.wav new file mode 100644 index 000000000..d1f07087d Binary files /dev/null and b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 3.wav differ diff --git a/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 4.wav b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 4.wav new file mode 100644 index 000000000..afae2e678 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 4.wav differ diff --git a/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 5.wav b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 5.wav new file mode 100644 index 000000000..2f10c0e37 Binary files /dev/null and b/sounds/weapons/zaal/Medium monster footsteps/Medium monster footsteps 5.wav differ diff --git a/sounds/weapons/zaal/Medium monster laugh/Medium monster laugh 1.wav b/sounds/weapons/zaal/Medium monster laugh/Medium monster laugh 1.wav new file mode 100644 index 000000000..518f58f6f Binary files /dev/null and b/sounds/weapons/zaal/Medium monster laugh/Medium monster laugh 1.wav differ diff --git a/sounds/weapons/zaal/Medium monster laugh/Medium monster laugh 2.wav b/sounds/weapons/zaal/Medium monster laugh/Medium monster laugh 2.wav new file mode 100644 index 000000000..1d8af910c Binary files /dev/null and b/sounds/weapons/zaal/Medium monster laugh/Medium monster laugh 2.wav differ diff --git a/sounds/weapons/zaal/Small monster Breathing/Small monster Breathing 1.wav b/sounds/weapons/zaal/Small monster Breathing/Small monster Breathing 1.wav new file mode 100644 index 000000000..d905faf66 Binary files /dev/null and b/sounds/weapons/zaal/Small monster Breathing/Small monster Breathing 1.wav differ diff --git a/sounds/weapons/zaal/Small monster Breathing/Small monster Breathing 2.wav b/sounds/weapons/zaal/Small monster Breathing/Small monster Breathing 2.wav new file mode 100644 index 000000000..6bf9521f8 Binary files /dev/null and b/sounds/weapons/zaal/Small monster Breathing/Small monster Breathing 2.wav differ diff --git a/sounds/weapons/zaal/Small monster Growls/Small monster Growls 1.wav b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 1.wav new file mode 100644 index 000000000..d3a8c9c36 Binary files /dev/null and b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 1.wav differ diff --git a/sounds/weapons/zaal/Small monster Growls/Small monster Growls 2.wav b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 2.wav new file mode 100644 index 000000000..229a81fc6 Binary files /dev/null and b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 2.wav differ diff --git a/sounds/weapons/zaal/Small monster Growls/Small monster Growls 3.wav b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 3.wav new file mode 100644 index 000000000..6c4373073 Binary files /dev/null and b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 3.wav differ diff --git a/sounds/weapons/zaal/Small monster Growls/Small monster Growls 4.wav b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 4.wav new file mode 100644 index 000000000..3df5ca3fe Binary files /dev/null and b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 4.wav differ diff --git a/sounds/weapons/zaal/Small monster Growls/Small monster Growls 5.wav b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 5.wav new file mode 100644 index 000000000..6569c5997 Binary files /dev/null and b/sounds/weapons/zaal/Small monster Growls/Small monster Growls 5.wav differ diff --git a/sounds/weapons/zaal/Small monster attack/Small monster attack 1.wav b/sounds/weapons/zaal/Small monster attack/Small monster attack 1.wav new file mode 100644 index 000000000..ef9f55ab5 Binary files /dev/null and b/sounds/weapons/zaal/Small monster attack/Small monster attack 1.wav differ diff --git a/sounds/weapons/zaal/Small monster attack/Small monster attack 2.wav b/sounds/weapons/zaal/Small monster attack/Small monster attack 2.wav new file mode 100644 index 000000000..f5617f080 Binary files /dev/null and b/sounds/weapons/zaal/Small monster attack/Small monster attack 2.wav differ diff --git a/sounds/weapons/zaal/Small monster attack/Small monster attack 3.wav b/sounds/weapons/zaal/Small monster attack/Small monster attack 3.wav new file mode 100644 index 000000000..001f5d389 Binary files /dev/null and b/sounds/weapons/zaal/Small monster attack/Small monster attack 3.wav differ diff --git a/sounds/weapons/zaal/Small monster attack/Small monster attack 4.wav b/sounds/weapons/zaal/Small monster attack/Small monster attack 4.wav new file mode 100644 index 000000000..d945f6a00 Binary files /dev/null and b/sounds/weapons/zaal/Small monster attack/Small monster attack 4.wav differ diff --git a/sounds/weapons/zaal/Small monster attack/Small monster attack 5.wav b/sounds/weapons/zaal/Small monster attack/Small monster attack 5.wav new file mode 100644 index 000000000..0bf628494 Binary files /dev/null and b/sounds/weapons/zaal/Small monster attack/Small monster attack 5.wav differ diff --git a/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 1.wav b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 1.wav new file mode 100644 index 000000000..fa635ebbc Binary files /dev/null and b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 1.wav differ diff --git a/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 2.wav b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 2.wav new file mode 100644 index 000000000..054001a9e Binary files /dev/null and b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 2.wav differ diff --git a/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 3.wav b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 3.wav new file mode 100644 index 000000000..93d089bd3 Binary files /dev/null and b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 3.wav differ diff --git a/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 4.wav b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 4.wav new file mode 100644 index 000000000..2236af627 Binary files /dev/null and b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 4.wav differ diff --git a/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 5.wav b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 5.wav new file mode 100644 index 000000000..eb322f2c5 Binary files /dev/null and b/sounds/weapons/zaal/Small monster footsteps/Small monster footsteps 5.wav differ diff --git a/sounds/weapons/zaal/Small monster laugh/Small monster laugh 1.wav b/sounds/weapons/zaal/Small monster laugh/Small monster laugh 1.wav new file mode 100644 index 000000000..a61f7f5e6 Binary files /dev/null and b/sounds/weapons/zaal/Small monster laugh/Small monster laugh 1.wav differ diff --git a/sounds/weapons/zaal/Small monster laugh/Small monster laugh 2.wav b/sounds/weapons/zaal/Small monster laugh/Small monster laugh 2.wav new file mode 100644 index 000000000..afdb9f5d0 Binary files /dev/null and b/sounds/weapons/zaal/Small monster laugh/Small monster laugh 2.wav differ diff --git a/sounds/weapons/zaal/large monster Breathing/large monster Breathing 1.wav b/sounds/weapons/zaal/large monster Breathing/large monster Breathing 1.wav new file mode 100644 index 000000000..687a2a6c6 Binary files /dev/null and b/sounds/weapons/zaal/large monster Breathing/large monster Breathing 1.wav differ diff --git a/sounds/weapons/zaal/large monster Breathing/large monster Breathing 2.wav b/sounds/weapons/zaal/large monster Breathing/large monster Breathing 2.wav new file mode 100644 index 000000000..a6164c6c0 Binary files /dev/null and b/sounds/weapons/zaal/large monster Breathing/large monster Breathing 2.wav differ diff --git a/sounds/weapons/zaal/large monster attack/large monster attack 1.wav b/sounds/weapons/zaal/large monster attack/large monster attack 1.wav new file mode 100644 index 000000000..0f6e0a8fb Binary files /dev/null and b/sounds/weapons/zaal/large monster attack/large monster attack 1.wav differ diff --git a/sounds/weapons/zaal/large monster attack/large monster attack 2.wav b/sounds/weapons/zaal/large monster attack/large monster attack 2.wav new file mode 100644 index 000000000..04de72826 Binary files /dev/null and b/sounds/weapons/zaal/large monster attack/large monster attack 2.wav differ diff --git a/sounds/weapons/zaal/large monster attack/large monster attack 3.wav b/sounds/weapons/zaal/large monster attack/large monster attack 3.wav new file mode 100644 index 000000000..384b1d3f6 Binary files /dev/null and b/sounds/weapons/zaal/large monster attack/large monster attack 3.wav differ diff --git a/sounds/weapons/zaal/large monster attack/large monster attack 4.wav b/sounds/weapons/zaal/large monster attack/large monster attack 4.wav new file mode 100644 index 000000000..950e1ad47 Binary files /dev/null and b/sounds/weapons/zaal/large monster attack/large monster attack 4.wav differ diff --git a/sounds/weapons/zaal/large monster attack/large monster attack 5.wav b/sounds/weapons/zaal/large monster attack/large monster attack 5.wav new file mode 100644 index 000000000..104bd93f2 Binary files /dev/null and b/sounds/weapons/zaal/large monster attack/large monster attack 5.wav differ diff --git a/sounds/weapons/zaal/large monster footsteps/large monster footsteps 1.wav b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 1.wav new file mode 100644 index 000000000..7b69e8acf Binary files /dev/null and b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 1.wav differ diff --git a/sounds/weapons/zaal/large monster footsteps/large monster footsteps 2.wav b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 2.wav new file mode 100644 index 000000000..d78ba01e5 Binary files /dev/null and b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 2.wav differ diff --git a/sounds/weapons/zaal/large monster footsteps/large monster footsteps 3.wav b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 3.wav new file mode 100644 index 000000000..e51346e6c Binary files /dev/null and b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 3.wav differ diff --git a/sounds/weapons/zaal/large monster footsteps/large monster footsteps 4.wav b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 4.wav new file mode 100644 index 000000000..1d05eee91 Binary files /dev/null and b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 4.wav differ diff --git a/sounds/weapons/zaal/large monster footsteps/large monster footsteps 5.wav b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 5.wav new file mode 100644 index 000000000..6b2cbe342 Binary files /dev/null and b/sounds/weapons/zaal/large monster footsteps/large monster footsteps 5.wav differ diff --git a/sounds/weapons/zaal/large monster laugh/large monster laugh 1.wav b/sounds/weapons/zaal/large monster laugh/large monster laugh 1.wav new file mode 100644 index 000000000..97db78e63 Binary files /dev/null and b/sounds/weapons/zaal/large monster laugh/large monster laugh 1.wav differ diff --git a/sounds/weapons/zaal/large monster laugh/large monster laugh 2.wav b/sounds/weapons/zaal/large monster laugh/large monster laugh 2.wav new file mode 100644 index 000000000..cc080e4c1 Binary files /dev/null and b/sounds/weapons/zaal/large monster laugh/large monster laugh 2.wav differ diff --git a/unitpics/lootboxbronze.png b/unitpics/lootboxbronze.png new file mode 100644 index 000000000..201b107d0 Binary files /dev/null and b/unitpics/lootboxbronze.png differ diff --git a/unitpics/lootboxgold.png b/unitpics/lootboxgold.png new file mode 100644 index 000000000..201b107d0 Binary files /dev/null and b/unitpics/lootboxgold.png differ diff --git a/unitpics/lootboxplatinum.png b/unitpics/lootboxplatinum.png new file mode 100644 index 000000000..201b107d0 Binary files /dev/null and b/unitpics/lootboxplatinum.png differ diff --git a/unitpics/lootboxsilver.png b/unitpics/lootboxsilver.png new file mode 100644 index 000000000..201b107d0 Binary files /dev/null and b/unitpics/lootboxsilver.png differ diff --git a/unitpics/lozcommander.png b/unitpics/lozcommander.png new file mode 100644 index 000000000..2df811a34 Binary files /dev/null and b/unitpics/lozcommander.png differ diff --git a/unitpics/lozengineer.png b/unitpics/lozengineer.png new file mode 100644 index 000000000..bcd02cc63 Binary files /dev/null and b/unitpics/lozengineer.png differ diff --git a/unitpics/unitpics with backgrounds/eairplant.png b/unitpics/unitpics with backgrounds/eairplant.png deleted file mode 100644 index 876f3c309..000000000 Binary files a/unitpics/unitpics with backgrounds/eairplant.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/eamphibfac.png b/unitpics/unitpics with backgrounds/eamphibfac.png deleted file mode 100644 index a412e0ebf..000000000 Binary files a/unitpics/unitpics with backgrounds/eamphibfac.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/eartyturret.png b/unitpics/unitpics with backgrounds/eartyturret.png deleted file mode 100644 index f37c5f4b2..000000000 Binary files a/unitpics/unitpics with backgrounds/eartyturret.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/ebasefactory.png b/unitpics/unitpics with backgrounds/ebasefactory.png deleted file mode 100644 index 0a28448df..000000000 Binary files a/unitpics/unitpics with backgrounds/ebasefactory.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/ecommander.png b/unitpics/unitpics with backgrounds/ecommander.png deleted file mode 100644 index e2d5228b7..000000000 Binary files a/unitpics/unitpics with backgrounds/ecommander.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/efusion2.png b/unitpics/unitpics with backgrounds/efusion2.png deleted file mode 100644 index 590ac23a6..000000000 Binary files a/unitpics/unitpics with backgrounds/efusion2.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/egeothermal.png b/unitpics/unitpics with backgrounds/egeothermal.png deleted file mode 100644 index a7972995d..000000000 Binary files a/unitpics/unitpics with backgrounds/egeothermal.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/eheavyturret2.png b/unitpics/unitpics with backgrounds/eheavyturret2.png deleted file mode 100644 index 343a654f9..000000000 Binary files a/unitpics/unitpics with backgrounds/eheavyturret2.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/ejammer2.png b/unitpics/unitpics with backgrounds/ejammer2.png deleted file mode 100644 index 4971f2b7a..000000000 Binary files a/unitpics/unitpics with backgrounds/ejammer2.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/ekmar.png b/unitpics/unitpics with backgrounds/ekmar.png deleted file mode 100644 index 69779aa88..000000000 Binary files a/unitpics/unitpics with backgrounds/ekmar.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/elightturret2.png b/unitpics/unitpics with backgrounds/elightturret2.png deleted file mode 100644 index 77d6a1345..000000000 Binary files a/unitpics/unitpics with backgrounds/elightturret2.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/emine.png b/unitpics/unitpics with backgrounds/emine.png deleted file mode 100644 index 85ba3a153..000000000 Binary files a/unitpics/unitpics with backgrounds/emine.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/eminifac.png b/unitpics/unitpics with backgrounds/eminifac.png deleted file mode 100644 index 68654146f..000000000 Binary files a/unitpics/unitpics with backgrounds/eminifac.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/eorb.png b/unitpics/unitpics with backgrounds/eorb.png deleted file mode 100644 index 9abe8cb6e..000000000 Binary files a/unitpics/unitpics with backgrounds/eorb.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/eradar2.png b/unitpics/unitpics with backgrounds/eradar2.png deleted file mode 100644 index 905a63dc8..000000000 Binary files a/unitpics/unitpics with backgrounds/eradar2.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/eshieldgen.png b/unitpics/unitpics with backgrounds/eshieldgen.png deleted file mode 100644 index 0d2463c93..000000000 Binary files a/unitpics/unitpics with backgrounds/eshieldgen.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/esilo.png b/unitpics/unitpics with backgrounds/esilo.png deleted file mode 100644 index 35a98efd9..000000000 Binary files a/unitpics/unitpics with backgrounds/esilo.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/estorage.png b/unitpics/unitpics with backgrounds/estorage.png deleted file mode 100644 index ae6e1c604..000000000 Binary files a/unitpics/unitpics with backgrounds/estorage.png and /dev/null differ diff --git a/unitpics/unitpics with backgrounds/euwturret.png b/unitpics/unitpics with backgrounds/euwturret.png deleted file mode 100644 index 7ba6899f1..000000000 Binary files a/unitpics/unitpics with backgrounds/euwturret.png and /dev/null differ