Page 1 of 2 12 LastLast
Results 1 to 30 of 35

Thread: Grumpies .mesh

  1. #1

    Default Grumpies .mesh

    I got this great tool. read the text files and edited a model.
    I took 2 models, used the body from1 and spear/shield from the other. Now when i use the merge feature, i see the body with no weapons, the 2nd will add the spear/shield......so far so good

    Now when i save the unit with a NEW name and the ms3d file it is saveing the file as a FILE, not a .mesh or a ms3d. and thus I cant convert it and use it in game...


    Any thoughts from someone who has added a new unit ?????

  2. #2

    Default Re: Grumpies .mesh

    Ok. when saving I add .ms3d to filename and now its working fine.

    I was saying Filename : heavy_spearmen_lod0
    saveas : milkshape.ms3d


    i thought this would be fine but i was getting the problem i stated above.
    so i started doing this

    filename: heavy_spearmen_lod0.ms3d
    saveas : milkshape.ms3d

    Now grumpies converter will read the new .ms3d. I can edit the new figure in milkshape and convert it to a .mesh file
    Only thing i havnt done is tried it in game, however the files are saving correctly.

    If your a rookie at modding models then I hope this helps.

    Thanks Grumpy for the amazing TOOL !!!!!!!!!!!!!!!!!!

  3. #3

    Default Re: Grumpies .mesh

    OK I GOT A QUESTION I WONT ANSWERE MYSELF.

    Why do some units have lod0,lod1,lod2,lod3
    and some only have 3 lod0,lod1,lod2

    What is the difference ???

  4. #4

    Default Re: Grumpies .mesh

    Hi dietre

    Quote Originally Posted by dietre
    Ok. when saving I add .ms3d to filename and now its working fine.

    I was saying Filename : heavy_spearmen_lod0
    saveas : milkshape.ms3d


    i thought this would be fine but i was getting the problem i stated above.
    so i started doing this

    filename: heavy_spearmen_lod0.ms3d
    saveas : milkshape.ms3d

    Now grumpies converter will read the new .ms3d. I can edit the new figure in milkshape and convert it to a .mesh file
    Only thing i havnt done is tried it in game, however the files are saving correctly.

    If your a rookie at modding models then I hope this helps.

    Thanks Grumpy for the amazing TOOL !!!!!!!!!!!!!!!!!!
    You're right, I just checked my code, and I didn't put a trap in there to catch no file suffix , I'll fix that, test it and post it shortly.

    Cheers

    GrumpyOldMan

  5. #5

    Default Re: Grumpies .mesh

    Quote Originally Posted by dietre
    OK I GOT A QUESTION I WONT ANSWERE MYSELF.
    You cant really expect someone to answer that quickly after you post, just give them time.

  6. #6
    Discipulus et Magister Member Lord Condormanius's Avatar
    Join Date
    Nov 2006
    Location
    New Haven, CT USA
    Posts
    346

    Default Re: Grumpies .mesh

    Quote Originally Posted by dietre
    OK I GOT A QUESTION I WONT ANSWERE MYSELF.

    Why do some units have lod0,lod1,lod2,lod3
    and some only have 3 lod0,lod1,lod2

    What is the difference ???
    If I am not mistaken, each 1 represents a different configuration of that particular unit based on the specified texture file. If there are three lod files, there will be three different combinations of parts (heads, legs, etc.) on the battlefield.

    LC
    "You cannot simultaneously prevent and prepare for war."
    -Albert Einstein

    "Beer is proof that God loves us and wants us to be happy."
    -Benjamin Franklin

  7. #7

    Default Re: Grumpies .mesh

    Roman_Man#3:

    I just ment that i couldnt figure that out on my own. After I posted my original question I figured it out and posted the results....

    hence the 15 min between posts !!!!!

  8. #8

    Default Re: Grumpies .mesh

    Hi dietre

    Quote Originally Posted by dietre
    OK I GOT A QUESTION I WONT ANSWERE MYSELF.

    Why do some units have lod0,lod1,lod2,lod3
    and some only have 3 lod0,lod1,lod2

    What is the difference ???
    I'm assuming you understand that lod means level of detail and is just used to indicate more detailed figures (0) to less detailed figures (2 or 3), which figure is used is based on how far it is away from the camera.

    I'm not sure why some figures have 3 lods and others 4, if you have a look at the textures you can see that there were quite a number of artists involved (different styles, layouts, etc) and probably the same is true of 3d modellers (where they aren't the same). Lod work is not easily handed over to an automated process successfully and is time consuming work. My guess is that 3 lod levels was the minimum and some artists/modellers provided 4.

    Cheers

    GrumpyOldMan

  9. #9

    Default Re: Grumpies .mesh

    Hi All

    Quote Originally Posted by GrumpyOldMan
    Hi dietre

    You're right, I just checked my code, and I didn't put a trap in there to catch no file suffix , I'll fix that, test it and post it shortly.

    Cheers

    GrumpyOldMan
    I've just uploaded the corrected zip to http://www.totalwar.org/Downloads/M2...d_beta_1_7.zip

    I had to put it into MP_replays because that was the only uploader I could find.

    Cheers

    GrumpyOldMan

  10. #10

    Default Re: Grumpies .mesh

    I got another question for grumpy.
    Um i used the pike_militia_ug3 .mesh's. used ur tool and saved their body. next I used the armoured sergeants and saved the spear/shield.
    I used ur tool to combine them using the pikemilitia body 1st. Saved them as heavy_spearmen.ms3d and then coverted it to a .mesh and put it back into the game folder to be used. now because the pikemiltita body hasnt changed im assuming that the texture from the pike_militia will work fine.

    I wrote my code in model.db.

    The game starts up and runs 100% so i know there isnt a error in the model.db or it would have ctd as soon as it tries to load. now if i go into a custom battle and chose the heavyspearmen on my army. once the game starts to load the battle it will crash. In the error log it simply say Medieval bla bla bla has encounter an unspecified error.

    Is there something in the milkshape that i have to manualy add entires to , i thought i read someone about verticles getting modified or something of that nature.

    Thanks for any thoughts on this.
    and I didnt use the weld fuction or anything like that. I followed grumpy's notes to the Letter.

  11. #11
    Discipulus et Magister Member Lord Condormanius's Avatar
    Join Date
    Nov 2006
    Location
    New Haven, CT USA
    Posts
    346

    Default Re: Grumpies .mesh

    Quote Originally Posted by dietre
    I got another question for grumpy.
    Um i used the pike_militia_ug3 .mesh's. used ur tool and saved their body. next I used the armoured sergeants and saved the spear/shield.
    I used ur tool to combine them using the pikemilitia body 1st. Saved them as heavy_spearmen.ms3d and then coverted it to a .mesh and put it back into the game folder to be used. now because the pikemiltita body hasnt changed im assuming that the texture from the pike_militia will work fine.

    I wrote my code in model.db.

    The game starts up and runs 100% so i know there isnt a error in the model.db or it would have ctd as soon as it tries to load. now if i go into a custom battle and chose the heavyspearmen on my army. once the game starts to load the battle it will crash. In the error log it simply say Medieval bla bla bla has encounter an unspecified error.

    Is there something in the milkshape that i have to manualy add entires to , i thought i read someone about verticles getting modified or something of that nature.

    Thanks for any thoughts on this.
    and I didnt use the weld fuction or anything like that. I followed grumpy's notes to the Letter.
    Are you using the proper attachment set for the shield in modelsdb? It is possible that the game does not crash at launch with this type of error in modelsdb. Syntax Errors (if that is the proper term) in the modelsdb cause the crash at launch.

    EditThe skeleton info and attatchment set should match up with the sergeant spearmen in this case.

    LC
    Last edited by Lord Condormanius; 04-05-2007 at 04:03.
    "You cannot simultaneously prevent and prepare for war."
    -Albert Einstein

    "Beer is proof that God loves us and wants us to be happy."
    -Benjamin Franklin

  12. #12

    Default Re: Grumpies .mesh

    Hi Dietre

    Quote Originally Posted by dietre
    I got another question for grumpy.
    Um i used the pike_militia_ug3 .mesh's. used ur tool and saved their body. next I used the armoured sergeants and saved the spear/shield.
    I used ur tool to combine them using the pikemilitia body 1st. Saved them as heavy_spearmen.ms3d and then coverted it to a .mesh and put it back into the game folder to be used. now because the pikemiltita body hasnt changed im assuming that the texture from the pike_militia will work fine.

    I wrote my code in model.db.

    The game starts up and runs 100% so i know there isnt a error in the model.db or it would have ctd as soon as it tries to load. now if i go into a custom battle and chose the heavyspearmen on my army. once the game starts to load the battle it will crash. In the error log it simply say Medieval bla bla bla has encounter an unspecified error.

    Is there something in the milkshape that i have to manualy add entires to , i thought i read someone about verticles getting modified or something of that nature.

    Thanks for any thoughts on this.
    and I didnt use the weld fuction or anything like that. I followed grumpy's notes to the Letter.
    It's hard to say, if you've made any sort of mistake in the text entries (apart from format) the game will crash about halfway through the battle loading bar, also the same for a non-valid mesh file. For a first attempt try using figures and weapons from the same folder so that you don't have to worry about remapping uv values for weapons to a new texture, maybe use italian_spear_militia rather than armoured_sergeants.

    Post your text entries so that people that know more about them than me (not hard) can have a look at them.

    Incidentally the previous fix worked too well and was attaching '.ms3d' to anything that wasn't nailed down. Another fix has been uploaded to http://www.totalwar.org/Downloads/M2...d_beta_1_8.zip

    Don't grumble this is a beta release and you are all my guinea pigs and lab rats

    Cheers

    GrumpyOldMan

  13. #13

    Default Re: Grumpies .mesh

    For a first attempt try using figures and weapons from the same folder so that you don't have to worry about remapping uv values for weapons to a new texture, maybe use italian_spear_militia rather than armoured_sergeants.

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    can u briefly explain remapping uv values for weapons to a new texture.
    i have re textured many a .dds so i will probaly understand.
    The only thing i can think of is since the attachment set for the kite shield would match the attachments for the shield/spear, some of the helmets are in the attachment set for the pike_militia. I thought the model would be clear where no texture was for it. but could the game crash if it was looking for the attachment set for the pikemilitia even thou the model.db told it to look for the kite.

    What about using the norman_knights texture and combining it with an archer to create a norman_archer. If i use grumpies converter, i can make the norman body, have the bow and quiver and 2ndary sword. would i simply use the norman_knight texture with say the muslim archers attachment set??
    (if i use the muslim archer for the swap) ????

    Im gonna try to take the mounted sergeants and get rid of the spear with grumpies converter and make the sword his primary. so i can make a simple militia unit. (spear_militia with a sword) that should be straight forward for starters.

    But please if it isnt too much what do u mean by re-mapping a texture file, and whats ur thoughts on this norman_archer.

    sry for the questions, but this is how u learn, hehe

  14. #14

    Default Re: Grumpies .mesh

    Hi

    Quote Originally Posted by dietre
    For a first attempt try using figures and weapons from the same folder so that you don't have to worry about remapping uv values for weapons to a new texture, maybe use italian_spear_militia rather than armoured_sergeants.

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    can u briefly explain remapping uv values for weapons to a new texture.
    i have re textured many a .dds so i will probaly understand.
    The only thing i can think of is since the attachment set for the kite shield would match the attachments for the shield/spear, some of the helmets are in the attachment set for the pike_militia. I thought the model would be clear where no texture was for it. but could the game crash if it was looking for the attachment set for the pikemilitia even thou the model.db told it to look for the kite.

    What about using the norman_knights texture and combining it with an archer to create a norman_archer. If i use grumpies converter, i can make the norman body, have the bow and quiver and 2ndary sword. would i simply use the norman_knight texture with say the muslim archers attachment set??
    (if i use the muslim archer for the swap) ????

    Im gonna try to take the mounted sergeants and get rid of the spear with grumpies converter and make the sword his primary. so i can make a simple militia unit. (spear_militia with a sword) that should be straight forward for starters.

    But please if it isnt too much what do u mean by re-mapping a texture file, and whats ur thoughts on this norman_archer.

    sry for the questions, but this is how u learn, hehe
    Have a look at http://www.twcenter.net/forums/showp...&postcount=156 where I've given similar information. To make a Norman archer you will have to use an attachmentset texture that covers all the equipment you're merging. As I've said before, try a merge using figures and weapons from the same folder, they aren't too hard to find and it's easier as a first exercise.

    Cheers

    GrumpyOldMan

  15. #15

    Default Re: Grumpies .mesh

    2 more questions for you.


    1) if i take the mount_sergeant_ug1 lods and convert them, they have a sword and spear. spear being primary, sword being secondary. Now if i delete the spear, the sword remains and i have my simple new unit i called militia_sergeants. (simple to learn from). Now in groups the sword is listed as secondary_sword 23 (mat:attachments). in comments its says Secondaryactive0
    secondary_sword 23
    Im assuming the 2nd line is matching the group name (SO NO CHANGE TO THIS ????) i just change the secondaryactive0 to PRIMARYACTIVE0 ??


    2) again to learn i took the militia_sergeants and tried to remap the uv from 1 kite to another. i figure this is a simple way to learn the basics here. What i tried was moving the last kite entry from the all yellow shield (hre) to the shield above it that was black with a yellow cross. if i simply click MOVE i can move it up to the new texture. I can click region and get real close to viewing the shield so i can make it perfect. now if i save and exit, reopen the shield is back at the yellow soooo I must hit REMAP after i move it right ???? so i do all the steps above and hit reMap. now the shield becomes massive and its hard a Hades to make it "small" again.

    please

    thanks guys.
    im very close now to understanding this. hehe
    if it wasnt for u's, most notably grumpy i wouldn't have a clue.

  16. #16

    Default Re: Grumpies .mesh

    Hi Dietre

    Quote Originally Posted by dietre
    2 more questions for you.


    1) if i take the mount_sergeant_ug1 lods and convert them, they have a sword and spear. spear being primary, sword being secondary. Now if i delete the spear, the sword remains and i have my simple new unit i called militia_sergeants. (simple to learn from). Now in groups the sword is listed as secondary_sword 23 (mat:attachments). in comments its says Secondaryactive0
    secondary_sword 23
    Im assuming the 2nd line is matching the group name (SO NO CHANGE TO THIS ????) i just change the secondaryactive0 to PRIMARYACTIVE0 ??
    The most important part of the group comments is the first line where the group class is set, this tells M2TW how to treat the group. The second line is used for matching random choices in that class. So yes change 'secondary' to 'primary' in the first line. It's good editing practice, especially if your going to share your mods with other people, to change the second line and even the Milkshape group name, to reflect any changes you've made. If you're changing a lance armed figure to a sword armed figure don't forget that you also have to modify their bounding sphere in Model/Comments. Find a sword armed figure, matching mounted or foot and copy it's bounding sphere to your figure.

    Quote Originally Posted by dietre
    2) again to learn i took the militia_sergeants and tried to remap the uv from 1 kite to another. i figure this is a simple way to learn the basics here. What i tried was moving the last kite entry from the all yellow shield (hre) to the shield above it that was black with a yellow cross. if i simply click MOVE i can move it up to the new texture. I can click region and get real close to viewing the shield so i can make it perfect. now if i save and exit, reopen the shield is back at the yellow soooo I must hit REMAP after i move it right ???? so i do all the steps above and hit reMap. now the shield becomes massive and its hard a Hades to make it "small" again.

    please

    thanks guys.
    im very close now to understanding this. hehe
    if it wasnt for u's, most notably grumpy i wouldn't have a clue.
    This change should work and be saved (don't use the REMAP, this completely remaps your group, losing all uv info). I've just tried it and it works fine. Make sure you're saving and reopening the same file. Maybe hit the Menu/File/New option between saving and loading to refresh.

    Cheers

    GrumpyOldMan

  17. #17

    Default Re: Grumpies .mesh

    Quote Originally Posted by Lord Condormanius
    If I am not mistaken, each 1 represents a different configuration of that particular unit based on the specified texture file. If there are three lod files, there will be three different combinations of parts (heads, legs, etc.) on the battlefield.

    LC
    The lod1,2,3 files are lower detail versions of lod0 the engine uses at greater distance.

  18. #18

    Default Re: Grumpies .mesh

    LOL bounding sphere

    heheh i forgot about that. LOL maby thats why my 1st unit looked like broken crystal.

    I try your info out and report my progress. im sure i opened the proper file, thats why i thought i needed to remap.

    thanks for u help. actualy ALL your help on this.

    you must be like Man Another question. LOL

    thanks again

  19. #19

    Default Re: Grumpies .mesh

    what exactly does the bounding sphere do. and when u mean simular unit. you talking for the primary weapon ???

    If i take the mounted_sergeants. delete the spear and make the changes to the sword for primary. I can the dismounted_feudal_knight bounding sphere?

    im trying this now. its 600 am here so hopefuly i'll find my answere. heheh

    OH and i am able to remap the textures now. the saves are working.

  20. #20

    Default Re: Grumpies .mesh

    https://img187.imageshack.us/img187/7573/0000ns9.jpg




    ever see this B4

    1st guys are dismounted feudals, all i did was open in milkshape and moved a couple shields to new texture. guys in behind are my new units.

  21. #21

    Default Re: Grumpies .mesh

    Interesting, look like your gemetry got messed up somewhere, changing the uv mapping definitly shouldnt cause that and I doubt the bounding sphere would cause it. Can you go through step by step what you did?

  22. #22

    Default Re: Grumpies .mesh

    Hi Dietre

    Quote Originally Posted by dietre
    what exactly does the bounding sphere do. and when u mean simular unit. you talking for the primary weapon ???

    If i take the mounted_sergeants. delete the spear and make the changes to the sword for primary. I can the dismounted_feudal_knight bounding sphere?

    im trying this now. its 600 am here so hopefuly i'll find my answere. heheh

    OH and i am able to remap the textures now. the saves are working.
    By similar figure I mean foot for foot or mounted for mounted as well as weapon, foot and mounted of the same figure have different bounding spheres.

    Quote Originally Posted by dietre



    ever see this B4

    1st guys are dismounted feudals, all i did was open in milkshape and moved a couple shields to new texture. guys in behind are my new units.
    Looks like you've also done something to their mesh/vertices/triangles apart from uv values, remember don't weld vertices unless you know what you are doing. Try it again with a different figure (that definitely hasn't been converted before) and record all your steps. If it happens again, let me know and I'll arrange to get the Milkshape figures from you to check it.

    Cheers

    GrumpyOldMan

  23. #23

    Default Re: Grumpies .mesh

    well my steps.
    1.get the .mesh and use the converter to change .mesh to .ms3d
    2.open in milkshape
    3.click on tab/materials and assigned the heater shield .dds in the moldel and not the attachments
    4.open the texture coordinate
    5.moved a couple of shields around for new textures
    6 saved
    7converted back to .mesh
    8moved the .mesh back into unit/models folder (in proper sub folder)
    9started the game to test and thats what i got.

  24. #24

    Default Re: Grumpies .mesh

    ok i simply took the armoured_sergeants .mesh
    converted them to milkshape file
    open them in milkshape and JUST SAVED
    converted to .mesh
    placed back in proper folder
    started game to test and GOT THIS

    https://img89.imageshack.us/img89/4253/00001wl7.jpg

  25. #25

    Default Re: Grumpies .mesh

    Hi Dietre

    Quote Originally Posted by dietre
    well my steps.
    1.get the .mesh and use the converter to change .mesh to .ms3d
    2.open in milkshape
    3.click on tab/materials and assigned the heater shield .dds in the moldel and not the attachments
    4.open the texture coordinate
    5.moved a couple of shields around for new textures
    6 saved
    7converted back to .mesh
    8moved the .mesh back into unit/models folder (in proper sub folder)
    9started the game to test and thats what i got.
    Have a cold shower Dietre and read my post, I asked you to try it again with a new figure and see what results you got. What you've written may be what you remember but the figure you used may have been converted/reconverted. I'd like you to try it with a new figure that you haven't worked on before, so I can be sure that the original figure hasn't been corrupted. Noting down what you do is so I can check what steps you are doing with this particular figure. If the same result happens, I'll follow your steps with the identical figure and I'll look at my saved Milkshape figure and your saved Milkshape figure to see if there's anything obviously wrong with it.

    If you're asking for help and I'm offering it, it pays to read the post carefully before jumping in with a hasty reply.

    GrumpyOldMan

  26. #26

    Default Re: Grumpies .mesh

    Hi Dietre

    Which version of Milkshape are you using? If it's not the latest version 1.8, this will happen. Go to the Milkshape site http://chumbalum.swissquake.ch/ and download the latest version of Milkshape. Try it again and see what happens.

    Cheers

    GrumpyOldMan

  27. #27

    Default Re: Grumpies .mesh

    i wasnt trying to be hasty. I got a fresh unit (stock) converted it, converted back and tried it out without modifing a single thing. the screen shot shows that the milkshape was meshing something up on me. your link to 1.8 might help this as i was using the 1.7

    is that what u wanted me to try. take a stock .mesh use the converter from .mesh to ms3d ? open with milkshape. Just save. converter back to .mesh and try it? all the other units in the game work fine if i dont convert them. I think milkshape is changing something because the when i open the file i get a "unknown verticle weight" after i save and reopen i dont get that error.

  28. #28

    Default Re: Grumpies .mesh

    Hi dietre

    Quote Originally Posted by dietre
    i wasnt trying to be hasty. I got a fresh unit (stock) converted it, converted back and tried it out without modifing a single thing. the screen shot shows that the milkshape was meshing something up on me. your link to 1.8 might help this as i was using the 1.7

    is that what u wanted me to try. take a stock .mesh use the converter from .mesh to ms3d ? open with milkshape. Just save. converter back to .mesh and try it? all the other units in the game work fine if i dont convert them. I think milkshape is changing something because the when i open the file i get a "unknown verticle weight" after i save and reopen i dont get that error.
    Milkshape 1.8 has a whole new method of recording vertex information relating to weights, etc. The converter is not finding what it's expecting to find so is writing semi-garbage. Getting 1.8 will solve all this. If you have a registered copy of Milkshape the 1.8 will install and run off that initial registration.

    Cheers

    GrumpyOldMan

  29. #29

    Default Re: Grumpies .mesh

    ok i got the 1.8 installed. I grabbed the stock halberd_militia_ug3
    converted it to ms3d
    opened with milkshape 1.8
    saved without making anychanges
    converted back to .mesh and started the game to test

    The unit of halberds were 100% normal. no more wierd looking things. LOL

    thanks for suggesting the use to 1.8 as this cleared up that problem.

    no i will try that same unit with a simple remap of 1 texture (probaly will change their plain body armor to the 1 that has the "shirt" over it making the halberds look more professional. this should work very easy. im aspecting it to take me 10 mins, then ill post the pic of the new unit.

    thanks grumpy for help this issue out of hopefully someone that has this problem will read this and know the fix for it. Once i get this milkshape down pat Im gonna make some sick units

    Grumpy ur Converter is Awsome. Thank YOU and Everyone that worked with you to make it. and THANK YOU for helping me understand it.

  30. #30

    Default Re: Grumpies .mesh

    ok this is the edited halberd_militia_ug3. i remaped the textures
    this was just to practice and it worked. I might change the body5 to get some more variety but all en all it was a success.

    https://img261.imageshack.us/img261/4161/0000fm0.jpg

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO