A-star's Source Code/ SOC questions (don't let this die)

Status
Not open for further replies.

A-star

now Known as Player 1.1
Okay. Here it goes.

1. Where in the Source Code Will I find the max running speed?
2. Where in the source code Will I find the max Jump speed?
3. Where can I find the Warp Tube data? I"m trying to change the player frame for using warp tubes.
4. What SOC frame is for springing up?
5. How do I add a player frame?


DON'T LET THIS DIE PLEASE.
 
Try looking in d_clisrv.c?
Then again, I could be wrong as I don't have the source code in front of me.

If I'm wrong, look around for the text of 'maxspeed' and 'jumpheight' in other files. CTRL+F helps a great deal. :P
 
Maxspeed and maxjumpheight are in r_things.c if I'm correct.
I found that out when I was gonna make a exe mod.
 
Next Q.:

3. Where can I find the Warp Tube data? [edit] I"m trying to change the player frame for using warp tubes.
[edit] 4. What SOC frame is for springing up?
 
astar said:
4. What SOC frame is for springing up?
That depends on if the character you are using has jumpspin or not...

- If jumpspin = 1 than the atk frames are what you are searching for.
- If jumpspin = 0 than the spring falling up / falling down frames are what you are searching for

To find out which frame is belonging to which kind of sprite you can allways use http://wiki.srb2.org/wiki/Character_WAD + socedit and start comparing.
For example:
state 2 is using character sprite A - standing, which equals the sprite's frame number 0
states 13 to 16 are using the character sprites L to O - spinning, which equals the sprite's frame numbers 11, 12, 13, 14

Short:
"1 - SPR_PLAY" 's frame number = [alphabetical letter order] - 1

A = 0
B = 1
C = 2
D = 3
. . .
 
Morph, I think he was on about the spring up frame, not the jumping ones, and besides, there isn't a "jumpspin", but there is a "nojumpspin" for S_SKIN.
 
mimimimiii

jumpspin = 1 |equals| nojumpspin = 0

Besides I mentioned the spring frames and a way how he could find out which is which...

;-P
 
Status
Not open for further replies.

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

Back
Top