Bird throws eggs

Request patches for Keens 4-6.
Post Reply
User avatar
szemigi
Posts: 526
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Bird throws eggs

Post by szemigi » Tue Mar 13, 2018 1:15 am

Is it possible to make the Blue Bird throw eggs during flying?

Note that the egg the bird would throw is empty and kills Keen.

If it's possible to make, do it.

levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Bird throws eggs

Post by levellass » Wed Mar 14, 2018 8:38 pm

Straight down, or towards Keen? Randomly or when it is near to him?

User avatar
szemigi
Posts: 526
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Bird throws eggs

Post by szemigi » Wed Mar 14, 2018 9:24 pm

Straight down to Keen, so onto Keen's head (and keep in mind that when Keen is bombed by this empty egg, the broken egg is on the ground, so doesn't disappear after it bombed Keen's head)

levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Bird throws eggs

Post by levellass » Fri Mar 16, 2018 12:41 am

WARNING: If the bird can make broken eggshell bits that stay like that then it will add more and more sprite mess to the level until the game crashes. There must either be a limit on how many broken eggs it makes or the broken eggs must vanish somehow.

User avatar
szemigi
Posts: 526
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Bird throws eggs

Post by szemigi » Tue Apr 24, 2018 6:21 pm

The blue bird throws only 1 egg, but very rarely, because it'll be kinda like a "secret movement".
And like I said, when the layed egg falls onto Keen's head, the egg breaks on Keen's head and falls to the ground (so you can see the broken egg sprite on the ground... if you get what I mean).

Post the patch here (and dropbox, too).

User avatar
szemigi
Posts: 526
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Bird throws eggs

Post by szemigi » Tue Apr 24, 2018 11:26 pm

Oh, and do the patch the easy way.

User avatar
szemigi
Posts: 526
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Bird throws eggs

Post by szemigi » Thu Apr 26, 2018 11:19 am

Extremely sorry for triple-posting, but will the patch be done? Because I have been waiting for this a month and nothing is done, no reply, etc.

User avatar
Nisaba
Posts: 267
Joined: Fri Jan 01, 2016 11:15 pm
Location: patch.pat
Contact:

Nemesis

Post by Nisaba » Thu Apr 26, 2018 12:28 pm

I was reading a classic myth by Ovid the other day. It's written in book three of his Metamorphose. this is the story of Echo and this other guy... what's his name again?

User avatar
szemigi
Posts: 526
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Bird throws eggs

Post by szemigi » Thu Apr 26, 2018 5:00 pm

Levellass, don't bother what Nisaba said.

Like I said, do the patch the easy way + keep in mind that the bird doesn't throw eggs oftenly, but very rarely (because it is like a secret additional movement of the bird).

User avatar
troublesomekeen
Posts: 217
Joined: Fri Feb 03, 2012 7:56 pm
Location: Shadowlands
Contact:

Re: Nemesis

Post by troublesomekeen » Thu May 03, 2018 7:32 am

Nisaba wrote:
Thu Apr 26, 2018 12:28 pm
I was reading a classic myth by Ovid the other day. It's written in book three of his Metamorphose. this is the story of Echo and this other guy... what's his name again?
Juno I think it was! Or maybe Narcissus. By jove, I can't rightly remember either. Funny thing! Wasn't it something about a prophesy that could never be taken seriously?

User avatar
szemigi
Posts: 526
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Bird throws eggs

Post by szemigi » Thu May 03, 2018 11:36 pm

Lass, respond if it is not possible. Or something.

levellass
Posts: 2841
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Re: Bird throws eggs

Post by levellass » Mon May 14, 2018 3:20 am

Things have not been going well for me. I thought I was out of the rough patch but this is not the case. I am not sure what will be happening. However this is the patch,I actually had it done some time ago but internet access has been spotty. It needs modified graphics and audio to work, so I'm also updating the dropbox folder since this has a stable working patch along with everything else.

There's no way to limit birds to just one egg however, but I managed to get around the game crashing if they lay a lot. And it's a very tricky thing to do to make a bird lay an egg so this shouldn't be an issue.

Code: Select all

#Files for the game
%egahead EGAHEAD.CK4		#Graphics
%maphead maphead.ck4		#Maps&tileinfo
%patchfile $20DF0 AUDIOHED.CK4	#Patch the Audiohead [652bytes]

