Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AI problem please help!
#1
Hello friends, I am new here. I have made my first character named TemplateEX. I have given him a lot of special moves.

The problem is that the computer doesn't know any of his special moves. I can do his special moves but the computer doesn't uses it.

I think that I have to give AI (Artificial Intelligence) to my character. How to give AI to a character? Please anybody help me!

Click the link below to download my character:
http://www.lf-empire.de/forum/attachment.php?aid=2667
Life is like a bicycle; to keep your balance, you must keep moving.
Reply
Thanks given by:
#2
Well, I can see that U added all possible key combinations for the 7 special moves, so I don't guarantee that U can make them ALL work. The AI is stored in the id U gave the character, so if U gave the character davis id for example, he will just act like the computer davis, throwing balls when he is away and using dragon punch when he is near, and only use the special moves that was given to davis. Also if U gave your character an id which is not used by the original fighters the character will not do any special moves(sometimes by accident).
Also: it is ok to use the same id twice in the same text file.
[Image: signature.png]
A-Engine: A new beat em up game engine inspired by LF2. Coming soon

A-Engine Dev Blog - Update #8: Timeout

Reply
Thanks given by: professional DCer
#3
(03-19-2012, 04:08 AM)A-MAN Wrote:  Well, I can see that U added all possible key combinations for the 7 special moves, so I don't guarantee that U can make them ALL work. The AI is stored in the id U gave the character, so if U gave the character davis id for example, he will just act like the computer davis, throwing balls when he is away and using dragon punch when he is near, and only use the special moves that was given to davis. Also if U gave your character an id which is not used by the original fighters the character will not do any special moves(sometimes by accident).
Also: it is ok to use the same id twice in the same text file.

Thanks for your help! but is their really no way to give AI to a character?
Life is like a bicycle; to keep your balance, you must keep moving.
Reply
Thanks given by:
#4
yes even i want this answer.. pls answer someone.. :/
Reply
Thanks given by:
#5
Other than using Hex edit, it is actually quite difficult but not impossible, however it is a completely different field of study, since it will require to utilize the template AI that is allocated for every ID possible.

Well if you really want to learn about this, I'm more than glad to present my lf2 mod, in which the AMAS system is a great reinforcement of the general AIs, and the system is fully based on .dat file editing.

My mod: LF2 Hetero Clash
Reply
Thanks given by:
#6
can you explain what you mean A-MAN said it just use an id from the one of the original character depending on the numbers of moves it has moves and the number of moves you give your character although it can't be used for transformations transformations work only with original id or it will be missed up.......it's okay for to characters to have the same id but if you use louis or Rudolf's id it will miss up there transformation.
hope this helps
<a href="http://www.herofighter.com/" target="_blank" title="Hero Fighter"><img src="http://herofighter.com/banner/468x85.jpg" alt="Hero Fighter" border="0"></a>
my dragon (Click to View)
Reply
Thanks given by:
#7
That said, my AMAS system does not "use" any of D>A, D>J commands, I call them traditional commands, they can only be used by AIs which are set to use them.

In the exe file of lf2 (lf2.exe), every id are provided with the same AI pattern except a few. They include davis, henry, sorcerer, etc... They can be studied in the combo list provided in lf2. Then, if you try to play against bandit, knight or template, they don't use any moves, walk up and fight blandly. They are examples of the "default AI" in the game, in which even if you put more characters into the game, they only use the "default AI" but not from davis or etc.

From A-MAN's words, if a new character is inserted into the game, as long as it doesn't belong to any of the "set AI" like davis one, it will generally follow the battle style of bandit. If you make the character with the same id as davis, it will perform like davis but you cannot summon either of them in stage or using opoint. If you changed davis's id to like 345 where it is not preset, davis will fight like bandit and forget the moves. That also has problem on Louis and Rudolf's transformation by sharing the ids.
Reply
Thanks given by:
#8
Or, you can change AI using OllyDbg.

>>Tutorial Part 1<<
>>Tutorial Part 2<<

BP the great Blue Phoenix Wrote:Why are you so allergic to the search function?
Epic quote.
[Image: icyboards-ad-468x60.gif]
Reply
Thanks given by: professional DCer




Users browsing this thread: 1 Guest(s)