View previous topic :: View next topic |
Author |
Message |
Jad On a Rampage!
Joined: 14 Jan 2007 Location: Heck
|
Posted: Sat Sep 28, 2013 9:43 pm Post subject: A_Jump / A_RandomJump |
|
|
MBF has the codepointer A_RandomJump (which is replaced by A_Jump in Zdoom) which allows for the random advancement of a frame.
MBF uses "Unknown 1" for the chance (0 being never, 255 being always) and "Unknown 2" for the number of frames to skip.
This is how ZDoom implements it with decorate, but the function is the same.
http://zdoom.org/wiki/A_Jump
Test wad:
The barrel should have a 50% chance of blowing up, every time its spawn frame is reached (every 6 tics).
jumpTest.wad
Edit: The DEHACKED lump in the wad uses the "Jump" codepointer, but "RandomJump" doesn't do anything either.
Edit: More on the MBF codepointers from this thread; http://forums.zdaemon.org/viewtopic.php?t=14243&sid=f4b170f08682c16f31e3b81106e94cf7 |
|
Back to top |
|
|
Aeyesx Dominating!
Joined: 13 Oct 2012
|
Posted: Thu Sep 18, 2014 11:20 pm Post subject: |
|
|
This feature has been implented as of ZDaemon 1.10 Beta03
Well this is original post, yet there is newer duplicate that was kinda more alive... so..
http://forums.zdaemon.org/viewtopic.php?t=16091 |
|
Back to top |
|
|
|