Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Ship Module Drift  (Read 1218 times)

Armithaig

  • Lieutenant
  • **
  • Posts: 54
    • View Profile
    • Amaranth
Ship Module Drift
« on: September 02, 2019, 01:22:30 PM »

Reinforcing this issue with some data.

Download mini-mod. Fixed.

Reproduction steps:
Enter variant editor, select AAA Tajmahir at top, run simulation, press A<->D intermittently n' watch modules slide outta their sockets.
Tried changing CSV properties: mass, max turn rate, turn acceleration.

ship_data.csv
Spoiler
Code
Tajmahir,hgn_carrier,Carrier,Midline,targetingfeed,16,9000,750,12000,,700,140,4,60,40,30,135,250,2000,OMNI,,180,0.5,0.9,,,150,450,400,200,2,100,8,140000,3,15,420,0.25,18,18,"SHIP_WITH_MODULES, CARRIER",midline_bp,,0.6,2,3,
Fighter Facility,hgn_c_production_fighter,Facility,,,,1000,300,0,,100,0,,0,0,0,10,10,0,NONE,,0,0,0,,,0,0,0,0,1,0,,,,1,,,0,0,"UNBOARDABLE, HIDE_IN_CODEX",hgn_c_production_facility,,0.5,2,3,
[close]

hgn_carrier.ship (Ship)
Spoiler
Code
{
"bounds": [
12,
-41.5,
-44.5,
-32,
-49.5,
-61,
-62,
-61,
-70.5,
-32,
-95.5,
-23.5,
-137.5,
-20.5,
-137.5,
21,
-95.5,
23.5,
-74.5,
32,
-13,
32,
12,
41.5,
97,
41.5,
145.5,
29.5,
187,
10.5,
176,
-28.5,
145.5,
-41.5
],
"center": [
48,
142
],
"collisionRadius": 245,
"engineSlots": [
{
"angle": 180,
"contrailSize": 30,
"length": 30,
"location": [
-140,
9
],
"style": "MIDLINE",
"width": 10
},
{
"angle": 180,
"contrailSize": 30,
"length": 30,
"location": [
-140,
-9
],
"style": "MIDLINE",
"width": 10
},
{
"angle": 180,
"contrailSize": 30,
"length": 30,
"location": [
-140,
0
],
"style": "MIDLINE",
"width": 10
}
],
"height": 365,
"width": 120,
"hullId": "hgn_carrier",
"hullName": "Tajmahir",
"hullSize": "CRUISER",
"shieldCenter": [
40,
0
],
"shieldRadius": 200,
"spriteName": "graphics/ships/hgn/carrier/hull.png",
"style": "MIDLINE",
"viewOffset": 0,
"weaponSlots": [
{
"angle": 0,
"arc": 5,
"id": "LB 001",
"locations": [
165,
-19.5,
170,
-11,
173.5,
-27,
156.5,
-15,
153.5,
-25.5
],
"mount": "HIDDEN",
"size": "LARGE",
"type": "LAUNCH_BAY"
},
{
"angle": 90,
"arc": 5,
"id": "LB 002",
"locations": [
51,
47,
39.5,
49.5,
22.5,
45,
63.5,
44.5,
75,
47,
86,
44.5
],
"mount": "HIDDEN",
"size": "LARGE",
"type": "LAUNCH_BAY"
},
{
"angle": 0,
"arc": 0,
"id": "PF 001",
"locations": [
122,
-18
],
"mount": "HARDPOINT",
"size": "SMALL",
"type": "STATION_MODULE"
},
{
"angle": 0,
"arc": 0,
"id": "PF 002",
"locations": [
54.5,
-18
],
"mount": "HARDPOINT",
"size": "SMALL",
"type": "STATION_MODULE"
},
{
"angle": 0,
"arc": 0,
"id": "PF 003",
"locations": [
54.5,
26
],
"mount": "HARDPOINT",
"size": "SMALL",
"type": "STATION_MODULE"
},
{
"angle": -90,
"arc": 0,
"id": "GM 001",
"locations": [
-30.5,
-11
],
"mount": "HARDPOINT",
"size": "SMALL",
"type": "STATION_MODULE"
},
{
"angle": -90,
"arc": 90,
"id": "GM 002",
"locations": [
-55.5,
-11
],
"mount": "HARDPOINT",
"size": "SMALL",
"type": "STATION_MODULE"
},
{
"angle": 0,
"arc": 90,
"id": "SA 001",
"locations": [
153,
4.5
],
"mount": "HARDPOINT",
"size": "SMALL",
"type": "STATION_MODULE"
},
{
"angle": 45,
"arc": 0,
"id": "WS 001",
"locations": [
101,
20
],
"mount": "HIDDEN",
"size": "SMALL",
"type": "BALLISTIC"
},
{
"angle": 135,
"arc": 0,
"id": "WS 002",
"locations": [
7.5,
20
],
"mount": "HIDDEN",
"size": "SMALL",
"type": "BALLISTIC"
},
{
"angle": 0,
"arc": 0,
"id": "WS 003",
"locations": [
176.5,
5
],
"mount": "HIDDEN",
"size": "SMALL",
"type": "BALLISTIC"
},
{
"angle": -110,
"arc": 0,
"id": "WS 004",
"locations": [
0.5,
-24.5
],
"mount": "HIDDEN",
"size": "SMALL",
"type": "BALLISTIC"
},
{
"angle": 110,
"arc": 0,
"id": "WS 005",
"locations": [
-81.5,
20
],
"mount": "HIDDEN",
"size": "SMALL",
"type": "BALLISTIC"
},
{
"angle": -110,
"arc": 0,
"id": "WS 007",
"locations": [
-82,
-19
],
"mount": "HIDDEN",
"size": "SMALL",
"type": "BALLISTIC"
},
{
"angle": -45,
"arc": 0,
"id": "WS 008",
"locations": [
147,
-34
],
"mount": "HIDDEN",
"size": "SMALL",
"type": "BALLISTIC"
}
]
}
[close]

