Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load effect locations and names from neighborhood view #44

Closed
ammaraskar opened this issue Aug 1, 2023 · 3 comments
Closed

Load effect locations and names from neighborhood view #44

ammaraskar opened this issue Aug 1, 2023 · 3 comments

Comments

@ammaraskar
Copy link
Collaborator

Not sure where these are stored but things like the smoke around the ufo in strangetown.

@ammaraskar
Copy link
Collaborator Author

As noted by LazyDuchess, these are actually in the hood decoration props. The scenegraph likely has the effects somewhere:

image

@ammaraskar
Copy link
Collaborator Author

After parsing cDataListExtension in 27a9231. Looks like these are stored in a cDataListExtension called EffectsList.

Seems to be a list containing the slot name to the effect name:

            "BlockName": "cDataListExtension",
            "Value": {
                "Name": "EffectsList",
                "Value": [
                    {
                        "Name": "farmfields_slot",
                        "Value": "neighborhood_house_smoking"
                    }
                ]

and then there is a node with a tag for the slot name:

        {
            "BlockName": "cTransformNode",
            "CompositionTree": {
                "TypeInfo": {
                    "Name": "cCompositionTreeNode",
                    "TypeId": 0,
                    "Version": 11
                },
                "References": [],
                "Graph": {
                    "Extensions": [],
                    "Tag": "farmfields_slot"
                }
            },
            "Transform": "(0.0, -0.8, 1.2)",
            "Rotation": "(0.0, 0.0, 0.0, 1.0)",
            "BoneId": 2147483647,
            "BlockTypeInfo": {
                "Name": "cTransformNode",
                "TypeId": 1696883810,
                "Version": 7
            }
        }

@ammaraskar
Copy link
Collaborator Author

ammaraskar commented Aug 4, 2023

Closing as the follow up work will be in #47

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant