FlyingSpoon Posted February 5, 2018 Share Posted February 5, 2018 I've seen it in a few servers, what type of script is it, what is it using, it is a GIF, Video what? And what function are they using to apply it onto it. Link to comment
NeXuS™ Posted February 5, 2018 Share Posted February 5, 2018 Applying texture to the vehicle. I suppose they split a GIF apart into pngs and created a "progress" of it. Eg. Png files = 1.png, 2.png, 3.png So you create a counter from 1 to 3, and apply that texture to the vehicle. 1 Link to comment
FlyingSpoon Posted February 5, 2018 Author Share Posted February 5, 2018 I see, how would I go about doing it? Which functions would I require? Link to comment
Slim Posted February 5, 2018 Share Posted February 5, 2018 Goodluck It's basically DirectX Some refer to it as DVO, some refer to it as HLSL. It's a special .FX file. There's actually an example on MTA wiki, it took me a long time to figure out how to use it https://wiki.multitheftauto.com/wiki/Element/Shader Link to comment
NeXuS™ Posted February 5, 2018 Share Posted February 5, 2018 Not that hard at all. Refer to my post. Link to comment
FlyingSpoon Posted February 5, 2018 Author Share Posted February 5, 2018 Uhm, I haven't really used .fx files before or touched them. Can I have an example maybe? Link to comment
NeXuS™ Posted February 5, 2018 Share Posted February 5, 2018 I've already linked an example above. Link to comment
FlyingSpoon Posted February 5, 2018 Author Share Posted February 5, 2018 (edited) Applying texture to the vehicle. I suppose they split a GIF apart into pngs and created a "progress" of it. Eg. Png files = 1.png, 2.png, 3.png So you create a counter from 1 to 3, and apply that texture to the vehicle. I asked you what functions should I use to apply the texture. Edited February 5, 2018 by ℓιgнт Link to comment
NeXuS™ Posted February 5, 2018 Share Posted February 5, 2018 And the link to my other post shows how to do it... Link to comment
Slim Posted February 5, 2018 Share Posted February 5, 2018 (edited) 5 hours ago, NeXuS™ said: Not that hard at all. Refer to my post. NeXuS, he wants HLSL or DVO, so the paintjob moves with the map music or just by itself. What you provided is for paintjobs that don't move, was an honest mistake 5 hours ago, ℓιgнт said: Uhm, I haven't really used .fx files before or touched them. Can I have an example maybe? Nobody will do it for you probably, but learn the basics of MTA and you'll be able to navigate the wiki. Until that point, you should either be asking friends/players to show you how MTA scripting/files work together, it's just climbing the ladder of knowledge. Once you know certain things you can follow the link I provided in my previous post, it does exactly what you're asking, but you won't get the same effects as the video you provided you have to make them yourself and convert them to MTA. Edited February 6, 2018 by Justin|X5| Link to comment
NeXuS™ Posted February 6, 2018 Share Posted February 6, 2018 34 minutes ago, Justin|X5| said: NeXuS, he wants HLSL or DVO, so the paintjob moves with the map music or just by itself. What you provided is for paintjobs that don't move, was an honest mistake Applying one picture after an another creates an illusion of a video. (Yes, that's how everything works, your TV, your PC, etc.), so it is what he wants. Link to comment
Slim Posted February 6, 2018 Share Posted February 6, 2018 (edited) 5 hours ago, NeXuS™ said: Applying one picture after an another creates an illusion of a video. (Yes, that's how everything works, your TV, your PC, etc.), so it is what he wants. Refresh rate is a factor that makes everything work yes I was just saying that's not how THIS works Your method could work, but it's nothing compared to what he's actually asking for, these DVO/HLSL in the video he provided above from the ER server, the file sizes are extremely small compared to a .GIF Edit: DVO/HLSL aren't even images Edited February 6, 2018 by Justin|X5| Link to comment
FlyingSpoon Posted February 6, 2018 Author Share Posted February 6, 2018 (edited) I know the basics of MTA LUA that's not an issue. It's that I haven't used Shaders before, it's not my strongest sector of MTA Scripting. It's fine, I think I've got the hang of it by playing around with it for a few hours. Edited February 6, 2018 by ℓιgнт 1 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now