::GTapex:: - Naturally Aspirated Skills

Special Fried Rice => SFR Parts => Topic started by: .endo. on August 14, 2005, 06:58:51 PM



Title: ::FAQ:: How to use parts
Post by: .endo. on August 14, 2005, 06:58:51 PM
I put together a basic guide on how to use the parts found in this section, and hopefully it should ease the trouble of adding new parts to your car.



Wheels (Racer)
To substiture wheels in racer all you need to do is copy the .dof and texture files to the relevent car then swap the names of the wheel models in the car.ini to the names of the rims you downloaded. (remeber that you have to change this for all 4wheels of the car, however this does allow you to use differnt wheel models for each wheel)

i.e.


wheel0~wheel_front
{
     x=0
   ;-0.1
     toe=-0.24
   ackerman=1.166
     model
     {
          file=your wheel.dof
     }
     model_brake
     {
          file=Brake-Left.dof
     }
}


If the new wheel has a different diameter than the original file, you will have to edit the wheel radius given in meter in the car.ini.
Otherwise, the wheel might either sink into the ground or float in mid-air. To check the diameter, open the .dof in zmodeler, select all and Ctrl-A.
Most of the rims you find on here are scaled to fit the AE86 without changes.

Note that changing the wheel diameter has an influence on the car's performance and therefore should not be used in online races, official competitions and the like.

wheel_front
{
     y=0
     z=0
     camber=2.75
     steering=1
     powered=0
     lock=66
   mass=30
     inertia=1.1
     radius=0.2946
     rolling_coeff=0.015
     max_braking=1075
     braking_factor=1
     tire_rate=166713
     pacejka~pacejka
     {
     }
}




Shaders (Racer)

In order for your wheels to show up properly in the latest versions of racer you need to make sure that you add the following parts to the shader file.


shader_brake
{
     layer0
     {
          map=wheel.tga
      shininess=10
      specular=0.1 0.1 0.15 1
     }
}


the above bit of code for the car.shd is the shader for the tire and for the brake model of rims made by myself, for rims made by other people you will have to open zmodeler and check the name of the material of the tire, this is where you substiture the material name (in green) to the material in zmod, and the texture name (in blue) with the texture used by the tire.

The same is pretty much the same for rims themselves...

for my rims, the shader name is typically the same as the texture name (for ease of use)
so for example with the Longchamp XR4's both the material name and texture name are the same, and i use the following code for a chrome effect for the rims...


shader_xr4
{
     layer0
      {
            map=$trackenvmap
            texgen_s=reflection_map
            texgen_t=reflection_map
            texgen_r=reflection_map
            shininess=32
            specular=1 1 1 1
       }
     layer1
     {
          map=xr4.tga
          blendfunc=one src_alpha
     }
}


all in all the above things can be used for most parts, and even if a part you have downloaded does not have a shader file you can use the above as an example on how to create your own.




Dress Up Parts (Racer)

For anything like seats, mufflers, or anything else you will have to edit the car itself in zmod to add them to the model. This requires a certain amount of knowledge of zmodlers use but its not hard, since all you need to do is import the .dof file for the car, and the .dof file of the part and add them together. Any car that is in data.ar format cannot have new parts added to it since the file is locked, and most possible to stop people "adding" stuff to the model, if that's the case, its best to find another model to abuse.



All Other Games

Just import in to zmod, and export out.. or however the game has new models imported, unfortunately i can't provide support in these areas.



GENERAL NOTE

The great thing is all the parts hosted here are free, so not only does it save you time, but you get a lot of great stuff to play with, but please remeber that as long as you are using something that you must remember to credit the source. You may not thing that is a big deal, but it is, and its allways a the best idea, as well as common courtesty to acknowledge the hardwork of someone else.


Title: Re: ::FAQ:: How to use parts
Post by: Andrei_DaRacer on September 13, 2005, 03:38:33 PM
i have a problem...

Look:

[attachment deleted by admin]


Title: Re: ::FAQ:: How to use parts
Post by: .endo. on September 13, 2005, 03:49:41 PM
I see your problem, your lack of taste has activated the "rice filter" that Racer has.


Lol, now for a constructive comment, the problem is you have are just sticking the models into zmod and then re-exporting.

what you'll need to do is:
1. Select all of the objects in the zmod file
2. Go to the bar on the left and select Create>Objects>UniteSelect
3. Then click on the selected objects and they'll join together to form one object called Union
4. Export, and it all should be all fine in game.

If you do this correctly and the parts still dont appear, make sure you've added the following shader.

Code:
shader_muffler
{
  layer0
  {
    map=muff-burn.tga
      shininess=60
      specular=1 1 1 1
  }
}


Title: Re: ::FAQ:: How to use parts
Post by: ltm_awake on September 13, 2005, 11:02:10 PM
Ive imported the wheels, but now I have no tires. whats the workaround for that?


