Some objects disappearing at some angle (game also crash sometimes)
#1

I inserted into custom.img few .dff and .txd files so I can map them via Map Editor. But I have problems. Some of the objects are invisible at some angle.

I have also problem with Map Editor and I don't know what could fix it. When I click 1 object, some other far away object is selected. Does anyone have a clue about that? I can't map a single object because when I click at one the other one is selected.
Reply
#2

Quote:
Originally Posted by Saddin
View Post
I inserted into custom.img few .dff and .txd files so I can map them via Map Editor. But I have problems. Some of the objects are invisible at some angle.

I have also problem with Map Editor and I don't know what could fix it. When I click 1 object, some other far away object is selected. Does anyone have a clue about that? I can't map a single object because when I click at one the other one is selected.
When you add an object to custom.img, remember to add the collision, otherwise it will not work.
Reply
#3

Quote:
Originally Posted by ZaikerH
When you add an object to custom.img, remember to add the collision, otherwise it will not work.
Thanks, do you know how to fix this problem with map editor?
Reply
#4

can you post video with bugs?
Reply
#5

Is this just in the map editor?
Reply
#6

To solve this, verify that your files are as in the following example.
That is, it saves dffs and txd files on the outside, and collisions, stores them in a .col file.




And, of course, do not forget to list them.
Reply
#7

@ZaikerH Thanks for the picture and explanation, it helped me!

@dugi It happened in game also.

@SPAWN_METAL Would images be fine? If not I can try to record it.
Reply
#8

That's collision size problem (it's smaller than object).
Reply
#9

record video
Reply
#10

Quote:
Originally Posted by dugi
View Post
Is this just in the map editor?
Nah, this also happens in IG. You just need to face object correctly to fix disappearing wall thing.
Reply
#11

Quote:
Originally Posted by Saddin
Посмотреть сообщение
First video is problem with map editor, I'm trying to click one object but the other one is getting selected: https://www.youtube.com/watch?v=PMyu...ature=*********

Object dissapearing: https://www.youtube.com/watch?v=FOFA...ature=*********

Also I have one question I would like to ask. When I model something (I get .dff file). How can I relate in any way certain textures and that model. How to combine .dff and .txd file?

For example object in video don't have any textures because it must be added in 3ds max? Can you explain that shortly?
I do not understand.
Is your problem related to what I said or is it related to the Map Editor? I'm lost. xD
Reply
#12

Quote:
Originally Posted by ZaikerH
Посмотреть сообщение
I do not understand.
Is your problem related to what I said or is it related to the Map Editor? I'm lost. xD
I think video explain itself the problem now, I uploaded 2 videos.
Reply
#13

Quote:
Originally Posted by Saddin
Посмотреть сообщение
First video is problem with map editor, I'm trying to click one object but the other one is getting selected: https://www.youtube.com/watch?v=PMyu...ature=*********

Object dissapearing: https://www.youtube.com/watch?v=FOFA...ature=*********

Also I have one question I would like to ask. When I model something (I get .dff file). How can I relate in any way certain textures and that model. How to combine .dff and .txd file?

For example object in video don't have any textures because it must be added in 3ds max? Can you explain that shortly?
Well, what I understand is the following.
In my case, when I added a new model and it disappears, it is because I did not add the collision, and since it does not show the textures, it is because the .txd file is badly added.
Well, at least that's what happened to me, if you want to send me the files privately, and I'll correct it for you.
Reply
#14

Quote:
Originally Posted by ZaikerH
Посмотреть сообщение
Well, what I understand is the following.
In my case, when I added a new model and it disappears, it is because I did not add the collision, and since it does not show the textures, it is because the .txd file is badly added.
Well, at least that's what happened to me, if you want to send me the files privately, and I'll correct it for you.
I didn't put col file because I didn't knew that. I didn't put .txd file because still I don't know how to connect .dff and .txd file when I make my own object.

If nonone help here I will contact you on pm. Thanks!
Reply
#15

If the object or a certain face of the object disappears at a certain angle, it's possible that it's due to the 'face normal' being directed the wrong way.

SA-MP only support single sided faces, not double sided.

In case you use Blender, go in EDIT mode, click the face that disappears at certain angles, press 'W' and select 'Flip Normals'. That should do it.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)