viiNi Posted September 11, 2014 Author Share Posted September 11, 2014 (edited) . Edited March 29, 2015 by viiNi Quote Link to comment
jededo Posted September 11, 2014 Share Posted September 11, 2014 (edited) Stop double your posts! Nobody didn't will miss for you. Edited September 11, 2014 by jededo nevernotatall 1 Quote Link to comment
SDK Posted September 11, 2014 Share Posted September 11, 2014 Shutup jededoThanks for all the work viiNi, you helped around a lot. SkyBlue and NITROX 1 1 Quote Link to comment
Guest AleksCore Posted September 11, 2014 Share Posted September 11, 2014 Thanks viiNi and good luck You helped a lot to new mappers and made a good work for mr green's community Quote Link to comment
viiNi Posted September 13, 2014 Author Share Posted September 13, 2014 (edited) .. Edited October 10, 2015 by viiNi Quote Link to comment
Guest AleksCore Posted September 14, 2014 Share Posted September 14, 2014 --- Bally Model, Flashing lights ----this is don't work Quote Link to comment
(O)_(O) Posted September 14, 2014 Share Posted September 14, 2014 We all know that he just copy/pasted all from mtasa, but at least he brought useful scripts to our forums, it makes the work easy for the mapmakers, good work. Quote Link to comment
Guest AleksCore Posted September 14, 2014 Share Posted September 14, 2014 I think he don't understand what is scripting in mta and how it works This tutorial just blowed my mind Quote Link to comment
viiNi Posted September 14, 2014 Author Share Posted September 14, 2014 (edited) . Edited March 29, 2015 by viiNi Quote Link to comment
NatureX+ Posted September 28, 2014 Share Posted September 28, 2014 Random marker script please :3 Quote Link to comment
AfuSensi Posted September 28, 2014 Share Posted September 28, 2014 Random marker script please :3I have explained how to use it in your maps here: http://mrgreengaming.com/forums/topic/14437-random-markers-script/ NITROX 1 Quote Link to comment
viiNi Posted May 1, 2015 Author Share Posted May 1, 2015 --- How to Reduce the Size of the Map Song ---(Program (CRACKED) Credits to M.T) Step 1: Download Instal and Crack the MP3Resizer: http://www.mediafire.com/download/qzi2rtv0bytuq5u/MP3+Resizer+++Crack+By+M.T.rar Step 2: Open and click in ADD FILES+, choose your .mp3 file (song).Eg. The original song size is 3.97 mb. You can change the setting... I use the standard, I think it is already very good. Step 3: Just click in Reesize... the new song.mp3 will be saved in your desktop. Now the file is just 2.48mb. The size reduction may vary depending on the format and the codec of the .mp3! Any questions? Ask! MegasXLR 1 Quote Link to comment
Guest AleksCore Posted June 27, 2015 Share Posted June 27, 2015 (edited) VehiclesPart 1. Vehicles with collisions. Sometimes we want to add some vehicles in our map, but we all noticed that they are non-collidable. And I just found really easy solution. Code:addEventHandler("onClientResourceStart", resourceRoot, function()for key, vehicle in ipairs(getElementsByType("vehicle", resourceRoot)) dosetElementData (vehicle, 'race.collideothers', 1 )endend) 1) Copy this code to notepad and save as "vehicles.lua" to map folder.2) <script src="vehicles.lua" type="client" /> Insert this line into meta.xml of your map.3) Enjoy! Part 2. Vehicles, collisions, lights, sirens Well, you will say: "Now I can put cars with collisions, but can I enable lights and sirens on police cars?". Yes! Sure you can! And here is working code:addEventHandler("onClientResourceStart", resourceRoot, function()for key, vehicle in ipairs(getElementsByType("vehicle", resourceRoot)) dosetElementData (vehicle, 'race.collideothers', 1 )setVehicleOverrideLights (vehicle, 2)setVehicleSirensOn(vehicle, true)endend)Part 3? TBAP.S. warpPedIntoVehicle function and some others don't works this way. They'll work only with client created vehicles. Sadly Edited June 27, 2015 by AleksCore Quote Link to comment
NatureX+ Posted June 28, 2015 Share Posted June 28, 2015 So, we can collide with vehicle even if our map has gm? Quote Link to comment
Guest AleksCore Posted June 28, 2015 Share Posted June 28, 2015 (edited) No. But it's also possible to do setElementCollidableWith(vehicle, getPedOccupiedVehicle(localPlayer)) But you need to attach this function to onClientVehicleEnter event Edited June 28, 2015 by AleksCore Quote Link to comment
viiNi Posted September 27, 2015 Author Share Posted September 27, 2015 (edited) --- How to use RCG (Roller Coaster Generator) --- Step 1. Download: http://www.mediafire.com/download/bvs226ozxuozuyj/RCG.rar Step 2. Extract the files to you resources folder: Like that - C:\Program Files (x86)\MTA San Andreas 1.5\server\mods\deathmatch\resources Step 3. Open your MTA EDITOR and write in the chat: /start rcg And press Enter Step 4. In the toolbar, roll the mouse wheel until you find the following! Step 5. The system works like this: We have to create two control points, and then create the track, always have to connect one point to another. Very simple! Note: You can choose any object, but not all of them are good. EXAMPLE: Step 6. Now we have to create the track: The track: Step 7. You have to adjust the track as you prefer: Note: You can do what you want, several different forms and objects, that's the basics. With practice you learn to do many other things. Step 8. Save your map. xD Step 9. Download and install Notepad++: https://notepad-plus-plus.org/download/v6.8.3.html Step 10. Go to your map folder and open the map.lua (name that you saved .lua) with notepad++: Step 11. Delete all the line containing these words:<controlPoint id="controlPoint.....<track id="track.....To do this, press Ctrl + F and type: ControlPointTrack And click in find next. Step 12. Save and close. A map that I used this script Finished!! Any questions? Ask! Edited October 10, 2015 by viiNi MegasXLR 1 Quote Link to comment
Red_Angel Posted September 30, 2015 Share Posted September 30, 2015 (edited) What do i want:I want barrels explode in a certain moment using ONLY in-game editor. Race mode. For example, in the front of the player, before he reached barrel, to scare him, but without damage to his car.How do I do it:Dont laught, but i create a barrel, after that i create a car with alpha 0 (invisible) ABOVE that barrel. When players reach certain moment, car appears and begins to fall on a barrel => explosion. I can choose the moment of explosion by changing the height of the vehicle spawn - it's very conveniently and easy.Problem:Often the car appears but does not fall down. It just hanging in the air. I tryed to add one more barrel INSIDE of car. It works 50/50. And it's became too difficult and not convenient. How can i force vehicle guaranteed to fall down on barrel each time?And maybe - how can i make an explosion easier? Again, it's very easy to adjust the moment of the explosion by the height of car spawn. So i do not want to give up this option, but it is necessary that the vehicle is guaranteed to fall when player appears in sight. Using only in-game editor. Thanks! Edited September 30, 2015 by Red_Angel Quote Link to comment
SDK Posted September 30, 2015 Share Posted September 30, 2015 Try using https://wiki.multitheftauto.com/wiki/CreateExplosion Quote Link to comment
MoshPit Posted September 30, 2015 Share Posted September 30, 2015 What do i want:I want barrels explode in a certain moment using ONLY in-game editor. Race mode. For example, in the front of the player, before he reached barrel, to scare him, but without damage to his car.How do I do it:Dont laught, but i create a barrel, after that i create a car with alpha 0 (invisible) ABOVE that barrel. When players reach certain moment, car appears and begins to fall on a barrel => explosion. I can choose the moment of explosion by changing the height of the vehicle spawn - it's very conveniently and easy.Problem:Often the car appears but does not fall down. It just hanging in the air. I tryed to add one more barrel INSIDE of car. It works 50/50. And it's became too difficult and not convenient. How can i force vehicle guaranteed to fall down on barrel each time?And maybe - how can i make an explosion easier? Again, it's very easy to adjust the moment of the explosion by the height of car spawn. So i do not want to give up this option, but it is necessary that the vehicle is guaranteed to fall when player appears in sight. Using only in-game editor. Thanks!Try different vehicles, the sea sparrow seems to fall every time. Quote Link to comment
Guest AleksCore Posted October 1, 2015 Share Posted October 1, 2015 But he can't disable damage from explosions using only map editor. Quote Link to comment
SDK Posted October 1, 2015 Share Posted October 1, 2015 Oh, only map editor. That's gonna be tough then Quote Link to comment
viiNi Posted October 9, 2015 Author Share Posted October 9, 2015 (edited) --- Bally Model, Flashing lights ---- Download the file: http://www.mediafire.com/download/clldx939g0sh7ju/bally.rar Step 1. Create a map using ballypllr01_lvs OBJECT ID: 3437Sem Título-1.png Step 2. After you finish and save your map... go to the map folder, and paste all files of the downloaded file.dsa.png Step 3. Add these lines meta.xml: <file src="b1.dff"></file> <file src="b2.dff"></file> <file src="b1.txd"></file> <file src="b2.txd"></file> <script src="bally_client.lua" type="client"></script>Step 5. Need to be like that:<meta> <file src="b1.dff"></file> <file src="b2.dff"></file> <file src="b1.txd"></file> <file src="b2.txd"></file> <script src="bally_client.lua" type="client"></script> <info type="map" version="1.0.0"></info> <map src="vmjgfbvbccbv.map" dimension="0"></map> <settings> <setting name="#skins" value='[ "cj" ]'></setting> <setting name="#time" value="1:0"></setting> <setting name="#maxplayers" value="[ 128 ]"></setting> <setting name="#useLODs" value="[ false ]"></setting> <setting name="#gamespeed" value="[ 1 ]"></setting> <setting name="#ghostmode" value='[ "false" ]'></setting> <setting name="#weather" value="[ 0 ]"></setting> <setting name="#vehicleweapons" value='[ "false" ]'></setting> <setting name="#minplayers" value="[ 0 ]"></setting> <setting name="#respawntime" value="[ 5 ]"></setting> <setting name="#gravity" value="[ 0.0080000004 ]"></setting> <setting name="#waveheight" value="[ 0 ]"></setting> <setting name="#racemode" value='[ "Race\/DD" ]'></setting> <setting name="#locked_time" value="[ true ]"></setting> <setting name="#duration" value="[ 1800 ]"></setting> <setting name="#respawn" value='[ "timelimit" ]'></setting> </settings> <script src="mapEditorScriptingExtension_s.lua" type="server"></script> <script src="mapEditorScriptingExtension_c.lua" type="client" validate="false"></script></meta>Step 6 . Finished.Video that shows how it looks: Fixed, now it works fine!Note : Go back to the page 1 to see the full tutorial xD Edited October 10, 2015 by viiNi Quad_Tube 1 Quote Link to comment
NITROX Posted October 10, 2015 Share Posted October 10, 2015 (edited) ~>> outputChatBox (Message when start the map) <<~ 1º - Download the file: https://www.dropbox.com/s/vj67s58ecik7lyp/ChatBox.rar 2º - Extract the file "ChatBox.lua" inside the folder of your map 3º - Open the "meta.xml" file of your map and add the line: <script src="ChatBox.lua" type="client" /> 4º - Open the file "ChatBox.lua" and inside it there will be a line that says outputChatBox ("chatbox texto", 27, 89, 224, true) Where it says "chatbox texto" you can put any text you want to example: 5º - For more information on additional chat just add the line: outputChatBox ("chatbox texto", 27, 89, 224, true) And change "chatbox texto" by the text you want and at the end the map will stay that way Edited September 7, 2016 by NITROX Micha3lo, viiNi and GT//R 3 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.