MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]

The role-playing games (I-X) that started it all and the various spin-offs (including Dark Messiah).

Moderator: Moderators

User avatar
GrayFace
Archlich
Archlich
Posts: 1131
Joined: 29 Nov 2005

MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]

Postby GrayFace » Sep 25 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:
http://sites.google.com/site/sergroj/mm/mmextension
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 Jan 3 2017, 7:24, edited 22 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

Postby Holloweyee » Sep 26 2009, 0:12

That is awsome! Keep up the good work :)

User avatar
GrayFace
Archlich
Archlich
Posts: 1131
Joined: 29 Nov 2005

Postby GrayFace » Oct 1 2009, 8: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
Archlich
Archlich
Posts: 1131
Joined: 29 Nov 2005

Postby GrayFace » Oct 1 2009, 8: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:

Postby Vector » Oct 1 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

Postby motter28218 » Oct 1 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

Postby Deadguy118 » Oct 2 2009, 5: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

Postby zipi » Oct 9 2009, 21:28

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

User avatar
GrayFace
Archlich
Archlich
Posts: 1131
Joined: 29 Nov 2005

Postby GrayFace » Oct 19 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

Postby motter28218 » Oct 19 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
Pit Lord
Pit Lord
Posts: 1249
Joined: 05 Sep 2008

Postby Variol » Oct 20 2009, 0: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
Archlich
Archlich
Posts: 1131
Joined: 29 Nov 2005

Postby GrayFace » Oct 26 2009, 7: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
Pit Lord
Pit Lord
Posts: 1249
Joined: 05 Sep 2008

Postby Variol » Oct 26 2009, 10:09

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

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

Postby GreatEmerald » Oct 28 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

Postby motter28218 » Nov 18 2009, 2: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
Archlich
Archlich
Posts: 1131
Joined: 29 Nov 2005

Postby GrayFace » Nov 18 2009, 5: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

Postby motter28218 » Nov 19 2009, 19:21

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

User avatar
GrayFace
Archlich
Archlich
Posts: 1131
Joined: 29 Nov 2005

Postby GrayFace » Dec 9 2009, 2: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

Postby motter28218 » Dec 17 2009, 2: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
Archlich
Archlich
Posts: 1131
Joined: 29 Nov 2005

Postby GrayFace » Dec 27 2009, 0: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: Yahoo [Bot] and 10 guests