Basics of exporting from blender to SA-MP
#61

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.
Reply
#62

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

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
Reply
#64

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?
Reply
#65

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...
Reply
#66

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

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.
Reply
#68

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
Reply
#69

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?
Reply
#70

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
Reply
#71

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?
Reply
#72

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

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
Reply
#74

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?
Reply
#75

You have to use TXD workshop to create it.
Reply
#76

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.
Reply
#77

can't you just rotate it..?
Reply
#78

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
Reply
#79

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
Reply
#80

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)