Jump to content

Recommended Posts

So yesterday I released my Frisk mod to the workshop and though no reports of glitching has been reported, I've discovered one that is quite a nuisance.

On the outer surface the character works fine with a few exploits(Logging in to reset time, but thats perfectly fine with me). BUT things get weird.

Problem is when you log in is that Frisk is using his stats from the character prefab. Though this is intended, he's also suppose to be using his stats that I provided in the modmain(The transformation). Thats not happening

Example: instead of the 0.75 DMG multiplier from the (modmain)transformation, it uses the character prefab DMG multiplier(that does not exist, so it returns 1.0).

In order for him to use his Transformation stats I have to transform to Chara AND then revert back to Frisk. I tried my best at fixing it but it's so hacked up that it boggles my mind.

So I had a theory, is it possible when logging, relogging, or resurrecting in a server you immediately transform into frisk? Regardless if you log out as Chara you'll come back as Frisk with frisks transformation Stats.

I know there's a better solution out there but right now this will band aid the problem. I hope anyone can help me, this problem is killing me

The mod in question: http://steamcommunity.com/sharedfiles/filedetails/?id=613786237&tscn=1454438990

Edited by rons0n
Link to comment
https://forums.kleientertainment.com/forums/topic/63684-using-the-wrong-stats/
Share on other sites

Save a variable (inst.isfrisk=0 or 1), then load it on preload, and DoTaskInTime in 0 seconds (function which sets proper stats) would work maybe?

I didn't look into mod's code, but that's the first thing that came to my mind.

Edited by PanAzej

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
×
  • Create New...