Page MenuHomeSchine - Phabricator

Starmade | No shield sharing if projectile damage is bigger than parent shield capacity
Confirmed task for development, NormalPublic

Description

Currently, when a projectile hits a docked entity:

  • the docked entity shields absorb as much damage as they can (however stops at 1 shield if a parent can absorb the leftover shields)
  • if there is leftover damage and the docked entity's parent have at least 25% shields and its shields is greater than the leftover damage, its shields absorb as much as they can, otherwise they absorb nothing
  • repeat 2 until there's either no parent or no leftover damage

I think the part in bold is a bug.

(note: the fact that you can drop the parent entity's shields below 25% with a poweful enough shot might also be a bug, I don't know if it's intended)

Details

Task Type
Bug
Testing Results
Affected Gamemode(s)
Single and Multi
Reproducible
Yes
Last tested (version)
0.199.176
Category
Control Block System: Weapons
First occurrence (version)
0.199.172
Hardware/Software/System
OS-Specific
No
Hardware-Specific
No
Video Card Vendor
uncertain
Steps to reproduce

c.f. https://youtu.be/RT5uodZnPt0

Exp. 1

  • Create a ship with 1 core and 1 rail basic and use create docking to add a docked entity.
  • Use /shield_damage -220 on the parent entity to refill its shields
  • Hit the docked entity with a 21 block cannon projectile (210 damage), the parent entity shields absorb 210 damage
  • Use /shield_damage -210 on the parent entity to refill its shields
  • Hit the docked entity with a 22 block cannon projectile (220 damage), the parent entity shields absorb nothing

Expected:
the parent entity shields absorb 220 damage

Exp. 2

  • Create a ship with 1 core and 1 rail basic, use create docking to add a docked entity, then add a rail basic to that entity and create a second docked entity
  • Use /shield_damage -220 on the parent entity, /shield_damage -120 on the "intermediate entity", /shield_damage -20 on the leaf entity
  • Hit the leaf entity with a 14 block cannon projectile (140 damage), the leaf entity absorbs 19 damage, the intermediate entity absorbs nothing, the main entity absorbs 121 damage

Expected:
the leaf entity entity absorbs 19 damage, the intermediate one absorbs 119 damage, the main entity absorbs 2 damage

Serverconfig (server.cfg)
<replace this line with the file content>
Clientconfig (settings.cfg)
<replace this line with the file content>

Event Timeline

Olxinos created this task.Sep 10 2016, 11:55 AM
lancake claimed this task.

-validated- & -confirmed-

lancake shifted this object from the S1 Public space to the S3 Starmade space.
lancake changed the visibility from "Custom Policy" to "Public (No Login Required)".
lancake changed the edit policy from "Task Author" to "Starmade (Project)".
lancake changed Last tested (version) from 0.199.172 to 0.199.176.
lancake changed Category from none/unspecified to Control Block System: Weapons.
lancake set First occurrence (version) to 0.199.172.
lancake renamed this task from No shield sharing when hit by a projectile whose damage is greater or equal than the parent's shields to No shield sharing if projectile damage is bigger than parent shield capacity.
lancake triaged this task as Normal priority.
lancake changed the task status from Open to In Queue (Game).Mar 10 2017, 3:16 PM
Restricted Application edited projects, added Game Development; removed Issue Navigation. · View Herald TranscriptMar 10 2017, 3:16 PM
AndyP changed the task status from In Queue (Game) to In Queue.Mar 10 2017, 5:16 PM
Restricted Application added a project: CBS: Weapons. · View Herald TranscriptMar 10 2017, 5:16 PM