rain_gloom Posted March 28, 2013 Posted March 28, 2013 I'm not entirely sure if it is LUA related, but I want to change two files in the data folder. The files are from manCJsys's physics mod. files to replace: data/surface.dat and data/handling.cfg I know that the latter can't be replaced, so does anybody knows a converter that does the whole file? while there: can special handlings be changed by MTA? (the ones in the last section of the cfg methinks) thx in adv My GitHub function brain() return nil end
ixjf Posted March 29, 2013 Posted March 29, 2013 Yes, you can change the handling with Multi Theft Auto (if that's what you meant). I used to know how to code, but then I took an arrow in the knee. Project Redivivus - Remaking Old School MTA With New Code MTA 0.6 Nightly 1 released
Moderators IIYAMA Posted March 29, 2013 Moderators Posted March 29, 2013 I use hedit to import/(export) my handlings, but it won't support the whole file in ones. https://community.multitheftauto.com/in ... ls&id=3716 Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
rain_gloom Posted March 29, 2013 Author Posted March 29, 2013 I know how to change handling LINES, I want to know how to CONVERT the WHOLE handling.cfg into lua. But even if I can't do that, I can just convert it line by line. The problem is: how can I replace SURFACE.DAT? How can I replace SPECIAL handling datas? (there are some handling lines in the end of the config file, but only for some vehicles) Do I even need to? so once again: SURFACE.DAT and FULL convert from .cfg to lua thx anyway ps.: IIYAMA, you should check the Potholestudios handling converter, that's better for external editing. (I mean if you don't use an in-game editor) My GitHub function brain() return nil end
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