Jump to content

DragonFF - Blender GTA I/O


Parik

Recommended Posts

Maxwell_Edison

Sad that this plugin still has a hard time opening some models.  I wonder what the issue is with those models.

Link to comment
Share on other sites

On 4/30/2019 at 8:06 AM, Maxwell_Edison said:

Sad that this plugin still has a hard time opening some models.  I wonder what the issue is with those models.

maybe it's a limit of blender API?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Maxwell_Edison

Then I'm not really sure what you're getting at sorry.

Link to comment
Share on other sites

I still get the same error message when exporting. 

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

 

Anyone know what this means?

Link to comment
Share on other sites

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.

   

 

 

Link to comment
Share on other sites

  • 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?

Link to comment
Share on other sites

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?

   

 

 

Link to comment
Share on other sites

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.

 

Link to comment
Share on other sites

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.

   

 

 

Link to comment
Share on other sites

another0ne

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

eICrG2u.png

Link to comment
Share on other sites

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.

   

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

another0ne

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

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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
   

 

 

Link to comment
Share on other sites

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?
Link to comment
Share on other sites

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.

 

   

 

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

 qpGAH6h.png

 

Link to comment
Share on other sites

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
   

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Hi parik just wanted to say awesome job on making a Blender alternative, only reason why I never got into GTA modding, will be waiting for GTA V support mainly though, but I can help with Blender in general since I use it daily.

 

Cheers.

Link to comment
Share on other sites

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

×
×
  • Create New...

Important Information

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