YesNoOk
avatar

Auto Target (Read 1545 times)

Started by N_Shikamaru, February 24, 2008, 02:43:32 pm
Share this topic:
Auto Target
#1  February 24, 2008, 02:43:32 pm
  • avatar
  • *
hello guys!
i have a problem, i want to disable the auto target(ing) of the char, the char should be able to move around like he wishes without targeting the enemy
i looked around the common file but couldnt figure it out
i hope someone will help me:)
Re: Auto Target
#2  February 24, 2008, 03:05:13 pm
  • ****
  • Coming Soon?
try looking at [mcode]assertspecial[/mcode] in the docs (click it)

also do you mean like auto turn disabling?
Latest Yoshi alpha ready for feedback Aug 15th check here for details...
Re: Auto Target
#3  February 24, 2008, 04:44:30 pm
  • avatar
  • *
try looking at [mcode]assertspecial[/mcode] in the docs (click it)

also do you mean like auto turn disabling?


i tried it also with assertspecial some things but it didnt work so i dotn think it will solve my problem

and yes auto turn as well
Re: Auto Target
#4  February 24, 2008, 08:51:04 pm
  • ******
  • [E]
    • Mexico
did you put it in st-2 ?
Re: Auto Target
#5  February 25, 2008, 05:44:06 pm
  • avatar
  • *
Re: Auto Target
#6  February 25, 2008, 06:15:31 pm
  • ******
  • [E]
    • Mexico
there is a reason for it not to be working, do you have anymore assert specials ?
also, by not working, what do you mean ?
Re: Auto Target
#7  February 25, 2008, 06:18:19 pm
  • avatar
  • *
you know (already)the reason why its not working?
and i dont have other assert specials,
and it simply does not work, mean there is nothing that this code makes just nothing, you would say noautoturn or whatever error but there is still nothing  ???
Re: Auto Target
#8  February 26, 2008, 12:28:06 am
  • ******
  • [E]
    • Mexico
that code makes it so your charatcer does not turn automatically, it should be working; so now i assume that you want a more complex effect than what you are achieving. the only thing that code does is making it so if the other character gets in your character's back, he won't turn to face him.

if you need something more post about it because my mind reading skills don't work well over the internet.
Re: Auto Target
#9  February 26, 2008, 01:35:27 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Quote
you know (already)the reason why its not working?

Analogy time...

You go to the doctor and make a general statement of "i'm sick" does he INSTANTLY provide you with the solution? Or does he ask for (and hopefully recieve) more info from you.

By the same token, "it doesn't work" tells us very little. Your definition of not working based on your current problem could be any number of things due to the fact you haven't given us any real details of what you're trying to achieve and when.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Auto Target
#10  February 26, 2008, 04:04:54 pm
  • avatar
  • *
the only thing that code does is making it so if the other character gets in your character's back, he won't turn to face him.

if you need something more post about it because my mind reading skills don't work well over the internet.

true, that was not what i wanted


Quote
you know (already)the reason why its not working?

Analogy time...

You go to the doctor and make a general statement of "i'm sick" does he INSTANTLY provide you with the solution? Or does he ask for (and hopefully recieve) more info from you.

By the same token, "it doesn't work" tells us very little. Your definition of not working based on your current problem could be any number of things due to the fact you haven't given us any real details of what you're trying to achieve and when.

ok srry for being not exactly you are right you cant help me if i dont explain it well
ok so then, i want that the char should not auto target or auto face the enemy, i mean he should be able to move around at his will but during not target the enemy so in praxis the char only have forward (i believe, if it goes well)
Re: Auto Target
#11  February 26, 2008, 04:47:48 pm
  • ******
  • [E]
    • Mexico
there are two ways (sheeh, try being more specific) one is having your character only turn when you presas a button, like guilty gear isuka, the other is having the char facing the last pressed direction, like in the platform games.
Re: Auto Target
#12  February 26, 2008, 04:57:09 pm
  • avatar
  • *
there are two ways (sheeh, try being more specific) one is having your character only turn when you presas a button, like guilty gear isuka, the other is having the char facing the last pressed direction, like in the platform games.

i think my idea fits the second one^^
ah w8 i have found a char that is like i want it to be
http://www.sendspace.com/file/9uptnk     
Re: Auto Target
#13  February 26, 2008, 05:28:59 pm
  • ******
  • [E]
    • Mexico
you will have to overwrite state 20 and have a turn sctrl based on facing.
Re: Auto Target
#14  February 26, 2008, 09:08:18 pm
  • avatar
  • *
you will have to overwrite state 20 and have a turn sctrl based on facing.

hope i finally could explain what i wanted ;P,
dont understand this, well the walking state? why that? if so then the effect i want would  be only for the walking or not?
can you explain it?
Re: Auto Target
#15  February 29, 2008, 07:23:51 pm
  • ******
  • [E]
    • Mexico
you need to explain exactly what you want to code, becuase two problems were alreeady solved and you still keep on coming for more.
Re: Auto Target
#16  February 29, 2008, 07:41:00 pm
  • avatar
  • *
you need to explain exactly what you want to code, becuase two problems were alreeady solved and you still keep on coming for more.

ok i want that the char should face the last faced direction, but for this i have to modify the common files but i dont know what and how?
thats it
Re: Auto Target
#17  March 01, 2008, 02:17:42 am
  • ******
  • [E]
    • Mexico
we are back to the first step: just use assert special of no autoturn with trigger1 = 1.

since that did not work, under which conditions do you wish your charatcer to change it's facing?
Re: Auto Target
#18  March 01, 2008, 12:00:08 pm
  • avatar
  • *
ok the assert special code makes that if the other character gets in my character's back, that he won't turn to face him, but i want that condition every time in every state, mean not only if the enemy gets in my back , meh hard to explain ,
well my char should face the last pressed direction ok the assert code makes that in a way but not exactly its only "available" if the other chars gets in my back but i want that condition everytime in every state, just you explained in your previous posts i want him to be like in platform games but the codes does not give the effect i want, well what i want is like the char i posted, there the char face the last pressed direction thats the best example
Re: Auto Target
#19  March 01, 2008, 04:53:04 pm
  • ******
  • [E]
    • Mexico
when deos he turn by himself?
Re: Auto Target
#20  March 01, 2008, 05:30:38 pm
  • avatar
  • *
when deos he turn by himself?


well never, if the enemy goes behind of my char then he does not turn he just faces the right side even if i hit my char he just faces the right, only the right

well should i send you the char so you can fix this?