Keen: Modding Forum Index Keen: Modding
All the modding info you'll ever need
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Galaxy Explosion Parameters

 
Post new topic   Reply to topic    Keen: Modding Forum Index -> Patches: The Armageddon Machine
View previous topic :: View next topic  
Author Message
lemm



Joined: 05 Jul 2009
Posts: 532

PostPosted: Tue Sep 28, 2010 4:33 am    Post subject: Galaxy Explosion Parameters Reply with quote

A couple of patches related to galaxy explosions.
Code:

%ext ck5
%version 1.4

#color planes to enable for starburst
%patch $F73F $0F

#starburst length (frames/2 )
%patch $F7D7 $1E

%end


For the colour planes, B = 1, R = 2, G = 4, I = 8. Add the relevant planes to get the foreground colour of the starburst. Also, only the planes that you have enabled for the starburst will be erased from the pre explosion bitmap. For example, if you use the R and G planes, then all R and G data from the pre explosion bitmap will be erased, while the B and I data will remain in the background of the explosion, static. If you were to combine this with the palette patch for the pre-explosion phase, you could get some pretty nifty effects...


Last edited by lemm on Thu Sep 30, 2010 5:22 am; edited 1 time in total
Back to top
View user's profile Send private message
levellass



Joined: 11 Oct 2006
Posts: 2044
Location: Ngaruawahia New Zealand

PostPosted: Thu Sep 30, 2010 1:48 am    Post subject: Reply with quote

And of course the palette used in game over:

Code:
#Colors as follows: $1F, white; $1E, yellow; $19, light purple; $1C, light red;
#                   $1B, light teal; $1A, light green; $19, light blue; $19, light green
#                   $07, light grey; $06, brown; $05, dark purple; $04, dark red
#                   $03, dark teal; $02 dark green; $01, dark grey  $00, black

#Palette used during Game Over
%patch $31BE2  $00 $01 $02 $03 $04 $05 $06 $07  $18 $19 $1A $1B $1C $1D $1E $1F  $03
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Keen: Modding Forum Index -> Patches: The Armageddon Machine All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group