Jump to content

Cinkoskink

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by Cinkoskink

  1. Thanks for help! Everything is working now.
  2. So here is a whole race folder : You will also find .max file in img folder. If you can make it work right, and also tell us what we did wrong, you will be awesome.
  3. From track, with Kam's GTA Script you make .col file. This sphere is loaded .col file. What should we try to repair this? If someone will be interested in this problem, i could also send files.
  4. We are making this together, and in 3ds it is like this: So i think dff and col are good. So why texture is lower that colision?
  5. With Kam's GTA Script. So now, I assure myself, that everything is in 0,0,0 point, that col is made good. And now i have very funny situation. So i put my box ( 40x40x40 ) in the air. Over that i put spawnpoint. So my car land on it. I can see upper wall texture, and two of five of others walls. If i fell on the ground, I can't see my box any more.
  6. I change this number to 0, as it is not a vehicle, but nothing's change. I wonder if it is something wrong with dff or col or txd file, or it's just problem i can't remove? But i saw more complicated maps with own objects.
  7. I try to add my own object into a map. It is a box with some texture. I have three object files ( .dff , .col , .txd ). I also have .map file ( with meta.xml ) and .lua script for replacing object. I think the crucial is .lua file so it looks like this: addEventHandler('onClientResourceStart', resourceRoot, function() outputChatBox('Loding Object') local txd = engineLoadTXD('img/trackB.txd') -- TXD engineImportTXD(txd, 8838) -- COL local col = engineLoadCOL('img/trackB.col') engineReplaceCOL(col, 8838) -- DFF local dff = engineLoadDFF('img/trackB.dff', 16060) engineReplaceModel(dff, 8838) createObject(8838, 0.00, 0.00, 20.00, 0.00, 0.00, 0.00) engineSetModelLODDistance(8838, 500) end ) And it works, but i have some strange problem. It looks like collision and shadow mesh is in another position. So there is a place on box when you can't stand because you fall, and when you go other side, you can stand even when you go off the box. There is a photo: ( You can only stand on this dark place ) If anyone knows what i did wrong, i will be pleased to hear it.
×
×
  • Create New...