Findings in MM2 + MM2 Coding Reference

Some findings I've... found? XD

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

Findings in MM2 + MM2 Coding Reference

Postby aaro4130 » Sun Jul 20, 2014 9:39 pm

Hey! I just want you guys to know that there are A LOT! A LOT! of hidden things in MM2, I wish we had the source code so bad.

-Ragdoll pedestrians [Yes, I can't enable them though]
-Debug pages, possibly shows values in game, because the function name is "AddD3DStatsPage" (one of them)
-DrawGlow function in CarModel class. maybe for actual lighting from lights? [headlights are DrawHeadlights]
-PlayVoice from police cars. was in MM1 and planned for MM2 by the looks of this
-EjectAll in the breakables manager, I assume this instantly makes all the breakables "explode" off the car :lol:

I'll add some more soon, I also figured out how some of the stuff works.

E.g. This is how hudarrow01 gets loaded

Code: Select all

asMeshForm hudarrow01 = asMeshForm.Load("hudarrow01"); hudArrow01.setZRead(false); //ignore depth hudArrow01.setZWrite(false); //always on top //this is an asNode, which is a scene node?? no clue on this asNode.AddChild(hudarrow01); //add to sceen huddarrow01.setLighting(false); // disable lighting for hud arrow
Last edited by aaro4130 on Mon Jul 21, 2014 1:26 pm, edited 1 time in total.
[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
Franch88
MM2X Admin
MM2X Admin
Posts: 15759
Registered for: 17 years 4 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Sun Jul 20, 2014 10:36 pm

Really interesting finds. These look residues of test and debug functions that the programmers were using and experimenting... I assume that these values traces are present in the game EXE, is it so?
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 4 months
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Sun Jul 20, 2014 11:49 pm

Yeah, somewhat.

Also check out the wiki, not about MM2 files, not about MM2 gameplay, about MM2 CODE!
https://a4.acoxi.com/index.php/Midtown_M ... _Reference
[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
The_Most_Wanted
MM2X Active User
MM2X Active User
Posts: 960
Registered for: 11 years 11 months
Location: Egypt

Postby The_Most_Wanted » Mon Jul 21, 2014 3:40 pm

It's really interesting, Good luck bro! :)
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
whoami
MM2X Very Active User
MM2X Very Active User
Posts: 1370
Registered for: 14 years
Location: Has been located.
Contact:

Postby whoami » Tue Jul 22, 2014 6:46 pm

Whoa, sounds awesome! :)
[color=white]Nobody told me MM2 works on Windows 10![/color]

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

Postby sajmon14 » Tue Jul 22, 2014 7:30 pm

Nice find :)