Bussy-E Posted April 12, 2012 Share 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 Link to comment
qaisjp Posted April 13, 2012 Share Posted April 13, 2012 not a tutorial. in before the lock Link to comment
Xeno Posted April 13, 2012 Share Posted April 13, 2012 not a tutorial.in before the lock This is a tutorial, look at the videos. Link to comment
qaisjp Posted April 14, 2012 Share Posted April 14, 2012 Misleading title. should be "[TUT] Creating custom objects" Link to comment
vinxent10 Posted April 18, 2012 Share Posted April 18, 2012 So this is the source how to make the col script work? Link to comment
Moderators Vinyard Posted April 28, 2012 Moderators Share Posted April 28, 2012 Well done Link to comment
jhone3 Posted January 22, 2014 Share 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 Link to comment
ITrex Posted April 20, 2014 Share Posted April 20, 2014 How to export 3ds max several objects' in a DFF? Link to comment
=KoG=Rouche Posted April 22, 2014 Share Posted April 22, 2014 Thanks for helping us Good work. Link to comment
StreetPunkRulez Posted June 4, 2014 Share Posted June 4, 2014 Is that thing will work to custom particle effects? Link to comment
ArromG Posted January 24, 2015 Share 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?? Link to comment
ArromG Posted January 26, 2015 Share Posted January 26, 2015 Can help me someone with my problem??? Link to comment
Om. Posted November 29, 2015 Share Posted November 29, 2015 Well, Is there any option i can export it like export.resource:loadTxd() ? Link to comment
kieran Posted August 7, 2017 Share 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. Link to comment
Z4Zy Posted March 8, 2018 Share 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 ?? Link to comment
NeXuS™ Posted March 8, 2018 Share Posted March 8, 2018 It'll replace the existing ones too. Link to comment
Falk Posted April 3, 2018 Share Posted April 3, 2018 Hey! My problem is: I create COL Script file but no convert .col file just convert .cst file....why? Link to comment
Z4Zy Posted May 17, 2018 Share 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 Link to comment
Bruce Posted May 27, 2019 Share 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 Link to comment
Recommended Posts