![]() |
|
Normal punch - more variety - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: Data Changing (https://lf-empire.de/forum/forumdisplay.php?fid=11) +--- Thread: Normal punch - more variety (/showthread.php?tid=8534) |
Normal punch - more variety - Memento - 02-06-2013 Is it possible to modify the data so that you can bring more variety in the normal punch? For exemple: Normal = randomly punch left or punch right New = randomly punch left, punch right, kick left of kick right This way the punching won't always look the same AKA boring. Can you change the punching to something like this with data changing, or would it involve something else like hex? RE: Normal punch - more variety - Electric2Shock - 02-06-2013 Has to do something with HEX I believe...... LF2 already randomly chooses between frame 50 and frame 55 (if I am not wrong). The algorithm needs some fixing in a way that the same frame would not be chosen twice. RE: Normal punch - more variety - YinYin - 02-06-2013 With DC: not in the same perfectly random way. (02-06-2013, 05:52 PM)Electric Shock Wrote: LF2 already randomly chooses between frame 50 and frame 55 (if I am not wrong).60 65 RE: Normal punch - more variety - Alblaka - 02-06-2013 @ YinYin: Not for a player, that is. But one could add an additional complex key input (f.e. dja) in the first punching frame, which leads to a kick frame (left and right respectively). Then code an AI which randomly chooses one of the attacks. Alternatively, you could create a dummy object to replace the character, add the AI to the dummy, have it perform a random choice and then base the characers move on that choice (issue would be the noticeable 2-tick delay, if not more.) |