Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Lunar

Pages: [1] 2 3 ... 63
1
Creative Features / [Scripts] HUD Menu!
« on: March 18, 2017, 11:00:27 PM »
This was nested in a question someone wanted wondering how to create my HUD Menu I have created, I decided to make a post dedicated to it, if you want any animation/customization help PM me, here is how it all works...



Script: Menu



HUDText [option1] [option 1]
HUDText [option2] [option 2]
SetEventScript [ButtonX] [Scroll]
SetEventScript [ButtonY] [Select]
SetEventScript [ButtonB] [Close]




Script: Scroll



If
HasHistory [scroll] [player] [=] [0]
Then
History [scroll] [player] [+1]
HUDText [option2] [option 2] //reverts the option 2 back to normal so 2 arrows dont show
HUDText [option1] [option 1 <<<] //gives an arrow so they know which one they are about to select
ElseIf
HasHistory [scroll] [player] [=] [1]
Then
History [scroll] [player] [delete]
HUDText [option1] [option 1]
HUDText [option2] [option 2 <<<]
Else
EndIf




Script: Select



If
HasHistory [scroll] [player] [1]
//if they are hovering over the first option, its 1 history, 2nd is 2, 3rd is 3, and the last option is 0 (none)
Then
//do whatever option 1 does
History [scroll] [player] [delete]
SetEventScript [ButtonX] [] [none]
SetEventScript [ButtonY] [] [none]
SetEventScript [ButtonB] [Back] [Back]
ElseIf
HasHistory [scroll] [player] [0]
Then
//do whatever option 2 does
History [scroll] [player] [delete]
SetEventScript [ButtonX] [] [none]
SetEventScript [ButtonY] [] [none]
SetEventScript [ButtonB] [Back]
Else
EndIf




Script: Back



HUDText [option1] [option 1]
HUDText [option2] [option 2]
SetEventScript [ButtonX] [Scroll]
SetEventScript [ButtonY] [Select]
SetEventScript [ButtonB] [Close]
History [scroll] [player] [delete]




Now, that is just the basic framework for it, there is still more things you could do, make one menu option open a lot of different options, which then you would have to make a second Scroll and Select script so they can work with the second set of options, you could add animations, and a background for the menu.


2
Creative Features / [Scripts] Re: Gun Script Help
« on: March 18, 2017, 10:57:39 PM »
You could also add an ammo history to make it more realistic, and particles, this is very basic and could be improved a lot.

3
Contests / Re: Xbox Cash Giveaway
« on: February 25, 2017, 09:04:57 PM »
Id like to win.

4
Your world / [WIP] Re: MineZ on TotalMiner
« on: February 22, 2017, 06:13:49 PM »
I made DayZ once, too bad no one ever plays my maps, have fun.

5
Total Miner Discussion / [Other] Re: Old but fun bugs and glitches
« on: February 11, 2017, 12:14:14 PM »
certain transparent blocks killing you, like trapdoors and stairs.

The topic is about bugs that don't still exist in the game. Lol

xD That is by far the funniest thing ive seen all week.

6
Ideas / Re: World size option
« on: February 11, 2017, 12:12:54 PM »
I've always wanted to make a map thats 1 chunk, but REALLY deep, so it'd be called the 1 Chunk Challenge, and the further down you go, the better pick you need, and you can find small dungeons, hidden chests, cool stuff like that, it would be so fun.

7
Ideas / Re: Bool
« on: February 11, 2017, 12:11:12 PM »
Then Im confused, if he wants something global like history, whats the point of this, because hes asking for History but renamed, I really dont see the need.

8
Your world / [Challenge] Re: sora1kg's Challenge map
« on: February 11, 2017, 12:09:29 PM »
I think I played this before I lost gold, if its the map im thinking of, you need to play it! Its so much fun because its revolving around scripts so its very unique.

9
Creative Features / [Scripts] Re: Help/Give a free item
« on: February 11, 2017, 12:05:24 PM »
For future reference, use the "Help Needed" prefix if you need help.

10
Total Miner Discussion / [Other] Re: Old but fun bugs and glitches
« on: February 11, 2017, 12:02:10 PM »
Going into blocks randomly, certain transparent blocks killing you, like trapdoors and stairs.

11
Total Miner Discussion / [Creative] Re: The creative side of Particles
« on: February 11, 2017, 12:00:29 PM »
That's the coolest thing, dryym, you should get the particle and animate it, I wanna see that.

12
Ideas / Re: Bool
« on: February 09, 2017, 05:54:34 PM »
I think he wants bools as a local type thing, history is throughout all scripts, but you could just make something like..

var [bool] = [1]
// 1 being true

var [bool] =

// 0 being false

13
Fun House / Re: 48 65 78 61 64 65 63 69 6d 61 6c 20 43 68 61 74
« on: January 28, 2017, 11:03:47 AM »
20 20 20 41 63 63 6f 72 64 69 6e 67 20 74 6f 20 61 6c 6c 20 6b 6e 6f 77 6e 20 6c 61 77 73 20 6f 66 20 61 76 69 61 74 69 6f 6e 2c 20 20 20 20 20 74 68 65 72 65 20 69 73 20 6e 6f 20 77 61 79 20 61 20 62 65 65 20 73 68 6f 75 6c 64 20 62 65 20 61 62 6c 65 20 74 6f 20 66 6c 79 2e 20 20 20 20 20 49 74 73 20 77 69 6e 67 73 20 61 72 65 20 74 6f 6f 20 73 6d 61 6c 6c 20 74 6f 20 67 65 74 20 69 74 73 20 66 61 74 20 6c 69 74 74 6c 65 20 62 6f 64 79 20 6f 66 66 20 74 68 65 20 67 72 6f 75 6e 64 2e 20 20 20 20 20 54 68 65 20 62 65 65 2c 20 6f 66 20 63 6f 75 72 73 65 2c 20 66 6c 69 65 73 20 61 6e 79 77 61 79 20 20 20 20 20 62 65 63 61 75 73 65 20 62 65 65 73 20 64 6f 6e 5c 27 74 20 63 61 72 65 20 77 68 61 74 20 68 75 6d 61 6e 73 20 74 68 69 6e 6b 20 69 73 20 69 6d 70 6f 73 73 69 62 6c 65 2e 20 20 20 20 20 59 65 6c 6c 6f 77 2c 20 62 6c 61 63 6b 2e 20 59 65 6c 6c 6f 77 2c 20 62 6c 61 63 6b 2e 20 59 65 6c 6c 6f 77 2c 20 62 6c 61 63 6b 2e 20 59 65 6c 6c 6f 77 2c 20 62 6c 61 63 6b 2e 20 20 20 20 20 4f 6f 68 2c 20 62 6c 61 63 6b 20 61 6e 64 20 79 65 6c 6c 6f 77 21 20 4c 65 74 5c 27 73 20 73 68 61 6b 65 20 69 74 20 75 70 20 61 20 6c 69 74 74 6c 65 2e 20 20 20 20 20 42 61 72 72 79 21 20 42 72 65 61 6b 66 61 73 74 20 69 73 20 72 65 61 64 79 21   

14
Fun House / Re: Fun fact
« on: January 28, 2017, 10:59:33 AM »
Bananas are actually more scientifically known as an herb.

15
Introductions / Re: Hi all!
« on: January 28, 2017, 10:52:26 AM »
Welcome!

Pages: [1] 2 3 ... 63