-
Posts
165 -
Joined
-
Last visited
-
Days Won
4
Everything posted by AfterAll14
-
For anyone wondering, I solved issue by reinstalling MTA.
-
With custom client you can only connect to custom server
-
I need to make server accept custom total conversion maps. I get this error when try to join: Here's my server config: <allow_gta3_img_mods>peds</allow_gta3_img_mods> <client_file name="data/carmods.dat" verify="0"/> <client_file name="data/animgrp.dat" verify="0"/> <client_file name="data/ar_stats.dat" verify="0"/> <client_file name="data/melee.dat" verify="0"/> <client_file name="data/clothes.dat" verify="0"/> <client_file name="data/object.dat" verify="0"/> <client_file name="data/default.dat" verify="0"/> <client_file name="data/surface.dat" verify="0"/> <client_file name="data/default.ide" verify="0"/> <client_file name="data/gta.dat" verify="0"/> <client_file name="data/surfinfo.dat" verify="0"/> <client_file name="data/peds.ide" verify="0"/> <client_file name="data/vehicles.ide" verify="0"/> <client_file name="data/pedstats.dat" verify="0"/> <client_file name="data/water.dat" verify="0"/> <client_file name="data/txdcut.ide" verify="0"/> <client_file name="data/water1.dat" verify="0"/> <client_file name="models/coll/weapons.col" verify="0"/> <client_file name="data/weapon.dat" verify="0"/> <client_file name="data/plants.dat" verify="0"/> <client_file name="anim/ped.ifp" verify="0"/> <client_file name="data/furnitur.dat" verify="0"/> <client_file name="data/procobj.dat" verify="0"/> <client_file name="data/maps" verify="0"/> <disableac>1,2,4,5,6,7,8,11,13,17,21,26</disableac>
-
[Poll?]What would you like to see in a new map editor?
AfterAll14 replied to Captain Cody's topic in Resources
Is this official map editor? If so, compared to current one: - less bugs, better code structure - simple and easy workflow for building plugins - multiple maps support - biuld-in tools for mass object generation (loops, generation along 3d curve, generation alog the line with some step, generation in some area - circle, square, randomized generation - forests, peds, vehicles ect.) -
setElementStreamable(vehicle, false)
-
I have one. It may not work (depends on how similar your dgs to mta cgui). Make a resource that will patch other resources to replace existing scripts based on cgui with dgs. For example it may add a file into resource of this kind: guiCreateButton = exports.dgs.guiCreateButton -- global variable guiCreateButton will store exported function that will be called instead of mta's cgui function anywhere within the resource guiCreateWindow = exports.dgs.guiCreateWindow In this file you will place all your functions that replace mta default functions. So all calls of default mta funcs within the resource would be redirected to dgs system. As for events - you will have to rewrite their names within dgs script to be same as standart ones. I'm sure this would be very useful for lots of people who don't have time/motivation to rewrite their old existing scripts with your dgs system.
-
[Racing Simulator] NFS project [RU | ENG]
AfterAll14 replied to AfterAll14's topic in Servers to play on
Thanks, I will. I honestly thought yandex has some servers over the world. Looks like it doesn't. -
Info: NFS project is an online racing simulator based on MTA SA. Key features: - new car physics engine written from scratch - unique racing system - car development and upgrades system - various historic and modern cars, reconstructed in game with maximum precision - various racing tracks Videos: How to join the game: 1*. You need to install completly clean GTA SA version, without any mods. 2*. In installed GTA SA folder replace gta_sa.exe with this: https://www.dropbox.com/s/kv1br7m0ydh2d64/gta_sa.rar?dl=0 3*. Install MTA SA (if not already done so) from https://mtasa.com/. 4. Download server cache: https://www.dropbox.com/s/e43etci3wq2ak52/NFScache.rar?dl=0 5. Unpack server cache into [MTA install directory]/mods/deathmatch/resources/ 6. Download our custom client: https://www.dropbox.com/s/3hpa7use5cqufa0/NFSclient.rar?dl=0 7. Unpack our client into any folder and launch Multi Theft Auto.exe. 8. Join our server: mtasa://91.203.195.21:22003 * - you can skip those steps if you already installed and playing MTA SA. In case during gameplay you have any crashes, you have to reinstall GTA SA. Probably you are using some mods that you don't even know about.
-
Hi there. I have an idea for you, as soon as you seem to be interested in GUI programming. I'm not using your GUI system, but what I want to suggest has nothing to do with specific GUI, it's more like MTA problem atm. So, when you're programming a GUI, you are forced to constantly keep in mind all those numbers: buttons positions, windows sizes, font scales and so on. This information is a garbage that doesn't really help to improve script logic, but acts like stones attached to your legs that doesn't allow your brain to put some ideas into working script as fast as you may want to. So what I suppose for you is to make an editor where you can create GUI using drag/drop technique, that will generate GUI script automatically. This will allow brain to focus on things that really matter (design, comfort of usage, game logic), instead of wasting energy on dealing with garbage. If you are interested in making improvements over your current script version (maybe v2.0?) I guess this is a worthy thing to go for. P.S. Thanks for your efforts anyways.
-
As for your problem: - use attachElements instead of setMatrix (it won't shake) - to sovle camera rotation, usssh.... it requires quite harsh 3D Vector manipulations. You have to use Vector to keep camera position relative to vehicle, then rotate it on mouse movement and transform from global coordinates to vehicle local coordinates, meanwhile moving it back to target position (which has to be updated with vehicle x rotation) when no mouse movement happens. I made custom camera this way for my project, but it uses modified vectors, so I don't really know any easy way to help you.
-
omg, why don't you just use setCameraTarget? edit: ok, I see, it is only for players.
-
I'm afraid no. You have to use multi-render target (MRT) for this. But at the moment MRT in MTA provides very poor results. @Ren_712 made a resource that allows you to create mirrors, it utilizes MRT. You can check it on community page and see how it can be done. But it will only work in a limited space with high performance costs.
-
Help me, please, as fix convert quartenion to euler angles in .ipl files
AfterAll14 replied to LeroY's topic in Scripting
I'd suggest you to use this code to get rotations of all objects first, then manually fix the angles of those who have non-zero XY rotations. -
Help me, please, as fix convert quartenion to euler angles in .ipl files
AfterAll14 replied to LeroY's topic in Scripting
At some point I tried hard to solve GTA quaternions. I implemented all possible formulas, none of it worked correctly in GTA SA. It only works for Z rotation. X and Y rotations are screwed by rockstart itself, I guess specifically to prevent modding. So, I'm afraid there's no solution. -
@Tails Thanks, worked.
-
Well, the problem is - I need to be in exterior for my intro scene
-
@NeXuS™ it doesn't work either. Even with all sound groups disabled this static noise is still there. It only goes away when camera is in fade.
-
Anyone knows how to disable background wind? Kinda annoying, I want to get clean picture for intro scene. setAmbientSoundEnabled doesn't help .
-
Уходить куда?
-
1. This is not scripting help topic. 2. What car? 3. What script? 4. What is your exact question?
-
https://wiki.multitheftauto.com/wiki/SetVehicleComponentRotation
-
Yeah, not a big deal. Making skidmarks, smoke and tyre noise was quite pain in the ass.
-
@Skarbonke Well, yeah, only for my "server", if you can call dat insane project I'm working on "a server" . Here's some recent updates: I'm not going to post updates here too much, cause people are not showing much interest in it. If you're interested you can follow on vk page, though it's russian-speaking website.