Blood splatters
March 19th 2004, 10:23 AM

D.G.Ford


How would I stop blood from flowing everytime somone gets hit?
How might I replace that seq with another, say sparks if the thing hit was a robot?
How might I replace that seq with another, say sparks if the thing hit was a robot?
How might I replace that seq with another, say sparks if the thing hit was a robot?
The blood sequences are 188 and 189. The graphics for these blood sequences can be found in graphics\effects\spurt\sprtl (188) and graphics\effects\spurt\sprtr- (189). Replace these with sequences of your own and you'll have different blood.
The blood sequences are 188 and 189. The graphics for these blood sequences can be found in graphics\effects\spurt\sprtl (188) and graphics\effects\spurt\sprtr- (189). Replace these with sequences of your own and you'll have different blood.
reDink v0.04 (A modified verson of Dink) has a way to do this.) Otherwise you could put something like this in the monster's his procedure:
int &junk = get_sprite_with_this_brain(5, 1); if (&junk > 0) { sp_seq(&junk, 166); sp_brain(&junk, 7); }
But if other sprites with brain 5 (play seg, draw last frame to background), such blood spurts from other monsters, are around, that might not work.
int &junk = get_sprite_with_this_brain(5, 1); if (&junk > 0) { sp_seq(&junk, 166); sp_brain(&junk, 7); }
But if other sprites with brain 5 (play seg, draw last frame to background), such blood spurts from other monsters, are around, that might not work.