MMScript

A scripting program for MM

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

MMScript

Postby aaro4130 » Mon Jun 17, 2013 1:35 am

I made a simple scripting program that can edit stuff while the game is running!

Oh yes this actually works btw

Image

Also some in game commands
NOTE : Command reference isnt for all commands yet
Image
Image
[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: 15758
Registered for: 16 years 10 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Mon Jun 17, 2013 2:17 am

This looks interesting, you're doing such great programming works. :wink: So due to it is possible do changes to those five parameters in real time during a gameplay. Needs try it to see it how operates.
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: 15 years 11 months
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Mon Jun 17, 2013 2:20 am

You have to reload the level for lighting. Also changing the Ambient seems to cause some types of errors :P

Also the traffic/ped/cop is only changeable in the menu

Image

Also camera glitch mode proves that skybox is small and rendered behind everything else
Image
[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
EnzoSkylineMiura
MM2X Very Active User
MM2X Very Active User
Posts: 1035
Registered for: 12 years 7 months
Location: Dank Memeing indoors
Contact:

Postby EnzoSkylineMiura » Mon Jun 17, 2013 3:21 am

Very nice program! Yes, I've seen that sky before. But it only happens when I fly out of the map, so it's weird to see it there. :D
[img][/img] [color=gold]MM2x Awards 2014 - Most Friendly Active Member[/color]

[img][/img]

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

Postby aaro4130 » Mon Jun 17, 2013 3:38 am

Also im camera glitch mode its possible to see the "ghost dash" XD
Image
[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: 15758
Registered for: 16 years 10 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Mon Jun 17, 2013 4:04 am

Really curious the camera glitch mode, and also the slew mode which you haven't still showed.
The little sizes of the skydome could be already checked by importing the SF (used as default sky too) and London skies in ZModeler. Its rendering way it's used in many games.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

User avatar
NotoriousA
MM2X Active User
MM2X Active User
Posts: 710
Registered for: 12 years 6 months
Location: Racing in Chicago

Postby NotoriousA » Mon Jun 17, 2013 5:06 am

Also im camera glitch mode its possible to see the "ghost dash" XD
Image
I did this in MM1 too!
[img][/img]

User avatar
RohitXL5
MM2X Active User
MM2X Active User
Posts: 901
Registered for: 11 years 6 months
Location: Indore, Madhya Pradesh, India

Postby RohitXL5 » Mon Jun 17, 2013 6:46 am

That's great program! I really need it. But will it edit .lt00 to .lt15 files for both SF and London or just one side?
[img][/img]

[color=#01B5DD][size=150]Boss of Martians![/size][/color]

[img][/img] [color=yellow]Best Active Member MM1 screenshot-er | Best MM2 breakout of the year[/color]
[img][/img] [color=yellow]Author of the best mod of the year[/color]

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

Postby aaro4130 » Mon Jun 17, 2013 11:41 am

It doesnt edit .LT files! It edits the hard-coded ambient lighting values that add to them no matter what, it edits the same thing as "Shading3" and you have to run the script every time you start the game.

That's why it says Inject Code. Because it literally replaces values in the memory of the game that were never intended to be edited, also, Slew mode replaces assembly code that shouldn't be replaced either. :P

Soon and beleive it or not, we will have the ability to teleport, this means I have 90 days to make the program as it needs the Premium version of Visual Studio, so for now I am using the trial to set a breakpoint in MM2.

This is camera.glitchmode 2, adding it when I get home
Image
[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: 15758
Registered for: 16 years 10 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Mon Jun 17, 2013 10:57 pm

You've already showed to have edited the hardcoded values in the game EXE about the ambient lightning, so now you're doing the same through this program.
That's why it says Inject Code. Because it literally replaces values in the memory of the game that were never intended to be edited, also, Slew mode replaces assembly code that shouldn't be replaced either. :P
It's working it's like the memory hacking tools such as Cheat Engine.

About the "ghost dashboard", in MM1 it's a kind of implemented cheat, as far as I remember.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

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

Postby EnzoSkylineMiura » Wed Jun 19, 2013 4:17 am

This is camera.glitchmode 2
Heehee, love that! :D
[img][/img] [color=gold]MM2x Awards 2014 - Most Friendly Active Member[/color]

[img][/img]

User avatar
A320_Pilot
MM2X Very Active User
MM2X Very Active User
Posts: 1159
Registered for: 12 years 9 months
Location: Home

Postby A320_Pilot » Wed Jun 19, 2013 5:24 am

Aaron, gimme your computer! You're glitches are so, so, SO interesting. O.o
[img]https://i.imgur.com/Vj394OU.jpg[/img]
[color=cyan][b]4.6L V8?[/b][/color] [color=white]I think[/color] [color=red][b]YES![/b][/color]

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

Postby aaro4130 » Wed Aug 07, 2013 2:14 pm

Source code of the program has now been transfered to SuperSecret as I have stopped work on it
[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]