Results 1 to 17 of 17

Thread: Unit cards crashes

  1. #1

    Default Unit cards crashes

    Anyone able to help out? I'm able to load into the game, and the unit shows up in custom battles and campaign, but it crashes whenever the unit info card would be brought up.

    Does anyone know what might be causing this? Searching the thread it might be unit descriptions, but I've copied the CA structure and the unit name shows up on mouseover in custom battles.

  2. #2
    La♔De♔Da♔Brigadier Graham's Avatar Artifex♔Duffer♔Civitate
    Join Date
    Apr 2009
    Location
    The Den,with a massive pair of binoculars, surveying TWC, ensuring members are laughing & happy!
    Posts
    1,637

    Default Re: Sebidee's Complete Guide to Warhammer Unit Modding

    Welcome to the forums sir! I will see if one of my colleagues can help you,

    "No problem can withstand the assault of sustained Dufferism"

  3. #3
    Leonardo's Avatar Reborn Old Timer
    Join Date
    Mar 2011
    Location
    Southern Sweden
    Posts
    5,245

    Default Re: Unit cards crashes

    Under patronage of General Brewster of the Imperial House of Hader.





    How to make Morrowind less buggy for new players - Of course every player may find it useful.

  4. #4
    z3n's Avatar State of Mind
    took an arrow to the knee

    Join Date
    Aug 2011
    Posts
    4,640

    Default Re: Unit cards crashes

    Is this a modding question?
    The AI Workshop Creator
    Europa Barbaroum II AI/Game Mechanics Developer
    The Northern Crusades Lead Developer
    Classical Age Total War Retired Lead Developer
    Rome: Total Realism Animation Developer
    RTW Workshop Assistance MTW2 AI Tutorial & Assistance
    Broken Crescent Submod (M2TW)/IB VGR Submod (BI)/Animation (RTW/BI/ALX)/TATW PCP Submod (M2TW)/TATW DaC Submod (M2TW)/DeI Submod (TWR2)/SS6.4 Northern European UI Mod (M2TW)

  5. #5

    Default Re: Unit cards crashes

    Quote Originally Posted by z3n View Post
    Is this a modding question?
    Yes, this involves modding.

  6. #6
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Unit cards crashes

    Hard to tell without knowing more about what you tried to do with this modded unit.

  7. #7

    Default Re: Unit cards crashes

    I made a copy of the Saurus Warriors, changing some of the stats and the mesh definiiton.

  8. #8
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Unit cards crashes

    What tables did you change?

  9. #9

    Default Re: Unit cards crashes

    building_units_allowed
    campaign_map_attrition_unit_immunities
    cdir_military_generator_unit_qualities
    land_units
    main_units
    melee_weapons
    ui_unit_bullet_point_unit_overrides
    unit_description_short_texts
    unit_set_to_unit_junctions
    unit_variants
    units_custom_battle_permissions
    units_to_groupings_military_permissions
    variants

    and the two text dbs that contain the unit name and short description.

  10. #10
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Unit cards crashes

    are you using PFM or RPFM? With RPFM you have a nice feature: it displays in red referrence error. So with it you can see each table one by one, and see if you see red.
    If it crashes when you try to display the unit information, it could be in ui_unit_bullet_point_unit_overrides.

    if you start a custom battle, and it doesn't crash when zooming to the unnit (as long as you don't show the card), then the unit_variant, units_custom_battle_permissions, main_units, variants, etc should be OK (or it would crash sooner).

  11. #11

    Default Re: Unit cards crashes

    I'm using RPFM, but I'm not getting any errors. I've double-checked all the tables anyway just to be sure.

    I can't get into a custom battle at all, as whenever I try and add the unit to the army, it crashes as the game automatically attempts to display the unit info card.

  12. #12
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Unit cards crashes

    Can you post your pack? Maybe if I have a look at it, I could find something

  13. #13

    Default Re: Unit cards crashes

    Here you go.

    pip_lzd_units.7z

  14. #14
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Unit cards crashes

    With RPFM, land_unit table, the short description column is red.

    wh2_pip_unit_short_text_lzd_saurus_veteran

    while in the short description table, you have

    wh2_pip_lzd_saurus_veteran

  15. #15

    Default Re: Unit cards crashes

    Okay, now it's working. For some reason RPFM isn't showing up with red errors, have I missed something when setting it up?

  16. #16
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Unit cards crashes

    Maybe check in the preferences, I think it's an option you need to activate.

  17. #17

    Default Re: Unit cards crashes

    Found it. Thanks for your help.

Posting Permissions

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