Its not exacly mod but source of new graphics for M&M modifications. I will modify items from M&M 6-8 and made some brand new stuff. In download section you may get pictures in bmp256 format, also very usefull tool MM7view (it works also for MM8)
http://koval321.blogspot.com/
(am not sure how often, but this site will be updated to new graphics)
Project blacksmith
Project blacksmith
Last edited by koval321 on 28 Aug 2008, 06:29, edited 1 time in total.
-
- Leprechaun
- Posts: 29
- Joined: 14 Feb 2008
- motter28218
- Pixie
- Posts: 118
- Joined: 30 Sep 2007
I myself do not know how to do this either, but he is wanting to know how to set an item, we can use a relic/artifact as you mention, on the ground. I believe earlier he was refering to a dungeon that had nothing on the ground and he wanted to place an item there. I guess the same thing can be said about monsters; if they previously had nothing, how would you put an item on them. In any event, I am curious about this as well.motter28218 wrote:What exactly do you mean by that Sendoh? Do you mean placing a relic/artifact on a particular monster or in a chest or somewhere on the ground? You can do this with hex editing.Sendoh wrote:i still damn would like to know how to set the dropped item levels in dungeons
- motter28218
- Pixie
- Posts: 118
- Joined: 30 Sep 2007
OK, I'll give you an example. First let me say you have to know a little about hex editing and have a hex editor. If you don't have one you can go to download.com and get a trial version, I recommend "Hex Workshop" but you may prefer another.Vector wrote:I myself do not know how to do this either, but he is wanting to know how to set an item, we can use a relic/artifact as you mention, on the ground. I believe earlier he was refering to a dungeon that had nothing on the ground and he wanted to place an item there. I guess the same thing can be said about monsters; if they previously had nothing, how would you put an item on them. In any event, I am curious about this as well.motter28218 wrote:What exactly do you mean by that Sendoh? Do you mean placing a relic/artifact on a particular monster or in a chest or somewhere on the ground? You can do this with hex editing.Sendoh wrote:i still damn would like to know how to set the dropped item levels in dungeons
The example I'm going to use is with Might and Magic 6. What we're going to do is take "Agar" from "Agar's Lab" and instead of him giving you nothing when you loot him we're going to make it so you get the crown "Odin". So:
1. Using MM8lvleditor open MM6/data/games.lod and locate d19.dlv, don't confuse it with d19.blv. Notice it has a listing for creatures and it has a value of 0, click on this and you will see this dungeon contains the monster "Agar".
2. Scroll over and you will notice all sorts of data concerning Agar, his HP, AC, etc, keep scrolling till you come to "Item Carried". Notice the offset is 0xa4 and right now the value is 0 because he currently carries no item.
3. Extract the d19.dlv file to wherever you normally extract your files to mod. Be sure to keep the MM8lvleditor open.
4. Open the extracted d19.dlv file with the hex editor, then find the text Agar, you can do this by edit-search or you can just scroll down, it's not hard to find there isn't much text in this file.
5. Now you just have to find the offset 0xa4, the easiest way (for me anyhow there is a better way I'm just not that experienced yet) is to go back to the MM8lvleditor and find the closest known value to 0xa4 which is "Starting Z" which has a numeric value of 63104 and an offset of 0x96.
6. Using your base converter you will find 63104 has a hex value of F680, so starting from the text "Agar" search through the hex values till you find 80F6 (I know it's strange that F680 is actually 80F6 but welcome to MM code.)
7. Now that you've found it you know you are at 0x96, so now you just have to get to 0xa4. Each "00" is an offset, so after 0x97 comes 0x98, 99, 9a, 9b, 9c, 9d, 9e, 9f, a0, a1, a2, a3, finally a4.
8. So, we found it, now we find the value for "Odin", looking in items.txt you will see "Odin" has a value of 424 which converted to hex is 01A8, but once again we have to re-arrange that value cuz hex is goofy like that so type in A801. If you are using hex workshop you can highlight A801 and in the bottom left pane you will see that even tho it's "out of order" A801 equals 424.
9. So now save the file.
10. Return to MM8lvleditor and import the d19.dlv file. When it's done importing open up Games.lod.new, go to d19.dlv and click on Agar, scroll over till you find 0xa4 and now "Item Carried" should have the value 424 which is "Odin" (Note: If you miscounted while you were hexing the 424 maybe in a different slot or you may have a number but it's not 424, this is no big deal, it's a "rookie mistake" I made plenty of times, just re-open the d19.dlv file with hex editor and move the A801 value to the proper spot.
11. Once you've verified the 424 is in the 0xa4 spot, go into data, (make a backup of games.lod just to be safe) then delete games.lod and rename games.lod.new to games.lod.
12. Now for the final test, start a new game, use an editor to beef up your party (I realize you might be one of those people who frowns on cheating but this is just to test out your work, it would be a shame to spend hours getting your party to a high enough level to tackle Agar and then finding out he doesn't have the crown). Take your party to Agar's Lab, kill him and then loot his body and you will have the crown "Odin"!!!
If you have any more questions feel free to ask, but if you can get this to work I'm sure you can see how it can be used to place items in chests, dungeons, outdoors, etc. Happy Modding!!
Otter
It's done using command 0x22. Here it is:Vector wrote:In any event, I am curious about this as well.
Code: Select all
typedef struct // SummonItem
{
int ItemIndex; // + 1000*EnchantementStrength (0-6) (see the end of STDITEMS.TXT for details)
int X;
int Y;
int Z;
int unk_5;
ubyte Count;
ubyte unk_7; // boolean -- adds some randomness to placing position
} Cmd_22;
P.S. I'd like to join your team, but I probably won't do much, 'cause I'm the main WoG programmer now.
My patches: MM6 MM7 MM8. MMExtension. Tools. Also, I love Knytt Stories and Knytt Underground. I'm also known as sergroj.
motter28218 wrote:OK, I'll give you an example. First let me say you have to know a little about hex editing and have a hex editor. If you don't have one you can go to download.com and get a trial version, I recommend "Hex Workshop" but you may prefer another.Vector wrote:I myself do not know how to do this either, but he is wanting to know how to set an item, we can use a relic/artifact as you mention, on the ground. I believe earlier he was refering to a dungeon that had nothing on the ground and he wanted to place an item there. I guess the same thing can be said about monsters; if they previously had nothing, how would you put an item on them. In any event, I am curious about this as well.motter28218 wrote: What exactly do you mean by that Sendoh? Do you mean placing a relic/artifact on a particular monster or in a chest or somewhere on the ground? You can do this with hex editing.
The example I'm going to use is with Might and Magic 6. What we're going to do is take "Agar" from "Agar's Lab" and instead of him giving you nothing when you loot him we're going to make it so you get the crown "Odin". So:
1. Using MM8lvleditor open MM6/data/games.lod and locate d19.dlv, don't confuse it with d19.blv. Notice it has a listing for creatures and it has a value of 0, click on this and you will see this dungeon contains the monster "Agar".
2. Scroll over and you will notice all sorts of data concerning Agar, his HP, AC, etc, keep scrolling till you come to "Item Carried". Notice the offset is 0xa4 and right now the value is 0 because he currently carries no item.
3. Extract the d19.dlv file to wherever you normally extract your files to mod. Be sure to keep the MM8lvleditor open.
4. Open the extracted d19.dlv file with the hex editor, then find the text Agar, you can do this by edit-search or you can just scroll down, it's not hard to find there isn't much text in this file.
5. Now you just have to find the offset 0xa4, the easiest way (for me anyhow there is a better way I'm just not that experienced yet) is to go back to the MM8lvleditor and find the closest known value to 0xa4 which is "Starting Z" which has a numeric value of 63104 and an offset of 0x96.
6. Using your base converter you will find 63104 has a hex value of F680, so starting from the text "Agar" search through the hex values till you find 80F6 (I know it's strange that F680 is actually 80F6 but welcome to MM code.)
7. Now that you've found it you know you are at 0x96, so now you just have to get to 0xa4. Each "00" is an offset, so after 0x97 comes 0x98, 99, 9a, 9b, 9c, 9d, 9e, 9f, a0, a1, a2, a3, finally a4.
8. So, we found it, now we find the value for "Odin", looking in items.txt you will see "Odin" has a value of 424 which converted to hex is 01A8, but once again we have to re-arrange that value cuz hex is goofy like that so type in A801. If you are using hex workshop you can highlight A801 and in the bottom left pane you will see that even tho it's "out of order" A801 equals 424.
9. So now save the file.
10. Return to MM8lvleditor and import the d19.dlv file. When it's done importing open up Games.lod.new, go to d19.dlv and click on Agar, scroll over till you find 0xa4 and now "Item Carried" should have the value 424 which is "Odin" (Note: If you miscounted while you were hexing the 424 maybe in a different slot or you may have a number but it's not 424, this is no big deal, it's a "rookie mistake" I made plenty of times, just re-open the d19.dlv file with hex editor and move the A801 value to the proper spot.
11. Once you've verified the 424 is in the 0xa4 spot, go into data, (make a backup of games.lod just to be safe) then delete games.lod and rename games.lod.new to games.lod.
12. Now for the final test, start a new game, use an editor to beef up your party (I realize you might be one of those people who frowns on cheating but this is just to test out your work, it would be a shame to spend hours getting your party to a high enough level to tackle Agar and then finding out he doesn't have the crown). Take your party to Agar's Lab, kill him and then loot his body and you will have the crown "Odin"!!!
If you have any more questions feel free to ask, but if you can get this to work I'm sure you can see how it can be used to place items in chests, dungeons, outdoors, etc. Happy Modding!!
Otter
Simply wonderful information guys! I know this will help us in certain aspects of our game.GrayFace wrote:It's done using command 0x22. Here it is:Vector wrote:In any event, I am curious about this as well.Unfortunately, it can't randomize the item like 0x29, but with .exe patching this can be done as well.Code: Select all
typedef struct // SummonItem { int ItemIndex; // + 1000*EnchantementStrength (0-6) (see the end of STDITEMS.TXT for details) int X; int Y; int Z; int unk_5; ubyte Count; ubyte unk_7; // boolean -- adds some randomness to placing position } Cmd_22;
P.S. I'd like to join your team, but I probably won't do much, 'cause I'm the main WoG programmer now.
Awesome that you want to join our team Grayface, I know we could use someone with your particular skill set as we have no diehard event language/programmer on out team as of yet; no worries, you don't have to do much, especially if you are the lead programmer on another project. I will send you a PM regarding the subject.
Possible ways to create new items are:
1-modify existing items
2-render brand new
3-take real photos
Already i try this thrid way (see shields +15 on blog) Its very fast and give high quality. These shields was made from real photos of medieval items found on web. Medusa shield was stone sculpture which i changed into gold colour (so its way 3B : modify real photos)
1-modify existing items
2-render brand new
3-take real photos
Already i try this thrid way (see shields +15 on blog) Its very fast and give high quality. These shields was made from real photos of medieval items found on web. Medusa shield was stone sculpture which i changed into gold colour (so its way 3B : modify real photos)
- vladimir-maestro
- Genie
- Posts: 1038
- Joined: 19 Jun 2008
Who is online
Users browsing this forum: No registered users and 4 guests