BETA level timer

Completed patches for Keen1.
Post Reply
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

BETA level timer

Post by levellass »

Something random I got, may be of use to some people.

Code: Select all

#Make the upward icecube a level timer
%patch $214B $CD $1B
%patch $2058 $09 #Change this, larger = longer
Basically when an up icecube is created the level is restarted. (Keen doesn't loose a life.) You can still use the other icecubes, and the timer won't work when offscreen. This could be useful; for example if there were 'red zones' Keen had to pass in a certain amount of time.

As it is, it's only a rough patch, you'd need to put several 'timers' in the level to preserve continuity, and you tend to loose the use of the other icecubes, but I thought peopl may be interested.

I've also found that the up and down icecubes *do* have horizontal speeds, they're just set to 0.
User avatar
CommanderSpleen
Posts: 1017
Joined: Sun Aug 31, 2003 12:11 pm
Location: The Land of Sparkly Things
Contact:

Post by CommanderSpleen »

Excellent work once again! That's some out-of-the-box thinking right there.

It could be annoying restarting the level instead of dying, but it's certainly an intriguing addition to this mountain of patches. Besides, that could be modified with further patching.
KeenRush
Patch Maker
Posts: 1988
Joined: Sun Aug 31, 2003 2:52 pm
Location: Sand Yego
Contact:

Post by KeenRush »

Very creative idea! What's it based on? I guess the lower of those lines sets the ratio of the ice cubes, but what does the upper one do?
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

The upper line reroutes theory any of the four icecubes can be used.) Instead of going to the up icecube code and being given a unique speed, it is shifted elsewhere, in this case a dead sprite code. However, when the icecube reads this, it hasn't been set up properly, so goes to the 'enter level' code instead. This will work even if Keen is in the process of dying when time runs out.

I'm hoping to make it kill Keen, but I just don't have the time, this computer keeps crashing. (This will also delay my new year's mod.)
Stealthy71088
Posts: 583
Joined: Thu Mar 17, 2005 11:54 pm
Location: NY

Post by Stealthy71088 »

Could you give that patch for the horizontal speeds of the up and down ice cube? By adjusting both vertical and horizontal speeds, it should be possible to change the angle that the icecubes are fired
User avatar
ckguy
Posts: 465
Joined: Tue Oct 14, 2003 11:20 am
Location: Wakefield, RI, US
Contact:

Post by ckguy »

Didn't Xtraverse already do that? (changing speeds of cubes)
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

I don't know; but I'll post the speeds here anyway, as it's news to me:

Code: Select all

#Up right icecube
%patch $2110 $38 $FF #Up speed
%patch $2115 $C8 $00 #Right speed

#Up icecube
%patch $211C $38 $FF #Up speed
%patch $2121 $00 $00 #Right speed

#Down icecube
%patch $2128 $C8 $00 #Down speed
%patch $212D $00 $00 #Right speed

#Up left icecube
%patch $2134 $38 $FF #Up speed
%patch $2139 $38 $FF #Left speed
EricMushroomWilson
Posts: 78
Joined: Mon Dec 18, 2006 9:52 pm
Location: Limbo

Post by EricMushroomWilson »

Icecube as a timer? Hmm, interesting patch. I wouldn't have expected something like that.
Post Reply