Search found 90 matches

by BTB
Apr 17 2019, 0:38
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Apr 15 2019, 7:40
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Apr 13 2019, 8:03
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Apr 10 2019, 21:56
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Apr 9 2019, 23:54
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Apr 8 2019, 19:27
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Apr 5 2019, 18:21
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Apr 3 2019, 17:56
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Apr 3 2019, 15:35
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Apr 3 2019, 13:15
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Mar 31 2019, 3:42
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Mar 27 2019, 12:34
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Mar 27 2019, 1:59
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Mar 24 2019, 0:51
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Mar 23 2019, 13:19
Forum: Might and Magic
Topic: How exactly does Disarm Trap skill work? (MM6)
Replies: 10
Views: 3547

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
Mar 22 2019, 6:40
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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
Mar 9 2019, 13:54
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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...
by BTB
Mar 8 2019, 18:23
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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

Sweeeeeeeeeeeeet. You seem to have a really good idea of what you're doing and I hope you don't mind if I pump you for more information. I have a lot I want to do, but as long as I have some basic examples to learn from, I shouldn't need too much in the way of guidance. The potion example makes perf...
by BTB
Mar 8 2019, 16:44
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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

Hey, all... glad to see everything is going well around here. Hopefully will be able to actually get back around to this now that my other projects are taken care of for the moment. Seems, file host has not handle the video, i've uploaded it to Youtube: https://youtu.be/lipriutf3SI . I've forgot to ...
by BTB
May 30 2018, 18:49
Forum: Might and Magic
Topic: MMExtension v2.1 + MMEditor v2.1 Level Editor [Apr 22, 2016]
Replies: 602
Views: 145341

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

Ooh, this is very nice! I can see the relevant snippet in what you posted for potions, but I wouldn't know where to begin editing it. Could you show me an example edit?

Go to advanced search