Poll

What do you prefer to do with Events?

Actual Stuff:--- Doors, lamps...
0 (0%)
Mechanisms of Actual stuff:--- (advanced ones) Such like elevators.
7 (53.8%)
From 1000 to 1700 RP Items:--- Potions, Poisons, Damaging bricks... Traps...
1 (7.7%)
Bot Working:--- Making Bots Move, Have Emotions, Do Some Stuff, basically, Animate them.
0 (0%)
Gamemode Creating:--- Editing huge quantity of stuff via events to create full gamemodes.
5 (38.5%)

Total Members Voted: 13

Author Topic: Blockland Events  (Read 6881 times)

I would like to know some good stuff people can do with events, well, I know some awesome stuff like make Buildings that are with Physics, Targets that can be crashed by arrow hit on mid and then their pieces fall (I didnt make this yet, but I made a physics Tower that can be hit in a place with a arrow to the tower crash and go down), even Morph and Stat potions, I would like to show how to make them, but I am to lazy for now  :cookieMonster: .

Anyways, I will tell you how to do the most easier stat potion, from them all, each day I will post at this topic a stat potion, then, when I post them all, I will tell you how to make a morph potion, but that time I will show you a simple model of morph potion, then you can change its colour, what player turns into, message that comes. and about the stat potions, there will be 2 potions that in truth are BUFFS, one to ''raise your mana to use jet'' (I suggest you to use no-jet player so this potion is more useful, specialy for RP), which turns you for 30 seconds into a standard player then back to no-jet player, and other to ''raise your stamina to run more fast'', which turns you into a quake-like for 30 seconds then back to no-jet player.
These can be used as ''temporary morph potions'' aswell, the fact they can be named Mana and Stamina potions is that they dont change player's appearence.
Note that then the Jet power can be activated by a ''mana potion'' effect now, I took that idea from terraria. Credits for terraria.
Now the ''stamina potion'', its just to ''give you energy'' to you run more fast, I took that idea from RPGWO, Credits for RPGWO.

now the model of day, Hp Potion.

_____________________________ ___
Delay0-OnActivate-Player-GiveHealth-X

(How much you want to heal, positive number, if you set it 50, you heal 50)


Delay250-OnActivate-Self-Disapear-Y

(cooldown of the potion, basically, it happens so the potion cant be spammed up AND is alearedy ''drank'' till a new one respawns. setting it to 30 will make it respawn after 30 seconds. You can use FakeKillBrick to, but that requires use more a event to be realistic, so I dont use it... note that it will disapear after a 1/4 of second.)


Delay0-OnActivate-Client-ChatNessage-Z

(A Health gain message, as simple as that, if you put ''You gained...''for example''... 50HP'' the client will say that after you drink it).
_____________________________ ___


Clean example of events used:

_____________________________ ___
Delay0-OnActivate-Player-GiveHealth-50
Delay250-OnActivate-Self-Disapear-30
Delay0-OnActivate-Client-ChatNessage-Your health got increased.
_____________________________ ___

then wut happens when you activate is:

_____________________________ ___
You regen 50 health,
The potion disapears and reapears after 30 seconds,
When you drink it the Client tells you that you've got been healed.
_____________________________ ___

and thats all about the health potion, I will show the poison bottle to who wins the challenge.

and plz share your event creations with me, I may not have key and never will have, but I like the events a lot and what they can do and I want to know more about what we can do with events.

I made a physics tower, I will explain the events only 1 of the things it can do (one of the buttons that the tower have)
the rest I will just say wut they do and challenge you to find out how to make them.
here goes the button,

Physics Button, makes the tower collapse and fall.

Make a tower, then make another brick as button, set ALL pieces of the tower with a name, for example, X
then set the following event on button:

Delay0-OnActivate-NamedBrick-X- FakeKillBrick-50

50 is just a little example, basically it means the time that the bricks of tower obbey to laws of physics. number is in seconds.

And done, pressing the button cause tower collapse and respawn the bricks after 50 seconds. note that if you press it again when bricks didnt respawn they will imediatly respawn with fakekillbrick set.

Now the Challenge. I challenge you to find what Events did I use to:

Challenge1---make a button that, when pressed, respawns all bricks in game.

Challenge2---make a button that, when pressed, toggles (this may be a clue) the fact that tower can be collapsed by player touching on a certain brick or not.

Challenge3---make a button that, when pressed, spawns a bow.

Challenge4---(this gives utility to challenge 3 and to my spawn bow button) make that if one of the tower's pieces make the whole tower collapse after being hit by a projectile (I could say arrow, but saying ''projectile'' is some kind of clue that you can use)

