MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]

The role-playing games (I-X) that started it all and the various spin-offs (including Dark Messiah).
User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1660
Joined: 29 Nov 2005

MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]

Unread postby GrayFace » 25 Sep 2009, 20:34

This is my project that makes modding the game easier and greatly extends possibilities. Help is very far from completion and I'm planning to make it in a totally different way in future. So, you can play with it yourself and look some things up in decompiled scripts. Feel free to ask me how to do things, the answers would go to examples section of Help. Here's more info:
https://grayface.github.io/mm/ext/
Since version 1.3 you can edit some things in TXT tables. For example, you can edit various attributes of classes, like skills they can master.

Level Editor
MMEditor is a fully-featured levels editor. You need to install it together with MMExtension. You'll find it on MMExtension page. Some basic stuff is explained in MMEditor ReadMe.txt.
GUI on the left is temporary, I'd like to use icons instead of text on buttons in future.
Image

MM8 Choose Party scripts
Now you can choose your party on start or solo dragon for example.
Image

P.S. Please discuss anything MMExt-related in this topic, it's never "old", you're not necro-posting.
Last edited by GrayFace on 03 Jun 2019, 22:08, edited 25 times in total.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

Holloweyee
Leprechaun
Leprechaun
Posts: 37
Joined: 20 Mar 2009

Unread postby Holloweyee » 26 Sep 2009, 00:12

That is awsome! Keep up the good work :)

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1660
Joined: 29 Nov 2005

Unread postby GrayFace » 01 Oct 2009, 08:15

Version 1.0.1
Some bugs were fixed.

Download link is the same: http://sites.google.com/site/sergroj/mm ... ension.rar
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1660
Joined: 29 Nov 2005

Unread postby GrayFace » 01 Oct 2009, 08:16

Controlling monsters aggression
This script is to be put into Scripts\Global folder. It makes archers in Free Haven friendly and female peasants aggressive. In other places archers are still aggressive and peasants are still friendly.

Code: Select all

function events.BeforeLoadMap()
	if Game.Map.Name:lower() == "outc2.odm" then
		LocalMonstersTxt()

		Game.MonstersTxt[1].HostileType = 0  -- ArcherA
		Game.MonstersTxt[2].HostileType = 0  -- ArcherB
		Game.MonstersTxt[3].HostileType = 0  -- ArcherC
		Game.MonstersTxt[121].HostileType = 4  -- PeasantF1A
		Game.MonstersTxt[122].HostileType = 4  -- PeasantF1B
		Game.MonstersTxt[123].HostileType = 4  -- PeasantF1C
	end
end
motter, here is a script for you. "your_quest_number" is the number of QBit that is set when you choose dark side.

Code: Select all

function events.BeforeLoadMap()
	if Party.QBits[your_quest_number] then
		LocalMonstersTxt()

		Game.MonstersTxt[1].HostileType = 0  -- Your monsters here
	end
end
Note that these scripts won't work properly in version 1.0
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

User avatar
Vector
Pixie
Pixie
Posts: 118
Joined: 30 Sep 2006
Location: United States
Contact:

Unread postby Vector » 01 Oct 2009, 15:12

This is absolutely great work! Can't wait for the MM7 & MM8 version!
||\............/||_||\............/||_\\.....//
||..\......../..||_||..\......../..||__\\.//
||....\..../....||_||....\..../....||__//.\\
||......\/......||_||......\/......||_//.....\\

Might and Magic X: The Anduran Saga
Official Website: http://www.mightandmagic10.thegaminguniverse.com/

User avatar
motter28218
Pixie
Pixie
Posts: 118
Joined: 30 Sep 2007

Unread postby motter28218 » 01 Oct 2009, 17:26

Here is a download link for those of you who want Lua on windows also includes some tutorials. Thanks so much for this great modding tool Grayface!


http://luaforge.net/frs/?group_id=377

User avatar
Deadguy118
Assassin
Assassin
Posts: 294
Joined: 03 Jun 2006
Location: Somewhere

Unread postby Deadguy118 » 02 Oct 2009, 05:28

Well, even I can see how this could positively impact the development of Might and Magic X. Good job Greyface.
Back from the dead? Maybe.

zipi
Peasant
Peasant
Posts: 50
Joined: 27 May 2008

Unread postby zipi » 09 Oct 2009, 21:28

OMG very nice job ;)
I wish to have more time to contribute some help..

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1660
Joined: 29 Nov 2005

Unread postby GrayFace » 19 Oct 2009, 12:38