Title: Re: ::FAQ:: How to use parts
Post by: djrice on September 14, 2005, 02:05:12 AM
work with the shader :)


Title: Re: ::FAQ:: How to use parts
Post by: Andrei_DaRacer on September 14, 2005, 03:55:43 AM
I see your problem, your lack of taste has activated the "rice filter" that Racer has.


Lol, now for a constructive comment, the problem is you have are just sticking the models into zmod and then re-exporting.

what you'll need to do is:
1. Select all of the objects in the zmod file
2. Go to the bar on the left and select Create>Objects>UniteSelect
3. Then click on the selected objects and they'll join together to form one object called Union
4. Export, and it all should be all fine in game.

If you do this correctly and the parts still dont appear, make sure you've added the following shader.

[code]
shader_muffler
{


Title: Re: ::FAQ:: How to use parts
Post by: ltm_awake on September 14, 2005, 07:50:01 PM
that would be easy if I werent halfway retarded when it comes to shaders. care to elaborate a little bit? ???


Title: Re: ::FAQ:: How to use parts
Post by: Cosmo° on September 15, 2005, 04:11:31 AM
Read the first post.


Title: Re: ::FAQ:: How to use parts
Post by: ltm_awake on September 16, 2005, 12:06:48 AM
thanks for pointing that out,m supposed I just flaked and missed that as I thought I already read this section over.


Title: Re: ::FAQ:: How to use parts
Post by: Dice on October 10, 2005, 12:37:54 PM
I also have a Problem.My Custom Rims that I added on my car is invisible.How do I fix this.Im crap at shader's.


Title: Re: ::FAQ:: How to use parts
Post by: Cosmo° on October 10, 2005, 01:26:12 PM
I also have a Problem.My Custom Rims that I added on my car is invisible.How do I fix this.Im crap at shader's.

 ::)

