Search found 93 matches

by BTB
17 May 2019, 22:30
Forum: Might and Magic
Topic: Working on an extensive MM7 mod... here's what I've got.
Replies: 37
Views: 31270

Re: Working on an extensive MM7 mod... here's what I've got.

I didn't change spells. That's one of the things I'm waiting on.
by BTB
17 May 2019, 20:09
Forum: Might and Magic
Topic: Working on an extensive MM7 mod... here's what I've got.
Replies: 37
Views: 31270

Re: Working on an extensive MM7 mod... here's what I've got.

It's not yet made. I've made progress in getting some things done, but there's no build as I'm still waiting on being able to do certain things.
by BTB
17 May 2019, 02:17
Forum: Heroes I-IV
Topic: Heroes III spell hacking
Replies: 1
Views: 2145

Heroes III spell hacking

I'm looking for some reference regarding editing spells (schools, damage, levels) in Heroes 3, which I have seen done in hacks but cannot find any information on doing myself. Assuming that it will require hex editing, and would appreciate if anyone can point me in the right direction.
by BTB
17 Apr 2019, 00:38
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Quick question... will the following check a character's base skill or will it factor in NPC/equipment bonuses:

if evt.Cmp("RepairSkill", 1)
by BTB
15 Apr 2019, 07:40
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Thanks! I'm not entire sure about the "limits" verbiage... what exactly do you mean by removing them? Means you'll be able to edit existing houses, but not add new ones or only add a few. Gotcha. I've been coming around and actually managing to figure out how to use use MME lately (would ...
by BTB
13 Apr 2019, 08:03
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Thanks! I'm not entire sure about the "limits" verbiage... what exactly do you mean by removing them?
by BTB
10 Apr 2019, 21:56
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Well, damn, that makes life a lot easier.

On a similar note... how much of the contents of 2dEvents.txt controls the wares (types and treasure levels) of a shop and how much of that is hard-coded? It's one of the few text files I can't really make much sense of.
by BTB
09 Apr 2019, 23:54
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Code: Select all

function events.CalcStatBonusByItems(t)
	if t.Stat > 50 then
		for it in t.Player:EnumActiveItems() do
			t.Result = 50
		end
	end
end
Is this what I'm after, then?
by BTB
08 Apr 2019, 19:27
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

You can use this event for that task: https://grayface.github.io/mm/ext/ref/#events.CalcStatBonusByItems It gets table as parameter, you can analyze "Result" filed and cap it. I see the pieces... sort of. But I don't see how they fit together. My best guess is: evt.CalcStatBonusByItems (R...
by BTB
05 Apr 2019, 18:21
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Also curious... what are the odds that +Stat bonuses could be flagged by the system as unstackable like +Skill bonuses are? Would let me balance around higher (i.e. much more useful) boosts earlier on without things going completely off the rails later on. I suppose the alternative would be to have ...
by BTB
03 Apr 2019, 17:56
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Thank you! For right now, I'm really just wanting to look at it and see if I can figure out what it's doing since I'm still learning .lua. (I'm ALSO holding out the hope that the potion structure is similar enough in MM7/MM8 that editing potion effects in MM7 should be a simple matter of isolating t...
by BTB
03 Apr 2019, 15:35
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

NPCText, damn, I looked RIGHT past that! Am I able to add strings to this as necessary, or am I limited to only the blank spots that I have? And ok, that's what you meant by sprite events not working... fair enough, I can use option one with little difficulty. And now that I have an understanding of...
by BTB
03 Apr 2019, 13:15
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

So..... basically, I have two options. It looks like the simpler one is just to do this: evt.Global[389] = function() local CurrentPlayer = math.max(Game.CurrentPlayer, 0) if Party[CurrentPlayer]:GetRace() == const.Race.Goblin then evt.Add{"BaseSpeed", 1} -- (if Goblin, +3 Speed) elseif Pa...
by BTB
31 Mar 2019, 03:42
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

I take it "merge mod" is that other major thread I see up there? I guess... starting just with the potion effects as an example, how much of it is really just taking that code you provided and looking for a different offset? It really doesn't seem like much actually CHANGED in MM8 otherwis...
by BTB
27 Mar 2019, 12:34
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

I've been talking about Might & Magic VII this whole time... have you not been?

(Oh, i just saw the bit where you mentioned that this only works with MM8... not sure how I missed that)

So... how much of what we've been talking about is invalid now?
by BTB
27 Mar 2019, 01:59
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

To make example work, all actions you have to do are: 1. Put "RemoveItemsLimits.lua" into "...Scripts\Structs" folder. 2. Create "Example.lua" in "...Scripts\Global", open it with any text editor and paste code there. So, I place the RemoveItemsLimits.lua int...
by BTB
24 Mar 2019, 00:51
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Ok, so possibly stupid follow-up question, then... is the Potions.lua file in the structs folder required beyond that point, or does it exist solely to generate the text table?

...ok, yeah, that is a stupid question. There's no way that Potions.lua isn't required.
by BTB
23 Mar 2019, 13:19
Forum: Might and Magic
Topic: How exactly does Disarm Trap skill work? (MM6)
Replies: 10
Views: 9490

Re: How exactly does Disarm Trap skill work? (MM6)

So, here's a question I'm actually not sure of the answer to off-hand... do bonuses from equipment or NPCs factor in before or after skill mastery bonus (i.e. double/triple level of skill)?
by BTB
22 Mar 2019, 06:40
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Something you may be able to tell me, though... artifacts and relics. I see examples on GitHub of how to ADD effects to them, but how would I go about removing them do you know? These effects are hardcoded, only way to remove them is editing .exe file. If you familiar with disassembly, you can use ...
by BTB
09 Mar 2019, 13:54
Forum: Might and Magic
Topic: MMExtension v2.2 + MMEditor v2.1 Level Editor [June 4, 2019]
Replies: 930
Views: 492642

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

Editing skill bonuses is definitely possible - at least if you're using existing bonuses. I just recall Greyface telling me awhile back that he hadn't added hooks yet. Guess I'll have to defer to him. Something you may be able to tell me, though... artifacts and relics. I see examples on GitHub of h...

Go to advanced search