What kills what

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

What kills what

Post by levellass »

Obtained while looking up a patch for someone:

Code: Select all

#What kills what:
%patch $3F98 $3D $0A #Vort killed by Keen's shot
%patch $3F9D $3D $0B #Vort killed by orange shot
%patch $409F $3D $0A #Vortikid killed by Keen's shot
%patch $40A4 $3D $0B #Vortikid killed by orange shot
%patch $428E $3F $0A #Vort elite killed by Keen's shot
%patch $4513 $3D $0A #Scrub killed by Keen's shot
%patch $4518 $3D $0B #Scrub killed by orange shot
%patch $4773 $3F $0A #Tantalus killed by Keen's shot

%patch $776B $3D $06 #Enemy shot DOESN'T kill Robot
%patch $7770 $3D $0D #Enemy shot DOESN'T kill Tantalus
%patch $7775 $3D $04 #Enemy shot DOESN'T kill Elite

%patch $75B4 $3D $01 #Keen's shot doesn't hit Keen
%patch $75B9 $3D $0D #Keen's shot doesn't hit zap/zots (But still kills Tantalus!)
Once again, the sprite properties can be found in the 'interaction' section of sprite patches. Enjoy!


Edit: This will likely be used with patches to change other sprite's properties. If, for example you make the Vorticon have the Vort Elite property, enemy shots will no longer harm it. To change that, you'd have to alter the 'exception' to target elites. (But then your elites would shoot themselves, *sigh* )

As an example, here we make the Robot push (Act like a Scrub.) and to stop it shooting itself, we change the enemy shot EXCEPTION to Scrub. (Changing what kills the Scrub doesn't work because that's for the Scrub ONLY, not stuff that acts like the Scrub.)

Code: Select all

#Change robot to make it push (Scrub)
%patch $3D58 $05 $00
#Change enemy shot to not hit Scrubs
%patch $776B $3D $05
Last edited by levellass on Tue Apr 21, 2009 3:33 am, edited 1 time in total.
User avatar
The Shifted One
Posts: 71
Joined: Sun Nov 11, 2007 11:32 pm
Location: Utopia

Post by The Shifted One »

Acually my robot (with scrub attribute so you can stand on it) still shoots itself >.>
Could it be smoething wrong with where the bullet spawns or something?
User avatar
Tulip
Posts: 394
Joined: Mon Jun 16, 2008 2:40 pm
Location: Heidelberg, Germany
Contact:

Post by Tulip »

I had the same problem when I tried to make it possible to stand on the Vortimom, it also shoots itself. I'd love to see a solution for this, but I doubt there is one.

If the shots are not zapping against anything, and are not shootable then the following patch will work (at least it did with silcar2):

Code: Select all

#Robot's shots can't be shot by Keen, other robot's shots, or Elite shots 
#SIDE EFFECT: They pass through sprites, still killing, but not zapzotting 
%patch $7677 $A2 $61
User avatar
The Shifted One
Posts: 71
Joined: Sun Nov 11, 2007 11:32 pm
Location: Utopia

Post by The Shifted One »

That would work but Id rather see a different solution.
levellass
Posts: 3001
Joined: Wed Oct 11, 2006 12:03 pm
Location: Ngaruawahia New Zealand

Post by levellass »

This patch works for me, I am not sure if it works for you, but if it doesn't... odd:

Code: Select all

#Change robot to make it push (Scrub)
%patch $3D58 $05 $00 
#Change enemy shot to not hit Scrubs
%patch $776B $3D $05

The only side effect of this sort of thing is that now Scrubs won't be shot by enemy bullets.
User avatar
The Shifted One
Posts: 71
Joined: Sun Nov 11, 2007 11:32 pm
Location: Utopia

Post by The Shifted One »

Now it works, Im not sure what I did wrong earlier but now it works :)
Thanks alot!
Post Reply