Godwin Posted May 21, 2011 Share Posted May 21, 2011 First off, I don't know whether someone has already requested this or not. If it is requested already please ignore this. My suggestion is to have an option "Do not to load custom vehicles" I've modded most of my cars and I hate when some servers download custom vehicles and replace it. Of course they look better than the original vehicles, but I want to play with my modded cars. So an option to not download custom vehicles will be really useful. It would be great if we can bind this to a hotkey, so that pressing the hotkey toggles between the custom and client vehicle. If the player doesn't want to play with the custom vehicle, he can disable it. But if the option "Do not load custom vehicles" is ticked, then MTA shouldn't download the custom vehicles. And the hotkey will have no effect. This will save bandwidth as well. Link to comment
ecoxp Posted May 21, 2011 Share Posted May 21, 2011 Nah, mods aren't allowed in MTA If you wanna play with your cars ok, but if a server uses custom mods so accept it as they could have a specific function for it Link to comment
Arran Posted May 21, 2011 Share Posted May 21, 2011 If they wanted to save bandwidth they wouldn't have them on their server in the first place. Server owners should provide an option to allow you not to load car mods and not something MTA themselves really need to do. You did put forward a good arguement however and you never know, somebody might do it, but I see limited demand for the feature so wouldn't count on it. Link to comment
Godwin Posted May 21, 2011 Author Share Posted May 21, 2011 What I mean by modded vehicles is, the model and texture of the vehicle only. For an example, I'm using the Bugatti mod to replace the Bullet. Only the model, not the handling and specs etc. Besides you can't use modified data files with MTA anyway Link to comment
Deagle Posted May 21, 2011 Share Posted May 21, 2011 I am looking for a thing like this too, I dont like the servers who are replacing my custom infernus. Anyway, I think there can be made a script which could allow you to press a button to change between your infernus and between the server's infernus (if the server has one) . Link to comment
karlis Posted May 21, 2011 Share Posted May 21, 2011 .dff affects handling too for example, compare 3 hotrings, all same handling file, different steering totally(hotring-oversteer,hotring a-understeer,hotringb-lil oversteer) Link to comment
Godwin Posted May 21, 2011 Author Share Posted May 21, 2011 If they wanted to save bandwidth they wouldn't have them on their server in the first place. Saving bandwidth for the players i mean. Some people use limited internet connection, and they don't want to waste their bandwidth downloading these custom vehicles. I know a server which has custom vehicles for every map, which is around 2mb in size! Link to comment
Faw[Ful] Posted May 21, 2011 Share Posted May 21, 2011 and it is not possible to compresse the files ? Link to comment
diegofkda Posted May 21, 2011 Share Posted May 21, 2011 .dff affects handling toofor example, compare 3 hotrings, all same handling file, different steering totally(hotring-oversteer,hotring a-understeer,hotringb-lil oversteer) It doesn't affects to handlings. The thing is, the original Hotring A setup is not made for the Dodge Viper that saw in GTA Inside... that's the reason why some cars include handling lines. The dodge Viper looks different if I replace it on a hotrina, and will look different if I replace it on an infernus... Another important thing is, the distance between wheels, obviously, will affect to the vehicle. Link to comment
Castillo Posted May 22, 2011 Share Posted May 22, 2011 The server owner's could make a simple script to toggle the car mods on/off, but, maybe MTA should have it built-in. Link to comment
Deagle Posted May 22, 2011 Share Posted May 22, 2011 The server owner's could make a simple script to toggle the car mods on/off, but, maybe MTA should have it built-in. Exatly about this I was talking , it would be very nice and usefull. Link to comment
Oz. Posted May 22, 2011 Share Posted May 22, 2011 We experimented with that concept about a year ago (or more?), to allow vehicle mods to be swapped in and out in real time, rather than players having to close MTA to swap or install new mods. The mighty Kayl was the creator of that, I'm not sure what happened to the resource though. I think it was shelved as we had other projects in the pipeline - it was quite promising though, and worked well. So it's certainly possible, it's been done before Link to comment
diegofkda Posted May 22, 2011 Share Posted May 22, 2011 No! because we're talking just about Freeroams server. Well, I'm making a RPG server... kind Fast n' furious or NFS (for 1.1 version) with custom vehicle handlings, if someone unloads the cars, the game will freeze, will exit or the player will see uncoloured window. And I'm owner of the Real Cars server, and I don't want to players to use their modifications... it depends of the server owner, ask him if you want a /unloadcar command, and if you don't want the car mods of the server, simple solution, browse another server, there are +700 servers for play. Link to comment
Deagle Posted May 22, 2011 Share Posted May 22, 2011 Maybe Godwin was talking about Race/DM-DD like me too. Link to comment
diegofkda Posted May 22, 2011 Share Posted May 22, 2011 Maybe, but he means the command / hotkey will be for all servers I guess... Link to comment
Deagle Posted May 22, 2011 Share Posted May 22, 2011 For all the servers who want it, maybe it will be a private script. Link to comment
diegofkda Posted May 23, 2011 Share Posted May 23, 2011 Anyone can make that basic script Link to comment
Deagle Posted May 23, 2011 Share Posted May 23, 2011 Basic script huh ? Then make it you ^^ Link to comment
Castillo Posted May 23, 2011 Share Posted May 23, 2011 (edited) DeagleTM, if you are talking about the basic LUA script, then, yes, it's easy indeed. TXD = {} DFF = {} function load() TXD[1] = engineLoadTXD ( "myCar.txd" ) engineImportTXD ( TXD[1], myID ) DFF[1] = engineLoadDFF ( "myCar.dff", myID ) engineReplaceModel ( DFF[1], myID ) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),load) function unLoad(command,id) destroyElement(TXD[id]) destroyElement(DFF[id]) outputChatBox("Vehicle unloaded!",255,0,0) end addCommandHandler("unload",unLoad) I think that should do the job. Edited May 24, 2011 by Guest Link to comment
diegofkda Posted May 23, 2011 Share Posted May 23, 2011 Right, but you forgot the event or command Well, that explains you how easy is the script. Link to comment
Castillo Posted May 23, 2011 Share Posted May 23, 2011 I didn't forgot anything, that's an example Link to comment
diegofkda Posted May 24, 2011 Share Posted May 24, 2011 So, how will it load the car? well it's just an example but I like correct examples Back on topic & as I said, the custom vehicle depends of the server... (talking to the owner of this topic) you're asking commands like disable all maps with a command... that's not possible, and we gave you an example of unloading DFF and TXD... give it to the server owner, and if the owner is a good owner, he will put the code and will make it work. Link to comment
qaisjp Posted May 26, 2011 Share Posted May 26, 2011 addCommandHandler("removemods",function() for i,v in pairs(getElementsByType("txd")) do destroyElement(v) end end Link to comment
Godwin Posted May 26, 2011 Author Share Posted May 26, 2011 Thanks for the script. But, adding the option to MTA would be the best choice IMO, because we are telling the server not to download the mods. If we depend on the server via script, then regardless whether we want the mod applied or not it's going to download the mod anyway, which wastes bandwidth(if we don't want the mod). Unless, the server script lets the player decide whether he wants the mod to be downloaded or not(via simple popup message), then it's fine. If MTA has the option, it should only be applicable to servers that replace the model and textures of the vehicle only(DD/DM). If the server has handling and other data assicoated with the mod, then MTA should allow downloading the complete mod and replace it by confirming via a popup message. Link to comment
ecoxp Posted May 26, 2011 Share Posted May 26, 2011 As I already said, some servers REQUIRE you to use these modded vehicles for example; as them have interior. Link to comment
Recommended Posts