Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 15.02.2022]

The role-playing games (I-X) that started it all and the various spin-offs (including Dark Messiah).
cthscr
Blood Fury
Blood Fury
Posts: 480
Joined: 12 Jan 2020

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 15.02.2022]

Unread postby cthscr » 23 Jan 2023, 11:19

ShadowLiberal wrote: 19 Jan 2023, 23:04 I notice that Artifacts that are supposed to give you Feather Fall, such as Lady's Escort and Hermes's Sandals don't actually give you Feather Fall. Is there a way to fix this so that those items give you Feather Fall like they're supposed to?

I know how to edit artifacts in ExtraArtifacts.lua, but whenever I try adding Feather Fall buffs to those items I just get error messages in the game.

I found some posts many pages ago in this thread (back from 2020 on page 293) where someone links to some code at gitlab to add to ExtraArtifacts.lua and ExtraEvents.lua to correct this, however their changes don't work for me. I think the problem is that the code they posted only works on older versions of the mod, as it was posted over 2 years ago.

Link to the outdated code in question: https://gitlab.com/cthscr/mmmerge/-/com ... 27fc651a39
This code was written for Comm Merge. Now it works [properly] almost non-changed in Revamp. I think it also should work for Base Merge without any modification as well. (Note buff is character-scope and isn't shown in buff list [since it isn't spell buff].)

cthscr
Blood Fury
Blood Fury
Posts: 480
Joined: 12 Jan 2020

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 15.02.2022]

Unread postby cthscr » 23 Jan 2023, 11:54

toadking wrote: 15 Jan 2023, 10:39 Excuse me, ghost dragons have dark skills but cannot learn dark magic, is it specially set in the game or a bug?
A bug that I don't know yet how I want to fix. You can use one of the follow files:
MM8-like: https://gitlab.com/cthscr/mmmerge/-/blo ... arning.txt
MM6-like: https://gitlab.com/cthscr/mmmerge/-/blo ... arning.txt
I'd prefer personally something more complex, utilizing all the possibilities of SpellsLearning.txt - see https://gitlab.com/cthscr/mmmerge/-/wik ... arning.txt
toadking wrote: I found in "Castle Kriegspire" , if you give money to the curator of kriegspire, he will also treat the party and remove a series of negative conditions, , no aging and the effect is the same as that of NPC healer master. Can its code replace the master healer's event? :tongue:
It can probably. But not if you implement, for example, casting Divine Intervention from temple donation.

cthscr
Blood Fury
Blood Fury
Posts: 480
Joined: 12 Jan 2020

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 15.02.2022]

Unread postby cthscr » 23 Jan 2023, 12:11

toadking wrote: 11 Jan 2023, 01:42
toadking wrote: 10 Jan 2023, 10:19 Sorry to bother your again,I used the master branch of 2022.12.29 patch for my games. After I added many monsters on the map of Alvar, I casted the magic Armageddon near the hive. Then I found that some of the dead wasp bodies were gone when the magic Armageddon was casted, leaving only their wings and stingers on the ground. Because there was a wasp with blue wasp jelly on its body, and once its
...
Later, I tested several times that issue occured when continue casting Armageddon magic after the monster died, and its also happened on the body with blue wasp jelly on it, others are normal. I also found that when casted the Armageddon in Garrot Gorge, the body of Jeric Whistlebone(with a Two-hand sword) sometimes disappeared, which would led to the failure of the dragon promotion from Flight Leader to great wyrm when it occured. :canthear:

A temporary solution was found, when the issue occurs, executed following on the console:

Code: Select all

Map.Monsters[monster's index].AIState = const.AIState.Active
The monster's body appears, :) hoping to provide a permanent method, thank you.
Did you modify map files? I don't think I have changed anything in related code. Casting 5 armageddons won't remove bodies for me.

One thing I can think of is "Clean out map of removed corpses and summons by shrinking Map.Monsters table" block of Scripts/General/MiscTweaks.lua, but it should proc on map load only.
Last edited by cthscr on 23 Jan 2023, 12:33, edited 1 time in total.

cthscr
Blood Fury
Blood Fury
Posts: 480
Joined: 12 Jan 2020

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 15.02.2022]

Unread postby cthscr » 23 Jan 2023, 12:23