and the first post the awnser to a challenge which is correct awnser wins.
and if you did read Challenge4, it is somewhat connected with Challenge3, then who awnsers correctly both get some bonus.

the points for each one are:

Challenge1---4
Challenge2---6
Challenge3---3 (And no, using wrench to make it ''set item'' doesn't count... this may be a clue and a warning at same time...)
Challenge4---4
Bonus---2 (If Someone awnsers correctly to Challenge4 and Challenge3 gets this Bonus)

Have Fun with your HP Potion :P

And remenber to Complete Challenges to get points... I will tell the winner how to make a Poison Bottle.

Please share your Event creations  :cookieMonster: .
(note: dont show me newb stuff like ''how to make lamps'', ''how to make doors'', that stuff).

I once made an alarm clock with events.

wow... what an imediate reply!
anyways, how do you do it? I know that you used the event to set a Alarm sound... but how do you make a clock? I think that you set the alarm sound with certain delay to at certain number the alarm sound activates... anyways, how do you make a clock?

Edit1: hey, like my health potion events?

It was a print brick that would set itself to fire a relay on a relay and on each relay it would decrease the print count every 10 seconds or so, and you could click the brick as many times as you wanted to increase the time on the block, up until nine. If the print count is 0 on relay, then it plays the sound.

*Gingerly steps into topic*

Christmas music.
Like 20 lines of events.

I thought this thread was about BlockCon :(

posting CityRP Event yey

Quote
EVENTS 99
1   0   onActivate   Self   VCE_ifValue   <var:cl:bl_id>   0   8294   1 2
1   33   onVariableTrue   Self   fireRelay
1   0   onRelay   Self   VCE_ifValue   <var:cl:lastmsg>   0   @Commands   16 18
1   0   onRelay   Self   VCE_ifValue   <var:cl:lastmsg>   0   [Stats]   24 26
1   0   onRelay   Self   VCE_ifValue   <var:cl:lastmsg>   6   JOB:   33 35
1   0   onRelay   Self   VCE_ifValue   <var:cl:lastmsg>   6   TAX:   42 44
1   0   onRelay   Self   VCE_ifValue   <var:cl:lastmsg>   6   PR:   45 47
1   0   onRelay   Self   VCE_modVariable   0   a   1   0.05
1   0   onRelay   Self   VCE_ifValue   <var:cl:lastmsg>   0   [Eat]   61 63
1   0   onRelay   Self   VCE_ifVariable   a   0   180   74 75
1   0   onRelay   Self   VCE_ifVariable   a   0   340   76 77
1   0   onRelay   Self   VCE_ifVariable   a   0   500   78 78
1   0   onRelay   Self   VCE_ifVariable   a   4   620   83 85
1   0   onRelay   Self   VCE_ifVariable   ar   1   1   64 71
1   0   onRelay   Self   VCE_ifVariable   1   1   2   92 97
1   33   onRelay   Self   fireRelay
1   0   onVariableTrue   Client   VCE_modVariable   a11   1   1
1   0   onVariableFalse   Client   VCE_modVariable   a11   0   0
1   0   onVariableTrue   Client   VCE_ifVariable   a11   0   1   19 23
1   0   onVariableTrue   Client   ChatMessage   <color:Ffffff>JOB: <Any selected job>
1   0   onVariableTrue   Client   ChatMessage   <color:ffffff>TAX: <Set the tax between 0 and 100>
1   0   onVariableTrue   Client   ChatMessage   <color:ffffff>[Stats] - View your status
1   0   onVariableTrue   Client   ChatMessage   <color:ffffff>PR: <Adds any value between $10 - $50 to your income for a price>
1   0   onVariableTrue   Client   ChatMessage   <color:Ffffff>[Eat] - Stops you from being hungry
1   0   onVariableTrue   Client   VCE_modVariable   a44   1   1
1   0   onVariableFalse   Client   VCE_modVariable   a44   0   0
1   0   onVariableTrue   Client   VCE_ifVariable   a44   0   1   27 29
1   0   onVariableTrue   Client   ChatMessage   ($<var:cl:pay>) <color:Ffff00>Cash<color:Ffffff>: $<var:Cl:cash>
1   0   onVariableTrue   Client   ChatMessage   <color:Ffff00>Hunger<color:Ffffff>: <var:cl:Hunger> out of 5
1   0   onVariableTrue   Client   VCE_ifVariable   sdfdfdf   1   1   72 73
1   0   onVariableTrue   Client   VCE_modVariable   job   0   <var:cl:lastmsg>
1   0   onVariableTrue   Client   VCE_modVariable   job   14   :
1   0   onVariableTrue   Client   ChatMessage   <color:ffff00>Job<color:ffffff><var:cl:job>
1   0   onVariableTrue   Client   VCE_modVariable   a3   1   1
1   0   onVariableFalse   Client   VCE_modVariable   a3   0   0
1   0   onVariableTrue   Client   VCE_ifVariable   a3   0   1   30 32
1   0   onVariableTrue   Self   VCE_ifValue   <var:cl:isAdmin>   0   1   37 39
1   0   onVariableTrue   Client   VCE_modVariable   ni   0   <var:cl:lastmsg>
1   0   onVariableTrue   Client   VCE_modVariable   ni   11   
1   0   onVariableTrue   Client   VCE_ifVariable   ni   5   100   40 41
1   0   onVariableTrue   Minigame   VCE_modVariable   tax   0   <var:cl:ni>
1   0   onVariableTrue   Client   ChatMessage   <color:Ffff00>Tax<color:Ffffff>: $<var:mg:Tax>
1   0   onVariableTrue   Client   VCE_modVariable   a232   1   1
1   0   onVariableFalse   Client   VCE_modVariable   a232   0   0
1   0   onVariableTrue   Client   VCE_ifVariable   a232   0   1   36 36
1   0   onVariableTrue   Client   VCE_modVariable   a767   1   1
1   0   onVariableFalse   Client   VCE_modVariable   a767   0   0
1   0   onVariableTrue   Client   VCE_ifVariable   a767   0   1   48 51
1   0   onVariableTrue   Client   VCE_modVariable   f   0   <var:cl:lastmsg>
1   0   onVariableTrue   Client   VCE_modVariable   f   11   
1   0   onVariableTrue   Client   VCE_modVariable   f   6   
1   0   onVariableTrue   Client   VCE_ifVariable   f   4   10   52 52
1   0   onVariableTrue   Client   VCE_ifVariable   f   5   50   53 54
1   0   onVariableTrue   Client   VCE_modVariable   u   0   <var:cl:f>0
1   0   onVariableTrue   Client   VCE_ifVariable   cash   4   <var:cl:U>   55 57
1   0   onVariableTrue   Client   VCE_modVariable   cash   2   <var:cl:U>
1   0   onVariableTrue   Client   VCE_modVariable   pay   1   <var:cl:f>
1   0   onVariableTrue   Client   ChatMessage   <color:Ffffff>Your income is now $<var:cl:pay>. <color:ff0000>-$<var:cl:U>
1   0   onVariableTrue   Client   VCE_ifVariable   cash   4   50   98 98
1   0   onVariableTrue   Client   VCE_modVariable   hunger   0   1
1   0   onVariableTrue   Minigame   ChatMsgAll   <color:Ffffff>Your hunger has been restored to 1.<color:Ff0000> -$50
1   0   onVariableTrue   Client   VCE_modVariable   a999   1   1
1   0   onVariableFalse   Client   VCE_modVariable   a999   0   0
1   0   onVariableTrue   Client   VCE_ifVariable   a999   0   1   58 58
1   0   onVariableTrue   Client   VCE_modVariable   pay   0   25
1   0   onVariableTrue   Client   VCE_modVariable   cash   0   500
1   0   onVariableTrue   Client   VCE_modVariable   edu   0   1
1   0   onVariableTrue   Client   VCE_modVariable   job   0   : None
1   0   onVariableTrue   Client   VCE_modVariable   hunger   0   1
1   0   onVariableTrue   Client   ChatMessage   <color:Ffffff>You are running City RP Event <color:ffff00>v8<color:ffffff>. Type @Commands to get started.
1   0   onVariableFalse   Client   VCE_ifVariable   dsdsd   1   1   89 89
1   0   onVariableTrue   Self   VCE_modVariable   0   ar   0   1
1   0   onVariableTrue   Client   ChatMessage   <color:Ffff00>Education<color:ffffff>: <var:cl:edu>
1   0   onVariableTrue   Client   ChatMessage   <color:Ffff00>Job<color:ffffff><var:cl:job>
1   0   onVariableTrue   Client   VCE_modVariable   cash   1   <var:cl:pay>
1   0   onVariableTrue   Client   ChatMessage   <color:ffffff>A paycheck of <color:Ffff00>$<var:cl:pay><color:ffffff> has been transferred to your account.
1   0   onVariableTrue   Client   VCE_modVariable   edu   1   1
1   0   onVariableTrue   Client   ChatMessage   <color:ffffff>Your education has been raised to <var:cl:edu>.
1   0   onVariableTrue   Self   VCE_ifValue   <var:Mg:membercount>   4   1   79 80
1   0   onVariableFalse   Client   ChatMessage   <color:Ffffff>You are not in a minigame, therefore you shall not be taxed.
1   0   onVariableTrue   Client   VCE_ifVariable   cash   4   <var:mg:tax>   81 82
1   1   onVariableTrue   Client   ChatMessage   <color:ffffff>You have been taxed.<color:Ff0000> -$<var:mg:Tax>
1   0   onVariableTrue   Client   VCE_modVariable   cash   2   <var:mg:tax>
1   0   onVariableTrue   Client   VCE_modVariable   hunger   1   1
1   0   onVariableTrue   Self   VCE_modVariable   0   a   0   0
1   0   onVariableTrue   Client   VCE_ifVariable   hunger   4   5   86 88
1   0   onVariableTrue   Client   VCE_modVariable   hunger   0   1
1   0   onVariableTrue   Player   Kill
1   0   onVariableTrue   Client   ChatMessage   <color:Ffffff>You have died of starvation.
1   0   onVariableTrue   Minigame   VCE_ifVariable   arse   1   1   90 91
1   0   onVariableTrue   Minigame   VCE_modVariable   tax   0   15
1   0   onVariableTrue   Minigame   VCE_modVariable   arse   0   1
1   0   onVariableTrue   Client   VCE_modVariable   9   0   <color:ffff00>Cash<color:ffffff>
1   0   onVariableTrue   Client   VCE_modVariable   8   0   <var:cl:9>: $<var:cl:cash> |
1   0   onVariableTrue   Client   VCE_modVariable   7   0   <var:cl:8><color:33ff00>Hunger
1   0   onVariableTrue   Client   VCE_modVariable   6   0   <var:cl:7><color:Ffffff>:
1   0   onVariableTrue   Client   VCE_modVariable   5   0   <var:cl:6> <var:cl:Hunger> of 5
1   0   onVariableTrue   Client   BottomPrint   <color:404err>JOB<color:ffffff><var:cl:job> | <var:cl:5>   3
1   0   onVariableTrue   Client   VCE_ifVariable   hunger   4   3   59 60

Big Brother, Thats so OMG!!! to much events O_o

If people could copy paste them...

Kingdaro, thanks for the info of how to make a clock.

ive released an old version of cityRP, in my topic

Someone should make a evented version of the clock in the bedroom.

Someone should make a evented version of the clock in the bedroom.
that would be easy as stuff

Hey Kingdaro, I checked events, based on what you said and I made a clock that every 10 seconds uses alarm sound, including that I found out that the clock number counting time is set by delay setting. yes, delay of firerelay setting.
Also there are 2 buttons: one to start the fire relay (its needed cuz I saved it and if I load it the fire relay stops), which is a Minus button, and other to add more 1 second (1 number increase) to the clock, a Plus button, also, clicking the clock on itself, increases its timing back to 10 seconds, in other words, sets number back to 9.
I think I can do a time bomb with this stuff :P

Edit1: now I got a new plan, thx to kingdaro's clock, and of course, my idea of make a physics tower:

Creating a physics tower that instead of have buttons, have a mine... yeah, a timed mine... then I have a button to start firerelay. then...

when countUnderflow...
I set some stuff to mine explode,
I set FakeKillBrick on all bricks of tower (I need to name them first obviously)
I plan to make it explode after 12 seconds after press button, so I will give each number 2 seconds of delay... I plan to make it explode after 10 seconds, from 5 to 0
« Last Edit: July 31, 2011, 07:54:13 AM by ThunderStorm »

Hey Kingdaro, I checked events, based on what you said and I made a clock that every 10 seconds uses alarm sound, including that I found out that the clock number counting time is set by delay setting. yes, delay of firerelay setting.
Also there are 2 buttons: one to start the fire relay (its needed cuz I saved it and if I load it the fire relay stops), which is a Minus button, and other to add more 1 second (1 number increase) to the clock, a Plus button, also, clicking the clock on itself, increases its timing back to 10 seconds, in other words, sets number back to 9.
I think I can do a time bomb with this stuff :P
lolk

Not to crosspost but this made me think of the events for BlockoMYST which caused me to consider making the second part of the gameplay video which showed off its events which made me think of looking at how many events it had which led to making this thread