BattletechModders / BattletechModders/IRTweaks

Urban transformers and coolant tanks have massive explosion ranges

Open
#29 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
8
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Reported multiple times, most recently in #rogueticket-411.

> BOX06/01/2020
Coolant Tank Explosion with huge radius. If you need any more info not in the logs, let me know.
Attachment file type: archive
CoolantTankExplosion.zip
35.64 MB
This is the last time something exploded, although there should be 3 instances that a coolant tower/transformer exploded during the mission.

> 2020-06-01T11:15:49 FYLS [LOG] Electrical Transformer HAS DIED. EXPLOSIONS GO HERE
2020-06-01T11:15:49 FYLS [ERROR] CRITICAL ERROR, PLEASE REPORT:
Delegate OnRecomputePathing - Standard for message type RecomputePathing failed with exception
Object reference not set to an instance of an object
at BattleTech.PathNodeGrid.ResetPathGrid (UnityEngine.Vector3 origin, System.Single beginAngle, BattleTech.PathingCapabilitiesDef pcd, System.Single maxDistance, BattleTech.MoveType moveType) [0x00239] in <4184af8dbeb44635831353f4d349631c>:0
at BattleTech.Pathing.ResetPathGridIfTouching (System.Collections.Generic.List`1[T] Rectangles, UnityEngine.Vector3 origin, System.Single beginAngle, BattleTech.AbstractActor actor) [0x0006b] in <4184af8dbeb44635831353f4d349631c>:0
at (wrapper dynamic-method) BattleTech.AbstractActor.OnRecomputePathing_Patch1(object,MessageCenterMessage)
at MessageCenter.SendMessagesForType (MessageCenterMessageType messageType, MessageCenterMessage message) [0x00037] in <4184af8dbeb44635831353f4d349631c>:0
2020-06-01T11:15:49 FYLS [LOG] [Objective_EscortXUnits] - UnitsEscortedSofar: [0] - TotalLivingEscortUnitsRemaining[2]
2020-06-01T11:15:49 FYLS [DEBUG] Set camera state: OLD = PlayerControlled NEW = StackControlled

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the attached CoolantTankExplosion.zip and the logged explosion events for the urban transformer and coolant tank. Trace the explosion behavior alongside the BattleTech.PathNodeGrid.ResetPathGrid exception, then verify that these structures use the intended explosion range without producing the reported pathing error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.