SA-MP Forums Archive
Basics of exporting from blender to SA-MP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (https://sampforum.blast.hk/forumdisplay.php?fid=90)
+---- Forum: Model Releases (https://sampforum.blast.hk/forumdisplay.php?fid=94)
+---- Thread: Basics of exporting from blender to SA-MP (/showthread.php?tid=643636)

Pages: 1 2 3 4 5 6


Re: Basics of exporting from blender to SA-MP - deemon - 11.11.2017

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)




Re: Basics of exporting from blender to SA-MP - Dignity - 11.11.2017

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.


Re: Basics of exporting from blender to SA-MP - kingnazarfx - 13.11.2017

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


Re: Basics of exporting from blender to SA-MP - Romz - 13.11.2017

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.


Re: Basics of exporting from blender to SA-MP - kingnazarfx - 13.11.2017

Okay thanks)


Re: Basics of exporting from blender to SA-MP - Meller - 16.11.2017

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.


Re: Basics of exporting from blender to SA-MP - Kalcor - 16.11.2017

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.


Re: Basics of exporting from blender to SA-MP - Meller - 16.11.2017

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.


Re: Basics of exporting from blender to SA-MP - Kalcor - 16.11.2017

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.


Re: Basics of exporting from blender to SA-MP - Meller - 16.11.2017

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


Re: Basics of exporting from blender to SA-MP - Kalcor - 16.11.2017

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


Re: Basics of exporting from blender to SA-MP - Meller - 16.11.2017

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?


Re: Basics of exporting from blender to SA-MP - Kalcor - 16.11.2017

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


Re: Basics of exporting from blender to SA-MP - Meller - 16.11.2017

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


Re: Basics of exporting from blender to SA-MP - OKStyle - 17.11.2017

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


Re: Basics of exporting from blender to SA-MP - IllidanS4 - 17.11.2017

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


Re: Basics of exporting from blender to SA-MP - Locky_ - 17.11.2017

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?




Re: Basics of exporting from blender to SA-MP - IllidanS4 - 17.11.2017

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.


Re: Basics of exporting from blender to SA-MP - Locky_ - 17.11.2017

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


Re: Basics of exporting from blender to SA-MP - haikalbintang - 17.11.2017

How to move the object in-game?