Dreadlord Posted May 29, 2003 Share Posted May 29, 2003 I was wondering - is it possible to make it so that every time a map is loaded, a trigger runs that determines the height randomly of say, blocks on a 20x20 grid? Say, for a maze? I was thinking that it would be...using something to move brushes dynamically... Link to comment Share on other sites More sharing options...
Emon Posted May 29, 2003 Share Posted May 29, 2003 Maybe for MP you could do some code that would create it or move the brushes. Link to comment Share on other sites More sharing options...
Dreadlord Posted May 29, 2003 Author Share Posted May 29, 2003 I figured - the question is how Link to comment Share on other sites More sharing options...
Dreadlord Posted May 29, 2003 Author Share Posted May 29, 2003 Okay...so how do I do this? EDIT: I figure maybe something that moves the brushes that its targeted at by a random amount for each brush? (say -80 to 80)...How would I do this/find someone who can write this? Link to comment Share on other sites More sharing options...
Dreadlord Posted May 29, 2003 Author Share Posted May 29, 2003 How do I make a random factor in this? Specifically, I've got doors - and I want the doors to either go up or down, and by a specified amount....random for up or down, random for amount. How do I do this? Link to comment Share on other sites More sharing options...
Dreadlord Posted May 29, 2003 Author Share Posted May 29, 2003 Or how do I make a platform continusly move? (I reaaaly don't want to have to use an up-down train) Link to comment Share on other sites More sharing options...
Business_Eskimo Posted May 30, 2003 Share Posted May 30, 2003 Originally posted by Dreadlord How do I make a random factor in this? Specifically, I've got doors - and I want the doors to either go up or down, and by a specified amount....random for up or down, random for amount. How do I do this? As of right now, you can't. Or how do I make a platform continusly move? (I reaaaly don't want to have to use an up-down train) You will have to. Sorry. Link to comment Share on other sites More sharing options...
Dreadlord Posted May 30, 2003 Author Share Posted May 30, 2003 Noooooooo! So there is not one way to add a random factor to make brushes? Is there any way to make the floor of a room warp randomly? Link to comment Share on other sites More sharing options...
aazell Posted June 4, 2003 Share Posted June 4, 2003 Nope sorry mate but levels are static. You may be able to write some code that generates spawning of enemys in a random fasion but as for moving brushes and stuff it's going to be the same every time. The reason for this is once you compile your map the map structure is set in stone. It cannot be changed. Changing maps is what the editor is for. If you wanted to change the map each time you play then you would have to recompile after each change. One other idea is you could have a bunch of func_doors that make the walls to your maze and then create some kind of series of triggers that open some doors and close others. Just a thought. Sorry again. Nice idea though Link to comment Share on other sites More sharing options...
Dreadlord Posted June 5, 2003 Author Share Posted June 5, 2003 Well, after close examination, it appears there IS a way to make it look like its random....func_bobbing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.