wauzie Posted November 20, 2005 Share Posted November 20, 2005 (edited) Hello, i made a tutorial about putting models into sa. Needs: -Kams newest scripts Kams scripts My collection of kams scripts, including Col_io_2b -TXD workshop -IMG 2.0 Lets get started. First off all you need a model to put in sa. Create one. Make sure you attached everything. I made a simpel box: Now press the hammer in 3ds max and choose kams DFF script. Open exporter menu en take my settings. Hit Export DFF. Save your model: Now we're gonna make a colission file. Choose Max script -> Run script. Choose col_io_2b. Make sure your rotation/coördinates is/are set to 0,0,0 and convert your model to editable Mesh. Open the surface Parameters and choose: Set surface + Create boundings. In the little box you have to typ the colname. Then save. Save your colfile (Give it the same name as your gonna give your IDE, take test for exampel). Edited November 23, 2005 by wauzie Link to comment Share on other sites More sharing options...
wauzie Posted November 20, 2005 Author Share Posted November 20, 2005 Now open TXD workshop and create a new txd, choose a 16 bit image. Press import en select your texture. Copy the name of the texture and import it. Press properties and past the name of the Texture. Choose compress to compress your image. Make sure your GTA is set to GTA SA. Now save. Now it's time to make a IPL + IDE. Open GTA.dat in your GTA data directory (with notepad). Copy a IDE lign like i did (i put this model in a mod GTA...because i don't have a clean one atm...but you have to do the same). I gave the names test\test.ide so there has to be a test directory with the file test.ide included...we're gonna create that later. Do the same with your IPL lign. Head over to the Data\maps directory and create the map test. Now a IPL + IDE from another map, witch one is not important. Past these files in your test directory and rename them. Open the IDE file with notepad and delete the selected ligns (all long one) but keep one lign to use. Link to comment Share on other sites More sharing options...
wauzie Posted November 20, 2005 Author Share Posted November 20, 2005 The first number is the ID, every single model has got one...make sure your id isn't used yet. I take 9700, but maybe it is too low at a normal gta....when your game crashes or the wrong model appears change the ID (make it higher). The second word is the name of the DFF. The third word is the name of the TXD. 300 is the draw distance. Now open the IPL and delete everything except the first lign. 9700 is the ID. The second word is the dff. The 3 blue numbers are the X/Y/Z coördinates. The orange numbers are the rotation numbers. Now open the gta3.img in your gta sa Models map (i took gti.img because i'm working in a mod). Press command -> Add. Now add the files....one at the time! And don't forget to rename the colfile to your IDE when you havn't done it yet. After adding files you have to rebuild archive. Ingame : Menaced 1 Link to comment Share on other sites More sharing options...
GT.Killer Posted November 20, 2005 Share Posted November 20, 2005 Great tutorial but could you make tut.. for UV Mapping models for SanAn with 3d studio max? Link to comment Share on other sites More sharing options...
wauzie Posted November 20, 2005 Author Share Posted November 20, 2005 I'll think i make one.....but i'm busy atm, gti and mi. Link to comment Share on other sites More sharing options...
gman24 Posted November 20, 2005 Share Posted November 20, 2005 (edited) Hey, thanks this was a great tutorial and i've been looking everywhere for something like this. I just have one question/problem. I got the model into the game and everything works and it doesnt crash, but when i drive to the location where the model is suppose to be it doesnt show up. Although i tried to drive over the area and i run into an invisible building. So i know the collision is working, but why isnt the buidling showing up. If you could help with that it would be wonderful. Thanks! ~update: ok, i finally found the building, but it isnt in the right location and there isnt any kind of collision to it, in fact if you try to drive up to it i fall through the ground. help?why? Edited November 21, 2005 by gman24 Link to comment Share on other sites More sharing options...
confusedbattery Posted November 21, 2005 Share Posted November 21, 2005 maybe you forgot to put all the transformation settings like position/rotation/scale back to zero before exporting it with max ? Link to comment Share on other sites More sharing options...
Supdario Posted November 21, 2005 Share Posted November 21, 2005 Excellent tutorial... but why MMC is selected? For making Cols I use Steve M's Coll Maker Link to comment Share on other sites More sharing options...
gman24 Posted November 21, 2005 Share Posted November 21, 2005 Ok, i checked the position/rotation/scale settings. The only one that isnt zero is my scale, but when i set it to zero the buidling gets so small i dont see it in max. If that isnt the problem could it possibly be the ipl file or ide file. Im wasnt sure if those file were suppose to be put into the img file or not. If you have any further ideas that would be great. Link to comment Share on other sites More sharing options...
GT.Killer Posted November 21, 2005 Share Posted November 21, 2005 lol, dont set scale to 0 (i think) Link to comment Share on other sites More sharing options...
Supdario Posted November 21, 2005 Share Posted November 21, 2005 the position and the rotation must be 0 But the scale not Link to comment Share on other sites More sharing options...
wauzie Posted November 21, 2005 Author Share Posted November 21, 2005 (edited) Only the rotation and coördinates have to set on 0. The model can be invisible because: *Your TXD can be corrupt, all have to be compressed (DXT1, unless alpha compression...that's DXT3) *Your GTA in your txd has to be set on SA. To be sure you do it good...open your TXD, set your gta to vc and save. Than set it back to sa and save again. *Your model also can be invisible because you used an old version off kams scripts. I add a *.rar to my first post . Edited November 22, 2005 by wauzie Link to comment Share on other sites More sharing options...
Supdario Posted November 21, 2005 Share Posted November 21, 2005 The problem of the Invisible isn't in the textures In materials, before exporting, disable Locks Functions and set Glossines Value to 0 Link to comment Share on other sites More sharing options...
gman24 Posted November 22, 2005 Share Posted November 22, 2005 Thanks for your ideas. I tried them and i got the model to show up although the collision was at the coor. that i chose and the model was in place of a road in the city. I used id 9700, so im pretty sure my issue is because of the id im using, but i havent been able to find a id that would work. So, yeah if anyone has any other comments let me know. Sorry for my lack of inteligence when creating models for gta. Link to comment Share on other sites More sharing options...
Kie Posted November 23, 2005 Share Posted November 23, 2005 (edited) ok ive got some problems here, well its to do with 3ds max. in the kams scripts the one ive got (the link you provided) it doesent have col_io_2b i get like GTA_COL_IO.mse and there is no surface perameteres in there so im confused and this maked me wat to die Large meaningless image removed Edited December 18, 2005 by Luke Link to comment Share on other sites More sharing options...
wauzie Posted November 23, 2005 Author Share Posted November 23, 2005 Oh, then i will add a link to my first post....with my scripts in it . Link to comment Share on other sites More sharing options...
Kie Posted November 24, 2005 Share Posted November 24, 2005 ok thanx but...................... im still haven some kind of trouble i try to sav the .col but i get this error Link to comment Share on other sites More sharing options...
Kie Posted November 24, 2005 Share Posted November 24, 2005 sry img dident come up i hope this one does Link to comment Share on other sites More sharing options...
xrk Posted November 24, 2005 Share Posted November 24, 2005 ok ive got some problems here, well its to do with 3ds max. in the kams scripts the one ive got (the link you provided) it doesent have col_io_2b i get like GTA_COL_IO.mse and there is no surface perameteres in there so im confused and this maked me wat to die you need to add a suface material to your col and the surface parameters are in the material editor also if its for sa you need to set "brightness/part:" to -1 Link to comment Share on other sites More sharing options...
wauzie Posted November 24, 2005 Author Share Posted November 24, 2005 It could help, but i never had suchs errors . Try to reinstall those scripts and be sure your model is converted to editable mesh. Link to comment Share on other sites More sharing options...
Dalpura Posted November 25, 2005 Share Posted November 25, 2005 Nice work. Moved to the Tutorial forum. Link to comment Share on other sites More sharing options...
Kie Posted November 26, 2005 Share Posted November 26, 2005 no it still aint worken, i am also haven trouble with exporten cars. KAM himself posted a comment on my help toppic. it helped a but but still it wint work Link to comment Share on other sites More sharing options...
wauzie Posted November 26, 2005 Author Share Posted November 26, 2005 Cars work different, you have to load a colfile. You just need to start with easy objects. . Link to comment Share on other sites More sharing options...
Kie Posted December 3, 2005 Share Posted December 3, 2005 well i came back from holidays and for some reason the .col works now, but the txt will not show up?. in game i run into it but no txt?? Link to comment Share on other sites More sharing options...
GT.Killer Posted December 4, 2005 Share Posted December 4, 2005 I usually dont ask help but now i cant solve this problem my self.. i made few objects for sanan but game crashes if i add more that 2 custom objects. [they all are working in game but not in same time.] exam. my objects: X Y Z C i can use: X and Y and it works but if i add one more (Z or C) it crashes. i have tried to rebuild gta3.img and export those objects from 3d max againg.. everything seems to be right but they(or game) just dont work. Link to comment Share on other sites More sharing options...
wauzie Posted December 4, 2005 Author Share Posted December 4, 2005 Sounds wierd, do you have added all files? You should test your objects with new (higher) ID's in the IDE/IPL file. Link to comment Share on other sites More sharing options...
GT.Killer Posted December 4, 2005 Share Posted December 4, 2005 ya.. added .dff, .txd, .col to gta3.img then rebuilded and placed them with map editor.. but now i got one more object working but textures dont show up? Link to comment Share on other sites More sharing options...
cR Posted December 4, 2005 Share Posted December 4, 2005 (edited) You haven't compressed the tex in TXD Builder, I just had that prob to now figuring out my second problem... game crashes at about 30 to 40% loading, I think it's the coll f*cking up but I've done everything how it should (except i used the IPL Editior (basicly new moomapper)) I've used steve-m's map cleaner, installed the empty SCM so that aint it... guess it's the coll... anyone had this befor? Edited December 4, 2005 by cR Link to comment Share on other sites More sharing options...
GT.Killer Posted December 4, 2005 Share Posted December 4, 2005 Not sure what you did mean but... Link to comment Share on other sites More sharing options...
cR Posted December 5, 2005 Share Posted December 5, 2005 Are you sure the texture u applied in ur modeling program was named stuntuv1 aswell? Link to comment 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