Dzsekszon Posted January 6, 2008 Share Posted January 6, 2008 Hy! I'm converting an object to the game, but I've got a problem! - In gta.dat I wrote these lines: IMG DATA\MAPS\nimitz\nimitz.IMG under IMG MODELS\CUTSCENE.IMG - Copy the nimitz.img to GTA San Andreas\data\maps\nimitz folder - After that I start MED - At IDE I click on New file, and create a nimitz.ide in the nimitz folder - I've got a new .IDE file in the list, and i click on New Item, and I browse the nimitz.dff - At IPL I click on New file, and..... - I've got a new .IPL file in the list, and I click on New, and in the nimitz.ide I open the nimitz! That's appear now in the screen! - At Scene I load the nimitz and the SFw ipls - I set the coordinates, after that I save it! - Start a new game, and it's crashed! What did I wrong? Is there a poly limit about the LOD and the colision? Or is it possible that my colision is wrong? Because if I delete the LOD lines, the game doesn't crash, but the object doesn't load! There's nothing! Here's the ide file: objs 18631, nimitz, nimitz, 299, 0 18632, lodnimitz, lodnimitz, 1000, 0 end And the ipl: inst 18631, nimitz, 0, -2100, 1770, 7, 0, 0, 0.707108188464, -0.707105373907, -1 18632, lodnimitz, 0, -2100, 1770, 7, 0, 0, 0.707108188464, -0.707105373907, 0 end Ok, it hasn't got texture yet, now the txd file it's just another texture for test it! And a picture in MED: http://gtasarwmod.atw.hu/bmw/nimitz/nimitz1.jpg Somebody has got any ideas? Thanks Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/ Share on other sites More sharing options...
X-Seti Posted January 6, 2008 Share Posted January 6, 2008 looks texture less doesn't it, TXD set for SA?, also check all the model's textures are in the nimix.txd Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057386579 Share on other sites More sharing options...
Dzsekszon Posted January 6, 2008 Author Share Posted January 6, 2008 It's necessary? Because if I import a model to img tool without txd, it works in the game! Yes, the ship hasn't got textures yet, I set a txd file as nimitz.txd, but now there aren't any textures on it! Or if I add a texture with material editor as for example base.tga, then add it to the nimitz.txd, it would be work? Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057386621 Share on other sites More sharing options...
derty Posted January 6, 2008 Share Posted January 6, 2008 (edited) inst18631, nimitz, 0, -2100, 1770, 7, 0, 0, 0.707108188464, -0.707105373907, -118632, lodnimitz, 0, -2100, 1770, 7, 0, 0, 0.707108188464, -0.707105373907, 0end should be inst18631, nimitz, 0, -2100.0, 1770.0, 7.0, 0, 0, 0.707108188464, -0.707105373907, 118632, lodnimitz, 0, -2100.0, 1770.0, 7.0, 0, 0, 0.707108188464, -0.707105373907, -1end edit: added ".0" to end of coords, don't think it will cause an issue, but may. Also, there is no need for col in SA for LOD objects, as long as they are used properly. Consult This Post for LOD in SA explained in depth, in plain form. Edited January 7, 2008 by derty Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057387136 Share on other sites More sharing options...
Dzsekszon Posted January 8, 2008 Author Share Posted January 8, 2008 Thanks! Now the game loads, but if I get near to the ship (Doherty garage area for example) the game is crashing! I made a new LOD model, made textures for the models (add a gray base.tga texture)! And set the material as a standard gta material! Or is this the problem? The map object doesn't need gta materials, just textures? Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057392022 Share on other sites More sharing options...
derty Posted January 9, 2008 Share Posted January 9, 2008 is this your WHLOLE inst section above? Your IPL has ONLY those lines? Also, let's try with different ID numbers, 19999 and 19998. Those worked for me in a little request I did for someone. I can look at your files with you if we can't troubleshoot this here, good luck. Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057394360 Share on other sites More sharing options...
Dzsekszon Posted January 9, 2008 Author Share Posted January 9, 2008 (edited) Yes! I restart the whole thing in MED! Now that's the new datas: IDE:#Item Definition File created by MapEditorobjs18631, nimitz, nimitz, 299, 018632, lodnimitz, lodnimitz, 999, 0endtobjend2dfxend IPL:#Item Placement File created by MEdinst18631, nimitz, 0, -2100.0, 1710.0, 7.0, 0, 0, 0, 1, 118632, lodnimitz, 0, -2100.0, 1710.0, 7.0, 0, 0, 0, 1, -1end And it's still crashing! If I rewrite the ID's to 19998 and 19999: crash If I write ".0" after the zeros and 1: It doesn't crash, but there's is nothing in the game! I try to remove the GTA materials, if the game will crash, I will be totally puzzled! That's my last idea. Edit: Reset the original materials (but keep the base.tga): crash! Now I'm puzzled Edited January 9, 2008 by Dzsekszon Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057394499 Share on other sites More sharing options...
derty Posted January 9, 2008 Share Posted January 9, 2008 Ok then, check it out, the fastest and easiest way to do this is to PM me the files I'll try to sort it out, and update you here with what it was and help to understand it. If you need a place to hos the file, please use discretion for my sake yousendit.com was pretty good, and will delete the link in 7 days Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057394988 Share on other sites More sharing options...
derty Posted January 10, 2008 Share Posted January 10, 2008 (edited) A reply is in order, rather than edit, I believe. I received your nimitz files, the issue is clear, however I've not fixed or tested. In your img file, you have a col for LOD file, which is not needed in SA. Also, you'll need your img file set up by IDE (DFFs, then TXDs, then Col Libraries, meaning it should list like this: edit2: sorry, i didnt include your lod txd, it should be before the col file Now, take into consideration that while LOD does not take COL files in SA, you are not merely looking at the removal of your LOD col file. Nor is it only the reordering of your IMG file. The nimitz.col file would be considered your col library. In other words, if your IDE and IPL were named mymap.ide/ipl (ipl does not require same name), but your DFF was still named "nimitz.dff", then your col (single file per IDE) would be named mymap.col, which upon opening that file, one would find nimitz.col inside. A clear visual comparison is as follows: Notice that I name LOD with a standard of Z before the name (ie: zsunoco), naming is not important, I do this to speed my work. Also, notice that though there is LOD for all you see in the col file, there is no entries in the COl file for LOD, it is all only standard view frame objects. Does this help? Are you up and running now, no problems? HERE is another look at SA lod tutorial to know everything else. Edited January 10, 2008 by derty Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057396780 Share on other sites More sharing options...
Dzsekszon Posted January 10, 2008 Author Share Posted January 10, 2008 So, I must to rebuild my img, like this? I understand LOD's col file doesn't need! And what should I need to do after I rebuild the img!? (Sry, but my english isn't so good, and I can't understand what should I need to do! Or I'm understand it, just dunno what and where must I do this! Sry) Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057397810 Share on other sites More sharing options...
derty Posted January 11, 2008 Share Posted January 11, 2008 That's it Does it work now? Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057398676 Share on other sites More sharing options...
Dzsekszon Posted January 11, 2008 Author Share Posted January 11, 2008 No Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057398818 Share on other sites More sharing options...
Dzsekszon Posted January 11, 2008 Author Share Posted January 11, 2008 (edited) That's intresting! I changed the LOD model to the aircaft carrier's model (you know, it is in SF, and you can take off from with a Hydra), and now, finally, it works! BUT! If I very close to the ship, the game is crashing! But I can see the LOD model, I think the colisions are bad! How can I delete the LOD's colision? And I dunno why wrong is the model's colision, it has got Bounding Box, Bounding Sphere, and a CM_nimitz Edited January 11, 2008 by Dzsekszon Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057400625 Share on other sites More sharing options...
derty Posted January 11, 2008 Share Posted January 11, 2008 LOD uses no collison. LOD = NO col model. How big is this model? the size of the ship??? Ok, Im going to go ahead and load it up and see if I can clear this up with more study Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057400647 Share on other sites More sharing options...
Dzsekszon Posted January 11, 2008 Author Share Posted January 11, 2008 (edited) Hey hey hey! Can you see it? http://gtasarwmod.atw.hu/bmw/nimitz/nimitz2.jpg But the model's colision is wrong, it's 100%! But I'm happy now, yeah, it works! Edit: But this is the colision model too, so the model is good, something wrong with the Bounding stuffs, or I dunno! So if it works as a LOD, it must be works as a col! No? Edited January 11, 2008 by Dzsekszon Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057400675 Share on other sites More sharing options...
derty Posted January 11, 2008 Share Posted January 11, 2008 it works up close too, or still crashes when you get close. Collision is wrong? Meaning, broken/cause crashes, or meaning it is not lined up to dff? Looks very detailed Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057400763 Share on other sites More sharing options...
Dzsekszon Posted January 12, 2008 Author Share Posted January 12, 2008 The model is more detailed ^^ http://users.cwi.hu/sgupload/1200096004.jpg And here is the col: http://users.cwi.hu/sgupload/1200096016.jpg Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057400787 Share on other sites More sharing options...
derty Posted January 12, 2008 Share Posted January 12, 2008 Wow, that is so huge. I wonder if you have tried making this into 2 objects? It will make bounding spheres a lot smaller. Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057400798 Share on other sites More sharing options...
Dzsekszon Posted January 12, 2008 Author Share Posted January 12, 2008 Cut the whole ship to 2 pieces!? Ok, I'll try it Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057400805 Share on other sites More sharing options...
Dzsekszon Posted January 19, 2008 Author Share Posted January 19, 2008 Well, I tried some ways! Without the island: http://users.cwi.hu/sgupload/1200764742.jpg Crashed With the island: http://users.cwi.hu/sgupload/1200764876.jpg Crashed Only just the island: http://users.cwi.hu/sgupload/1200764899.jpg Crashed But I can get real close to the ship! I'm close to crash with the ship, need a half Hydra and I could! Any ideas? Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057419258 Share on other sites More sharing options...
Dzsekszon Posted January 23, 2008 Author Share Posted January 23, 2008 Problem solved http://gtasarwmod.atw.hu/bmw/nimitz/nimitz4.jpg http://gtasarwmod.atw.hu/bmw/nimitz/nimitz5.jpg http://gtasarwmod.atw.hu/bmw/nimitz/nimitz6.jpg Thanks for everyone, especially thanks derty Edit: The problem was: I've export the model with col, and that was the problem! Without col it works! Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057429782 Share on other sites More sharing options...
derty Posted January 24, 2008 Share Posted January 24, 2008 haha "hi mom!" lol Now to texture it Link to comment https://gtaforums.com/topic/306285-custom-map-objects-to-the-game/?do=findComment&comment=1057432426 Share on other sites More sharing options...
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