Make 3D damages

User avatar
KingAndy
MM2X Very Active User
MM2X Very Active User
Posts: 1114
Registered for: 10 years 9 months
Location: Lisbon, Portugal
Been thanked: 1 time
Contact:

Postby KingAndy » Thu Oct 10, 2013 10:37 pm

WOW so cool!!!! there is any tutorial of how to make it or anyone can explain me it really shortly? That the kind of stuff all cars should have ;)
Image
Best active member avatar
Best active member MM1 screenshot-er
Friendliest active member

Image
Most helpful active member
Best MM2 car converter of the year
Best MM2 innovation of the year
Author of the best MM2 mod of the year
Best active user's self amatory site


Image

User avatar
e-cobra
MM2X Very Active User
MM2X Very Active User
Posts: 1629
Registered for: 13 years 5 months
Location: Navi Mumbai, India

Postby e-cobra » Fri Oct 11, 2013 3:36 am

Amazing! 8O What is the texture size?
[img][/img]
[url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&t=5362&start=52&highlight=e-cobra][color=gold][size=75]MM2X Awards[/size][/color][/url]
[b][size=84][color=blue]If a tree falls in the woods and no one?s around to hear it, does it make a sound?[/color][/size][/b]

User avatar
EnzoSkylineMiura
MM2X Very Active User
MM2X Very Active User
Posts: 1035
Registered for: 12 years 8 months
Location: Dank Memeing indoors
Contact:

Postby EnzoSkylineMiura » Fri Oct 11, 2013 3:50 am

Whoa! Reminds me of actual NFS! :P Yes, what is the texture size?
[img][/img] [color=gold]MM2x Awards 2014 - Most Friendly Active Member[/color]

[img][/img]

User avatar
The_Most_Wanted
MM2X Active User
MM2X Active User
Posts: 960
Registered for: 11 years 8 months
Location: Egypt

Postby The_Most_Wanted » Fri Oct 11, 2013 4:09 am

The texture size is 512x512 and i have put a very big value for TextelDamageRadius in "basename.vehcardamage"! :D So guys can i put this idea in my next mod NFSMW?!

User avatar
e-cobra
MM2X Very Active User
MM2X Very Active User
Posts: 1629
Registered for: 13 years 5 months
Location: Navi Mumbai, India

Postby e-cobra » Fri Oct 11, 2013 4:18 am

WOW so cool!!!! there is any tutorial of how to make it or anyone can explain me it really shortly?
The basic concept is simple: The car has both, damages as well as un-damaged wireframe (parts) in the BODY_H object. Make a texture that is half transparent like this:
Image
Then you've to select the un-damaged faces in the body and map them to the left half. Next, select the damaged faces from the body and map then to the transparent area on the right. This needs to be done precisely. Now damaged part is invisible (transparent).
Image
Make a copy of the texture such that the left half now contains transparent pixels and right half the body texture, and add _dmg suffix to its name and its done. :)
[img][/img]
[url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&t=5362&start=52&highlight=e-cobra][color=gold][size=75]MM2X Awards[/size][/color][/url]
[b][size=84][color=blue]If a tree falls in the woods and no one?s around to hear it, does it make a sound?[/color][/size][/b]

User avatar
The_Most_Wanted
MM2X Active User
MM2X Active User
Posts: 960
Registered for: 11 years 8 months
Location: Egypt

Postby The_Most_Wanted » Fri Oct 11, 2013 4:30 am

I will try this idea too, but i made the transparent parts into another texture file not with the vehicle's texture and i copied them to make the damage.
Image
Best Midtown Madness 2 car converter of the year
Best Midtown Madness 2 innovation of the year
Author of the best Midtown Madness 2 mod of the year

Image
Best Midtown Madness 2 breakout of the year
Author of the best Midtown Madness 2 car add-on of the year

Image

User avatar
e-cobra
MM2X Very Active User
MM2X Very Active User
Posts: 1629
Registered for: 13 years 5 months
Location: Navi Mumbai, India

Postby e-cobra » Fri Oct 11, 2013 4:40 am

That's nice idea to make transparent parts' texture a separate file. And it is better than what I've shown above because there's no size limit. :o
What is the poly count of the car?
Last edited by e-cobra on Fri Oct 11, 2013 7:52 am, edited 1 time in total.
[img][/img]
[url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&t=5362&start=52&highlight=e-cobra][color=gold][size=75]MM2X Awards[/size][/color][/url]
[b][size=84][color=blue]If a tree falls in the woods and no one?s around to hear it, does it make a sound?[/color][/size][/b]

User avatar
EnzoSkylineMiura
MM2X Very Active User
MM2X Very Active User
Posts: 1035
Registered for: 12 years 8 months
Location: Dank Memeing indoors
Contact:

Postby EnzoSkylineMiura » Fri Oct 11, 2013 5:42 am

So guys can i put this idea in my next mod NFSMW?!
Hmm... Although I do think the damage looks great, It would be cool to have both damageable and un-damageable versions of the mod.
[img][/img] [color=gold]MM2x Awards 2014 - Most Friendly Active Member[/color]

[img][/img]

User avatar
The_Most_Wanted
MM2X Active User
MM2X Active User
Posts: 960
Registered for: 11 years 8 months
Location: Egypt

Postby The_Most_Wanted » Fri Oct 11, 2013 5:56 am

The vehicle's body has 11439 vertices and 10181 faces.
Image
Best Midtown Madness 2 car converter of the year
Best Midtown Madness 2 innovation of the year
Author of the best Midtown Madness 2 mod of the year

Image
Best Midtown Madness 2 breakout of the year
Author of the best Midtown Madness 2 car add-on of the year

Image

User avatar
Seahawk
MM2X Super Active User
MM2X Super Active User
Posts: 2237
Registered for: 11 years 6 months
Been thanked: 1 time
India

Postby Seahawk » Fri Oct 11, 2013 9:42 am

Amazing!
-Seahawk
Image
Third Best New-comer screen shooter of the year 2013
Image
Second Best MM1 screen shooter of the year 2014

User avatar
FXANBSS
MM2X Active User
MM2X Active User
Posts: 686
Registered for: 11 years 3 months
Location: Midtown Club, Discord
Been thanked: 4 times

Postby FXANBSS » Sat Oct 12, 2013 1:08 am

The Citro

User avatar
The_Most_Wanted
MM2X Active User
MM2X Active User
Posts: 960
Registered for: 11 years 8 months
Location: Egypt

Postby The_Most_Wanted » Sat Oct 12, 2013 11:59 am

Yeah i know and the Civic Cruiser has 3D damages too.
Image
Best Midtown Madness 2 car converter of the year
Best Midtown Madness 2 innovation of the year
Author of the best Midtown Madness 2 mod of the year

Image
Best Midtown Madness 2 breakout of the year
Author of the best Midtown Madness 2 car add-on of the year

Image