Does Sonic Have an S_SKIN and how do I get to it

Status
Not open for further replies.

csmgiw

Member
I've scaned up and down the lumps for sonic the hedgehog but could not find the S_SKIN where did it go if there ever was one.








Bonus question: All of my other project's sprites all of a sudden turned into image lumps so they won't be read as a a sprite. (Note the word BONUS up there)
 
Sonic's S_SKIN values are inside srb2win.exe.

Also, images are needed in char wads, not sprites, You're better off with images. Don't worry about it. Yet.
 
Sonic:
Normalspeed 36
Thrustfactor 5
Accelstart 64
Acceleration 40

Tails:
Normalspeed 26
Thrustfactor 3
Accelstart 192
Acceleration 50

Knuckles:
Normalspeed 32
Thrustfactor 4
Accelstart 128
Acceleration 45

Are you happy?
That took me about 5 seconds to find. Wew. I win.
 
Flame_the_hedgehog said:
SSNTails said:
r_things.c

r_things.c said:
// setup Sonic as default skin
//
memset(skin, 0, sizeof (skin_t));
strcpy(skin->name, DEFAULTSKIN);
strcpy(skin->faceprefix, "SBOSLIFE");
strcpy(skin->nameprefix, "STSONIC");
strcpy(skin->spin, "1");
strcpy(skin->super, "1");
strcpy(skin->superanims, "1");
strcpy(skin->supercolor, "15");
strcpy(skin->superspin, "1");
strcpy(skin->starttranscolor, "112");
strcpy(skin->endtranscolor, "127");
strcpy(skin->prefcolor, "7");
strcpy(skin->normalspeed, "36");
strcpy(skin->runspeed, "28");
strcpy(skin->thrustfactor, "5");
strcpy(skin->accelstart, "64");
strcpy(skin->acceleration, "40");
strcpy(skin->jumpfactor, "100");
strcpy(skin->boxindex, "1");
strcpy(skin->ability, "0");
strcpy(skin->highres, "0");
strcpy(skin->runonwater, "0");
strcpy(skin->nojumpspin, "0");
strcpy(skin->multiability, "0");
strcpy(skin->lightdash, "0");
strcpy(skin->homing, "0");
strcpy(skin->ringslinger, "0");
strcpy(skin->slingitem, "0");
strcpy(skin->thokitem, "0");
strcpy(skin->spinitem, "0");
strcpy(skin->waterskip, "1");
strcpy(skin->actionspd, "60");
strcpy(skin->maxdash, "60");
strcpy(skin->mindash, "15");

I saved the trouble of finding it for you. :|

No, I win.
 
Actually I win because I was able to look through the source code in the first place and find it for you.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top