BFMDT 2.76 www.bfmods.com Development Thread
Re: BFMDT 2.76 www.bfmods.com Developement Thread
I'm using 3ds Max 2014 on Windows 8 Pro, will it work with the MDT 2.762?
EDIT: Confirmed! It is not working under 3ds Max 2014, on Windows 8 Pro.
EDIT: Confirmed! It is not working under 3ds Max 2014, on Windows 8 Pro.
Regards,
Skull Kid
Skull Kid
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: BFMDT 2.76 www.bfmods.com Developement Thread
It may help if you provide the specific error that comes up when it fails. Also, which parts of it fail? Does the entire script set fail to work or just certain functions like import/export of SM files for example?
I have cameras in your head!
Re: BFMDT 2.76 www.bfmods.com Developement Thread
Unless it's very small issues, I doubt I'll get to put considerable amount of work in the BFMDT anytime soon. There still is some critical bugs in the Max12/13 version like the 10+ Materials FUBAR that I haven't tracked down yet.
So yeah, I'll only even consider expanding compatibility if you consider my requests made for useful bug reports in the first post of this thread (Error message, MaxScript Listener output etc.). I'm swamped in work at the least until Mid-July.
So yeah, I'll only even consider expanding compatibility if you consider my requests made for useful bug reports in the first post of this thread (Error message, MaxScript Listener output etc.). I'm swamped in work at the least until Mid-July.
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: BFMDT 2.76 www.bfmods.com Developement Thread
By the way, have you been able to track down where in the script how it determines what the "internal" material names are? As in the material names stored in the SM file it self. It seems to always be filename + Material0 and so on.
I've managed to modify the older rexman scripts so that it only outputs file name as the material name + the material number. So if I export a file called "Material" It will have internal material names with "Material0" and so on.
But it still seems to always include the file name in the material name. I want it to instead always use what the material names are in the max scene. It would give me more control over how the material names are stored in the SM file. I noticed in Rallisport Challenge that the naming convention for material names are different and in most cases the file name isn't part of the material names at all especially with the car meshes. I would have liked to replicate that in my Rallisport Challenge mod, but the scripts aren't very forthcoming on that thus far.
I've managed to modify the older rexman scripts so that it only outputs file name as the material name + the material number. So if I export a file called "Material" It will have internal material names with "Material0" and so on.
But it still seems to always include the file name in the material name. I want it to instead always use what the material names are in the max scene. It would give me more control over how the material names are stored in the SM file. I noticed in Rallisport Challenge that the naming convention for material names are different and in most cases the file name isn't part of the material names at all especially with the car meshes. I would have liked to replicate that in my Rallisport Challenge mod, but the scripts aren't very forthcoming on that thus far.
I have cameras in your head!
Re: BFMDT 2.76 www.bfmods.com Developement Thread
The scripts are one of the most horrid pieces of code I have ever worked with...
The material stuff should all be in the RSShader sub scripts. Naming should be "fairly" easy to find, it's just combined strings after all. But I don't know where exactly this'd be right now, sorry.
The material stuff should all be in the RSShader sub scripts. Naming should be "fairly" easy to find, it's just combined strings after all. But I don't know where exactly this'd be right now, sorry.
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: BFMDT 2.76 www.bfmods.com Developement Thread
Yeah I looked through all the scripts relating to SM export and the RS shader, but didn't find nothing that seemed to effect it. I'm starting to think the rexMesh.exe that is doing this or it's the way the scripts interact with this program as I think it's the one responsible for generating the final SM files.
I have cameras in your head!
Re: BFMDT 2.76 www.bfmods.com Developement Thread
Check line 387 of _SM_Export.ms:
tmpName:(prjName + "_Material" + ((matIDList - 1) as string)) \
That's where the material name is compiled. Removing the "prjName + " part should lead to your desired result, I assume.
tmpName:(prjName + "_Material" + ((matIDList - 1) as string)) \
That's where the material name is compiled. Removing the "prjName + " part should lead to your desired result, I assume.
- Apache Thunder
- Posts: 1210
- Joined: Mon Oct 19, 2009 2:48 am
- Location: Levelland Texas, USA
- Contact:
Re: BFMDT 2.76 www.bfmods.com Developement Thread
Yeah that was one string I modified to get only the file name in the internal material name by removing "_Material". But the file name was still used in the internal name (even after removing "prjname" from the command). I could remove the material name and keep the material number as well. But the file name was still being put into the material names in the SM file.
I have cameras in your head!
Re: BFMDT 2.76 www.bfmods.com Developement Thread
Can this be made for gmax?
Re: BFMDT 2.76 www.bfmods.com Development Thread
It can be made, sure. However, the Gmax scriptset is extremely outdated and AFAIK lacks a lot of the regular things the 3ds max version offers. My "updated" version is a complete custom job, so it would have to be manually remade for gmax as well, which is at the very least just as much work. And even my 3ds Max version still has some bugs in Max 12 and 13, sadly.
In short: Yes, but it won't be made by me.
In short: Yes, but it won't be made by me.