Bussy-E Posted April 12, 2012 Posted April 12, 2012 Hey guys. I've made 2 videos about adding Custom objects in MTA. Videos: Part 1 Part 2 Programs you'll need: 3DS Max (2009 or 2010, but if you have other It may work too!) Col Editor 2 TXD Workshop Extra stuff you'll need: GTA Scripts for 3DS Max (Put them in 3dsmax folder\Scripts) Example resource: DOWNLOAD .................. Text that you have to put in the meta file: <meta> <script src="custom.lua" type="client" /> <file src="files/yourfilename.txd" /> <file src="files/yourfilename.dff" /> <file src="files/yourfilename.col" /> </meta> Text that you have to put in the .Lua file (Script): addEventHandler('onClientResourceStart', resourceRoot, function() outputChatBox ( "Test") local txd = engineLoadTXD('files/yourfilename.txd',true) engineImportTXD(txd, 2052) local dff = engineLoadDFF('files/yourfilename.dff', 0) engineReplaceModel(dff, 2052) local col = engineLoadCOL('files/yourfilename.col') engineReplaceCOL(col, 2052) engineSetModelLODDistance(2052, 500) end ) P.S. My native language is not English, so I have some mistakes, but I think you'll understand the shit I'm talking 1 2
MTA Team qaisjp Posted April 13, 2012 MTA Team Posted April 13, 2012 not a tutorial. in before the lock
Xeno Posted April 13, 2012 Posted April 13, 2012 not a tutorial.in before the lock This is a tutorial, look at the videos.
MTA Team qaisjp Posted April 14, 2012 MTA Team Posted April 14, 2012 Misleading title. should be "[TUT] Creating custom objects"
vinxent10 Posted April 18, 2012 Posted April 18, 2012 So this is the source how to make the col script work?
Human Resources Staff Vinyard Posted April 28, 2012 Human Resources Staff Posted April 28, 2012 Well done
jhone3 Posted January 22, 2014 Posted January 22, 2014 Hey guys. I've made 2 videos about adding Custom objects in MTA.Videos: Part 1 Part 2 Programs you'll need: 3DS Max (2009 or 2010, but if you have other It may work too!) Col Editor 2 TXD Workshop Extra stuff you'll need: GTA Scripts for 3DS Max (Put them in 3dsmax folder\Scripts) Example resource: DOWNLOAD .................. Text that you have to put in the meta file: <meta> <script src="custom.lua" type="client" /> <file src="files/yourfilename.txd" /> <file src="files/yourfilename.dff" /> <file src="files/yourfilename.col" /> </meta> Text that you have to put in the .Lua file (Script): addEventHandler('onClientResourceStart', resourceRoot, function() outputChatBox ( "Test") local txd = engineLoadTXD('files/yourfilename.txd',true) engineImportTXD(txd, 2052) local dff = engineLoadDFF('files/yourfilename.dff', 0) engineReplaceModel(dff, 2052) local col = engineLoadCOL('files/yourfilename.col') engineReplaceCOL(col, 2052) engineSetModelLODDistance(2052, 500) end ) P.S. My native language is not English, so I have some mistakes, but I think you'll understand the :~ I'm talking thnks for the tutorial i finally finish converting all drifting custom maps like okaru, fantasy , akina , & many more thnks ^^ heres the video
StreetPunkRulez Posted June 4, 2014 Posted June 4, 2014 Is that thing will work to custom particle effects?
ArromG Posted January 24, 2015 Posted January 24, 2015 Hi... I make one box and is colored to 3 sides....and is not colored to 6 sides...as it should the other three sides are transparent why??
Om. Posted November 29, 2015 Posted November 29, 2015 Well, Is there any option i can export it like export.resource:loadTxd() ?
kieran Posted August 7, 2017 Posted August 7, 2017 Well I made the stuff..... But how about vehicle tutorials!? You make a ship that's got a steering wheel at top while it was originally at bottom..... How the heck you move the position? And then there's the small fact of sizes....... What size is it from 3D Max to in game!? Is 0.1 in 3D Max equal to 1 meter on MTA? These are sort of needed pieces of information still an amazing tutorial, I learned a LOT.
Z4Zy Posted March 8, 2018 Posted March 8, 2018 On 4/12/2012 at 22:21, Bussy-E said: addEventHandler('onClientResourceStart', resourceRoot, function() outputChatBox ( "Test") local txd = engineLoadTXD('files/yourfilename.txd',true) engineImportTXD(txd, 2052) local dff = engineLoadDFF('files/yourfilename.dff', 0) engineReplaceModel(dff, 2052) local col = engineLoadCOL('files/yourfilename.col') engineReplaceCOL(col, 2052) engineSetModelLODDistance(2052, 500) end ) is the object with ID 2052 replace with the object that we created ?? and all the objects existing in the map with ID 2052 will replace or not ??
Falk Posted April 3, 2018 Posted April 3, 2018 Hey! My problem is: I create COL Script file but no convert .col file just convert .cst file....why?
Z4Zy Posted May 17, 2018 Posted May 17, 2018 (edited) @Falk Just use "col editor 2" to convert your .cst file to .col file. [ that is mentioned in the TUT sweetly ] Download Col Editor 2 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ My Problem :- Alright, first Thank You very much @Bussy-E for your great TUT....!!! Alright, i follow your steps of videos in TUT yes, and i have create a BOX. Alright, And i add it into the server and start the resource alright?. The object 2052 has been changed to a BOX shape, yes. But, only 3 sides are only seen in that BOX alright. The other 3 sides were missed Yes.... So,,, What should i do to visible that missed 3 faces of the BOX ?? and i recognised that the problem is in .DFF file of the object. How to fix this ?? [ Please Anyone Help Me ..!!! ] Edited May 17, 2018 by DeadthStrock
Bruce Posted May 27, 2019 Posted May 27, 2019 (edited) @koko1238640 You must attach all the objects together .... Convert your objects to an editable poly then go to modify settings on left side toolbar then see for Edit Geometry options there you must see Attach. see this video at 4.25 ---------------------------------------------------------------------------------------------------------- @DeadthStrock On 17/05/2018 at 16:43, DeadthStrock said: @Falk Just use "col editor 2" to convert your .cst file to .col file. [ that is mentioned in the TUT sweetly ] Download Col Editor 2 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ My Problem :- Alright, first Thank You very much @Bussy-E for your great TUT....!!! Alright, i follow your steps of videos in TUT yes, and i have create a BOX. Alright, And i add it into the server and start the resource alright?. The object 2052 has been changed to a BOX shape, yes. But, only 3 sides are only seen in that BOX alright. The other 3 sides were missed Yes.... So,,, What should i do to visible that missed 3 faces of the BOX ?? and i recognised that the problem is in .DFF file of the object. How to fix this ?? [ Please Anyone Help Me ..!!! ] Did you find a fix for this? Cause i too recently have your problem with the box thing....help pls Edited May 27, 2019 by Bruce
Recommended Posts