SatisfactorySaveEditor icon indicating copy to clipboard operation
SatisfactorySaveEditor copied to clipboard

Doggo Despawning

Open Bitr0t-Zygzz opened this issue 4 years ago • 10 comments

Not sure if intended

Tamed Doggos get spawned on players but soon after despawned by game.

Bitr0t-Zygzz avatar May 06 '20 05:05 Bitr0t-Zygzz

I've got report that SCIM was also despawning fauna being spawn. Exp had some bug with doggos, so my assumption is that they might have change some properties on them.

AnthorNet avatar May 06 '20 06:05 AnthorNet

Tamed Doggos get spawned on players but soon after despawned by game.

It's a game bug, it's not present in 118201 (last stable version). Confirmed to appear in 120739, 121119 and 121639. I had a save with doggos and loading it in last experimental despawns them

Bertaz avatar May 08 '20 15:05 Bertaz

Can confirm it is a (fixed) game bug. Here is a link to the patch notes on the Discord.

Today's patch should fix the issue of despawning Lizard Doggos ...

budak7273 avatar May 08 '20 21:05 budak7273

Can confirm it is a (fixed) game bug. Here is a link to the patch notes on the Discord.

Today's patch should fix the issue of despawning Lizard Doggos ...

Still despawns when spawned through save editor, Version 121639

Bitr0t-Zygzz avatar May 09 '20 01:05 Bitr0t-Zygzz

Do you have a legit one in an Exp Save to check the new format?

AnthorNet avatar May 10 '20 14:05 AnthorNet

I'm not sure if I have the save structure knowledge to fix this issue myself, but I should be able to look into it by the next release.

If you have a save with a 'vanilla' doggo in it for testing, it would be greatly appreciated if you could share it here.

budak7273 avatar May 10 '20 19:05 budak7273

VANILLA DOGGO REFERENCE

    {
            "name": "mOwningSpawner",
            "type": "ObjectProperty",
            "index": 0,
            "value": {
                "levelName": "Persistent_Exploration_2",
                "pathName": "Persistent_Exploration_2:PersistentLevel.BP_EnemySpawner231"
            }
        },
{
    "type": 1,
    "className": "/Game/FactoryGame/Character/Creature/BP_CreatureSpawner.BP_CreatureSpawner_C",
    "levelName": "Persistent_Exploration_2",
    "pathName": "Persistent_Exploration_2:PersistentLevel.BP_EnemySpawner231",
    "needTransform": 0,
    "transform": {
        "rotation": [
            0,
            0,
            0,
            1
        ],
        "translation": [
            329.8828125,
            287335.25,
            183.8388671875
        ],
        "scale3d": [
            1,
            1,
            1
        ]
    },
    "wasPlacedInLevel": 1,
    "children": [],
    "properties": [
        {
            "name": "mIsActive",
            "type": "BoolProperty",
            "index": 0,
            "value": 1
        },
        {
            "name": "mSpawnData",
            "type": "ArrayProperty",
            "index": 0,
            "value": {
                "type": "StructProperty",
                "values": [
                    [
                        {
                            "name": "SpawnLocation",
                            "type": "StructProperty",
                            "index": 0,
                            "value": {
                                "type": "Vector",
                                "values": {
                                    "x": 330.96484375,
                                    "y": 287306.59375,
                                    "z": 134.43417358398438
                                }
                            }
                        },
                        {
                            "name": "Creature",
                            "type": "ObjectProperty",
                            "index": 0,
                            "value": {
                                "levelName": "Persistent_Level",
                                "pathName": "Persistent_Level:PersistentLevel.Char_SpaceRabbit_C_2"
                            }
                        },
                        {
                            "name": "WasKilled",
                            "type": "BoolProperty",
                            "index": 0,
                            "value": 0
                        },
                        {
                            "name": "KilledOnDayNr",
                            "type": "IntProperty",
                            "index": 0,
                            "value": -1
                        },
                        {
                            "name": "CreatureClassOverride",
                            "type": "ObjectProperty",
                            "index": 0,
                            "value": {
                                "levelName": "",
                                "pathName": ""
                            }
                        },
                        {
                            "name": "SpawnWeight",
                            "type": "FloatProperty",
                            "index": 0,
                            "value": 1
                        }
                    ]
                ]
            },
            "structureName": "mSpawnData",
            "structureType": "StructProperty",
            "structureSubType": "SpawnData",
            "propertyGuid1": 0,
            "propertyGuid2": 0,
            "propertyGuid3": 0,
            "propertyGuid4": 0
        },
        {
            "name": "mCachedIsNearBase",
            "type": "BoolProperty",
            "index": 0,
            "value": 1
        },
        {
            "name": "mSpawnerDistance",
            "type": "FloatProperty",
            "index": 0,
            "value": 12000
        },
        {
            "name": "mRandomSeed",
            "type": "IntProperty",
            "index": 0,
            "value": 25171
        }
    ],
    "entityLevelName": "",
    "entityPathName": ""
}