Version 1.1 is released. It supports MM7. Now I'm planning to do the help.
Everything is pretty much untested. Yes, it works stable, but certain functions, structures definitions etc. may be wrong.
Some things have been changed since last version. For example, now MM6 classes properties are in the following arrays:
Game.Classes.HPFactor
Game.Classes.SPFactor
Game.ClassKinds.HPBase
Game.ClassKinds.SPBase
Game.ClassKinds.StartingStats
Game.ClassKinds.StartingSkills
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

User avatar
motter28218
Pixie
Pixie
Posts: 118
Joined: 30 Sep 2007

Unread postby motter28218 » 19 Oct 2009, 20:34

GrayFace wrote:Version 1.1 is released. It supports MM7. Now I'm planning to do the help.
Everything is pretty much untested. Yes, it works stable, but certain functions, structures definitions etc. may be wrong.
Some things have been changed since last version. For example, now MM6 classes properties are in the following arrays:
Game.Classes.HPFactor
Game.Classes.SPFactor
Game.ClassKinds.HPBase
Game.ClassKinds.SPBase
Game.ClassKinds.StartingStats
Game.ClassKinds.StartingSkills
That would be great if there was a help file. I'm trying to learn Lua but it's more complicated than the basic scripting I know how to do and the native decompiled scripts syntax doesn't work in Lua.

User avatar
Variol
Wraith
Wraith
Posts: 1269
Joined: 05 Sep 2008

Unread postby Variol » 20 Oct 2009, 00:49

Could someone confirm the fact that I'm just not computer savvy enough to know what the heck this thread is about?

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1660
Joined: 29 Nov 2005

Unread postby GrayFace » 26 Oct 2009, 07:29

To put it simply, I've made a small WoG for M&M.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

User avatar
Variol
Wraith
Wraith
Posts: 1269
Joined: 05 Sep 2008

Unread postby Variol » 26 Oct 2009, 10:09

Oh, I've actually been playing WoG over the last week or so.

User avatar
GreatEmerald
CH Staff
CH Staff
Posts: 3330
Joined: 24 Jul 2009
Location: Netherlands

Unread postby GreatEmerald » 28 Oct 2009, 10:24

GrayFace wrote:To put it simply, I've made a small WoG for M&M.
A small WoG with ways more intuitive scripting language! :D

User avatar
motter28218
Pixie
Pixie
Posts: 118
Joined: 30 Sep 2007

Unread postby motter28218 » 18 Nov 2009, 02:27

Hey Grayface, not trying to rush you or anything but just wondering if you are still planning to make a help file for this utility. It has some serious potential but without knowing the evt language I am kinda at a dead stop. Thanks again for all of your work.

Otter

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1660
Joined: 29 Nov 2005

Unread postby GrayFace » 18 Nov 2009, 05:13

Sure. You can see the help progress on http://sites.google.com/site/sergroj/mm/mmextension , although I haven't done anything for quite a while. Note that what you can see there has some inconsistencies with the currently released version.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

User avatar
motter28218
Pixie
Pixie
Posts: 118
Joined: 30 Sep 2007

Unread postby motter28218 » 19 Nov 2009, 19:21

I will take a look at the info. Thanks again.

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1660
Joined: 29 Nov 2005

Unread postby GrayFace » 09 Dec 2009, 02:51

Until I make the help, ask me how to do certain things and whether they can be done. They will later become examples in the help.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.

User avatar
motter28218
Pixie
Pixie
Posts: 118
Joined: 30 Sep 2007

Unread postby motter28218 » 17 Dec 2009, 02:49

GrayFace wrote:Until I make the help, ask me how to do certain things and whether they can be done. They will later become examples in the help.
OK, I'm actually pretty busy right now modding a game called Rise of Legends so I haven't worked on MM6 for awhile but one thing I was wanting to do was to make the wand an actual weapon for mages/clerics wherein you would learn the wand skill and buy/loot wands which had the various spells and as you progressed in the wand skill it would increase the power of the spell the same as leveling up would in that particular realm of magic, just really wanted a way to give spell casters a steady weapon in case they run out of SP and I always thought it was kinda out of place having spell caster's use regular weapons like daggers, maces, etc. I did look over the files in Lua, but those functions are more advanced than what I understand.

User avatar
GrayFace
Round Table Hero
Round Table Hero
Posts: 1660
Joined: 29 Nov 2005

Unread postby GrayFace » 27 Dec 2009, 00:25

Well, it would require adding a new hook into MMExtension.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.


Return to “Might and Magic”

Who is online

Users browsing this forum: Google [Bot] and 0 guests