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 - Kalcor - 18.11.2017

You should set the base model in AddSimpleModel to one that has alpha. There are 2 different types of alpha in this game 1) On/Off 1bit style transparency and 2) 256 alpha translucence.

Try 19466.

Код:
From samp.ide: 19466, window001, lsmall_shops, 100, 2097220
The way objects are depth tested by the rendering engine, sometimes you need to make the windows as seperate objects for them to work properly.


Re: Basics of exporting from blender to SA-MP - Croheart - 19.11.2017

Please Kalcor make a tutorial how to convert .IDE and .IPL files to artconfig format!


Re: Basics of exporting from blender to SA-MP - Xeon™ - 19.11.2017

Quote:
Originally Posted by Croheart
Посмотреть сообщение
Please Kalcor make a tutorial how to convert .IDE and .IPL files to artconfig format!
here you go: https://github.com/Papawy/Papawyconv

this is a simple app that generate the artwork.txt and the models from .IDE and .IPL


Re: Basics of exporting from blender to SA-MP - Croheart - 19.11.2017

Quote:
Originally Posted by Xeon™
Посмотреть сообщение
here you go: https://github.com/Papawy/Papawyconv

this is a simple app that generate the artwork.txt and the models from .IDE and .IPL
I don't understand this. There is no .exe file to execute, just random files?


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

Quote:
Originally Posted by Croheart
Посмотреть сообщение
I don't understand this. There is no .exe file to execute, just random files?
You call his converter through a command line, such as cmd.exe...


Re: Basics of exporting from blender to SA-MP - EddyFeL - 22.11.2017

Can I kinda use Maya? does anyone have an idea? i rather work with it...


Re: Basics of exporting from blender to SA-MP - dugi - 22.11.2017

Maya has no DFF export tools, you'll have to import your model to 3ds Max or Blender and then export a DFF from there.


Re: Basics of exporting from blender to SA-MP - Gforcez - 22.11.2017

Quote:
Originally Posted by Croheart
Посмотреть сообщение
I don't understand this. There is no .exe file to execute, just random files?
you have to compile the project before you can use the .exe


Re: Basics of exporting from blender to SA-MP - Manowar - 23.11.2017

I created several objects and merged them, after exporting the object to the game, it will turn out to be too long. What is the problem?


Re: Basics of exporting from blender to SA-MP - EddyFeL - 25.11.2017

Quote:
Originally Posted by dugi
Посмотреть сообщение
Maya has no DFF export tools, you'll have to import your model to 3ds Max or Blender and then export a DFF from there.
Okay, thank you


Re: Basics of exporting from blender to SA-MP - TheShoxy - 28.11.2017

I managed to export an imported VC-Object to use it in SA, but the rotation somehow seems to be bugged.

In Blender it looks like this:


This is how it looks in KDFF:


Everything is good until now.
But InGame the rotation looks completely fucked up:



How could i fix this?


Re: Basics of exporting from blender to SA-MP - ATomas - 28.11.2017

Maybe there is a scale problem. Set scale to 1.0 for all axes


Re: Basics of exporting from blender to SA-MP - TheShoxy - 28.11.2017

Quote:
Originally Posted by ATomas
Посмотреть сообщение
Maybe there is a scale problem. Set scale to 1.0 for all axes
The scale is already at 1.0 for the axes, rotating the object at the x axis has the same effect as rotating any other object at the z axis


Re: Basics of exporting from blender to SA-MP - DeitY - 28.11.2017

I cant figure out how to export txd, i got dff via your scripts, but can't figure out how to export textures(materials) as i have 7-8 applied textures?


Re: Basics of exporting from blender to SA-MP - dugi - 28.11.2017

You have to use TXD workshop to create it.


Re: Basics of exporting from blender to SA-MP - DeitY - 30.11.2017

Quote:
Originally Posted by dugi
Посмотреть сообщение
You have to use TXD workshop to create it.
There is no option to open .dff? I see only .img or txd.


Re: Basics of exporting from blender to SA-MP - AndreiWow - 30.11.2017

can't you just rotate it..?


Re: Basics of exporting from blender to SA-MP - TheShoxy - 30.11.2017

Quote:
Originally Posted by AndreiWow
Посмотреть сообщение
can't you just rotate it..?
Sure i can, but why use a workaround when it should look like it got exported from Blender


Re: Basics of exporting from blender to SA-MP - Antenastyle - 12.12.2017

I have a problem making my own object with Blender. I want to make a traffic sign with an image, I have done the structure but when I try to export the object it gives me some errors and I didn't applied any images or textures:

The structure
https://gyazo.com/b22e4f531729f0fb2aec2934b50c9d8d

The errors
https://gyazo.com/bb4add09a865c10e23d5e1a0ddeed8e2

I don't know what to do, because I try to make any object and Blender gives me those errors. Thanks


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

Quote:
Originally Posted by Antenastyle
Посмотреть сообщение
I have a problem making my own object with Blender. I want to make a traffic sign with an image, I have done the structure but when I try to export the object it gives me some errors and I didn't applied any images or textures:

The structure
https://gyazo.com/b22e4f531729f0fb2aec2934b50c9d8d

The errors
https://gyazo.com/bb4add09a865c10e23d5e1a0ddeed8e2

I don't know what to do, because I try to make any object and Blender gives me those errors. Thanks
You need to apply a texture before you can export.