Jump to content

Recommended Posts

Below is a post I made regarding the problem I'm having creating my character for Shipwrecked. I originally posted it here, but that topic doesn't seem to be an ideal place to receive help, so after several days of no reply, I've decided to create a thread.
 

Quote

 

Salutations.

Everything is proceeding smoothly in the creation of my character using this guide - I've run into many problems, but always managed to solve them somehow. But I've run into a problem that I can't seem to figure out a solution for - my character appears very small in-game, much like @Powtage's problem. Now, the obvious solution here is simply to make all the sprites bigger. However, this a painfully slow and tedious process, and while I've started doing it I've run into quite an issue - the space given to me to draw my torso is not large enough to expand it properly. You see, in order to make my character's head appear at a realistic height where hats appear correctly, I must move the head sprite up quite far. In order to make the torso (and all other parts as well) align with the head's new height, I must also raise it, but I run out of vertical space, and although I technically can align the two, a top section of the original torso must be chopped off - and that is not ideal for obvious reasons.

I've looked around all sorts of places, and although people have seemed to have similar problems, there is no clear solution other than to try expanding every texture to make the character a reasonable size, which I cannot seem to do.

This block of code may potentially be useful, however. I do not know how to properly use it to expand my character's size, so if someone else did, that could potentially solve my problems immediately:


inst:SetScale(width,height,length)

Feel free to ask for any additional information or clarification if you require it. Thanks in advance.

 

Something else I've realized is that the SetScale code probably won't fix all of my issues because the size (and therefore the placement) of equipped items such as hats and tools/weapons would increase alongside my character, but I would still like to know how to use the code anyway.

 

On 2/19/2016 at 8:11 AM, Arkathorn said:

The ESC Template has a separate version for Shipwrecked, are you using that?

Mhm, I am.

EDIT: I forgot to mention this, but a big part of the problem isn't just the size but also the height of the character's parts in scale to where hats appear. That's why I run out of vertical space to begin with, since I must move them upwards as well as increase their size to get them to scale in-game.

EDIT 2: I am sorry to trouble you, but @Mobbstar, would you happen to know anything about this?

Edited by Scottnov
Extra details
On 19.2.2016 at 4:56 PM, Scottnov said:

would you happen to know anything about this?

No need to be sorry! :)

But to answer your question: Nope. Did you actually try to set the transform scale? e.g. inst.Transform:SetScale(2,2,2)

Just now, Mobbstar said:

No need to be sorry! :)

But to answer your question: Nope. Did you actually try to set the transform scale? e.g. inst.Transform:SetScale(2,2,2)

Mm, I put it into my character's prefab file, but when I tried it the game crashed. I don't know if I tried those exact values though, I'll try testing it now.

Well, the code works, but unfortunately my character still has hat levitation and tool growth powers:

R9cbRfE.png

This is how he looks without setscale...

GOi1Lhu.png

And this is with it.

Perhaps a solution would be to look at a character which was also created with Dleowolf's template and compare the sizes of my own textures to that one?

EDIT: I just tried that, but couldn't seem to find a character mod that still had an exported folder for me to look and compare with. I'm honestly quite surprised that more people who use the template don't come up with this problem since the extended sample character template itself is actually a very small character, and thus basing your character off of the template would also generally make one's own character small, making tools and hats appear strangely. While it DOES seem to be possible to simply increase the size of all parts all around, although cutting off a bit of the top of the torso, there has to be an easier and more preferable solution if hardly anyone else using the template has this issue.

Edited by Scottnov

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...