Skip to content

SALVL: Object Definitions for SA2 Objects - #308

Open
Marswastakenwastaken wants to merge 20 commits into
X-Hax:masterfrom
Marswastakenwastaken:master
Open

SALVL: Object Definitions for SA2 Objects#308
Marswastakenwastaken wants to merge 20 commits into
X-Hax:masterfrom
Marswastakenwastaken:master

Conversation

@Marswastakenwastaken

Copy link
Copy Markdown
Contributor

I've been working on some objects for the SA2 side of SALVL which needed some code changes. I believe some more work needs to be done here before it can be merged.

private Texture[] texs;


private NJS_MOTION motion_big_normal;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So I wanted this to be a list of NJS_MOTIONs but I was receiving crashes the way I implemented it so for now it will just be individual motions and a switch statement.

meshes = ObjectHelper.GetMeshes(object_big);
texlist_big = NJS_TEXLIST.Load("enemy/big/tls/BIG.satex");

motion_big_normal = NJS_MOTION.Load("enemy/big/Big1.saanim");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls do not load motions from files directly in the object definition, use ObjectHelper.LoadMotion that I just added.

@Marswastakenwastaken
Marswastakenwastaken marked this pull request as ready for review April 1, 2026 00:13
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

Successfully merging this pull request may close these issues.

2 participants