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 - tredden

Pages: 1 ... 3 4 5 6 7 [8] 9 10 11 12 13 ... 18
106
Yeah, there really is no better shot than that tank.

107
Yeah, rave, you are desperately in need of some new screenshots... Maybe have a picture contest? See who can post the coolest Falling Tiles screenshot.

108
Modification Help / Re: Advanced Event Packs (Need beta testers!)
« on: June 03, 2013, 08:01:28 PM »
The epicness of this... makes me proud to be a blocklander.

109
(may have had help)

And by help, it means 5 clients all running rapid click mods.  :cookieMonster:

110
General Discussion / Re: LTX Dodgeball Tournament
« on: May 31, 2013, 01:05:34 AM »
Raven signed me up for this, so if he's gone i am too.

111
General Discussion / Re: LTX Dodgeball Tournament
« on: May 28, 2013, 11:35:04 PM »
Quote from: God of Mischief
Crossing middle line : Gives other team 1 point
Why not just have an invisible barrier...?
Invisible note: A ball can be grabbed from both sides with a 1x thick wall

Quote from: God of Thunder
Teamkilling : Killer gets put into sidelines for 3 rounds
Separate teams? Kind of inconvient if you get penalized for accidentally killing someone.


Quote from: God of War
Attempting to leave arena(corner jumping) : Sit out for 1 round
First of all, i would hope that your teams would be professional enough not to do that. Secondly, you have to have your back turned and that would make you a ridiculously easy target.



But if you want rules, just to have rules... then whatever.

112
General Discussion / Re: Advanced VCE techniques?
« on: May 26, 2013, 06:27:15 PM »
Uhm. I'm pretty sure that strings are capped at 200 characters. So the "infinately large" part isn't quite true...

Strings do not have caps. The number of characters that can be displayed on a single entry. (255 to be exact)

I have combined 3 of the above mentioned "advanced techniques" to show you about infinite databases.

Code: [Select]
0. onActivate Self	VCE_modVariable  Brick  num  Add  1
1. onActivate Self VCE_modVariable  Brick  data  Set  <var:br:data> <var:br:num>
2. onActivate Self VCE_modVariable  Brick  check  Set  -1
3. onActivate Self VCE_ifVariable  false  ==  false  4 8
4. onVariableFalse Self VCE_modVariable  Brick  check  Add  1
5. onVariableFalse Self VCE_modVariable  Brick  temp  Set  <var:br:data>
6. onVariableFalse Self VCE_modVariable  Brick  temp  Words  <var:br:check>
7. onVariableFalse  Client  ChatMessage  <var:br:temp>
8. onVariableFalse  Self  VCE_ifVariable  temp   ==   4 8

If you notice on event line 1, the variable "data" would be set to itself, then would add the variable "number" to the end of it with a space between them. As you can figure out, the database would become increasingly bigger on every click.

Now, I could just display the variable "data" to the client, but as I mentioned, there is a 255 character limit. So instead, i used a variable to loop to display every single item in the database. Heres proof:





ETC. ETC. ETC.





As you can plainly see, there is no character cap for strings. And if you don't believe the pics, use the events from the code, click it a bunch of times, then scroll up your chat.



And as for combining all 4 techniques for the animation studio, i used colorids instead of numbers. Im not going to tell you about one more crucial step for the studio, but i bet someone can figure it based on all this information...

113
It's up! Again!

114
General Discussion / Re: Advanced VCE techniques?
« on: May 23, 2013, 09:15:45 PM »
Yes i've read the manual forwards and backwards (which was really unproductive) so i know about functions and varlinks

115
General Discussion / Advanced VCE techniques?
« on: May 23, 2013, 08:18:46 PM »
I have been VCEventing for quite some time and have found a few "advanced" techniques.


~Both a brick's printid and colorid can be modified as a variable:
Code: [Select]
onActivate - Self - VCE_modVariable - colorid - Set - 0
This will set the brick color to the first color in the server's color set


