YesNoOk
avatar

AI Activation Code (Read 35810 times)

Started by Winane, April 24, 2004, 03:20:04 am
Share this topic:
Re: AI Activation Code
#61  January 08, 2008, 05:24:32 am
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
Well, just downloaded the three separated component methods and added to my character.



I haven't even started programming the AI yet because I noticed that when buttons are mashed, it gets activated.


This is the 2-Var method I'm using btw.


MEANING HELP PLEASE
Last Edit: January 08, 2008, 06:55:34 am by Jesuszilla

hjk

Re: AI Activation Code
#62  January 08, 2008, 05:38:30 am
  • ****
  • Watch my fro grow as you go, go, go, go, go.
    • Afghanistan
Single Independent Post:

In PotS's chars that use Winane's Method, I notice that they have a tendency not to activate. I had brought the issue up before and he changed his activation method, but the same flaw still appears.
Elix and Winane had both said that, PotS's Activation was a modification (Not sure about after the change though), but when the code is installed by them, it works properly 100% of the time.

I recently dabbled in two new Activation types that depend on the default AI and the speed at which you play Mugen.
The one I'm posting is like this because the Default AI has a tendency to go into jumping states:
[mcode]
[State -1, AI]
type = VarSet
triggerall = var(59) != 1
trigger1 = roundstate = 2
trigger1 = stateno = 40
trigger1 = command != "holdup"
trigger1 = time < 2
var(59) = 1
[/mcode]

I am also working on one that is mainly geared toward CvS chars, because the default AI has a major tendency to trigger only the "charge" (I think it's literally whatever command those quotes are designated to) so I'll try finishing that sometime soon.

These two codes will work based on:
- How 'impossible' (dead unlikely) it is for people to move on a single tick basis
- The speed at which mugen is Running
- and a few more things I do not have time to outline right now



If you have any potential flaws, please present them.
PotS, I think your [state -1] tick lapse belongs in this discussion if you are willing (and no I won't do what I did before).
LOL, Caddie's the man!! ;)

I'm as real as the runnin, I just happen to rap, Nigaas London, Japan, and i'm scared of dat tap.

I suggest extending my banning, cuz when I come back, it's gonna be hell. You think I was annoying before, oh man, it's on now :)
hjk vs. 99% of MFG. I will win.

RIP Poo Bear Tell my Dead Homie isson, for the year my partner.
Last Edit: January 08, 2008, 05:44:10 am by Tee Hee Hee
Re: AI Activation Code
#63  January 08, 2008, 05:50:54 am
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
Not too fond of the idea of a jump state activating AI. It just doesn't seem like it would activate as quickly.

hjk

Re: AI Activation Code
#64  January 08, 2008, 06:08:11 am
  • ****
  • Watch my fro grow as you go, go, go, go, go.
    • Afghanistan
Not too fond of the idea of a jump state activating AI. It just doesn't seem like it would activate as quickly.
Yeah, I understand that completely. I am really only using this method because I don't fully understand Winane's, nor how to implement it properly.
LOL, Caddie's the man!! ;)

I'm as real as the runnin, I just happen to rap, Nigaas London, Japan, and i'm scared of dat tap.

I suggest extending my banning, cuz when I come back, it's gonna be hell. You think I was annoying before, oh man, it's on now :)
hjk vs. 99% of MFG. I will win.

RIP Poo Bear Tell my Dead Homie isson, for the year my partner.
Last Edit: January 08, 2008, 06:36:39 am by Tee Hee Hee
Re: AI Activation Code
#65  January 08, 2008, 06:31:26 am
  • ******
    • www.mugenguild.com/pots/
they have a tendency not to activate
That's a really weird way to phrase it, since I don't see it happening. Anyway, that's the problem, I haven't seen the AI failing to activate so I can't pinpoint the cause. ???

And the difference is that, in my little modification, it detects pressing a direction rather than holding it, and doing so can detect human players (in the original directions only detect CPU).
Use anything you want from my works.  If you need to contact me use email, not private messages.
Last Edit: January 08, 2008, 06:36:40 am by (TOE)P.o.t.S.
Re: AI Activation Code
#66  January 09, 2008, 02:06:36 am
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
So is the 2-var XOR method a bit flawed, or am I doing something wrong?
Re: AI Activation Code
#67  January 09, 2008, 02:10:08 am
  • ******
    • www.mugenguild.com/pots/
You probably just missed or failed one of the steps, which is normal because the code is such a monster when you first see it. >_<
Tried redoing it?
Use anything you want from my works.  If you need to contact me use email, not private messages.
Re: AI Activation Code
#68  January 09, 2008, 04:27:17 am
  • ******
  • I'm a fuffy.
    • USA
    • www.trinitymugen.net
Copied EXACTLY as-is, save for the variables, all of which are correctly assigned.