hgn_c_production_fighter.ship (Module)
Spoiler
Code
{
"bounds": [
25,
-10,
-24,
-10,
-24,
10,
25,
10
],
"builtInMods": [ ],
"center": [
11.5,
25.5
],
"collisionRadius": 32.5,
"engineSlots": [ ],
"height": 61,
"width": 23,
"hullId": "hgn_c_production_fighter",
"hullName": "Fighter Facility",
"hullSize": "FRIGATE",
"moduleAnchor": [ 0, 0 ],
"shieldCenter": [ 0, 0 ],
"shieldRadius": 44,
"spriteName": "graphics/ships/hgn/carrier/production/fighter.png",
"style": "MIDLINE",
"viewOffset": 0,
"weaponSlots": [ ]
}
[close]
« Last Edit: September 02, 2019, 03:47:43 PM by Armithaig »
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24128
    • View Profile
Re: Ship Module Drift
« Reply #1 on: September 02, 2019, 01:45:39 PM »

(Moved this here since there are plenty of working SHIPS_WITH_MODULES that don't have this issue, so it's probably not a bug or at least something that can be worked around.)

If you're able to upload a mini-mod that reproduces this issue, it might make it easier for someone to take a look. Nothing jumps out as being wrong to me but I could be missing something obvious.
Logged

Armithaig

  • Lieutenant
  • **
  • Posts: 54
    • View Profile
    • Amaranth
Re: Ship Module Drift
« Reply #2 on: September 02, 2019, 02:43:45 PM »

Upped max turn rate and turn acceleration of base game's Small Orbital Station like so
Spoiler
Code
,station_small,Small Orbital Station,,,30,10000,1500,1000,2500,100,0,,30,200,200,135,250,5000,NONE,,0,0,0,,,0,0,0,0,1,0,0,500000,10,10,,,50,50,"SHIP_WITH_MODULES, HIDE_IN_CODEX",,,0,,,2000
[close]

Got the same slippery symptoms, think's just way less apparent on slow lumbering ships.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24128
    • View Profile
Re: Ship Module Drift
« Reply #3 on: September 02, 2019, 03:38:00 PM »

Aha, hmm - fixed! Looks like it was 1 frame behind just as far as the facing (but not location) of the parent ship was concerned.

(Edit: thank you for bringing this up, btw!)
« Last Edit: September 02, 2019, 03:43:04 PM by Alex »
Logged

Armithaig

  • Lieutenant
  • **
  • Posts: 54
    • View Profile
    • Amaranth
Re: Ship Module Drift
« Reply #4 on: September 02, 2019, 03:47:03 PM »

Right champion of the Hiigaran peoples you are, thank you.
Logged