Results 1 to 9 of 9

Thread: Trouble with units

  1. #1

    Icon5 Trouble with units

    Good night, gentlemen.

    I took the road of adding a new unit to M2TWK, and i'm experiencing some trouble, either in the proccess of adding the unit and other things not so clearly related.

    First, seems my model has some sort of problem making it always crash when i launch a custom battle. Already checked the paths in battle_models.modeldb and my export_descr_units seems to be ok, and still, i can't seem my unit ingame because it crashes just right after the loading bar of the custom battle finishes. I have tested the entries placing anotehr model in place of mine, and it just worked (with the textures i made and all, even with the uvws getting screwed), but when i switch to the model i've made, the game crashes, and i don't know what to do.

    I'm attaching the model, textures and the text files, if it helps. And i'm using Bare Geomod as a base for my modifications.

    The second, and much less important issue: Is there any step-by-step explanation on how to add description for new units along with new unit cards? In RTW1 this things used to be in de descr_units or smth like that. In M2TW, any leads on how is it done?

    Thanks in advance, and please help me .
    Attached Files Attached Files
    Last edited by Conqistador; June 24, 2017 at 01:27 AM. Reason: Trouble with putting unit ingame
    Click on my sig and check out my modelling works! Your opinion is welcome!


  2. #2
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,496

    Default Re: Trouble with units

    The only problem I can find with the model itself is in the comments of group spear02.
    They are:
    Code:
    primaryactive1
    spear02
    0
    I would have them:
    Code:
    primaryactive0
    spear02
    0
    I doubt that this would cause your game to crash.

    When you added the entry for your model in bmdb was it an additional entry or did you replace one of the entries that existed.
    If it was an additional entry you would need to increase the serialization number in the first line of the bmdb.
    Did you do that?

    The current line is:
    Code:
    22 serialization::archive 3 0 0 0 0 702 0 0
    Was it like that before you added your model entry?

  3. #3

    Default Re: Trouble with units

    I increased this count, i validated the file using the validator provided in the formatted files pack. I Will try to change the comment and post the result again here.
    Click on my sig and check out my modelling works! Your opinion is welcome!


  4. #4

    Default Re: Trouble with units

    Quote Originally Posted by paleologos View Post
    The only problem I can find with the model itself is in the comments of group spear02.
    They are:
    Code:
    primaryactive1
    spear02
    0
    I would have them:
    Code:
    primaryactive0
    spear02
    0
    I doubt that this would cause your game to crash.

    When you added the entry for your model in bmdb was it an additional entry or did you replace one of the entries that existed.
    If it was an additional entry you would need to increase the serialization number in the first line of the bmdb.
    Did you do that?

    The current line is:
    Code:
    22 serialization::archive 3 0 0 0 0 702 0 0
    Was it like that before you added your model entry?
    Well, changed the comment and still the game is crashing in the custom battle. There is no clue in the logs. paleologos, any chance you could test the model ingame?
    Click on my sig and check out my modelling works! Your opinion is welcome!


  5. #5
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,496

    Default Re: Trouble with units

    If the model itself is in any way broken and everything else is fine then your custom battle will load and you will see the problematic results in the battle map.
    The fact that the custom battle is not loading means you have text errors.
    I have no idea what those may be.

  6. #6
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,496

    Default Re: Trouble with units

    Well it seems I was wrong!
    The model was broken.
    I don't know exactly what was wrong with it but I am guessing it had to do with the way/software it was converted to CA mesh.
    Anyway, I have a working version now, took the liberty to fix the shield's UV mapping.
    A screenshot:
    Spoiler Alert, click show to read: 




    A link to the file.

  7. #7

    Default Re: Trouble with units

    Quote Originally Posted by paleologos View Post
    Well it seems I was wrong!
    The model was broken.
    I don't know exactly what was wrong with it but I am guessing it had to do with the way/software it was converted to CA mesh.
    Anyway, I have a working version now, took the liberty to fix the shield's UV mapping.
    A screenshot:
    Spoiler Alert, click show to read: 




    A link to the file.
    Thank you very much, man... The shields uvw was broken? I didnt notice that will double check with your model.
    Click on my sig and check out my modelling works! Your opinion is welcome!


  8. #8
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,496

    Default Re: Trouble with units

    You may need to give this a look:

    [Tutorial] Finishing Actions before Saving & Exiting a MilkShape model.


  9. #9

    Default Re: Trouble with units

    Thanks for your help, man!

    Would give you more reps but i can't...

    Cya!
    Click on my sig and check out my modelling works! Your opinion is welcome!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •