Shhhh don't tell anyone
Here is another plugin I created. It allows you to execute a Lua script in the webadmin.
Here is another plugin I created. It allows you to execute a Lua script in the webadmin.
Random Chitchat 2012-2016
|
||||||||
Shhhh don't tell anyone
Here is another plugin I created. It allows you to execute a Lua script in the webadmin.
12-06-2013, 12:51 AM
12-06-2013, 01:08 AM
Yea I'm using math.random() so if you use /regen you get other terrain.
I love seeing what I can do with plugins.
12-06-2013, 01:50 AM
I think you can make it regen-safe by calling math.randomseed() with a number as the argument that is calculated from the chunk X and Z coords - for example:
But that would mean I get the same height for every X, Z coordinate in the chunk? Would this work if I want to get a different height for every block?:
Hurray I have something that actualy works
12-06-2013, 04:24 AM
You shouldn't call math.randomseed() for each column, but only once per chunk.
12-06-2013, 06:23 AM
Realy? But how do I get a new height for each block then?
12-06-2013, 06:33 AM
Thanks given by: NiLSPACE
12-07-2013, 12:00 AM
Because I can't find the problem about the pickups spawning, and a recompile doesn't work I have exported a .dmp file using "TaskInfo" and uploaded it: http://www.mediafire.com/download/bo6kto...287%29.zip
12-07-2013, 06:57 AM
You know what would be cool? A MCS t-shirt to show off I'm no graphic designer, so take it easy on me, but something like this? Me wants! SANTAAAA! I've been really good, look how many commits I've made this year!
| ||||||||
« Next Oldest | Next Newest »
|