04-04-2014, 04:34 PM
That's a good idea. Here are a few tweaks to it:
That new frame will look like this:
The injury 1 may not be a high healing value, but it won't make the hp bar flash like Johns heal does. Also the on_hand frame 31 will opoint this frame pretty often. That way it should heal rather fast (only all dark red hp though). To make sure this bottle empties out quickly, just give it a low weapon_hp.
Only problem with this method is, that the character will hold the bottle in frame 31 at other times too (not just drinking).
(04-04-2014, 04:16 PM)kakuratso Wrote: In all chars I will change drink frameDon't change the characters drinking frame. That will mess up all normal bottle drinking and you would have to edit every character it is supposed to work with.
(04-04-2014, 04:16 PM)kakuratso Wrote: and in frame of weaponSpawning a healing object is a good idea. However Johns heal is a little unfitting, so let's just spawn a new frame from the bottle object itself:
DC-Code:
<frame> 31 on_hand pic: 31 state: 1001 wait: 0 next: 0 dvx: 0 dvy: 0 centerx: 24 centery: 40 hit_a: 0 hit_d: 0 hit_j: 0 wpoint: kind: 2 x: 37 y: 19 weaponact: 0 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: itr: kind: 5 x: 19 y: 15 w: 22 h: 14 dvx: 8 fall: 20 bdefend: 16 injury: 789 itr_end: opoint: kind: 1 x: 24 y: 40 action: 390 dvx: 0 dvy: 0 oid: #bottle-id# facing: 0 opoint_end: <frame_end> |
That new frame will look like this:
DC-Code:
<frame> 390 heal pic: 99 state: 9997 wait: 1 next: 1000 dvx: 0 dvy: 0 centerx: 24 centery: 40 hit_a: 0 hit_d: 0 hit_j: 0 itr: kind: 8 x: 19 y: 15 w: 22 h: 14 dvx: 390 injury: 1 itr_end: <frame_end> |
The injury 1 may not be a high healing value, but it won't make the hp bar flash like Johns heal does. Also the on_hand frame 31 will opoint this frame pretty often. That way it should heal rather fast (only all dark red hp though). To make sure this bottle empties out quickly, just give it a low weapon_hp.
Only problem with this method is, that the character will hold the bottle in frame 31 at other times too (not just drinking).
favorite dcing techniques: wpoint | double key inputs | holding back | alternate basic moves