Findings in MM2 + MM2 Coding Reference

Some findings I've... found? XD

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2403
Joined: Mon May 26, 2008 2:00 am
Location: Canada
Likes received: 1 like

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: 15711
Joined: Thu May 31, 2007 2:00 am
Location: Italy
Likes received: 1 like
Contact:

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: 2403
Joined: Mon May 26, 2008 2:00 am
Location: Canada
Likes received: 1 like

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
Joined: Mon Oct 15, 2012 2:00 am
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
Joined: Wed Sep 22, 2010 2:00 am
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: 5320
Joined: Wed Feb 13, 2008 1:00 am
Location: Poland
Contact:

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

Nice find :)