Skip to content

Parts defined within parts.seria without m_children will crash the shipworks #3

Description

@logdot

If you have a part inside of parts.seria that is lacking it's m_children "header" it will crash the game upon it trying to be loaded into the shipworks.

An example of a part entry missing it's header and one with it's header properly defined:

{
m_classname=Body
m_code=15
m_id=-8983356269622449513
m_name=CANNON 180mmm
m_state=2
m_master_id=-1535532082770840514
m_position.x=-201.454
m_position.y=79.0127
m_stage=6
m_meta=6145
m_density=650
m_mass=124943
m_mesh=1073741827
{
m_classname=Mesh
m_size=4
-2.49962
2.49962
-2.49962
-2.49962
2.49962
-2.49962
2.49962
2.49962
}
m_layer=6
m_slot_type=146
m_oid=MDL_CANNON_130X2
m_count=999
is_loot=true
m_burn_hp=10
m_ed_rotate=0
m_sprites=536870915
{
m_classname=Sprite
m_code=536870915
m_animation_name=cannon_layot_01
m_mask=0
}
}
m_children=15
{
m_classname=Body
m_code=15
m_id=-8983356269622449513
m_name=CANNON 180mmm
m_state=2
m_master_id=-1535532082770840514
m_position.x=-201.454
m_position.y=79.0127
m_stage=6
m_meta=6145
m_density=650
m_mass=124943
m_mesh=1073741827
{
m_classname=Mesh
m_size=4
-2.49962
2.49962
-2.49962
-2.49962
2.49962
-2.49962
2.49962
2.49962
}
m_layer=6
m_slot_type=146
m_oid=MDL_CANNON_130X2
m_count=999
is_loot=true
m_burn_hp=10
m_ed_rotate=0
m_sprites=536870915
{
m_classname=Sprite
m_code=536870915
m_animation_name=cannon_layot_01
m_mask=0
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions