DICE PACKS BUNDLE
Page 159 of 159 First ... 59 109 149 157 158 159
  1. #1581
    I have done the basic fixes to hide the armour and equipment sections for animals and robots. I'm also extracting the skill modifier for Melee (natural) skills. I'm NOT coding for the exceptions for which there are many, such as Melee (bite) or Melee (Bite and stomp) as I don't have a complete list of these and the code will become combersome. In these cases, either change the skill to Melee (natural) OR manually edit the attack mod field on the combat tracker prior to combat.

    I've pushed a hotfix, please keep a lookout and let me know if the fixes are working as expected.
    Last edited by Toko Loshe; June 11th, 2026 at 16:08.

  2. #1582
    NickSmith's Avatar
    Join Date
    May 2020
    Location
    Directly above the centre of the earth
    Posts
    17
    Excellent, don't worry about the exceptions.

    When i make a new NPC, and switch the type from Nothing > Robot, i get this error in the console, and also if I then change it back to other Types.
    [ERROR] Handler error: [string "MGT2:campaign/scripts/npcs_main.lua"]:75: attempt to call field 'setArmourVisible' (a nil value)

    Initially the Armour and Protection fields aren't visible, although when I add a weapon, or lock the NPC and unlock it again, those fields appear.

    if i fill in Armour and Protection, eg Hide & 4, then I lock the NPC, close it, then open it & unlock it again, the fields seem to empty themselves.
    Also the + buttons for equipment seem to appear sometimes, when i do this.

    Best regards
    Nick Smith

  3. #1583
    Thanks for the feedback, I'll have a look but it seems to be the initial script I added to set the visibility is not working with new npcs. Existing should work fine.

    My initial fix did not take new records into account, I focussed on the existing npc records. I've moved the logic to show/hide the sections to the correct place and ensured the add buttons are not shown if the sections are not visible.
    Last edited by Toko Loshe; June 12th, 2026 at 12:53.

  4. #1584
    Central Supply Catalogue 2023 Update uses "Heavy Weapons (portable)" skill for heavy weapons like Machinegun instead of "Heavy Weapons (man portable)" from Core Rules.

  5. #1585
    Quote Originally Posted by moonracer20000 View Post
    Central Supply Catalogue 2023 Update uses "Heavy Weapons (portable)" skill for heavy weapons like Machinegun instead of "Heavy Weapons (man portable)" from Core Rules.
    That is how it is listed in the book (page 160) and so in the module.



    This kind of think is not atypical for Mongoose.
    Attached Images Attached Images

Page 159 of 159 First ... 59 109 149 157 158 159

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 guests)

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
  •  
Refer a Friend

Log in

Log in