Jump to content

paksisoma

Members
  • Posts

    4
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by paksisoma

  1. What about this? outputChatBox(engineGetModelLODDistance(17469)) -- Returns 399 engineSetModelLODDistance(17469, 399) outputChatBox(engineGetModelLODDistance(17469)) -- Returns 325
  2. Hello! For some reason, after setting the LOD distance value, I can only reach a maximum of 325. Is there a way to increase the LOD distance to 1500? outputChatBox(engineGetModelLODDistance(9684)) -- Returns 1500 engineSetModelLODDistance(9684, 1500) outputChatBox(engineGetModelLODDistance(9684)) -- Returns 325
  3. Hello! I want to create a building that has a LOD model. How can I achieve this? You can see in the images that I can make it have a LOD model with object, but not with building. Building: local lod = createBuilding(4187, 0, 0, 3, 0, 0, 0) local building = createBuilding(4014, 0, 0, 3, 0, 0, 0) engineSetModelLODDistance(4014, 300) setLowLODElement(building, lod) Object: local lod = createObject(4187, 0, 0, 3, 0, 0, 0, true) local object = createObject(4014, 0, 0, 3, 0, 0, 0) engineSetModelLODDistance(4014, 300) setLowLODElement(object, lod)
  4. Winter Hello, as winter is approaching, I thought I would share one of my scripts. This script replaces the textures of summer in San Andreas with snow textures. The script is very lightweight because, instead of using .txd files, I used images. In San Andreas, there are many duplicated textures that are equal, but with different file names. To address this, I hashed every image in the game and deleted the duplicates. As a result, the images only occupy 142MB instead of gigabytes. Download: https://github.com/paksisoma/mta-winter
×
×
  • Create New...