09-06-2016, 02:51 AM

Not sure if I should post a new topic or post in an old one which is 4 years old, so I hope I'm not doing anything wrong by posting this :x

Hi everyone,

Lately, I've been trying to add a skill to characters that can only be used once, using J+A via Double Key Inputs

The idea was to make an additional bdy underground, and then opoint a permanent state 18 projectile that will hit and interrupt the character if he tries to use the move again. (Derived that idea from some threads I've read on this forum)

I've been somewhat successful, however, there are a few problems...

If two players use the same character, and one of them uses the skill, the other will not be able to use it.

Also, Rudolf with his D^J would become immune to the projectile which limits skill usage.

Are there any ways to fix these issues, or any better ways to add limited skills?

Hi everyone,

Lately, I've been trying to add a skill to characters that can only be used once, using J+A via Double Key Inputs

The idea was to make an additional bdy underground, and then opoint a permanent state 18 projectile that will hit and interrupt the character if he tries to use the move again. (Derived that idea from some threads I've read on this forum)

Code (Click to View)

CHARACTER-Code:
<frame> 210 LastWord_start1 pic: 0 state: 7 wait: 28 next: 390 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 sound: data\sfx\CutinCinema.wav bpoint: x: 43 y: 36 bpoint_end: wpoint: kind: 1 x: 27 y: 54 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 21 y: 18 w: 43 h: 62 bdy_end: bdy: kind: 0 x: 21 y: 900000 w: 43 h: 62 bdy_end: <frame_end> <frame> 390 LastWord_start2 pic: 0 state: 7 wait: 3 next: 391 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 sound: data\sfx\Hit_Fire.wav wpoint: kind: 1 x: 27 y: 54 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 21 y: 18 w: 43 h: 62 bdy_end: bdy: kind: 0 x: 21 y: 900000 w: 43 h: 62 bdy_end: <frame_end> <frame> 391 LastWord_explode pic: 60 state: 7 wait: 3 next: 392 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 48 y: 81 action: 109 dvx: 0 dvy: 0 oid: 211 facing: 1 opoint_end: wpoint: kind: 1 x: 27 y: 54 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 22 y: 24 w: 35 h: 58 bdy_end: bdy: kind: 0 x: 21 y: 900000 w: 43 h: 62 bdy_end: <frame_end> <frame> 392 LastWord_nothing pic: 61 state: 7 wait: 3 next: 393 dvx: 0 dvy: 0 dvz: 0 centerx: 42 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 wpoint: kind: 1 x: 28 y: 54 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 26 y: 26 w: 34 h: 56 bdy_end: bdy: kind: 0 x: 21 y: 900000 w: 43 h: 62 bdy_end: <frame_end> <frame> 393 LastWord_flame_front pic: 62 state: 7 wait: 0 next: 394 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 42 y: 41 action: 0 dvx: 0 dvy: 0 oid: 211 facing: 30 opoint_end: wpoint: kind: 1 x: 15 y: 36 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 28 y: 3 w: 23 h: 65 bdy_end: bdy: kind: 0 x: 18 y: 29 w: 48 h: 17 bdy_end: bdy: kind: 0 x: 21 y: 900000 w: 43 h: 62 bdy_end: <frame_end> <frame> 394 LastWord_flame_back pic: 62 state: 7 wait: 3 next: 395 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 42 y: 41 action: 0 dvx: 0 dvy: 0 oid: 211 facing: 31 opoint_end: wpoint: kind: 1 x: 15 y: 36 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 28 y: 3 w: 23 h: 65 bdy_end: bdy: kind: 0 x: 18 y: 29 w: 48 h: 17 bdy_end: bdy: kind: 0 x: 21 y: 900000 w: 43 h: 62 bdy_end: <frame_end> <frame> 395 LastWord_stars pic: 61 state: 1700 wait: 3 next: 396 dvx: 0 dvy: 0 dvz: 0 centerx: 42 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 40 y: 39 action: 40 dvx: 0 dvy: 0 oid: 9001 facing: 0 opoint_end: wpoint: kind: 1 x: 28 y: 54 weaponact: 20 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 26 y: 26 w: 34 h: 56 bdy_end: bdy: kind: 0 x: 21 y: 900000 w: 43 h: 62 bdy_end: <frame_end> <frame> 396 LastWord_permafire pic: 60 state: 7 wait: 3 next: 397 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 opoint: kind: 1 x: 49 y: 81 action: 130 dvx: 0 dvy: 0 oid: 211 facing: 1 opoint_end: wpoint: kind: 1 x: 27 y: 54 weaponact: 35 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 22 y: 24 w: 35 h: 58 bdy_end: bdy: kind: 0 x: 21 y: 900000 w: 43 h: 62 bdy_end: <frame_end> <frame> 397 LastWord_ban pic: 0 state: 0 wait: 0 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79 hit_a: 0 hit_d: 0 hit_j: 0 bpoint: x: 43 y: 36 bpoint_end: wpoint: kind: 1 x: 27 y: 54 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0 wpoint_end: bdy: kind: 0 x: 21 y: 18 w: 43 h: 62 bdy_end: opoint: kind: 1 x: 41 y: 900000 action: 100 dvx: 0 dvy: 0 oid: 223 facing: 0 opoint_end: <frame_end> |

BAN_SKILL-Code:
<frame> 100 LastWord_ban pic: 12 state: 18 wait: 0 next: 101 dvx: 0 dvy: 0 centerx: 40 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 0 itr: kind: 0 x: -9922 y: 27 w: 99999955 h: 127 zwidth: 99999 dvx: 0 fall: 1 vrest: 3 bdefend: 1 injury: 1 effect: 5 itr_end: itr: kind: 0 x: 9922 y: 27 w: -99999955 h: 127 zwidth: 99999 dvx: 0 fall: 1 vrest: 3 bdefend: 1 injury: 1 effect: 5 itr_end: opoint: kind: 1 x: 128 y: 42 action: 102 dvx: 0 dvy: 0 oid: 223 facing: 0 opoint_end: <frame_end> <frame> 101 LastWord_ban pic: 12 state: 18 wait: 0 next: 100 dvx: 0 dvy: 0 centerx: 40 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 0 itr: kind: 0 x: -9922 y: 27 w: 99999955 h: 127 zwidth: 99999 dvx: 0 fall: 1 vrest: 3 bdefend: 1 injury: 1 effect: 5 itr_end: itr: kind: 0 x: 9922 y: 27 w: -99999955 h: 127 zwidth: 99999 dvx: 0 fall: 1 vrest: 3 bdefend: 1 injury: 1 effect: 5 itr_end: opoint: kind: 1 x: 128 y: 42 action: 102 dvx: 0 dvy: 0 oid: 223 facing: 1 opoint_end: <frame_end> <frame> 102 LastWord_ban_shot pic: 12 state: 18 wait: 0 next: 102 dvx: 444 dvy: 0 centerx: 40 centery: 41 hit_a: 0 hit_d: 0 hit_j: 0 hit_Fa: 0 itr: kind: 0 x: -9922 y: 27 w: 99999955 h: 127 zwidth: 99999 dvx: 0 fall: 1 vrest: 3 bdefend: 1 injury: 1 effect: 5 itr_end: itr: kind: 0 x: 9922 y: 27 w: -99999955 h: 127 zwidth: 99999 dvx: 0 fall: 1 vrest: 3 bdefend: 1 injury: 1 effect: 5 itr_end: <frame_end> |

I've been somewhat successful, however, there are a few problems...

If two players use the same character, and one of them uses the skill, the other will not be able to use it.

Also, Rudolf with his D^J would become immune to the projectile which limits skill usage.

Are there any ways to fix these issues, or any better ways to add limited skills?