printz Posted March 31, 2015 How would I best implement random effects in Boom/MBF maps? For example I want a switch that will teleport some things by moving a conveyor. I want the things that get teleported to be random. For example, I want a switch that for each press, "spawns" a random item/monster/whatever. Do you think I can use a roaming lost soul for this? Is the perpetual lift initially random? Which has the best randomness? 0 Quote Share this post Link to post
Memfis Posted March 31, 2015 "Floor start moving up and down" is pretty good for randomness I believe. In Map04 of Grid 32 it is used to randomly make only one of the four red keys available. Don't ask me to explain how it works though... 0 Quote Share this post Link to post
Linguica Posted March 31, 2015 A while back I made a test map to try and implement "true" randomness: https://www.dropbox.com/s/01q2wfwswhgjzim/random.zip It uses the fact that if a monster is blocked from moving towards the player like it wants to, it will pseudorandomly start checking other directions, starting from either east or southeast, with a 50/50 probability. You could use something like this to make a monster end up at one of several linedef triggers to do whatever. But it would probably be overkill. 0 Quote Share this post Link to post
traversd Posted April 1, 2015 Might be best off to use the lost soul random teleport setup to randomize the sequence at the start of the map and then the switch can cycle through the sequence when the player gets to it? 0 Quote Share this post Link to post
Maes Posted April 1, 2015 Trying to implement my Jinx concept with true randomness, rather than imperceptible triggers? :-) 0 Quote Share this post Link to post
scifista42 Posted April 1, 2015 The idea with exploiting monster walking sounds the best. But for a cleaner way, you would use MBF BEX random codepointers in a custom thing, that would randomly either make itself disappear, or not, and it the latter case it would be set up to trigger a linedef action. 0 Quote Share this post Link to post
printz Posted April 1, 2015 scifista42 said:But for a cleaner way, you would use MBF BEX random codepointers in a custom thing, that would randomly either make itself disappear, or not, and it the latter case it would be set up to trigger a linedef action. Funny I forgot about that! Thanks. 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.