Eagles / Bluebirds / Egg-hatched flying-walking monsters

Completed patches for Keen4.
Post Reply
User avatar
XkyRauh
Posts: 1114
Joined: Sun Aug 31, 2003 9:14 pm
Location: San Diego, California

Eagles / Bluebirds / Egg-hatched flying-walking monsters

Post by XkyRauh »

What!? Xky actually did some work on his antiquated mod? Blasphemy!

Code: Select all

#Changing the Bluebird
# Vertical Height Check for Landing
# This checks how many pixels off the ground the Bluebird 
# needs to be before it transitions from flying to walking.
%patch $10489 $00 $01 #default 0080

# This checks (I think) to see if the Bluebird is close enough to 
# the ground to actually walk left and right.  Not sure, but I had to
# change this to get MY birds functioning.
%patch $1038B $07 #default 00 #ground check for Bluebirds?

# How much higher does Keen need to be, relative to the Bluebirds,
# before they begin flying after him?  This is measured in 16ths of a pixel.
%patch $10221 $00 $04 #default 0300, height check for flight (cmp Keen)

# How fast does the Bluebird fly left-to-right, how fast does it ascend,
# and how quickly does it descend?
%patch $1027D $0D $00 #Horizontal Max Speed for flight (default 0010)
%patch $10299 $20 $00 #Descent Max Speed for flight (default 0010)
%patch $102AD $06 $00 #Ascent Max Speed for flight (default 0010)
If any l337 h4xx0rs can give me some more insight on how the bluebird's transitions work, I'd appreciate it. These patches helped get it mostly functional, but I suspect there will be glitches--something about that 07 I changed lets my bluebirds walk in the air from time to time... :(
User avatar
levellord
Crazy pAtChEr
Posts: 1401
Joined: Thu Nov 20, 2003 11:35 pm
Location: NewZealand
Contact:

Post by levellord »

My Lord! I just wasted half an hour last night doing all those patches! Why don't I check here more often?

The second patch, as far as I could tell had something to do with the bird checking if it could land on the ground. [That is, there was a tile with a 'blocking top' property in the vicinity.]

You might also like:

Code: Select all

#Changing whether the Bird looks for Keen:
#reverse these values to make it flee you;
#Set to zero to make an 'invisible wall'

#Seek Keen on ground
%patch $10210 $01 $00
%patch $10217 $FF $FF

#Seek Keen while flying [h]
%patch $10273 $01 $00
%patch $1027A $FF $FF
#Seek Keen when flying [v]; reversing will often stick them into the ground
%patch $1029D $FF $FF
%patch $102B1 $01 $00

#Randomly change direction when can't get to Keen while flying
%patch $1033D $FF $FF
%patch $1036E $01 $00
Post Reply