collapse

Author Topic: Tekken style guard  (Read 518 times)

0 Members and 1 Guest are viewing this topic.

Offline I.E.T. Arcade

  • Contributor
  • ****
  • Posts: 344
  • Country: United Kingdom gb
  • Last Login:May 15, 2020, 01:18:02 PM
Tekken style guard
« on: December 18, 2014, 01:04:24 AM »
The default guarding on mugen locks the opponent into a guard state from quite a distance away making it impossible for the opponent to back away from an assault since they keep getting locked into the guard state on retreat. In tekken the guarding is initiated on impact or within point blank range.  By changing the guard distance in the hitdef for the attacks I can get the desired effect. Only the cpu AI seems to become retarded once guard distance is altered in the hitdef, rarely blocking attacks. Attacks even land on a standing dummy with automatic guarding on in practice mode..... Is there a way around this? I want the guard state to happen only when an attack is point blank so the player can play a more evasive game but without rendering the cpu player retarded.

Any help would be much appreciated.



Offline O Ilusionista

  • Since 1999 and kicking :)
  • IMT Content Architect
  • *
  • Posts: 12468
  • Country: Brazil br
  • Last Login:June 08, 2024, 01:39:46 PM
  • OpenBOR & Mugen addicted
    • BMT - Brazil Mugen Team
    • Email
Re: Tekken style guard
« Reply #1 on: December 18, 2014, 12:20:44 PM »
Maybe its an error with your guarda code. Post it here so se can take a look.

Offline I.E.T. Arcade

  • Contributor
  • ****
  • Posts: 344
  • Country: United Kingdom gb
  • Last Login:May 15, 2020, 01:18:02 PM
Re: Tekken style guard
« Reply #2 on: December 18, 2014, 12:27:23 PM »
(click to show/hide)


Offline Cyanide

  • MUGEN Content Architect
  • *****
  • Posts: 813
  • Last Login:March 29, 2019, 06:52:34 AM
    • Mugen Obscurity
Re: Tekken style guard
« Reply #3 on: December 18, 2014, 11:35:09 PM »
The thing there is the AI is probably cycling within state 120 state 0, and will take damage. You could allow the drop out to occur if you're in state 130 and not inguarddist so it would always go to the guarding portion. Drop out would just be if you stopped holding back.

What's your AI code doing? I assume it is using inguarddist to activate as well. I had to use state 130 for AI guarding once because the startup broke stuff.

Offline I.E.T. Arcade

  • Contributor
  • ****
  • Posts: 344
  • Country: United Kingdom gb
  • Last Login:May 15, 2020, 01:18:02 PM
Re: Tekken style guard
« Reply #4 on: December 19, 2014, 09:27:38 PM »
The thing there is the AI is probably cycling within state 120 state 0, and will take damage. You could allow the drop out to occur if you're in state 130 and not inguarddist so it would always go to the guarding portion. Drop out would just be if you stopped holding back.

What's your AI code doing? I assume it is using inguarddist to activate as well. I had to use state 130 for AI guarding once because the startup broke stuff.

Thanks it's works. You're the man.  :Terry

Tags:
 


* IMT Facebook

Help us by Donating!

IMT Discord

Join us at our Discord! Click the image below!

* IMT Shoutbox

Sorry, this shoutbox does not exist.

* Recent Posts

Virtual Bart Science Fair by Lord_Enemil
[June 15, 2024, 08:23:51 PM]


Classic VS : Cheng / Athena by ELECTRO
[June 13, 2024, 03:03:58 PM]


Marvel vs. Capcom: Eternity of Heroes REMAKE Game Update 1.3.0 - N.A.O.H. by Uche_of_IMT
[June 10, 2024, 11:25:24 PM]


Street Fighter Spec Ops 2021 by O Ilusionista
[June 08, 2024, 01:36:06 PM]


Lasombra's IKEMEN Go Interactive Stages' WIP Topic and Releases by Lasombra Demon
[June 06, 2024, 07:34:10 PM]


Kirby the Dream Battle by O Ilusionista
[June 06, 2024, 01:04:12 PM]


Neo Geo Pocket by malevka2
[June 05, 2024, 10:53:57 AM]


[WIP] Pocket Dimensional Clash 2 by O Ilusionista
[June 03, 2024, 03:18:12 PM]


[BOR] _Avengers United Battle Force_ by O Ilusionista
[June 03, 2024, 03:13:51 PM]


Mega Man & Bass - Dynamo Man by Sir Rousseau by O Ilusionista
[June 03, 2024, 03:09:50 PM]

* IMT Calendar

June 2024
Sun Mon Tue Wed Thu Fri Sat
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
[16] 17 18 19 20 21 22
23 24 25 26 27 28 29
30

SimplePortal 2.3.5 © 2008-2012, SimplePortal