Dzsozi (h03) Posted February 19, 2018 Share Posted February 19, 2018 (edited) Hi! I would like to do a custom MTA client. Here's the reason why I was thinking about it: I would like to change the map from SA to a different one, I know it is possibble with scripting, but I would like to go a little bit deeper and replace it in the "engine" if you know what I mean. I was thinking about replacing the gta3.img files and other ipl and xml and such files with the default ones, but I don't know how I should start doing it. I never did something like this. How I could achieve that MTA would load a different gta3.img for example, with the modded objects and vehicles and such, so whenever I start my custom client, I could only join to my own server and it wouldn't download and load the custom map, since the downloaded custom client already has the files by default and it loads it first, instead of the SA map. I would really appreciate if somebody could help me out which way I should start looking forward to do it or how to do it. I know that the SA:MP client requires you to choose the default GTA SA folder, and it also puts some stuff in there, maybe an img file if I remember correctly, since SAMP uses some custom objects. Also, that way (with the custom client/launcher) it may be possibble to add extra models/objects to the game in MTA? It would be nice if someone more experienced scripter or programmer could provide some information in connection with this. EDIT: I am also interested if using custom img and definition files for coordinates is more PC and FPS friendly than just using simple lua scripts in MTA SA to replace objects. Edited February 19, 2018 by Dzsozi (h03) Link to comment
MIKI785 Posted February 21, 2018 Share Posted February 21, 2018 This isn't the correct place to ask this, this section is for Lua scripting, you're talking about MTA's code itself (c++). Try here instead: https://forum.multitheftauto.com/forum/107-open-source-contributors/ Link to comment
Dzsozi (h03) Posted February 21, 2018 Author Share Posted February 21, 2018 Oh, alright, sorry I didn't know that. Could a moderator move this topic to the correct section? Link to comment
JustinMTA Posted February 21, 2018 Share Posted February 21, 2018 After the first time client joins a server, files are downloaded to the clients hard drive until you edit them again.. Or you could just create your own launcher or installer in VB.Net or another language to permanently or temporarily replace/install files until the application closes again.. Idk what you're asking seems kind of useless considering the options MTA has in place already for mod loading. Link to comment
Captain Cody Posted February 22, 2018 Share Posted February 22, 2018 When JStreamer 2.0 is out any issues you have with custom maps in MTA will be gone. 2 Link to comment
Dzsozi (h03) Posted February 25, 2018 Author Share Posted February 25, 2018 On 2018. 02. 22. at 00:32, JustinMTA said: After the first time client joins a server, files are downloaded to the clients hard drive until you edit them again.. Or you could just create your own launcher or installer in VB.Net or another language to permanently or temporarily replace/install files until the application closes again.. Idk what you're asking seems kind of useless considering the options MTA has in place already for mod loading. First I was thinking about a custom launcher as well, and I wanted to do that but I don't know how. But what do you mean by it is useless? Can I do everything without making a custom launcher or anything, just by modifying MTA settings or what? Could you explain it a little bit better? Link to comment
Slim Posted February 26, 2018 Share Posted February 26, 2018 13 hours ago, Dzsozi (h03) said: First I was thinking about a custom launcher as well, and I wanted to do that but I don't know how. But what do you mean by it is useless? Can I do everything without making a custom launcher or anything, just by modifying MTA settings or what? Could you explain it a little bit better? #1. You can edit the way objects stream into view. #2. I'm pretty sure there's ways to remove the default GTA map also, but there's no point in my opinion because default GTA objects require no extra download. #3. If you're good enough, you could use EngineRestoreModel and EngineRestoreCOL and EngineLoadDFF and EngineLoadTXD depending on how your server transfers players from city to city, load/restore models depending on which city they're playing in.. You could essentially add unlimited custom cities considering the objects would only change on the clients screen, so the players in other cities wouldn't be effected if they all used the same barrel object for a wall or something. Link to comment
Captain Cody Posted February 26, 2018 Share Posted February 26, 2018 #3 is actually wrong, there's an issue with restoring objects atm. Also with #2 There is a point in replacing SAs map, it gets so boring after a while However, MTA sided you can do everything you need This map for instance actually runs better in MTA then it does in standard SA. 1 Link to comment
Dzsozi (h03) Posted May 6, 2018 Author Share Posted May 6, 2018 And better performance is what I am trying to achieve. 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