There's a new PSDL Doctor in town!

User avatar
CarLuver69
MM2X Active User
MM2X Active User
Posts: 934
Registered for: 17 years 1 month
Location: California, USA
Contact:

There's a new PSDL Doctor in town!

Postby CarLuver69 » Thu Aug 18, 2011 7:21 am

Alright, so while I may not be the best, I will try to explain.

For the longest time, MM2CT has plagued me with broken intersections and sidewalks. It's getting old, so I decided to enlighten myself as to what makes a PSDL work. I downloaded PSDL Viewer and watched Fred's story unravel about how his program works, and read up on tutorials on how to make a working PSDL city.

Long story short, the reason why MM2CT is constantly breaking my sidewalks is because of the order of vertices. I have learned from all of this reading that the vertices need to go in a counter-clockwise motion. All of my original vertices are there, however MM2CT is not able to calculate the correct order of vertices. I'm assuming it uses a distance algorithm that calculates which vertex comes next for the order of vertices.

This is a failed sidewalk due to MM2CT not being able to calculate which vertex to use next:

Image

But after moving the index's order around, I was able to fix my sidewalk and achieve this effect:

Image

To make MM2 styled sidewalks, the same vertex needs to be referenced multiple times. MM2CT is not capable of doing this, and therefore messes up the operation. I'm curious as to whether or not MM2CT alters the vertices of a sidewalk if it's not built to proper specifications, but I should probably look into that a bit later.

The purpose of this topic is to basically prove that not all cities built with MM2CT are broken if you experience this issue. I know that this has saved me lots of stress and prevented me from cursing out MM2CT :D

UPDATE:

For crosswalks, apparently you need to fix their order too. It can cause the map to freeze...looking into it now.

UPDATE 2:

The crashes that are caused by going over a crosswalk with a broken sidewalk are perimeter errors. MM2CT assigns unnecessary vertices to a block, causing a crash. I understand how this works and now know what to do.
[img]https://img59.imageshack.us/img59/2562/2010mm2cawardssilver.png[/img] [color=orange]Best MM2 Innovation - Author of best car of the year[/color]
[color=silver][i]Proud supporter of MM2X[/i][/color]

[color=#CCCCCC]How do I love thee MM2? Let me count the add-ons...
[size=134][b]Are my pictures not showing up? [url=https://photobucket.com/CL69MM2]CLICK HERE![/url][/b][/size][/color]

User avatar
RacingFreak
MM2X Very Active User
MM2X Very Active User
Posts: 1061
Registered for: 13 years 7 months
Location: Taiwan

Postby RacingFreak » Thu Aug 18, 2011 9:11 am

Doctor Mark Doom of the CarLuvers :D
Image

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

Postby aaro4130 » Thu Aug 18, 2011 9:17 am

Mark Doom indeed xD
[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
CarLuver69
MM2X Active User
MM2X Active User
Posts: 934
Registered for: 17 years 1 month
Location: California, USA
Contact:

Postby CarLuver69 » Thu Aug 18, 2011 9:43 am

I would prefer Dr. Marcus von Doom of the CarLuvers if anything!

UPDATE:

I have literally been working for HOURS figuring out PSDL Viewer and teaching myself what to do. With my newfound knowledge, I have finally accomplished MM2 style sidewalks -

Image

But considering how long it takes to make a perimeter for the entire intersection and how limited PSDL Viewer is, it seriously isn't worth the time and effort just for MM2 style sidewalks. However, if you want to convert a map and want to try and keep it looking original, then you need to do some stuff in PSDL Viewer.
[img]https://img59.imageshack.us/img59/2562/2010mm2cawardssilver.png[/img] [color=orange]Best MM2 Innovation - Author of best car of the year[/color]
[color=silver][i]Proud supporter of MM2X[/i][/color]

[color=#CCCCCC]How do I love thee MM2? Let me count the add-ons...
[size=134][b]Are my pictures not showing up? [url=https://photobucket.com/CL69MM2]CLICK HERE![/url][/b][/size][/color]

User avatar
zoot
MM2X Super Active User
MM2X Super Active User
Posts: 2444
Registered for: 14 years 10 months
Location: United States

Postby zoot » Thu Aug 18, 2011 1:06 pm

Nice!
Administrator at MMarchive | Arrow Block Entertainment Owner

User avatar
sajmon14
MM2X VIP Member
MM2X VIP Member
Posts: 5321
Registered for: 16 years 2 months
Location: Poland
Contact:
Poland

Postby sajmon14 » Thu Aug 18, 2011 3:39 pm

Good work, personally for my maps I don't use this program really often, isn't really needed

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15758
Registered for: 16 years 10 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Thu Aug 18, 2011 10:19 pm

Great search Mark, good work. :wink: Would be curious know what Maxoff, the MM2 City Toolkit program author, may think about this research. He's no more in the MM2 scene, this his program would have got great improvements now.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

User avatar
HummersRock
MM2X Super Active User
MM2X Super Active User
Posts: 2152
Registered for: 17 years 4 months
Location: Floating in The Land of Colours
Contact:

Postby HummersRock » Fri Aug 19, 2011 3:25 am

Cool stuff. Nice work man.
[url=https://bit.ly/znpgtp][color=deepskyblue]My MM2 Creations[/color][/url] | [url=https://bit.ly/o9c3][color=red]My MM2 Youtube[/color][/url] | [url=https://bit.ly/yfqjeq][color=green]My DeviantArt[/color][/url]

User avatar
CarLuver69
MM2X Active User
MM2X Active User
Posts: 934
Registered for: 17 years 1 month
Location: California, USA
Contact:

Postby CarLuver69 » Fri Aug 19, 2011 8:52 am

*whistles*

Image

This took me an incredibly long time to do. IMO, it's not worth going the whole nine yards.
[img]https://img59.imageshack.us/img59/2562/2010mm2cawardssilver.png[/img] [color=orange]Best MM2 Innovation - Author of best car of the year[/color]
[color=silver][i]Proud supporter of MM2X[/i][/color]

[color=#CCCCCC]How do I love thee MM2? Let me count the add-ons...
[size=134][b]Are my pictures not showing up? [url=https://photobucket.com/CL69MM2]CLICK HERE![/url][/b][/size][/color]

User avatar
HummersRock
MM2X Super Active User
MM2X Super Active User
Posts: 2152
Registered for: 17 years 4 months
Location: Floating in The Land of Colours
Contact:

Postby HummersRock » Fri Aug 19, 2011 5:39 pm

Wow. Maybe it's not worth the time, but to have a working city with intersections like that would be really sweet. :o
[url=https://bit.ly/znpgtp][color=deepskyblue]My MM2 Creations[/color][/url] | [url=https://bit.ly/o9c3][color=red]My MM2 Youtube[/color][/url] | [url=https://bit.ly/yfqjeq][color=green]My DeviantArt[/color][/url]

User avatar
Triple_X
MM2X Very Active User
MM2X Very Active User
Posts: 1865
Registered for: 14 years 2 months
Location: Gjakova, Kosovo
Contact:

Postby Triple_X » Fri Aug 19, 2011 5:52 pm

the guy over there is walking on the street XD
[color=white][b][u]MM2X Awards : [/u][/b]

[img][/img] | Funniest Active Member [/color]