Posts: 417
Threads: 56
Joined: Jan 2009
i really want to use random. not a "frame" method like that, so it'll be really an EXE editing?
and have u tried a char with more than 399 frames? it really happened.
Thanks given by:
Posts: 478
Threads: 21
Joined: Apr 2008
03-12-2009, 02:27 PM
(This post was last modified: 03-12-2009, 02:28 PM by SirFrog.)
Let me explain how this random-method works (since nobody ever downloaded it. 1 so far):
First, you spawn two (or more, depending on how many different outcomes you want) balls, preferably kind: 3. Note that it have to be different balls. In each of these balls hit-frame, there's an itr-kind: 8 which each leads to a different part of the attack (better memorize this).
Next, the char has a frame with a bdy which covers the area where all of the itrs in the balls hit-frame should be.
Then, the char hits all balls with an itr with an arest, making it hit only one ball. Now of the balls will be prioritized by the exe, and this is completely random. the hit ball's itr will then catch the nearest type: 0-bdy (which is the char performing the move) and take him to it's pre-determined frame. The others will have a next: 1000 which will delete them if they weren't hit.
Each of the balls will have an equal chance of being hit, and there will be an equal chance of doing either part of the attack.
Get it now?
Thanks given by:
Posts: 4,878
Threads: 162
Joined: Mar 2008
There is no perfect randomizer possible to make. The computer can pretend to randomize stuff but after a time you'll notice a pattern. Just wanted to add that. And about the DCing-solution: sounds easy enough to realize, there wouldn't be any need of hex-editing it (I generally dislike exe-edits if it's not for a mod). I'd only use hex (aka. bother Silva) when there is no / a very complicated, buggy way of DCing.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~
"Freeze, you're under vrest!" - Mark, probably.
» Gallery | » Sprites | » DeviantArt
Thanks given by: