Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/12/22 in all areas

  1. Introduction: Blender is an open-sourced piece of software which provides various of features that are available through different of 3D tools, attempting to offer a componation of different applications like zBrush, Maya, 3dsmax and Substance Painter, from modelling (obviously), sculpting, animations to texture painting, in this tutorial, we are going to introduce you to the basics of Blender and prepair you to be able produce 3D models that can be used in MTA:SA and RenderWare GTA games (3D franchise), we will use a plugin called "DragonFF" for this tutorial so any pre-2.8 versions of Blender will not be compatible with this topic. We may update this topic regularly to cover newer features of the plugin. Q&A What can Blender do using DragonFF? - Export and Import DFF (vehicle, skin & object) meshes including vertex painting, UV (multiple) maps, materials, material effects (Environment - UV Animation). - Export and Import COL collision meshes (vehicle, skin & object). - Import map files (ipl/ide). (More features available here) Can blender do animations? Yes, but no, as DragonFF plugin doesn't support pre-2.8 Blender versions but you could use this for < 2.8 versions of Blender. Downloading Blender: - Head to https://www.blender.org/ and press "Download Blender". - Choose your operating system and make sure you are downloading the latest version. Before you continue (do not skip this part if you have barely any skills about Blender or 3D modelling). It is highly advised to watch the following video multiple of times in order to get a brief idea about the controls and what will be used, it is recommended to watch the first 3 parts of the tutorial. Installation of DragonFF: 1. Head to https://github.com/Parik27/DragonFF. 2. Click the green "Code" button and click "Download". 3. Open Blender, click anywhere to hide the splash screen. 4. Head to Edit > Preferences. 5. Click "Add-ons" then at the top-right "Install". 6. Locate the downloaded .zip file and click "Install Add-on". 7. Tick/Activate the plugin (use the search box). In order to make sure that the plugin is installed and activated successfully head to "File" > "Import" and check if "DragonFF DFF" is available as an option. Blender Controls There is a lot of controls in Blender and it is mandatory to learn at least the following: Camera Navigation: - Scroll Up/Down: Zoom In/out. - Scroll Button: Rotate view. - Scroll + Shift: Pan. - . (dot in Numpad): teleport to selected object/mesh. Selection: - Left Mouse Button: Selects an object/vertex/line/face. - Right Mouse Button: Opens the context menu. Toggling: - Tab: Toggle between Edit and Object Mode. Different behaviors between Edit and Object Mode: (with a combonation of X, Y and Z, you could move/scale/rotate in the desired axis.) - G: Move the selected object/mesh. - S: Scale the selected object/mesh. - R: Rotate the selected object/mesh. these are also available through the bar on the left: - Z: toggle between Solid, Rendered, Wireframe and Material Preview modes. Working with Models for MTA 1. Let's start with making our model, you can just use the default cube as a starting point, I have made this house for this tutorial. 2. Now let's do some pre-lighting, vertex painting is a technique used in game models to manipulate lighting in meshes, we will use the vertex painting interaction mode in Blender. (this is an example of bad Vertex Painting). - Head to interaction mode selection combobox, selected Vertex Paint. - go to "Paint" tab > Dirty Vertex Color. - Make sure to add "2" color Attribute for day & night prelight via the object data properties, work on both. - If there are bright areas in the model, try using a black brush and start painting the model. 3. Exporting the model to MTA. - Head to Object Properties > DragonFF - Export Object and make sure to be on "Object" mode. - go to File > Export > DragonFF > select .dff (make sure to name your model and choose a path, otherwise it's going to show you an error and export a corrupted model.) (If your model looks different than what it looks in the viewport, then make sure to apply the object transforms). Exporting the collision I highly recommend you to export the object and import it back as the current option will export it 1:1 (1 by 1), even if the mesh is simple the game's engine is not optimised to handle large amounts of collision meshes, collisions are meant to be extremely simple, this is a well known mistake made by modellers within the community that causes crashes and lag even with high-end PCs. - Head to Object Properties & Select "Collision Object" as the export type. - as a final step, it is highly recommended to import the mesh into Col Editor before importing it to the game, col editor will adjust the bounding box and optimise certain aspects of the collision mesh. - Edit > Add > Select the collsion model > right click the collsion mesh and click "Optimize". - To export the mesh head to FIle > Save As. Importing game assets Extracting the game assets can be useful to modify the game assets to your liking. Head to the following topic and read through the Extracting game assets section. - I highly recommend you to make a shared folder to include .png textures and model assets to be able to import the textures automatically into Blender. - Head to File > Import > DFF > Select the file (make sure the .png textures are in the same folder). (To check if you have sucessfully imported the texutres, hold Z & hover over "Material Preview") Changing Object Material/Texture - Go to the "Shading" tab, down below (by the default layout, zoom into the material tab). - - By default, DragonFF creates a "texture" node, you could simply click the folder image to replace the image. (You could rename the image texture to the current one "semi2Dirty.PNG" to match the name on the texture file) - If the texture looks "streched" then you need to adjust the UV wrapping. - Export the model (follow the steps above within the "Working with Models for MTA). - Now you need to update the texture file (TXD), to look up for the right TXD file, you could to search it through prindeside.com. - Enter the Model ID/Name and click search. - Click the model picture, expand & press Details. - The TXD file name should be under Files > TXD. - Find the TXD file within your game assets folder (or export it via gta3.img/other img container files using alic's img tool). - Open the TXD file using Magic.TXD > find & select the texture > replace > select the same image you used in Blender. - Change the "Texture Name" to match the name on texture node. - For Raster Format it's recommend to use DX3/DX4/DX5 for textures with an alpha channel (images with transparency as DX1 does not support transparency). - Press Replace > File > Save. - Replace both of the model & texture files in-game to apply the new changes. UV Wrapping - Switch to the UV Editing tab & switch to Edit Mode (Press Tab). - Select the faces you want to adjust and adjust accordingly to your desire. - Controls (you can use the following binds or the buttons on your left): A: Select all. S: Scale. G: Move. R: Rotate. - Watch the following video for more details: https://www.youtube.com/watch?v=Y7M-B6xnaEM
    2 points
  2. (I have moved your post to the right section)
    1 point
  3. You only got 2 bans.. 1 for using an abuse macro tool (don't be trying to play in unfair ways..) and the second one for trying to serial change in order to evade the first ban. Everything that happened is your own fault, stop this bs and be a normal player. It's that simple. Temporary bans cant be appealed
    0 points
  4. If your MTA crashes on startup or during the game, then first of all you should visit the list of known crash types (link) and search for a match with the crash offset from your crash dialog (example: "Offset = 0x003F0BF7" > copy and search for 0x003F0BF7). Incase your particular crash is listed in the table, the reason for said crash and resolution info is provided on that page, right behind the crash offset. Note: most people will think "oh, nah, probably not relevant to me", but crashes with known reasons that are listed, together make up 85% of all MTA crashes globally, and most support is requested for clarified crashes. So for the sake of getting a faster fix, we recommend really taking this step. If your crash isn't listed, then download and run MTADiag and follow the instructions. If MTADiag will not run for you, download & install Visual C++ 2017 runtimes (using this link, download automatically starts) Then create a topic in this section (Client support) and post any Pastebin URL MTADiag gives you in there. If for some reason MTADiag does not function, do the following before creating a new topic: Install the latest patch of MTA:SA Install the latest DirectX runtime by keeping this option to automatically install it, enabled in the MTA installer selection. If installing those does not fix the problem, try: Delete the gta_sa.set file located in the GTA San Andreas User Files in your Documents folder/library (Windows Vista and 7 users) or My Documents directory (Windows XP users) Check in your GTA San Andreas installation directory for a D3D9.dll. If one is present, delete it. Ensure that your GTA San Andreas installation is not modded in any way. If it is - please uninstall, then reinstall GTA San Andreas first before installing MTA: San Andreas. While MTA can cope well with most mods, this will exclude the chance some funky mod is causing problems without a long troubleshooting process to determine which specific mod the culprit is. Please note that the more (type of) SA mods you have, the higher the risk for stability issues; MTA has a high tolerance for things it's not designed to be compatible with, but it has its limits. We cannot guarantee support if you're using a modded installation while running into problems. Also include any error messages that may appear when your MTA:SA crashes; either copy and paste of the crash log or a screenshot is fine. Thank you! Note: If you want to read more about MTADiag or report issues while using this tool, go here: https://forum.multitheftauto.com/topic/32071-mtadiag-diagnostic-tool-for-mtasa/
    0 points
×
×
  • Create New...