#Remove Huffman compression
%patch $12D2C $55 $8B $EC $56 $57 $8C $DA $C4 $7E $0A $C5 $76 $06 $8B $4E $0E $D1
              $E9 $FC $F3 $A5 $73 $01 $A4 $8E $DA $5F $5E  $5D $CB

#Link Bird and egg caches
%patch $306F4 $016AW

#Bird checks if changing h-dir
%patch $10257 $55 $8B $EC $56 $8B $76 $06 $83 $7C $3E $00 $75 $18 $8B $44 $0A
              $8B $1E $A7D6W  $3B $47 $0A $73 $07 $C7 $44 $0E $0001W  $EB $05
              $C7 $44 $0E $FFFFW  $B8 $0010W  $50 $FF $74 $0E $56 $9A $09DC149FRL
                      $83 $C4 $04 $8B $44 $0C $8B $1E $A7D6W  $3B $47 $0C $73
              $05 $B8 $0001W  $EB $03 $B8 $FFFFW  $50 $56 $9A $09DC1517RL     $83
              $C4 $06 $83 $7C $3E $00 $75 $0B $83 $7C $16 $00 $75 $05 $C7 $44 $1C
              $22C4W  $5E $5D $CB

#Drop Egg actions
%patch $31134 $017AW $017AW $0000W $0000W $0000W $0001W $0000W $0000W
              $12A602EARL   $0FA80840RL   $0FA809B4RL   $224CW
%patch $2FB44 $017AW $017AW $0000W $0000W $0000W $0006W $0000W $0000W
              $12A60356RL   $0FA80840RL   $0FA809B4RL   $224CW

#Drop egg behavior, spawn rarely if above Keen =$12A602EARL
%patch $12D4A $55 $8B $EC $83 $EC $02 $56 $57 $8B $76 $06 $8B $44 $0A $8B $1E #Check Keen's location
              $A7D6W  $3B $47 $0A $76 $00 $8B $1E $A7D6W  $8B $47 $0A $2B $44
              $0A $8B $F8 $8B $47 $0C $2B $44 $0C $89 $46 $FE $81 $7E $FE $1000W
                  $7F $33 $83 $7C $0E $01 $75 $00 $83 $E0FFW  $7E  $06 $81 $FF
              $0180W  $7C $11 $83 $7C $0E $FF $75 $00 $83 $FF $20  $7D $17 $81
              $FF $FE00W  $7E $11 $B8 $0020W  $50 $9A $187409F1RL      $83 $C4
              $02 $C7 $44 $1C $0CD4W  $5F $5E $8B $E5 $5D $CB
%patch $12DB6 $55 $8B $EC $56 $8B $76 $06 $B8 $0001W  $50 $9A $06BD1E11RL
              $83 $C4 $02 $8B $44 $0A $8B $1E $D8 $A7 $89 $47 $0A $8B $44 $0C
              $05 $0080W  $89 $47 $0C $C7 $47 $20 $0000W  $C7 $07 $001FW  $C7
              $47 $02 $0003W  $8B $44 $0E $8B $1E $D8 $A7 $89 $47 $0E $B8 $2120W
              $50 $53 $9A $09DC118CRL     $83 $C4 $04 $5E $5D $CB

#If Bird-Egg don't spawn a waiting Bird
%patch $100A7 $55 $8B $EC $56 $57 $8B $76 $06 $8B $7E $08 $83 $3D $03 $74 $08
              $83 $3D $02 $74 $0C $E9 $0136W  $57 $9A $0D8F0D43RL $83 $C4 $02
              $C7 $44 $02 $0003W  $B8 $213EW  $50 $56 $9A $09DC120ARL     $83
              $C4 $04 $83 $3C $1F $74 $62 $C7 $04 $0001W 

#Eggs constantly fall (Plus shell)
%patch $30F98 $00
%patch $30FB2 $02
%patch $30FA0 $09DC16C9RL
%patch $30FBE $09DC16C9RL

#Waiting bird doesn't fly-spawn
%patch $3103E $09DC176ERL

#Don't spawn sprites when there's no array space -Keen 4:
%patch $17C1A $5F $5E $8B $E5 $5D $CB

User avatar
szemigi
Posts: 526
Joined: Fri Jan 23, 2009 8:06 pm
Location: Hungary
Contact:

Re: Bird throws eggs

Post by szemigi » Mon May 14, 2018 7:58 pm

I posted a video of the egg laying on dropbox. There's a problem: When Keen is under the bird, no egg, but Keen clone sprite. And I used modificated graphics and music as you said.

Post Reply