Jump to content

DragonFF - Blender GTA I/O


Recommended Posts

Maxwell_Edison
10 hours ago, Neos7 said:

maybe it's a limit of blender API?

Not sure, though I don't know why 90% of the models would open and just random ones wouldn't

 

Also, sadly, for the RenderWare game I'm trying to use the bones don't save correctly and the animations T-Pose.  Oof

6 hours ago, Kingbing said:

I still get the same error message when exporting. 

AttributeError: 'Object' object has no attribute 'select_get'

 

Anyone know what this means?

 

I'm yet to fix this, but you can't use "Selection Only" option during export in Blender 2.79 at the moment. Either uncheck that option, or use Blender 2.8.

  • 3 weeks later...

I get these errors in blender 2.8 when exporting an object:

unknown.png

 

I even get these errors when I literally solely import something and then try to export it again.

 

When I use this script on 2.79 and export all my .dff's are empty files.

 

How do I solve this issue?

11 hours ago, Stefhan said:

I even get these errors when I literally solely import something and then try to export it again.

Interesting errors. It is possible that the API was changed a bit in the newer git version, and so the tool will need to be updated for that.

 

11 hours ago, Stefhan said:

When I use this script on 2.79 and export all my .dff's are empty files.

Do you mind sending me the models that you tried exporting so that I can investigate further on this issue?

10 hours ago, Parik said:

Interesting errors. It is possible that the API was changed a bit in the newer git version, and so the tool will need to be updated for that.

 

Do you mind sending me the models that you tried exporting so that I can investigate further on this issue?

I hope the tool will be updated soon. Really appreciate the addon you've made but unfortunately it's not working so far.

The model I tried to export is the LSPD hq "policest02_lan.dff" and "lanbloke.txd". I'd send these files but I have no idea how to on these forums. I did friend request you on Discord though. But you can find both these files in gta3.img.

 

Basically I wanted to remove the black box behind the doorway on that object but it won't let me export. I specifically want to do it in blender 2.8 because apparently the vortex colours don't mess up in your addon (unlike gtatools) but I can't seem to get your addon to work.

 

1 hour ago, Stefhan said:

I hope the tool will be updated soon. Really appreciate the addon you've made but unfortunately it's not working so far.

The model I tried to export is the LSPD hq "policest02_lan.dff" and "lanbloke.txd". I'd send these files but I have no idea how to on these forums. I did friend request you on Discord though. But you can find both these files in gta3.img.

 

Basically I wanted to remove the black box behind the doorway on that object but it won't let me export. I specifically want to do it in blender 2.8 because apparently the vortex colours don't mess up in your addon (unlike gtatools) but I can't seem to get your addon to work.

 

Must've been removed in a newer nightly build of Blender, but it seems to be fine with the Beta version. I've updated it on GitHub and it should work now, although I haven't tested it.


I must have overlooked your friend request on Discord, so if you can you'll have to send one again.

58 minutes ago, another0ne said:

I also have this problem when I'm trying to export model. I'm using the latest 2.8 build.

Thank you for the report, this error in the latest 2.8 build has been fixed in the newest commit on the GitHub repository.

another0ne
1 hour ago, Parik said:

Thank you for the report, this error in the latest 2.8 build has been fixed in the newest commit on the GitHub repository.

so yes, it's fixed now. But exported dff doesn't good. Map editor not showing it, and San Andreas crashes on load.

QBL4Hcj.png

On 5/24/2019 at 10:31 PM, another0ne said:

so yes, it's fixed now. But exported dff doesn't good. Map editor not showing it, and San Andreas crashes on load.

QBL4Hcj.png

This is the old problem of this script, I paired with one person wrote a report on the GitHub repository. If you want, you can support us to correct this error.

On 5/24/2019 at 10:45 PM, another0ne said:

Sorry, but as I'm a new user I can't edit my posts.

Maybe you have a tutorial - how to properly export model?

Soon we will record a video lesson with one of the most popular Ukrainian modelers. (But it will be focused on the Russian community).
Later, I will write a text article on this topic in English.

HorseGlass

Can somebody help? I have a problem. If I make a model and i want to replace it in MTA:SA my game just crashes.

 

model = engineLoadDFF("gasstation.dff")
engineReplaceModel(model, 5409)

This is my replace code


Here is my crash info

(I use Blender 2.79b)

HorseGlass
Quote

Can somebody help? I have a problem. If I make a model and i want to replace it in MTA:SA my game just crashes.

 


model = engineLoadDFF("gasstation.dff")
engineReplaceModel(model, 5409)

This is my replace code


Here is my crash info

(I use Blender 2.79b)

I solved it by upgrading to 2.80 beta. But one other question. How can I make a .coll file to it?

On 6/9/2019 at 4:38 PM, HorseGlass said:

How can I make a .coll file to it? 

Coll export is not completed in DragonFF yet, you can try to use Collision File Editor II by steve-m

 

On 6/1/2019 at 5:19 PM, Estet said:

Do not tell me which unit to choose in the program for comfortable simulation for playing GTA?

meters?

Edited by Parik
11 hours ago, HorseGlass said:
Any idea why my model is black. I am using Magic.TXD but in MTA:SA its black. Can Someone explain how materials work in DragonFF?

 

The only reason I can think of is that the model is not properly UV Mapped. This is an example of a properly UV Mapped object (look to the left of the screen in the screenshot). If it is blank in your model, or is merely a point, it can show black if your texture is mostly black as well.

 

Check this page to see how materials work in DragonFF.

 

When exporting, I do everything correctly, the game is still a white model. I think that this is a bug, I made a road and separate borders, put textures on them, then I combined them. This may be the cause.

Game:
Screen #1

 

Blender3D:

Screen #2

Edited by Estet
2 hours ago, t1tch said:

What do I do wrong?

I create a random object and when i export the file as dff and i import the dff file always shows one cube. :/

Please help me

You're supposed to "Apply Scale" (Press Ctrl+A, then click on Scale. or go to Object > Apply > Scale on the top of the viewport.) or scale in the edit mode.

 

2 hours ago, Estet said:

When exporting, I do everything correctly, the game is still a white model. I think that this is a bug, I made a road and separate borders, put textures on them, then I combined them. This may be the cause.

Game:
Screen #1

 

Blender3D:

Screen #2

Could you send me the .blend file for that? Thanks.

Edited by Parik
9 hours ago, Parik said:

You're supposed to "Apply Scale" (Press Ctrl+A, then click on Scale. or go to Object > Apply > Scale on the top of the viewport.) or scale in the edit mode.

 

Could you send me the .blend file for that? Thanks.

ZIP file

Yesterday I modeled one huge location for one mod, and an error occurred. I realized that this was due to the huge size of the object, is it possible to solve this problem in a script, so that when a model is large, an error and a warning for a person is displayed so that it cuts it?

This is a continuation of the previous problem with the display of textures on the object in the game. I spent the experience, made a regular cube with textures and the game still does not display textures. My guess is that this may be an update to the Blender program until the last build on June 10, 2019 on the official website of the program.

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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.