Deekoyz Posted December 30, 2014 Share Posted December 30, 2014 My error code Version = 1.4-release-6985.0.000 Time = Mon Dec 29 03:13:44 2014 Module = c:\program files (x86)\steam\steamapps\common\grand theft auto san andreas\gta_sa.exe Code = 0xC0000005 Offset = 0x0040D62A EAX=36C6CFFC EBX=00000601 ECX=36C66FF4 EDX=016C46B0 ESI=36C6CFFC EDI=36C66FF4 EBP=0028FBB4 ESP=0028FBB4 EIP=0080D62A FLG=00010246 CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B You'd probably be best off asking someone like Ren_712 on these forums, he's very experienced with shaders. Link to comment
xScatta Posted December 30, 2014 Share Posted December 30, 2014 Hey, guys! I have a question because im not good at shaders. But Lua isn't problem. So let's go to the problem. I need to make Tank Tracks moving. I've seen in a MTA SA video by Einheit101 . He said he used shaders and some math calculations. But my problem is the shaders. Or if anyone know other idea how to make it then please say it xScatta ( Sorry for that grammar ) Link to comment
.:HyPeX:. Posted December 30, 2014 Share Posted December 30, 2014 Thats just drawing an image and moving it like you would do on a billboard/thingy. The only difficult part comes to apply it to the vehicle model like that. Link to comment
xScatta Posted December 30, 2014 Author Share Posted December 30, 2014 @.:HyPeX:. Maybe some examples in code? Please. Link to comment
.:HyPeX:. Posted December 30, 2014 Share Posted December 30, 2014 @.:HyPeX:. Maybe some examples in code? Please. I just know that shaders can be used to know that, i have zero knowledge with them, i'll leave someone more experienced answer that. Link to comment
MTA Team botder Posted December 30, 2014 MTA Team Share Posted December 30, 2014 Find the texture name out. https://wiki.multitheftauto.com/wiki/Sh ... ture_names Link to comment
McDeKi Posted December 30, 2014 Share Posted December 30, 2014 Hello, I've made a simple example for you: http://www9.zippyshare.com/v/21401775/file.html I've used this tank, you have to download it, otherwise you wont see any effect. http://www.gamemodding.net/en/gta-san-a ... shing.html You can change texture by passing their name in: local nazwaTextury = "superpershing_track" Link to comment
Dealman Posted December 30, 2014 Share Posted December 30, 2014 As it's mentioned in the description of the video; "Working tracks will be available in San Andreas At War after the release of Eir. Such functions were CLEO-only befor i made this script." This was made on MTA: Eir and not MTA: Blue. I find it hard to believe you'd as easily achieve something like this with MTA: Blue. Now, it might be possible if you're good with shaders as really all you'd have to do is change the UV co-ordinates of a texture. You could then use the function dxSetShaderValue to change it depending on your velocity/speed/direction/whatever. You'd probably be best off asking someone like Ren_712 on these forums, he's very experienced with shaders. Link to comment
McDeKi Posted December 30, 2014 Share Posted December 30, 2014 As you mentioned its possible with dxSetShaderValue and fmod http://http.developer.nvidia.com/Cg/fmod.html Link to comment
xScatta Posted December 30, 2014 Author Share Posted December 30, 2014 @McDeKi dzięki wielkie. Thanks to all who helped. Please close 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