KryngeerPL Posted September 17, 2014 Share Posted September 17, 2014 Hi all. I have an idea. Can you try to make a script, which allow to add new car without replacing? I think, you must load 5 files from GTA SA to server MTA: handling.cfg, vehicles.ide, carcols.dat, cargrp.dat and carmods.dat. Then you can add lines for new ID (maybe copy a Banshee line and edit it). Then I can edit a freeroam panel and modloader config for new ID and its name. So it's possibly? Link to comment
Castillo Posted September 17, 2014 Share Posted September 17, 2014 No, MTA has no support for new models. Link to comment
KryngeerPL Posted September 18, 2014 Author Share Posted September 18, 2014 Yes, it's a problem because server loads files from game, not from server files. But can I change maybe Greenwood to Rhino? With cannon and other stuff for this? Link to comment
Tails Posted September 18, 2014 Share Posted September 18, 2014 Yes, it's a problem because server loads files from game, not from server files. But can I change maybe Greenwood to Rhino? With cannon and other stuff for this? You can modify them and replace the models through scripting. Link to comment
KryngeerPL Posted September 19, 2014 Author Share Posted September 19, 2014 But how do that? I don't see any vehicles.ide and other stuff. Maybe someone can do for me this script? Link to comment
Tails Posted September 25, 2014 Share Posted September 25, 2014 Put this client side (client.lua): addEventHandler('onClientResourceStart', resourceRoot, function() txd = engineLoadTXD('vehicle.txd') engineImportTXD(txd,411) dff = engineLoadDFF('vehicle.dff',411) engineReplaceModel(dff,411) end) Change 411 to the ID of the vehicle that you want to replace. Add the txd and dff file of a custom vehicle model Create meta.xml: <meta> <script src="client.lua" type="client"/> <file src="vehicle.txd"/> <file src="vehicle.dff"/> </meta> Link to comment
KryngeerPL Posted September 30, 2014 Author Share Posted September 30, 2014 Nope, this is like ModLoader. You don't understood what I mean. I want to add new ID with new handling, carmods etc. and then change its model and textures, for example Rhino=432 (change to M1 Abrams) and Rhino2=612 (changed to T-90). Now you understand? Link to comment
PrivateKiller Posted September 30, 2014 Share Posted September 30, 2014 Nope, this is like ModLoader. You don't understood what I mean. I want to add new ID with new handling, carmods etc. and then change its model and textures, for example Rhino=432 (change to M1 Abrams) and Rhino2=612 (changed to T-90). Now you understand? Problem is that you won't listen us! Solidsnake14 already told you about adding new id's!: "No, MTA has no support for new models" So, you can't create new ID. W H A T | Y O U | D O N 'T | U D E R S T A N D | H E R E |? ! ? ! Link to comment
Tails Posted September 30, 2014 Share Posted September 30, 2014 But how do that? I don't see any vehicles.ide and other stuff. Maybe someone can do for me this script? Nope, this is like ModLoader. You don't understood what I mean. I want to add new ID with new handling, carmods etc. and then change its model and textures, for example Rhino=432 (change to M1 Abrams) and Rhino2=612 (changed to T-90). Now you understand? I understood you very well. You didn't understand us when we told you can only replace vehicle models and not add or change ID's. There is currently no way to do that in MTA. Using the script is your best shot. If you want to change the handling use setModelHandling() as lcd1232 suggested. Link to comment
KryngeerPL Posted October 1, 2014 Author Share Posted October 1, 2014 OK, now I understand Maybe someone in stuff of MTA will make a function like addNewDff or etc. or maybe we will can edit all vehicles files from game on the server. OK topic can be close. Thanks for help ! 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