Xord wrote: 16 Jan 2023, 23:17 I'm new to M&M modding, so I've wanted to add a new character/face to the mm8/merge, but I can't find a face.txt and faceanims.txt file.

I've read that that you need to generate it by lua console, but I don't really know what command should I use.
"Data/Tables/Character portraits.txt", column "Face pics prefix". Files (56 per face) are in *.icons.lod
See also https://gitlab.com/cthscr/mmmerge/-/wik ... eanimation - 5 latter numbers should have some relation.
Last edited by cthscr on 23 Jan 2023, 13:46, edited 1 time in total.

cthscr
Blood Fury
Blood Fury
Posts: 480
Joined: 12 Jan 2020

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 15.02.2022]

Unread postby cthscr » 23 Jan 2023, 12:46

Orlock wrote: 05 Dec 2022, 12:42 I have been watching this mod for a long time, it's cool that it develops, new features, animations are added, there is activity on the forum. But personally, it always hurt my eyes how leather jackets look on female models. Here is my version.
ImageImageImageImageImage
Ugh, why jpeg? It's lossy format and will turn mm transparent color (00ffff) into a mix of several non-transparent...
(Looks great gtw)

User avatar
Xord
Leprechaun
Leprechaun
Posts: 3
Joined: 19 Dec 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 15.02.2022]

Unread postby Xord » 27 Jan 2023, 15:00

cthscr wrote: 23 Jan 2023, 12:23
Xord wrote: 16 Jan 2023, 23:17 I'm new to M&M modding, so I've wanted to add a new character/face to the mm8/merge, but I can't find a face.txt and faceanims.txt file.

I've read that that you need to generate it by lua console, but I don't really know what command should I use.
"Data/Tables/Character portraits.txt", column "Face pics prefix". Files (56 per face) are in *.icons.lod
See also https://gitlab.com/cthscr/mmmerge/-/wik ... eanimation - 5 latter numbers should have some relation.
Thank you! Yes, it worked, but now how to properly add voice clips? I've added them to sounds.txt, and then to Character voices.txt, with proper IDs (from 9400 to 9493) and added them to the Merge.D archive, but for some reason got some type of error and the voice is silent. So I'm guessing I need to do something else, or change sound IDs.

cthscr
Blood Fury
Blood Fury
Posts: 480
Joined: 12 Jan 2020

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 15.02.2022]

Unread postby cthscr » Yesterday, 08:20

Xord wrote: 27 Jan 2023, 15:00 how to properly add voice clips? I've added them to sounds.txt, and then to Character voices.txt, with proper IDs (from 9400 to 9493) and added them to the Merge.D archive, but for some reason got some type of error and the voice is silent. So I'm guessing I need to do something else, or change sound IDs.
IIRC should be enough with proper editing and proper wav format (ffmpeg args to convert to vanilla format: '-ac 1 -ar 22050 -c:a adpcm_ima_wav'). I'd start with copying, say, pc500* into new namespace first.

User avatar
Xord
Leprechaun
Leprechaun
Posts: 3
Joined: 19 Dec 2022

Re: Might and Magic 6, 7, 8 merge based on mm8 engine. [upd. 15.02.2022]

Unread postby Xord » Yesterday, 23:49

cthscr wrote: Yesterday, 08:20
Xord wrote: 27 Jan 2023, 15:00 how to properly add voice clips? I've added them to sounds.txt, and then to Character voices.txt, with proper IDs (from 9400 to 9493) and added them to the Merge.D archive, but for some reason got some type of error and the voice is silent. So I'm guessing I need to do something else, or change sound IDs.
IIRC should be enough with proper editing and proper wav format (ffmpeg args to convert to vanilla format: '-ac 1 -ar 22050 -c:a adpcm_ima_wav'). I'd start with copying, say, pc500* into new namespace first.
Actually, after some testing. I've this problem only in the Polish version of the merge, so I'm thinking that "n02 LocPL.D.lod" archive brakes it somehow, but now how to fix that? Also it brakes voices from the mmmerge.D.lod voices, so yeah there is definitely a problem in the Polish archive.


Return to “Might and Magic”

Who is online

Users browsing this forum: Bing [Bot] and 41 guests