View Issue Details

IDProjectCategoryLast Update
0016315Stars Beyond ReachBug - GameplayMay 19, 2015 5:28 pm
Reporterptarth Assigned Tokeith.lamothe  
Status resolvedResolutionfixed 
Product Version0.800 (New HUD) 
Fixed in Version0.822 (Revised Mouse Controls) 
Summary0016315: MISSING LOCALIZATION:Soldier Hit Damage
DescriptionWhen making a barracks attack with all combat information toggles on, there is: MISSING LOCALIZATION:Soldier Hit Damage on every single attack that kills.
TagsNo tags attached.

Activities

ptarth

Apr 22, 2015 2:18 am

reporter  

new city 2 hospital.save (810,761 bytes)

ptarth

May 3, 2015 10:59 am

reporter   ~0040444

Still happening. Only with barracks that I've can see.

ptarth

May 3, 2015 2:29 pm

reporter   ~0040449

MISSING LOCALIZATION: SoldierHitDamage

   at System.Environment.get_StackTrace()
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Boolean IncludeStackTrace, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, DebugLogDestination Destination, Verbosity Verbosity)
   at ArcenDebugging.ArcenDebugLog(System.String Message, Verbosity Verbosity)
   at Language.GetValue(System.String ID)
   at AttackRenderingEvent.GetBattleLogString()
   at AttackRenderingData.WriteTextToBattleLog(System.Collections.Generic.List`1 BattleLog)
   at MapTile.PredictResultsOfAttack(.MapTileLayer buildingLayer, Single ByRef predictedDamageToSurface, Single ByRef predictedDamageToUnderground, Int32 ByRef attackerCasualties, Int32 ByRef defenderCasualties, System.Collections.Generic.List`1 ByRef interceptors, Boolean ByRef CannotAttack, System.Collections.Generic.List`1 BattleLog)
   at Game.DrawMetaMap(Boolean hasOpenWindowOrMouseIsOverWindow, Boolean BlockHUD)
   at Game.DrawGame()
   at Game.UpdateDisplay(Boolean IsFullVisualUpdate)
   at ArcenMainCameraImplementations.MainUpdateLogic()
   at MainCameraLogic.Update()

ptarth

May 13, 2015 4:58 pm

reporter   ~0040748

At the lowest level

<ln id="SoldierHitDamage">{0} Soldier Hit {1} For {2} Damage</ln>
<ln id="SoldierHitKill">{1} Destroyed By {0} Soldier!</ln>

just needs to be added to the a_bionic.xml

However, I'm guessing here, the CombatEndedBecauseBuildingDied logic was never finished. So the end to all successful attacks in the expanded combat window ends up being CombatEndedBecauseAttackerDead. Which shows up as your helicopter dying, instead of the targeted building. I don't see any of the logic that would call SoldierHitKill, HelicopterHitKill, etc. Unless it has been deprecated and only the tags in the xml remain.

keith.lamothe

May 18, 2015 4:44 pm

administrator   ~0040975

Was just looking through the code and I'm not seeing any AttackRenderingEventType for building death. The death of the building is logged in different ways.

If after this next version you're seeing the log incorrectly reporting the death of an attacker where it actually won and killed the building (and didn't die), then please let us know.

ptarth

May 18, 2015 4:56 pm

reporter   ~0040978

I wasn't able to find where a building was killed in the code, so I gave up on that. I'm pretty sure that CombatEndedBecauseAttackerDead is where all successful attacks were ending, because it always reports the helicopter dying, even when you attack with infantry. I'll check it again in the new version.

Note. I did put in the xml in my version to see what would happen. The SoldierHitDamage report is fixed, but the Helicopters dying still happened.

keith.lamothe

May 18, 2015 5:05 pm

administrator   ~0040984

For 0.822:

* Fixed the SoldierHitDamage missing loca.

Thanks :)

ptarth

May 19, 2015 5:28 pm

reporter   ~0041004

Successful barracks attacks still report "Barracks Helicopter Destroyed!"

Issue History

Date Modified Username Field Change
Apr 22, 2015 2:18 am ptarth New Issue
Apr 22, 2015 2:18 am ptarth File Added: new city 2 hospital.save
May 3, 2015 10:59 am ptarth Note Added: 0040444
May 3, 2015 2:29 pm ptarth Note Added: 0040449
May 13, 2015 4:58 pm ptarth Note Added: 0040748
May 14, 2015 8:15 am Chris_McElligottPark Assigned To => keith.lamothe
May 14, 2015 8:15 am Chris_McElligottPark Status new => assigned
May 18, 2015 4:44 pm keith.lamothe Note Added: 0040975
May 18, 2015 4:56 pm ptarth Note Added: 0040978
May 18, 2015 5:05 pm keith.lamothe Note Added: 0040984
May 18, 2015 5:05 pm keith.lamothe Status assigned => resolved
May 18, 2015 5:05 pm keith.lamothe Fixed in Version => 0.822 (Revised Mouse Controls)
May 18, 2015 5:05 pm keith.lamothe Resolution open => fixed
May 19, 2015 5:28 pm ptarth Note Added: 0041004