Sergei- Posted May 7, 2013 Share Posted May 7, 2013 hello mta.i am making a server on my own.i am working on it.i want to know how to add weapon mods,weapon sfx sounds,and skins.i have skins,weapons downloaded from various webs.it could be helpful if anybody could tell me how to mod them.thank you. Link to comment
Moderators IIYAMA Posted May 7, 2013 Moderators Share Posted May 7, 2013 http://mta.dzek.eu/peds/ http://mta.dzek.eu/vehicle/ Link to comment
Sergei- Posted May 7, 2013 Author Share Posted May 7, 2013 vehicle creator works but the ped skin creator doesnt work and i also want for weapon and weapon sound. Link to comment
Moderators IIYAMA Posted May 7, 2013 Moderators Share Posted May 7, 2013 Well then you have to create it manually. engineImportTXD (engineLoadTXD ( "file" ), ID ) engineReplaceModel ( engineLoadDFF ( "file", ID ), ID ) Weapon ID's https://wiki.multitheftauto.com/wiki/Weapon Replace sounds isn't possible. (you have to play them with playSound or playSound3D) Link to comment
Sergei- Posted May 7, 2013 Author Share Posted May 7, 2013 i have played a server which has weapon sound like cod mw 4.whats that then? Link to comment
WASSIm. Posted May 7, 2013 Share Posted May 7, 2013 try this my script weapon sound 3D function weaponfired(weapon, ammo, ammoInClip, hitX, hitY, hitZ, hitElement) local soundfile = "" if weapon == 24 then soundfile = "deagle.wav" elseif weapon == 23 then soundfile2 = "silenced.wav" elseif weapon == 22 then soundfile = "colt.wav" elseif weapon == 29 then soundfile = "mp5.wav" elseif weapon == 25 or weapon == 26 then soundfile = "shotgun.wav" elseif weapon == 27 then soundfile = "combat.wav" elseif weapon == 28 then soundfile = "uzi.wav" elseif weapon == 34 or weapon == 33 then soundfile = "sniper.wav" elseif weapon == 31 then soundfile = "m4.wav" elseif weapon == 30 then soundfile = "ak_47.wav" elseif weapon == 35 or weapon == 36 then soundfile = "rpg.wav" end local x, y, z = getElementPosition(source) local sound = playSound3D(soundfile, x, y, z, false) setSoundVolume(sound,0.9) setSoundMaxDistance(sound, 40) end addEventHandler("onClientPlayerWeaponFire", root, weaponfired) 1 Link to comment
Sergei- Posted May 7, 2013 Author Share Posted May 7, 2013 i created a resource called mp5 and pasted txd and dff files and created lua file.no meta file needed? Link to comment
iPrestege Posted May 7, 2013 Share Posted May 7, 2013 i created a resource called mp5 and pasted txd and dff files and created lua file.no meta file needed? Of course with out the "META" File the resource won't loaded. Link to comment
Sergei- Posted May 7, 2013 Author Share Posted May 7, 2013 what should we do in meta file? sorry i am new in making server. Link to comment
iPrestege Posted May 7, 2013 Share Posted May 7, 2013 what should we do in meta file? sorry i am new in making server. Meta.xml Link to comment
Sergei- Posted May 7, 2013 Author Share Posted May 7, 2013 what should i type inside it? Link to comment
iPrestege Posted May 7, 2013 Share Posted May 7, 2013 what should i type inside it? Did you read the wiki page? Link to comment
Sergei- Posted May 7, 2013 Author Share Posted May 7, 2013 i dont know what to read,i mean if i want to mod skins,weapons,what should i read? Link to comment
iPrestege Posted May 7, 2013 Share Posted May 7, 2013 You are talking about the meta.xml file now -.- ?? https://forum.multitheftauto.com/viewtopic.php?f=148&t=40809 Link to comment
Turky1 Posted May 8, 2013 Share Posted May 8, 2013 https://wiki.multitheftauto.com/wiki/Main_Page 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