Results 1 to 6 of 6

Thread: Help needed with new units

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Maximus183's Avatar Senator
    Join Date
    Oct 2008
    Location
    Magna Scandinavia
    Posts
    1,002

    Icon1 Help needed with new units

    Greetings fellow modders. Lately I've been trying to get into creating my own units. I've followed the guides on here about how it's done and to my knowledge I'm doing it right. But still, whenever I try to launch my mod, my game crashes on startup. I was hoping someone could take a look at it for me and tell me what I'm doing wrong, because I'm completely at a loss here. Any help from anyone would be greatly appreciated. Here's the file:

    http://ge.tt/2Gxon851/v/0

  2. #2

    Default Re: Help needed with new units

    I am newbie like you, but I think I found your problem.
    You deleted all the old entries. But this will crash the game, because other files search for troops which now no longer exist.
    You need to add your new entries behind the old ones. Than everything should work well.

  3. #3

    Default Re: Help needed with new units

    Oh, my bad.
    I forgot that this is an optimized mod. I am sorry.
    But I found one mistake.
    If the db table "unit_variants_tables" you assigned the troop "Gre_Hypaspists_Heavy" the variant "Gre_Hypa_Swords". But this variant do not exist.
    You only hav the variants "Gre_Hypaspists_Light" and "Gre_Hypaspists_Heavy".
    You should change your entry in the "unit_variants_tables".

    It still does not work for me. So you should check your spelling. Every little spelling mistake crashes the game.

  4. #4
    Maximus183's Avatar Senator
    Join Date
    Oct 2008
    Location
    Magna Scandinavia
    Posts
    1,002

    Default Re: Help needed with new units

    Good spot. Just fixed that but it's still crashing for some reason which has me even more confused, haha.

  5. #5

    Default Re: Help needed with new units

    You should look in your unoptimized mod. This will make it more easy for you to find your mistake.
    Above every column you have a dropdown menu. If you click this, you see every different entry in this column.
    On this way you can check your spelling (especialy for the properties like the weapons of your units).
    That's the only tip I can give you at the moment. I do it the same way.

  6. #6
    Maximus183's Avatar Senator
    Join Date
    Oct 2008
    Location
    Magna Scandinavia
    Posts
    1,002

    Default Re: Help needed with new units

    What do you mean by unoptimized exactly?

Posting Permissions

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