Skip to content

Commit

Permalink
Fix #351: spread out hatches in benjee docking ports to reduce z-figh…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
JonnyOThan committed Nov 7, 2023
1 parent bc106cf commit a95deae
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 58 deletions.
37 changes: 8 additions & 29 deletions GameData/FreeIva/Benjee10_sharedAssets/B10_APASv2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,44 +11,23 @@
}
}

INTERNAL
+INTERNAL[FreeIva_dockingPortJr_Internal]
{
name = B10_APASv2_FreeIva
@name = B10_APASv2_FreeIva

MODEL
@PROP[FreeIva_Hatch_Round_Size0],0
{
model = FreeIva/Props/empty
}

MODULE
{
name = InternalModuleFreeIva
}

PROP
{
name = FreeIva_Hatch_Round_Size0
rotation = 0, -0.707106829, -0.707106829, 0

MODULE
@MODULE[HatchConfig]
{
name = HatchConfig
attachNodeId = top
dockingPortNodeName = dockingNode
hideDoorWhenConnected = true
!airlockName = delete
}
}

PROP
@PROP[FreeIva_Hatch_Round_Size0],1
{
name = FreeIva_Hatch_Round_Size0
rotation = 0.707106829, 0, 0, -0.707106709

MODULE
@MODULE[HatchConfig]
{
name = HatchConfig
attachNodeId = nodeBottom
hideDoorWhenConnected = true
@attachNodeId = nodeBottom
}
}
}
Expand Down
37 changes: 8 additions & 29 deletions GameData/FreeIva/Benjee10_sharedAssets/B10_IDA.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,44 +11,23 @@
}
}

INTERNAL
+INTERNAL[FreeIva_dockingPortJr_Internal]
{
name = B10_IDA_FreeIva
@name = B10_IDA_FreeIva

MODEL
@PROP[FreeIva_Hatch_Round_Size0],0
{
model = FreeIva/Props/empty
}

MODULE
{
name = InternalModuleFreeIva
}

PROP
{
name = FreeIva_Hatch_Round_Size0
rotation = 0, -0.707106829, -0.707106829, 0

MODULE
@MODULE[HatchConfig]
{
name = HatchConfig
attachNodeId = top
dockingPortNodeName = dockingNode
hideDoorWhenConnected = true
!airlockName = delete
}
}

PROP
@PROP[FreeIva_Hatch_Round_Size0],1
{
name = FreeIva_Hatch_Round_Size0
rotation = 0.707106829, 0, 0, -0.707106709

MODULE
@MODULE[HatchConfig]
{
name = HatchConfig
attachNodeId = node2
hideDoorWhenConnected = true
@attachNodeId = node2
}
}
}
Expand Down
1 change: 1 addition & 0 deletions GameData/FreeIva/Squad/PartCfgs/dockingPortJr.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ INTERNAL
attachNodeId = top
dockingPortNodeName = dockingNode
airlockName = Airlock
hideDoorWhenConnected = true
}
}
PROP
Expand Down

0 comments on commit a95deae

Please sign in to comment.