Wikia

Need For Madness Wiki

Hacking Cars

Talk0
287pages on
this wiki

BackgroundEdit

The cars are defined by .rad files that contain text, but that codes for their color and shape. Hacking cars, while it may seem complex, is actually simpler than hacking the levels.

Note: This is the step to hacking Need For Madness cars. Need For Madness 2 cars are similar, but have more complex lines (Pieces that can light up, rims, etc).

How do we hack cars?Edit

To hack cars, follow these steps:

  1. Go to the Need For Madness 2 (or any Need For Madness game) folder.
  2. Phyton10

    A car made by others, showing that it is possible.

    Open the data folder.
  3. (For safety purposes) Copy the cars.radq and put it somewhere as a back-up.
  4. Rename the original one from cars.radq to cars.rar or to any type pf extractable fine (.7zip, etc)
  5. Extract the files
  6. Rename the files to .txt
  7. Inside should be codes, as seen (and explained in red below.
  8. Once done, re-pack all the files back into a .rar file and rename it to cars.radq.
  9. If anything goes wrong, you still have the back-up file.

The codesEdit

div(19)[1]
shadow()[2]

<p>[3]
c(150,150,150)[4]
p(12,-8,-2)[5]


p(25,5,-7)
p(12,5,-2)
</p>[6]

<p>
c(226,120,56)
p(25,5,-7)
p(25,-8,-35)
p(35,5,-35)
</p>

<p>
glass[7]


gr(-25)
p(0,-6,12)
p(7,-8,0)
p(0,-14,0)
</p>

// wheels:[8]
//w(cx,cy,cz,rotates,w,h)

w(-28,2,49,11,19,6)[9]
w(28,2,49,11,-19,6)
w(-40,2,-45,0,20,6)


w(40,2,-45,0,-20,6)

170px-BDKSluggers

An example of making a car. (Made by Volcanogames)

ExplanationEdit

  • 1: Size of the car. Larger numbers mean larger vehicles.
  • 2: Gives the object a shadow.
  • 3: The start of a polygon.
  • 4: The color of that polygon in RGB.
  • 5: A vertex with xyz coordinate locations. The origin is at the center of the car, about level with the middle of the wheels. Positive x is to the right side, positive y is downwards into the ground, positive z is forwards. All polygons MUST have 3 or more vertices!!
  • 6: End of a polygon. Closes the <p>,</p> block.
  • 7: Glass piece. Replaces the "color" line, as the glass simply takes the sky color.
  • 8: A comment. All comments must be preceded by //. Other comment forms like "# comment" and "/* Comment */" are invalid.
  • 9: A wheel. The format is (x-coordinate,y-coordinate,z-coordinate,y-axis rotational (steering) ability,x-axis thickness,radius). Coordinates are the same as for polygons.

NotesEdit

  • Maximum four wheels per vehicle.
  • There is a maximum number of polygons allowed on a car before errors such as missing wheels appear, but you can hack the game's java files to increase the limit.

Around Wikia's network

Random Wiki