AnthorNet avatar May 11 '20 12:05 AnthorNet

I ran some tests using SCIM and the last Experimental and nothing was despawning, even without the creature spawner linked. Comparing both code, SCIM and save editor, they seems to spawn the same properties.

AnthorNet avatar May 12 '20 13:05 AnthorNet

That's.. peculiar , I just tried spawning with SCIm but both doggos from scim and save editor are despawning. I shall try a new world with no mods.

Edit: Still despawns on 121639 modless viewing through scim these are the values attached to my doggo

Main:

{
    "type": 1,
    "className": "/Game/FactoryGame/Character/Creature/Wildlife/SpaceRabbit/Char_SpaceRabbit.Char_SpaceRabbit_C",
    "levelName": "Persistent_Level",
    "pathName": "Persistent_Level:PersistentLevel.Char_SpaceRabbit_C_21",
    "needTransform": 1,
    "transform": {
        "rotation": [
            0,
            0,
            0.9920816421508789,
            0.12559449672698975
        ],
        "translation": [
            232258.671875,
            -114381.2890625,
            2859.989501953125
        ],
        "scale3d": [
            1,
            1,
            1
        ]
    },
    "wasPlacedInLevel": 0,
    "children": [
        {
            "levelName": "Persistent_Level",
            "pathName": "Persistent_Level:PersistentLevel.Char_SpaceRabbit_C_21.mInventory"
        },
        {
            "levelName": "Persistent_Level",
            "pathName": "Persistent_Level:PersistentLevel.Char_SpaceRabbit_C_21.HealthComponent"
        }
    ],
    "properties": [
        {
            "name": "mFriendActor",
            "type": "ObjectProperty",
            "value": {
                "levelName": "Persistent_Level",
                "pathName": "Persistent_Level:PersistentLevel.Char_Player_C_0"
            }
        },
        {
            "name": "mLootTableIndex",
            "type": "IntProperty",
            "value": 0
        },
        {
            "name": "mLootTimerHandle",
            "type": "StructProperty",
            "value": {
                "type": "TimerHandle",
                "handle": "None"
            }
        },
        {
            "name": "mIsPersistent",
            "type": "BoolProperty",
            "value": 1
        },
        {
            "name": "mHealthComponent",
            "type": "ObjectProperty",
            "value": {
                "levelName": "Persistent_Level",
                "pathName": "Persistent_Level:PersistentLevel.Char_SpaceRabbit_C_21.HealthComponent"
            }
        }
    ],
    "entityLevelName": "",
    "entityPathName": ""
}

.mInventory:

{
    "type": 0,
    "className": "/Script/FactoryGame.FGInventoryComponent",
    "levelName": "Persistent_Level",
    "pathName": "Persistent_Level:PersistentLevel.Char_SpaceRabbit_C_21.mInventory",
    "outerPathName": "Persistent_Level:PersistentLevel.Char_SpaceRabbit_C_21",
    "children": [],
    "properties": [
        {
            "name": "mInventoryStacks",
            "type": "ArrayProperty",
            "value": {
                "type": "StructProperty",
                "values": [
                    [
                        {
                            "name": "Item",
                            "type": "StructProperty",
                            "value": {
                                "type": "InventoryItem",
                                "unk1": 0,
                                "itemName": "",
                                "levelName": "",
                                "pathName": "",
                                "properties": [
                                    {
                                        "name": "NumItems",
                                        "type": "IntProperty",
                                        "value": 0
                                    }
                                ]
                            }
                        }
                    ]
                ]
            },
            "structureName": "mInventoryStacks",
            "structureType": "StructProperty",
            "structureSubType": "InventoryStack",
            "propertyGuid1": 0,
            "propertyGuid2": 0,
            "propertyGuid3": 0,
            "propertyGuid4": 0
        },
        {
            "name": "mArbitrarySlotSizes",
            "type": "ArrayProperty",
            "value": {
                "type": "IntProperty",
                "values": [
                    0
                ]
            }
        },
        {
            "name": "mAllowedItemDescriptors",
            "type": "ArrayProperty",
            "value": {
                "type": "ObjectProperty",
                "values": [
                    {
                        "levelName": "",
                        "pathName": ""
                    }
                ]
            }
        }
    ]
}

.HealthComponent:

{
    "type": 0,
    "className": "/Script/FactoryGame.FGHealthComponent",
    "levelName": "Persistent_Level",
    "pathName": "Persistent_Level:PersistentLevel.Char_SpaceRabbit_C_21.HealthComponent",
    "outerPathName": "Persistent_Level:PersistentLevel.Char_SpaceRabbit_C_21",
    "children": [],
    "properties": []
}

No Owning spawner reference since spawned through editor

Bitr0t-Zygzz avatar May 13 '20 12:05 Bitr0t-Zygzz

When I ran my tests yesterday, I did not need to implement the creature spawner. Doggo, Space Giraffe, Alpha Hog were spawned a couple foundation of me, and worked.

AnthorNet avatar May 13 '20 13:05 AnthorNet