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.
How do we hack cars?Edit
To hack cars, follow these steps:
- Go to the Need For Madness 2 (or any Need For Madness game) folder.
- Open the data folder.
- (For safety purposes) Copy the cars.radq and put it somewhere as a back-up.
- Rename the original one from cars.radq to cars.rar or to any type pf extractable fine (.7zip, etc)
- Extract the files
- Rename the files (inside) to .txt
- Inside should be codes, as seen (and explained in red below.
- Once done, re-pack all the files back into a .rar file and rename it to cars.radq.
- If anything goes wrong, you still have the back-up file.
- 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.
- 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. Although, this might vary in other versions of Java and other versions of the game.