Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

[3ds MAX][SA]How to make Breakable Object


xmen
 Share

Recommended Posts

PREREQUISITE: How to add model in SA.

 

NOTE : EVERY PART MUST HAVE A SEPARATE MATERIAL.

 

Breakable Objects Script

 

1. This is an already textured teapot with 2 textures named as "BreakableTeapot".

user posted image

 

2. Export its dff and col as usual.

 

3. When done, break it into pieces as like we want to spread on the floor, i break(Detach) it into 8 parts and separate them so that i can set Material IDs easily.

user posted image

 

4. Select the top one, click on "Polygon" in selection, press Ctrl + A to select all polygons and scroll down the properties and set its Mat ID to 1, do the same with other parts too with increment of 1 Mat. ID

user posted image

 

5. I've set these Mat. IDs to all parts, it will be better to set same textures' Mat IDs after each other so that all same textures can be in correct order.

user posted image

 

6. When done, set all parts back to their location(i.e. 0, 0, 0), select "BreakableTeapot" and attach all parts, if it ask for "Attach Options", select "Do Not Modify Mat ID or Material" and press OK, it may possible that textures look change but we do not need to worry about it.

7. Press M to open "Material Editor", select new Material, here i select 3rd, click on "Standard" next Select "Multi/Sub-Object", again it will ask for "Replace Material", select "Discard old material?" and press OK

user posted image

 

8. Since the breakable parts are 8 so i have to set the No. of Sub Materials to 8, to do this, Click on "Set Number", write 8 and press OK.

user posted image

 

9. Click on Material whose ID is 1, next click on the square button that follows "Diffuse" and select "Bitmap"(that image should match to the Mat ID 1 that set in step 4)

user posted image

 

10. when done, press "Show Map in Viewport" and then press user posted image until it get disable.

11. keep doing step 9 and 10 until all 8 sub Materials get assign

12. when done, select "BreakableTeapot" and click on "Assign Material to Selection" and check, are all textures on model looking like before ? if not, correct it before going further, if yes, run the "Breakable Objects" script and export the binary data.

user posted image

 

Now open the dff in RW analyze, find and select "Mesh Extension" and import that binary data, next save dff and add that model in sa as usual.

user posted image

 

13. write this Line in object.dat (editing lines in object.dat may little bit tricky)

 

breakableteapot  20.0,  20.0,  0.99,  1.0,  50.0,  9999.0, 1.0,    200,	1,	1,  0,	0,	0.0, 0.0, 0.0,  none  	100.0, 0.0,  0.0,  0.01,	0.07,	0,	0

 

 

in game

 

Known Bug :

Parts get brighter after smash/break

 

CONCLUSION :

Making BOs is not too difficult task, all things goes same as usual however we just need to apply separate Mat. IDs and Mats. for every part only for exporting binary data and a line in object.dat.

 

at the end thanks to locO G for his help smile.gif

Enjoy !!

Edited by xmen
Link to comment
Share on other sites

Really good guide. I don't use Max/3DS, but it should really help to bring even more custom content in the game icon14.gif

Link to comment
Share on other sites

gud topic for a tut xmen

 

The bright pieces anybody know of a fix?

I think it's either an engine bug (as in the way the game engine threats the lighting on smaller objects) or some other lighting problem that was done in 3ds Studio itself.

Link to comment
Share on other sites

  • 3 weeks later...
Angel of Death Dr Gonz

were do i get 3ds max??

Edited by ljonny
Link to comment
Share on other sites

Search net for trial version / buy full one / download Gmax, it's free and there is

all you need for modding GTA.

Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
Thx I found the detach command but only for objects in max like a box or teacup I don't see it when importing a custum model. confused.gif

its not important, the object can be in any shape. I will suggest you to read some basic 3d Max tuts before proceed. smile.gif

Link to comment
Share on other sites

  • 6 years later...
RestractPrime

sorry for bump , i want to know , why screenshoot is not avaliable ? hard to understand without screenshoot at this tutorial :(

Link to comment
Share on other sites

There's another tutorial which is based on Deniska's script.

http://gtamodding.ru/wiki/Делаем_ломающиеся_объекты_%28SA%29

(Russian).

  • Like 1
Link to comment
Share on other sites

  • 5 years later...
  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.