HeArTBeaT Posted May 6, 2015 Posted May 6, 2015 before you put a car mod in your map be sure to check the page where you downloaded the map to see if it requires any handling script changes.if it does, the server wont take it well. Quote
MegasXLR Posted May 6, 2015 Author Posted May 6, 2015 before you put a car mod in your map be sure to check the page where you downloaded the map to see if it requires any handling script changes.if it does, the server wont take it well.Ye I know, this one doesn't need additional handling. But even if it does, it shouldn't have anything to do with the color not being always black. Quote
hulpje Posted May 6, 2015 Posted May 6, 2015 You only have to change the x, y, z and radius from at "which point" you want the car to be black (behind the pickups on your map for example). The rest doesn't need to be changed. When driving trough the coordinates the "local car" your driving in will be colored black. Quote
MegasXLR Posted May 6, 2015 Author Posted May 6, 2015 (edited) You only have to change the x, y, z and radius from at "which point" you want the car to be black (behind the pickups on your map for example). The rest doesn't need to be changed. When driving trough the coordinates the "local car" your driving in will be colored black.I tried this and color still changes randomly on every map start when I get to the switch point. Did it client-side and server-side, both don't work.I also tried the below script which AleksCore made for my 1st map around 6 months ago, but it still doesn't stay black. --> function onEnterVehicle ( theVehicle, seat, jacked ) if getElementModel ( theVehicle ) == 411 then setVehicleColor ( theVehicle, 0, 0, 0, 0 ) setVehicleHeadLightColor ( theVehicle, 255, 0, 0) endendaddEventHandler ( "onPlayerVehicleEnter", root, onEnterVehicle )Can the problem be in the actual .txd and .dff files of the car's model? Edited May 6, 2015 by MegasXLR Quote
hulpje Posted May 6, 2015 Posted May 6, 2015 Could be .dff, since .dff "tells" the game which textures to load, if that isn't the default MTA coloring system it might not work. I don't have any experience in car modding so no clue how to fix that. Quote
HeArTBeaT Posted May 6, 2015 Posted May 6, 2015 before you put a car mod in your map be sure to check the page where you downloaded the map to see if it requires any handling script changes.if it does, the server wont take it well.Ye I know, this one doesn't need additional handling. But even if it does, it shouldn't have anything to do with the color not being always black. I said that because i didnt add handling and my car had only wheels LOL ... gta bugs can be really weird MegasXLR 1 Quote
MegasXLR Posted May 6, 2015 Author Posted May 6, 2015 Could be .dff, since .dff "tells" the game which textures to load, if that isn't the default MTA coloring system it might not work. I don't have any experience in car modding so no clue how to fix that.I've attached a link to the .txd and .dff files of the car I want black. Could you try and replicate my setting (start with cheetah at spawn and later on change to infernus - replaced by files below - using a racepickup? If it doesn't work with you, I'll just give up and settle with just one car at spawn. https://www.dropbox.com/s/ftigbrk4y5opcbz/Attack%20Mode.dff?dl=0https://www.dropbox.com/s/k7hxymyfk9ppr3h/Attack%20Mode.txd?dl=0 Why can't I upload .txd and .dff files here :S Quote
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.