SA-MP Forums Archive
Model disappears - 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)
+--- Thread: Model disappears (/showthread.php?tid=649662)



Model disappears - liguanhua123 - 12.02.2018

When loading a large MODEL, too far from the center OBJECT will disappear, but the collision will remain, streamdistance I set 2000.0, and I replace multiple large MODEL, this will happen, what is the reason?


Below the file, we can try next


Re: Model disappears - ][Noname][ - 13.02.2018

something wrong with collision?


Re: Model disappears - liguanhua123 - 13.02.2018

Quote:
Originally Posted by ][Noname][
Посмотреть сообщение
something wrong with collision?
Look at the picture, collision is no problem, but OBJ will be invisible


Re: Model disappears - ][Noname][ - 13.02.2018

game doens't draw objects if object is not on the screen
collision used in test function IsObjectIsOnScreen

try to descrease model size to 0.5 and see if visible size was changes


Re: Model disappears - ZaikerH - 13.02.2018

Check the configuration of your gta san andreas, in the option of 'drawn distance'.


Re: Model disappears - liguanhua123 - 13.02.2018

Quote:
Originally Posted by ZaikerH
Посмотреть сообщение
Check the configuration of your gta san andreas, in the option of 'drawn distance'.
It's Max,


Re: Model disappears - ZaikerH - 13.02.2018

Quote:
Originally Posted by liguanhua123
Посмотреть сообщение
It's Max,
Check that you have not configured anything with respect to transparency then.
This really should not happen when using 3d max for the conversion of a map to dff.



Re: Model disappears - liguanhua123 - 13.02.2018

Quote:
Originally Posted by ][Noname][
Посмотреть сообщение
game doens't draw objects if object is not on the screen
collision used in test function IsObjectIsOnScreen
try to descrease model size to 0.5 and see if visible size was changes
Quote:
Originally Posted by ZaikerH
Посмотреть сообщение
Check that you have not configured anything with respect to transparency then.
This really should not happen when using 3d max for the conversion of a map to dff.
Thanks, solved, the reason is AddSimpleModel (virtualworld, baseid, newid, dffname [], txdname []);
baseid I use a smaller ObjectID , when I change a large ObjectID ,It's solved