WesternGamer 49 Posted December 1, 2021 Share Posted December 1, 2021 (edited) How can you load a texture from a external ytd file? Edited December 5, 2021 by WesternGamer Quote Link to comment Share on other sites More sharing options...
LMS 673 Posted December 1, 2021 Share Posted December 1, 2021 In what context? LML can load texture files into the game from disk. Quote Link to comment Share on other sites More sharing options...
WesternGamer 49 Posted December 1, 2021 Author Share Posted December 1, 2021 7 hours ago, LMS said: In what context? LML can load texture files into the game from disk. In the context from directly from a asi script. Quote Link to comment Share on other sites More sharing options...
LMS 673 Posted December 2, 2021 Share Posted December 2, 2021 There might be some code out there to load a texture into pgRawStreamer directly. I think for GTA V people called it "registerRawStreamingFile". Quote Link to comment Share on other sites More sharing options...
WesternGamer 49 Posted December 3, 2021 Author Share Posted December 3, 2021 On 12/1/2021 at 10:07 PM, LMS said: There might be some code out there to load a texture into pgRawStreamer directly. I think for GTA V people called it "registerRawStreamingFile". @LMS I did find some code online but it is very complex to change to make it work, especially since I am new to C++ from C#. Is it possible to load texture files that are streamed in from LML? If it is possible, can you give me an example if the solution is a bit complex? Quote Link to comment Share on other sites More sharing options...
LMS 673 Posted December 4, 2021 Share Posted December 4, 2021 Any texture file you load via LML can be used like other game textures from scripts. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.