Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/09/21 in all areas

  1. Hello, I'd like to show off a project I've been working on: SA2MTA. It's a script that allows you to convert San Andreas map mods (or the vanilla map, if you really wanted to), to an MTA resource. Here's the map of SanVice running inside of MTA: Right now it's pretty basic, and not all properties are adapted yet. Some issues I know how to resolve, but with some other problems I will need your help. If you're experienced with how GTA San Andreas works, and you think you can help me with the things below, preferably from the "Things I need help with" section, I'd be thankful. Your work will be credited by me. If you want to help me, you can post below, but I would really prefer you add me on Discord: FierBot i5#3550 By helping out, you agree that any help or work you provide falls under the MIT license of this software (see below). To-do Sorted by importance. Things I need help with: - Place collisions (where are the positions of collisions defined within the game files?) - DONE? Thanks to @Tut! - Extract DFF and TXD files from IMG archives from within the script (need commandline utility) Things I think I have figured out: - Convert quaternion rotations to euler - DONE! - Implement LODs - On-the-fly model and texture loading, to overload streaming memory less License Copyright 2021 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Download, view git
    1 point
  2. @The_GTA Thank you! I have actually used your tool a few years ago, and it was great. Your tool is unique, because it can still port between different engine revisions, which is not something I'm looking to do with this tool. And no worries, not looking to distribute any Rockstar owned files in the tool itself, the videos I post are just demonstrations.
    1 point
  3. I have just used KawaNoII's useful quaternion functions to implement this, see the git commit. The rotations work now! I assume the collision archives end with .col? I will look into it, thank you.
    1 point
  4. Welcome to the forums. Moving this into a better section for you
    1 point
  5. addEventHandler( "onPlayerDamage", root, function (attacker, damage, bodypart, loss) if getElementHealth(source) - loss < 80 then --Calcula se o player ficará com menos de 80 de vida com o dano. Se sim, já retira o dinheiro. takePlayerMoney( source, 100 ) --Tira 100 de dinheiro de quem sofreu dano end end) Corrigi algumas coisinhas e diminui um pouco o código.
    1 point
×
×
  • Create New...