[quote author=Cosmo


Title: Re: ::FAQ:: How to use parts
Post by: Dice on October 10, 2005, 02:32:05 PM
Where doe's It teel u how to fix Invisible rims?  >:(


Title: Re: ::FAQ:: How to use parts
Post by: .endo. on October 10, 2005, 02:41:26 PM
read the section under shaders.


Title: Re: ::FAQ:: How to use parts
Post by: Kalome on November 19, 2005, 07:07:13 PM
hm, my wheels only show up on one side ???
help?


Title: Re: ::FAQ:: How to use parts
Post by: minhoca on November 29, 2005, 10:37:08 AM
I need a help!!!!

My car is super shining!!!! :-[ :'(

[attachment deleted by admin]


Title: Re: ::FAQ:: How to use parts
Post by: AE86_difter on January 17, 2006, 07:53:33 PM
hi, i was wondering if you had any 13/14" rims? because i need them for a small car  :-\

if not, anyway i can resize some of you wheels? i have zmod, just dont know how.

Thank you and please help :)


Title: Re: ::FAQ:: How to use parts
Post by: Capsule21 on April 29, 2006, 10:22:01 PM
I am having problems. The tire is invisible and the wheels texture is not showing. It might be shader or whatever. If it shader, where do i copy and paste that under into? I cant find shader anywhere in car.ini.
Here the pic of the problem.



[attachment deleted by admin]


Title: Re: ::FAQ:: How to use parts
Post by: Cosmo° on April 30, 2006, 04:54:30 AM
It's all in the first post, just need to read it ;) The shader file is called car.shd and that's where you need to put the according lines into.


Title: Re: ::FAQ:: How to use parts
Post by: Capsule21 on April 30, 2006, 03:48:06 PM
Found it, The car.shd's icon was same as .dof. that why i could ffigure out so i went ahead and double click the car.shd and it come up in notepad. Got it fixed. Thanks.


Title: Re: ::FAQ:: How to use parts
Post by: Akira Tsusen on August 06, 2006, 04:51:06 PM
Hi, i'm with a problem with that CWest spoiler you made ENDO...
see the images please.

i've tried all about the shader, but doesnt worked... the spoiler is all white, and some times when the angle of camera changes, the texture appear, but just sometimes...

i appreciate any help, thanks :-\


Title: Re: ::FAQ:: How to use parts
Post by: .endo. on August 07, 2006, 12:11:59 PM
that looks like a material problem to me

open wing in zmodeler,
goto view>material editior

go to the wing's material and do as the picture says :D


Title: Re: ::FAQ:: How to use parts
Post by: tommo on October 31, 2006, 03:36:00 AM
ok, im trying to install your (endo) cwest spoiler onto a car. but i cant import the car to begin with? (using zmod). i cant even see it in the 'import' screen thingy. any help would be appreciated.


Title: Re: ::FAQ:: How to use parts
Post by: Cosmo° on November 02, 2006, 02:25:23 PM
If the car's mesh is locked in a .ar file, then you can't access it. You will have to place the wing without the car's body in this case.


Title: Re: ::FAQ:: How to use parts
Post by: AlexV on October 16, 2007, 11:03:39 AM
Ehm, theoreticaly yes. You could use CarCAD, save it for NFS, open up Zmod and import the NFS file... then convert to dof.
But it sounds like unnecessary work to me.


Title: Re: ::FAQ:: How to use parts
Post by: _ on October 16, 2007, 07:02:44 PM
holy Crap ppl still use carCAD thats soooo 98'....its nine years old does that make it old school?......for a computer?



Title: Re: ::FAQ:: How to use parts
Post by: OZ on October 16, 2007, 07:32:55 PM
holy Crap ppl still use carCAD thats soooo 98'....its nine years old does that make it old school?......for a computer?

it's more like prehistoric already :P


Title: Re: ::FAQ:: How to use parts
Post by: hondahead95 on February 27, 2008, 07:53:09 PM
hi i am new here and i was wondering why i cant add the advan rs rims to a dodge caravan turbo
they show up on the left side, solid red, with no tires, how do i get around this?


Title: Re: ::FAQ:: How to use parts
Post by: hondahead95 on February 27, 2008, 07:57:22 PM
hm, my wheels only show up on one side ???
help?
i also have this problem...any suggestions endo?


Title: Re: ::FAQ:: How to use parts
Post by: OZ on February 27, 2008, 08:19:57 PM
check your shaders and ini files, not showing or red material over the model means that you didn't made the correct changes to the shader file


Title: Re: ::FAQ:: How to use parts
Post by: romizuy on February 01, 2009, 08:27:27 AM
What is the shader? I whant a know, because I installed a muffler by ENDO and muffler don't have a colors.
What I have to do? Please mates help me.


Title: Re: ::FAQ:: How to use parts
Post by: Cosmo° on February 01, 2009, 08:45:56 AM
The shader file tells Racer how to handle the texture files, you can read about them on Racer.nl (http://www.racer.nl).


Title: Re: ::FAQ:: How to use parts
Post by: romizuy on February 01, 2009, 08:52:53 AM
How can I import the muffler color on my car?
I got a Haruyama nissan cefiro.
Thanks anyway.


Title: Re: ::FAQ:: How to use parts
Post by: Cosmo° on February 01, 2009, 11:05:35 AM
Read the first post of this thread, it gives examples of basic shader commands that you can use (whether it's for wheels or something else doesn't matter in the first step).


Title: Re: ::FAQ:: How to use parts
Post by: Anoussa on June 07, 2009, 04:21:06 PM
Plz help me i have a problem
when i want to add a spoiler into a car in racer i see just the spoiler ans the wheels


Title: Re: ::FAQ:: How to use parts
Post by: Cosmo° on June 07, 2009, 05:45:16 PM
The first page of this thread should have more than the basic information needed - maybe you can tell a bit more about what you did so far.


Title: Re: ::FAQ:: How to use parts
Post by: Anoussa on June 08, 2009, 03:56:28 PM
ok
I import body.dof and cwest.dof and exported the too objects into body.dof


Title: Re: ::FAQ:: How to use parts
Post by: Cosmo° on June 09, 2009, 04:41:53 AM
Before exporting the .dof file, you united the two objects?


Title: Re: ::FAQ:: How to use parts
Post by: octurbo on August 08, 2009, 11:06:38 AM
downloaded HAYST rims. but all i see is DOF1ÔŸ when i open the HAYST DOF File which will appear on wordpad. it actually not DOF1ÔŸ which i just typed. but it's alot of alien symbols which dont even look like words. i copied all the alienatic symbols to here but it only appears as DOF1ÔŸ..  :?

do i ACTUALLY copy all those weird symbols in the whole wordpad to my ae86.ini file? i know i have to copy them to the ini files. but all the alien thingys?


Title: Re: ::FAQ:: How to use parts
Post by: Cosmo° on August 08, 2009, 12:00:22 PM
.dof files are the 3D models, you just put them into the car's main folder, you can't read them in a word processor. The information you need to change in the car.ini file is the reference to this model file, so that Racer knows where to look for it. The first post of this thread explains the necessary steps.


Title: Re: ::FAQ:: How to use parts
Post by: leo3k on February 15, 2010, 11:49:44 AM
hi.. i just wanna ask how i can put the C-West spoler on my 180SX?? i imported the .dof file of the car then it showed up.. then when i imported the spoiler.. the body was gone.. i'm new to this.. so.. any help would be gratly appreciated.. tnx.. :-D


Title: Re: ::FAQ:: How to use parts
Post by: .endo. on February 25, 2010, 03:28:53 PM
it's been a while since i last used Zmodeler, but i think you have to make sure both the car and wing are selected when you try and export the car as a .dof

or join the two together, its one of the options in the editing bit (union or something i think)

like i said, havent used zmod for years and years.