Sign in to follow this  
Lillyth

Animstate full functions?

Recommended Posts

Lillyth    54

Hello all,

Recently I've been trying to mod DS (Not DST), and I've come across an issue where I need this DST animstate function in order to swap a symbol's z-order with another one:

AnimState:SetMultiSymbolExchange("symbol1", "symbol2");

Unfortunately however, this doesn't seem to exist in the single player version of the game, and I thought I might be able to port it over by copying it from DST into DS; thing is, I can't find where Klei put these functions in the files, so I presume they are hidden from user view. I figured to post it in this forum since it kinda relates and is a lot more active than DS's one.

So I ask, does anyone know if you can find them and where/if you can port it over, or, does anyone have a workaround to have this method's functionality within DS? Thank you in advance.

Share this post


Link to post
Share on other sites
Hornete    11283
Just now, Lillyth said:

Hello all,

Recently I've been trying to mod DS (Not DST), and I've come across an issue where I need this DST animstate function in order to swap a symbol's z-order with another one:


AnimState:SetMultiSymbolExchange("symbol1", "symbol2");

Unfortunately however, this doesn't seem to exist in the single player version of the game, and I thought I might be able to port it over by copying it from DST into DS; thing is, I can't find where Klei put these functions in the files, so I presume they are hidden from user view. I figured to post it in this forum since it kinda relates and is a lot more active than DS's one.

So I ask, does anyone know if you can find them and where/if you can port it over, or, does anyone have a workaround to have this method's functionality within DS? Thank you in advance.

It's impossible.

The AnimState functions and others similar to it are in the game engine. There is no way to look at the engine code nor is there a way to port it.

Share this post


Link to post
Share on other sites
Lillyth    54
3 minutes ago, Hornete said:

It's impossible.

The AnimState functions and others similar to it are in the game engine. There is no way to look at the engine code nor is there a way to port it.

That's quite a shame. Thank you for clearing that up, though. Would you know if it'd be possible to get the same effect with the available methods that are in DS? I'm not sure how versatile these are.

Spoiler

SetLayer
SetRayTestOnBB
IsCurrentAnimation
SetFinalOffset
SetManualBB
SetOrientation
GetSymbolPosition 
Hide
SetSortOrder
ClearOverrideSymbol
SetBloomEffectHandle
LoadAnimation
GetDesaturation
AddOverrideBuild
Show
PlayAnimation
SetTime
GetTotalTime
GetFilmGrainStrength
Pause
GetFilmGrainScale
GetPercent
Resume
GetSepia
SetDeltaTimeMultiplier
SetFilmGrainStrength
SetErosionTexture
SetFilmGrainScale
SetSepia
PushAnimation
GetHasBloom
GetMultColour
OverrideSymbol 
SetPercent
SetDesaturation
SetAddColour
ClearBloomEffectHandle
ClearOverrideBuild
SetScale
SetBank
GetCurrentAnimationLength
GetCurrentFacing
SetErosionParams
PutOnGround
SetBuild
HasSymbol
GetMultColourRaw
GetAddColour
OverrideShade
SetLightOverride
SetEffectParams
AnimDone
SetMultColour

 

Share this post


Link to post
Share on other sites
Hornete    11283
1 minute ago, Lillyth said:

That's quite a shame. Thank you for clearing that up, though. Would you know if it'd be possible to get the same effect with the available methods that are in DS? I'm not sure how versatile these are.

  Reveal hidden contents

SetLayer
SetRayTestOnBB
IsCurrentAnimation
SetFinalOffset
SetManualBB
SetOrientation
GetSymbolPosition 
Hide
SetSortOrder
ClearOverrideSymbol
SetBloomEffectHandle
LoadAnimation
GetDesaturation
AddOverrideBuild
Show
PlayAnimation
SetTime
GetTotalTime
GetFilmGrainStrength
Pause
GetFilmGrainScale
GetPercent
Resume
GetSepia
SetDeltaTimeMultiplier
SetFilmGrainStrength
SetErosionTexture
SetFilmGrainScale
SetSepia
PushAnimation
GetHasBloom
GetMultColour
OverrideSymbol 
SetPercent
SetDesaturation
SetAddColour
ClearBloomEffectHandle
ClearOverrideBuild
SetScale
SetBank
GetCurrentAnimationLength
GetCurrentFacing
SetErosionParams
PutOnGround
SetBuild
HasSymbol
GetMultColourRaw
GetAddColour
OverrideShade
SetLightOverride
SetEffectParams
AnimDone
SetMultColour

 

I'm not sure which function could help either, sorry I could not help much. I hope you get what you're looking for!

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this