Basics of exporting from blender to SA-MP
#41

Quote:
Originally Posted by [Twixx]
View Post
Gonna need more info than that, could be anything from broken UV maps to wrongly assigned .txd\'s.
txd names are correct, i checked it. here all good. I think that if problem was with UV maps that texture of model in kdff.exe should have been incorrect (IMO)

Reply
#42

There's your issue. Inconsistent resolutions. They have to be "rounded", i.e. 1024x1024, not 1021x1023.

1000*1000 should be 1024*1024
768*1024 should be 512*1024
1024*1023 should be 1024*1024
912*1024 should be 512*1024
1024*765 should be 1024*512

16, 32, 64, 128, 256, 512, 1024, 2048, 4096, etc are all values that work. You can probably get numbers inbetween but I wouldn't recommend it.
Reply
#43

Hi Kalcor! Can I ask? Are there any functions how to replace the car model? Or add new? And how can I replace some textures ? Thx for the answer) Have a nice day
Reply
#44

Quote:
Originally Posted by kingnazarfx
Посмотреть сообщение
Hi Kalcor! Can I ask? Are there any functions how to replace the car model? Or add new? And how can I replace some textures ? Thx for the answer) Have a nice day
At the moment there is no such function, but I hope that in the future will appear.
Reply
#45

Okay thanks)
Reply
#46

So I tried to experiment and create a sphere dff object, and I was able to do so. Before using kdff, I tested the object in-game and it loaded properly, the game engine were able to work it out. So I continued to the KDFF part, but somewhy it wont let me export an col file.
Код:
C:\Users\griff\Desktop\objects\_server\models>kdff.exe -g mesh -d hilltype1.dff -o hilltype1.col
[error] Unsupported extension: 0x105
[error] Couldn't read the geometry for: hilltype1.dff
https://*********/yw3eBzlJ2-I

Any help is appreciated.
Reply
#47

Quote:
Originally Posted by Meller
Посмотреть сообщение
Код:
C:\Users\griff\Desktop\objects\_server\models>kdff.exe -g mesh -d hilltype1.dff -o hilltype1.col
[error] Unsupported extension: 0x105
[error] Couldn't read the geometry for: hilltype1.dff
Any help is appreciated.
0x105 extension is the Morph Plugin. Maybe your object has Shape Keys that need to be deleted before exporting.
Reply
#48

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
0x105 extension is the Morph Plugin. Maybe your object has Shape Keys that need to be deleted before exporting.
I made a few attempts to re-do everything and follow what you've written, however I still end up with
Код:
Make Col error: 2
I may be doing something terribly wrong at Blender, so well.. here's how I do it:
https://*********/upPGAF4AeFI

I also tried making it all together in 1 object instead of 3, by removing the lamp and the camera, however, it did not fix anything.
Reply
#49

I can't see that video, but you can join multiple objects in to a single mesh in blender by using Ctrl+j.

I don't even understand how you managed to export with the Morph Plugin extension attached.
Reply
#50

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
I can't see that video, but you can join multiple objects in to a single mesh in blender by using Ctrl+j.

I don't even understand how you managed to export with the Morph Plugin extension attached.
Yeah I know I can use CTRL+J but as I tried, it doesn't work with cameras etc.(might be wrong)

I don't really know what Morph are, nor am I aware if I've manually downloaded it as I'm currently using a brand new PC with a brand new install of Blender, here's an updated video without copyright strikes:

https://www.youtube.com/watch?v=Cexn_fmqGhc
Reply
#51

I think when you use File > Export .dff you are using maxorator's blender plugin? It also says export for Vice City.

I only use ponz exporter and its export options are on the Tools menu on the left screen in blender. https://sampforum.blast.hk/files/blender/05_export_cube.mp4
Reply
#52

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
I think when you use File > Export .dff you are using maxorator's blender plugin? It also says export for Vice City.

I only use ponz exporter and its export options are on the Tools menu on the left screen in blender. https://sampforum.blast.hk/files/blender/05_export_cube.mp4
Alright so I tried to install the gtatools you've uploaded using 2.63 and 2.79 and they were both not working. By working I mean, the export functions etc were not implemented when I placed them in addons's folder, nor the user preferances settings. What version were you using?
Reply
#53

Quote:
Originally Posted by Meller
Посмотреть сообщение
What version were you using?
I use 2.71 https://download.blender.org/release/Blender2.71/
Reply
#54

Quote:
Originally Posted by Kalcor
Посмотреть сообщение
Thank you, everything works like a charm now. Appreciate it.
Reply
#55

custom.ide can do this (add missing skins) without convert, but not all at once.
Reply
#56

What are you looking for? I have already sent the link for these models, 100% working in SA-MP.
Reply
#57

Quote:
Originally Posted by sprtik
Посмотреть сообщение
What are you looking for? I have already sent the link for these models, 100% working in SA-MP.
I did not know that, I did not see your link.
---

Edit
I found more other skins. Is it possible to convert them to SA-MP?

Reply
#58

Quote:
Originally Posted by Locky_
Посмотреть сообщение
I did not know that, I did not see your link.
Ah, that must have been in the other thread related to the actual cutscene skins.

The link.
Reply
#59

Quote:
Originally Posted by sprtik
Посмотреть сообщение
Ah, that must have been in the other thread related to the actual cutscene skins.

The link.
I extracted the skins and put them in the models folder and almost all worked well except for two.

All others, worked very perfectly.

The prints below contain 3 skins which it extracts from the game and other forms of the downloaded download.



Others I found in the game files, which are working perfectly.


..

..


Others that need some conversion / fix: https://imgur.com/a/ZsRsk
Reply
#60

How to move the object in-game?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)