~Creating Variable Arrays:
Code: [Select]
onActivate - Self - VCE_modVariable - number - Add - 1
onActivate - Self - VCE_modVariable - player<var:br:number> - Set - <var:cl:name>
This one will set the player's name to a different variable every click. Ex. The first click will set the player's name to variable "player1." The second will set it to "player2." etc.


~Creating Variable Loops:
Code: [Select]
0 [0] onActivate - Self - VCE_modVariable - timer - Set - 60
1 [0] onActivate - Self - VCE_ifVariable - timer - > - 0 [2 4]
2 [0] onVariableTrue - Self - VCE_modVariable - timer - Subtract - 1
3 [1000] onVariableTrue - Self - VCE_ifVariable - timer - > - 0 [2 4]
4 [0] onVariableFalse - Self - playSound - Beep_No.wav
This makes the variable "timer" 60. Then checks if the var is greater than 0. It is true, so "timer" would subtract 1, becoming 59. Then, after 1000ms (or 1 second), it checks it again, starting the loop over again, until eventually reading false, which ends the loop and plays a buzzer sound.


~Variable Databases:
This is the most advanced one i have learned. You can create infinitely large (in theory) databases on a single variable. How? Well it mostly has to do with the VCE_modVariable Word function. For instance:
Code: [Select]
0 [0] onActivate - Self - VCE_modVariable - data - Set - "orange apple banana grape"
1 [0] onActivate - Self - VCE_modVariable - temp - Set - <var:br:data>
2 [0] onActivate - Self - VCE_modVariable - temp - Word - 1
3 [0] onActivate - Client - centerPrint - <var:br:temp>
I bet just by reading the code, you can figure out what it will display.
Can ya guess?
That's right!
"banana"

Wait what?

The numbering that is used when using VCE_modVariable Word, starts at -1 and goes up from there. (A simple solution for this if you don't feel like doing a little a math is put 2 spaces at the front of the database)

So what can you do with this?

Well. Lets say you use something instead of that 1. Liiiiiiiike a variable replacer.
Code: [Select]
0 [0] onActivate - Self - VCE_modVariable - data - Set - "  orange apple banana grape"
1 [0] onActivate - Self - VCE_modVariable - number - Add - 1
2 [0] onActivate - Self - VCE_modVariable - temp - Set - <var:br:data>
3 [0] onActivate - Self - VCE_modVariable - temp - Word - <var:br:number>
4 [0] onActivate - Client - centerPrint - <var:br:temp>
Every press will read you the next item in the database.


I have actually combined every single one of these techniques in order to create an infinite slide animation studio. But i bet thats a walk in the park now that you know all this!



So this is what i know. I was wondering if anyone had found anything else out that you can do with VCE.

116
General Discussion / Re: Blockoworld 2013 - Due Dates! p14
« on: May 21, 2013, 02:12:17 AM »
Will you actually have the whole thing done in 2 weeks? Or are you still on schedule?

117
Sorry, my computer crashed and i forget to go back and close the server.

118
General Discussion / Re: Blockoworld 2013 - Due Dates! p14
« on: May 10, 2013, 09:32:58 PM »
I will randomly be unable to build. Please fix this.

Edit: It is not randomly; it happens after i place exactly 10 bricks.

119
General Discussion / Re: The Brighter Dark's CoD4 TDM
« on: May 10, 2013, 12:41:16 AM »
Lemme guess... It failed cuz Whirlwind is a stuffty eventer.

120
Off Topic / Re: Cciamlazy and My deactivation (The console Log)
« on: May 09, 2013, 01:00:57 AM »
It's vicious irony.

Minutes before Badspot showed up, Marble faked badspot joining the server (even got him to show up in the player list.) But people kinda knew he was fake.

Then along comes the real badspot. Everyone was like, "lol that's not the real badspot." and Marble was like "oh crap. that's badspot." Then Marble gets shutdown for real.

Boy who cried wolf.



This have anything to do with it?


Pages: 1 ... 3 4 5 6 7 [8] 9 10 11 12 13 ... 18