Jump to content

Search the Community

Showing results for tags 'light'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • [Read-Only] Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 2 results

  1. Subject: Issue with Transparency on Replaced Vehicles When Using dl_lightmanager Problem Description: I am using the dl_lightmanager resource to create headlight effects in MTA:SA. The issue is that when the light hits replaced (modded) vehicles, their body becomes semi-transparent. Details: The issue does not occur on default GTA SA vehicles. On modded vehicles, when exposed to light, the body becomes partially transparent. I am using standard dl_lightmanager functions to create light sources. I have checked various textures and shaders, but I couldn’t identify the cause. What I've tried so far: Removing shaders using engineRemoveShaderFromWorldTexture, but it doesn’t fix the problem. Checking model textures using engineGetModelTextureNames() — all textures seem to load correctly. Adjusting light parameters (setLightAttenuation, setLightColor), but the transparency issue persists. Question: How can I fix this issue? Could it be related to how dl_lightmanager handles lighting or to the material settings in the vehicle model? Any help would be greatly appreciate https://ibb.co/x83mZzHw
  2. This is maybe a stupid question but maybe some one have a traffic objects map? or where it can be parsed? I have checkout an IDE, IPL files from original GTA:SA game, but i didn't found where it can be defined (dynamic traffic object with positon and rotation, i guess it maybe stored in gta3.img, right?). local aObjectIDs = { 3855; -- GAY_TRAFFIC_LIGHT 1262; -- MTraffic4 mitraffic 1263; -- MTraffic3 mitraffic 1283; -- MTraffic1 mitraffic 1284; -- MTraffic2 mitraffic 1315; -- trafficlight1 1350; -- CJ_TRAFFIC_LIGHT4 CJ_traffic 1351; -- CJ_TRAFFIC_LIGHT5 CJ_traffic 1352; -- CJ_TRAFFIC_LIGHT3 CJ_traffic }; I want to make a workaround to fix this issue: https://bugs.mtasa.com/view.php?id=9387 I Need check if vehicle near the traffic object and get object rotation.
×
×
  • Create New...