Warp & TP - pk-hack/CoilSnake GitHub Wiki

This mode is actually secretly two in one. But the two different things are extremely similar in concept, so they're both here.

warp Warps

Warps are preset configurations of destinations and styles that the player can be moved to through the CCScript warp() command, among other methods. You use the top half of the sidebar to edit these.

image Teleports

These are destinations for PSI Teleport. They have a direction, a flag to determine when they are unlocked, and a name. You use the bottom half of the sidebar to edit these.

About warp styles

Warp styles dictate how the screen fades, what sounds will play, and if there are any special effects like the screen sliding or playing an animation when warping. As well as warps using warp styles, doors use them too. The best way to edit warps is to use the Warp Styles DX script. Below is a list of the vanilla warp styles and where they are used:

(Adapted from this enum in the disassembly)

Warp Style Description
0 Hard cut to black, then fade in. (Glitched Warp - Don't use)
1 Standard Warp with Black Fade Out/In (no sounds)
2 Standard Warp with White Fade Out/In (no sounds)
3 Standard Warp 2 with Black Fade Out/In (no sounds)
4 Standard Warp with Door Close sound only during fade in
5 Hole Warp 1 - Screen wipes to the top, with both Falling and Landing sounds
6 Normal Warp with Black Fade Out/In (no sounds)
7 Standard Door (with both Door Open on fade out and Door Close sounds on fade in)
8 Standard Door (with both Door Open on fade out and Door Close sounds on fade in with short delay)
9 Standard Door (with both Door Open on fade out and Door Close sounds on fade in with short delay)
10 Standard Door with Door Open sound only during fade out
11 UNKNOWN - PSI-like animation during fade out/in. (Works but it's a Glitched warp)
12 Standard Warp with Black Fade Out/In (no sounds)
13 Standard Warp with Black Fade Out/In (no sounds)
14 Standard Warp with White Fade Out/In (no sounds)
15 Standard Stairs (with Stairs sound only during fade out) - Only for interiors
16 Phase Distorter III - PSI-like warp with ellipse animation during fade out.
17 Moonside Warp 1 - Screen wipes to the bottom-left with a map-dependant sound
18 Moonside Warp 2 - Screen wipes to the top-right with a map-dependant sound
19 Moonside Warp 3 - Screen wipes to the top-left with a map-dependant sound
20 Moonside Warp 4 - Screen wipes to the top-center-left with a map-dependant sound
21 Moonside Warp 5 - Screen wipes to the top-left with a map-dependant sound
22 Moonside Warp 6 - Screen wipes to the top-right with a map-dependant sound
23 Moonside Warp 7 - Screen wipes to the top-right with a map-dependant sound
24 Moonside Warp 8 - Screen wipes to the top-right with a map-dependant sound
25 Moonside Warp 9 - Screen wipes to the top-right with a map-dependant sound
26 Moonside Warp 10 - Screen wipes to the bottom-left with a map-dependant sound
27 Moonside Warp 11 - Screen wipes to the bottom-right with a map-dependant sound
28 Standard Warp with Black Fade Out/In (with map dependant sound only during fade out)
29 Standard Warp with a Slow White Fade Out/In (no sounds)
30 Standard Warp with a Slow White Fade Out/In (with map-dependant sound)
31 Ghost Tunnel Warp 1 - Screen wipes to the right with the "ghostly" sound effect on fade out and 'appearance' sound on fade in
32 Ghost Tunnel Warp 2 - Screen wipes to the left with the "ghostly" sound effect on fade out and 'appearance' sound on fade in
33 Hole Warp 2 - Screen wipes to the top, with Falling sound only during fade in and no fade out sound

TODO: document which patch the sound effects play from - I bet there are so many alternates to account for the door sound effect being in different indexes in the Sample Directory, depending on which song is playing.