OpenXcom Forum
OpenXcom => Troubleshooting => Topic started by: SIMON BAILIE on October 01, 2023, 08:15:58 pm
-
In my current TFTD game, I get a crash when I try to access lobsterman inventory when I have him mind controlled-see attached.
-
Start turning off mods one by one, and when it starts working, report to the author of the last turned off mod.
-
Thanks, I discovered which mod was causing the problem, it was my own mod SIMON'S XCOM2 TWEAKS, however I'm don't know how to fix it-attached if somebody could have a look at it please.
-
In
- type: STR_LOBSTERMAN_MELEE_WEAPON
specialUseEmptyHand: true
specialUseEmptyHandShow: true
bigSprite: 70
meleeSound: 42
strengthApplied: true
damageType: 7
accuracyMelee: 100
tuMelee: 15
battleType: 3
fixedWeapon: true
invWidth: 2
invHeight: 3
clipSize: -1
recover: false
1/ either delete `bigSprite: 70`
2/ or change it to `bigSprite: { mod: xcom2, index: 70 }`
3/ or remove the entire STR_LOBSTERMAN_MELEE_WEAPON entry, since it is identical to vanilla xcom2
In general, don't copy stuff from parent mods, unless you have a good reason to do so.
It is enough (and preferred) to only write the changes.
PS: some other items have the same issue, you may need to change them too...
-
Thanks, the mod works properly now.