Car converting related problems

User avatar
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 11 years 11 months
Location: Portugal? Maybe...
Contact:

Car converting related problems

Postby Diatosta » Thu Apr 18, 2013 9:03 pm

So, I'm converting a car (first try!) but I have a problem. The body and glasses come in separate objects. How do I unite them? Or if possible, use them both without uniting?
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15759
Registered for: 17 years
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Thu Apr 18, 2013 10:15 pm

You obviously have to unite them, in one object called BODY_H. For first, make sure that the glass and other parts with transparencies are down the opaque parts in the objects list and make sure that you're in objects mode (press key 4), then, select all of them clicking on the button Select All present on the bottom of the objects list, click on Create...
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

User avatar
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 11 years 11 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Sat Apr 20, 2013 1:03 pm

Thanks, it worked! Now everything is united! Thanks very much ;)
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

User avatar
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 11 years 11 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Sat Apr 20, 2013 1:31 pm

Hey! So I've had another problem. In Zmodeler it looks like this:
Image
But in game it's like this:
Image
Why the texture and shadow appear white?
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15759
Registered for: 17 years
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Sun Apr 21, 2013 2:20 am

Make sure that all the car textures are placed in a folder called Texture, in singular. It must be placed in the same directory of the Geometry and the other vehicle folders.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 16 years
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Sun Apr 21, 2013 6:37 am

Also, if you have multiple materials with the same texture (eg carbody and carbody) then you must unite the materials, and note, the textures must be either BMP, TEX, or TGA
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]

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 » Sun Apr 21, 2013 11:01 am

In addition to the above, if you re-name a texture(s) after exporting the car, it will appear white because the texture assigned before exporting was named something and then you re-named it and now it is something else. Looks like the car is a bit small, to re-size it, go to objects level in Zmodeler and turn on SEL, then go to Modify > Scale. Press and hold Shift key and drag with mouse to scale the car in all dimensions.
[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
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 11 years 11 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Sun Apr 21, 2013 4:24 pm

Ok, so it worked! Yeah :D
But about the shadow, I made how the tutorial says, "save as .tga with transparent background". Didn't worked, white square. Then I tried making a alpha channel (after a little research) and the white stuff disappeared, but there isn't any shadow either. See the picture to understand better:
Image

Also, my car steers in a weird way. I've tried to center axes but it did't worked. What to do?
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

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 » Sun Apr 21, 2013 5:35 pm

About making the shadow, you need to use multiple layers to make it. I do that using Paint.NET. SHADOW_H object in Zmodeler is a rectangle whereas the shadow of the car is of the shape of the car. So, you need to make the 'shadow of the car' part a bit darker and the rest of the rectangular texture completely transparent. There are 255 shades of transparency (0 being completely transparent and 255 being completely opaque).
(The image is of shadow texture of a bus)

Image

So make a new layer of desired size, and use the eraser tool to make the white background transparent. (in Paint.NET) Now take a screenshot from the top view in Zmodeler. Somehow select the outline of the car from the top view and colour it black. Now load this top view as a new layer. The previous layer is completely transparent and this (new layer) will be completely black (Opacity at 255). Now edit the layer properties and set opacity of this second layer to somewhere about 130 so that it looks a bit darker.
Save the texture as 32 bit TGA and you're done. :wink:

That steering problem could be because the car is positioned below the Z axis.

Image
Make sure that the wheels and all other parts are above the Z axis and the origin (center point of co-ordinate system) is in the middle of the car, neither too back not too ahead. If this does not solve the problem, then something must be wrong with the tuning files.
[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
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 11 years 11 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Tue Apr 23, 2013 10:05 pm

So, the car now steers correctly (yey!), but the shadow don't work quite well. Now it's just a big grey (more to black) rectangle. I've made exactly what you said, in Photoshop (what made the background white with the shadow in it) and with Paint.NET (wich made it correctly (at least it appears correctly in after reopening it) but the result is the one below). I'll try to use a existent one.
Image
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

User avatar
zoot
MM2X Super Active User
MM2X Super Active User
Posts: 2444
Registered for: 15 years
Location: United States

Postby zoot » Tue Apr 23, 2013 10:12 pm

Use the MM2 default texture for the shadow.
Administrator at MMarchive | Arrow Block Entertainment Owner

User avatar
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 11 years 11 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Fri Apr 26, 2013 10:52 pm

Ok, so I tried everything and it still won't work! Can someone make one for me? I can them the car just to make it. If someones makes it I'l be very thanked :D

Edit: So just by the curious I downloaded NFS HP2 mod by The_Most_Wanted and I start thinking it might be a game's problem. Look:
Image
Is this supposed to happen? (Oh and I'm refering to the shadow)
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15759
Registered for: 17 years
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Fri Apr 26, 2013 11:28 pm

Give me through a PM the car model in Z3D file format to use to make the shadow for you, I'll give you a little explaining on how make a custom shadow then.
I haven't a such problem with the textures of the cars from that mod. That should be the problem of the TGA textures with the RLE compression because of how it looks.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

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 Apr 27, 2013 1:28 am

This shadow texture works fine with me in the game.
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
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 11 years 11 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Sun Apr 28, 2013 12:22 pm

So, Franch sent me a shadow texture he made and it still didn't worked, so I presume it's something to do with Zmodeler, so I'm leaving here how I made the shadow (I'm following Silent1Unkown tutorial):
1- Create a flat surface: Image
2- The properties: Image
3- The face itself: Image
4- The texture properties: Image
5- The texture Franch sent me: Image
6- Selecting all the shadow object: Image
7- Assigning the texture to shadow: Image
8- The shadow after in Zmodeler: Image
9- And the shadow after in MM2: Image

So, if I am escaping something, because I did everything that the tutorial said and it still doesn't work, please say what it is.

P.S.- Sorry for the big post ;)
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]