RemoveBuildingForPlayer
#1

https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

I see that function have some bugs. (I didn't removed those trailers like in video, but it's hiding like bugged)
Or what's problem?

Video: [ame]http://www.youtube.com/watch?v=fMfPqhrP_C8[/ame]
Reply
#2

If you remove a building that has a LOD, then you need to remove that model too. On the other hand, if you didn't want to remove those, you have set a too big radius for another RemoveBuildingForPlayer statement.
Reply
#3

What you mean "LOD"?

Im using RemoveBuildingForPlayer (all to 1000.0 radius) So what radius i should set?
Reply
#4

You don't remove the object properly. Use this mapping tool to remove the whole object and let it print you the code:
https://sampforum.blast.hk/showthread.php?tid=282801
Reply
#5

Quote:
Originally Posted by Drebin
Посмотреть сообщение
You don't remove the object properly. Use this mapping tool to remove the whole object and let it print you the code:
https://sampforum.blast.hk/showthread.php?tid=282801
Hmm, im using this editor to remove buildings... And after that will appear this bug.. ?
Reply
#6

Quote:
Originally Posted by Typhome
Посмотреть сообщение
What you mean "LOD"?
LOD means Low Object Detail; it's the model with crappy textures you see in the distance when you're far away.

Quote:
Originally Posted by Typhome
Посмотреть сообщение
Im using RemoveBuildingForPlayer (all to 1000.0 radius) So what radius i should set?
Um yeah .. For reference: the GTA SA map is 6000.0 units across. You have a radius of 1/6th that size! Set it to 1.0 or something.
Reply
#7

Setting the radius large will remove ALL the objects of the same object ID in the whole map (excluding those created by script)! The radius doesn't mean the removal draw distance.
Reply
#8

Do i set max or min this LOD Distance factor in views tab? (In JernejL editor)
Reply
#9

You don't need to change it.
Reply
#10

Quote:
Originally Posted by Drebin
Посмотреть сообщение
You don't need to change it.
Umm, i should set RemoveBuildingForPlayer radius to 1.0 and this problem will disappear?

// Yep, it will disappear. Thanks for helping.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)