View Issue Details

IDProjectCategoryLast Update
0018785Starward RogueBug - OtherMar 24, 2016 7:19 am
Reporterptarth Assigned Tokeith.lamothe  
Status assignedResolutionopen 
Product Version1.018 
Summary0018785: EnemyFamiliars using Ptarthian Orbit have different radial starting angle if they have a system
DescriptionGame.entities with ship.category=EnemyFamiliar and familiar_type=PtarthianOrbit have a different radial starting_angle depending on if they have a system or not. Entities without systems are 45 degrees advanced clockwise relative to entities with systems. In contrast, Game.entities with ship.category=PlayerFamiliar seem to behave consistently.

Starting.Angle does not seem to make a difference.

A possible workaround is to ensure that all PtarthianOrbitals have systems. I don't know if there are specific types of systems that cause this behavior (i.e., a weapon targeting system).

Add the following Game.entities and use PtarthTest in a testChamber to reproduce the issue. They should appear "in-line" with each other. However what happens is that the non-shooting one seems to orbit around the shooting one. (Both familiars are actually orbiting the center ship, but it doesn't "feel" that way to the casual eye).

    <entity name="PtarthTest" ship_category="Pursuer_1x1"
    category="Ship"
    display_name="Abmoog Shooter"
    behavior="Stationary"
    speed="500" acceleration="50"
    max_health="25"
    image_folder="Enemy_Pursuers" image_name="Abmoog2Green"
    time_to_visually_rotate_180_degrees="0.7"
    do_not_seed_if_x_floors_down="3"
    >
    <hitbox radius="26" />
    <familiar type="GoodFamiliar" radius="100" starting_angle="270" override_degrees_per_second="100" suppress_line_of_sight_check="true" />
    <familiar type="BadFamiliar" radius="150" starting_angle="270" override_degrees_per_second="100" suppress_line_of_sight_check="true" />
  </entity>
  
    <entity name="GoodFamiliar" ship_category="EnemyFamiliar"
    category="Ship"
    display_name="Abmoog Good"
    behavior="Attacker" familiar_type="PtarthianOrbit"
    speed="500" acceleration="50"
    max_health="25"
    image_folder="Enemy_Pursuers" image_name="Abmoog2Green"
    time_to_visually_rotate_180_degrees="0.7"
    do_not_seed_if_x_floors_down="3"
    >
    <hitbox radius="26" />
    <system type="AbmoogShotSystem" offset="0,0" />
  </entity>
    <entity name="BadFamiliar" ship_category="EnemyFamiliar"
    category="Ship"
    display_name="Abmoog Bad"
    behavior="Attacker" familiar_type="PtarthianOrbit"
    speed="500" acceleration="50"
    max_health="25"
    image_folder="Enemy_Pursuers" image_name="Abmoog2Green"
    time_to_visually_rotate_180_degrees="0.7"
    do_not_seed_if_x_floors_down="3"
    >
    <hitbox radius="26" />
  </entity>
TagsNo tags attached.

Activities

Cinth

Mar 24, 2016 1:05 am

developer   ~0045452

Where is the TC? - I only have your pacman one.

ptarth

Mar 24, 2016 6:13 am

developer   ~0045454

Just add it to one, it doesn't matter. My go to room is:

<root>

    <room_setup script="SmallEW/PT_Quilt" skip_normal_enemy_population="true"
    suppress_normal_test_chamber_win_behavior="true"/>

    <entity type="PlayerOrange" category="Player"/>
<entity type="PtarthTest" category="Enemy" offset_from_center="-0,0"/>

</root>

Cinth

Mar 24, 2016 7:19 am

developer   ~0045455

@Keith: This looks like a timing issue. Kinda like the lasers deal.

This isn't something I can do anything with if that's the case. Keep using the workaround.

Issue History

Date Modified Username Field Change
Mar 24, 2016 12:31 am ptarth New Issue
Mar 24, 2016 12:31 am ptarth Status new => assigned
Mar 24, 2016 12:31 am ptarth Assigned To => keith.lamothe
Mar 24, 2016 1:05 am Cinth Note Added: 0045452
Mar 24, 2016 6:13 am ptarth Note Added: 0045454
Mar 24, 2016 7:19 am Cinth Note Added: 0045455