Jump to content

3Ds Max & Kam's script


Catalyst

Recommended Posts

**Sorry if it's in the wrong section**

Hello, I have been having difficulty with Kam's script for Autodesk 3Ds Max* I have been using 3Ds couple of months now and now that I know most of its functionality, I have been attempting to import models into MTA. The issue I have incurred was texturing; from tutorials I know I need to use GTA Material with bitmap texture. Now after all is done correctly (according to that tutorial) it should work but when I game the texture is gray† and using shader_tex_names it comes up as unnamed. This would explain the problem with TXD not loading, as GTA will not be able to apply the TXD material into a face with no specified name I have no idea what I am doing wrong that this does not work. If there is anyone able to help, please do.

Another issues I came across was concerned with collisions. I tried editing one default GTA model into a different building, did everything as should be and then the collisions came up in random places (not so random actually, as most walls were correct, but some had like 5 metre extensions outside making it impossible to move from one place to another. This issue is more trivial and it only happened to me one or twice, and one from models imported from Trimble Sketchup 2014 into 3Ds Max and then into MTA.

Thanks in advance to anyone willing to help, i appreciate taking notice, and have a good day.

* Autodesk 3Ds Max 2016 edition.

† I will add a screenshot of necessary, can't right now cause I'm typing from my iPhone.

Link to comment

For your first issue, when a texture can't be found by the game, it usually displays as white (on an object, ped or vehicle at least), not grey. Make sure you assigned the material to a part of the model itself. You also have to make sure the names match up in 3DS and the .txd file (don't call a certain material 'x' in 3DS and import the texture as 'y' into the .txd file).

For your second issue, you need to use CollEditor2 when exporting a collision file. First export your .col from 3DS, then into CollEditor2. Export it from there and use that final exported version in MTA.

I haven't used 3DS Max in a while, but I hope what I can remember has helped. Oh, the newer versions of Max tend to have issues with KAMS scripts. If you experience any more problems, you're better off going to a version like 2009, 2010 or 2012. I've seen the least issues stem from those 3 versions.

Link to comment

Okay I found the issue I had with textures.

The material must have the exact same name as the texture (excluding file type extension)

With the collisions I tend to remove most redundant geometry to make it in as least faces as possible, greatly reducing the risk of failure.

I hope this will help others who incur such problems as well.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...