QoRaY Posted March 2, 2013 Share Posted March 2, 2013 (edited) I want to change the sounds of car. Audio files available below. Please help... - - - Audio Files Click Here ! - - - Edited March 4, 2013 by Guest Link to comment
mjau Posted March 2, 2013 Share Posted March 2, 2013 Im not 100 percent sure, but i dont belive this is possible. unless there is some way to detect the RPM of the engine. Link to comment
QoRaY Posted March 2, 2013 Author Share Posted March 2, 2013 My goal is not the RPM Style. Just change the sounds of car. I've seen on Youtube. But I could not. Link to comment
Diesulke Posted March 2, 2013 Share Posted March 2, 2013 You sure it wasn't just a Gta:sa mod? Link to comment
QoRaY Posted March 4, 2013 Author Share Posted March 4, 2013 I saw on YOUTUBE. My friends say I've seen other servers. Link to comment
mjau Posted March 5, 2013 Share Posted March 5, 2013 Well then ofc i belive you could use timers, so the first timer trigger when the player presses W and after he have held it for lets say 3 sec it changes to higher rpm sound and so it goes. And just to tell you, everything on youtube isnt real, editing a video to change the vehicle sound isnt hard. Link to comment
HunT Posted March 5, 2013 Share Posted March 5, 2013 it's possible but is not easy : Example : function enable ( ) addEventHandler ( "onClientRender", getRootElement(), getSpeed ) end addEventHandler ("onClientVehicleEnter", getRootElement(), enable) function disable ( ) removeEventHandler ( "onClientRender", getRootElement(),getSpeed ) end addEventHandler("onClientVehicleExit", getRootElement(), disable) function getSpeed () sx, sy, sz = getElementVelocity (getPedOccupiedVehicle(localPlayer)) speed = math.floor(((sx^2 + sy^2 + sz^2)^(0.5))*180) end function playSoundSpeed () -- need onClientRender if speed == 0 then -- play sound elseif speed > 2 then -- play sound gear 1 -- etc... Link to comment
QoRaY Posted March 6, 2013 Author Share Posted March 6, 2013 I mean, subject to a detailed. One can volunteer? Everyone comes in handy. An innovation for the game.... 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