Author Topic: A few satellite techs  (Read 3050 times)

ok, here's what I'm looking for:

There is an admin only brick, the sattelite.

There is also another brick, for players, the reciever.

And another brick/set of bricks, the wire.

and a few events,

for the satelite, and output event with no args, SendTrans
and an input event, OnSendTrans, with target recievers
There should be a checkbox or something to decide if the output event effects the reciever or it's wired accomplices

the receiver can have a wire brick connected to it, and that wire brick can connect to something else. in this example, a simple 1X1 cylinder

For example:
Example #1
Admin places sattelite brick with the following events(may not look real, i'm not going to stare at blockland to see proper formatting)
OnActivate|Self|SendTrans
OnSendTrans|Reciever|(checked)|SetColor|(colorRed)
In this scenario, the admin clicks the sattelite, and all reciever bricks on the map turn red.Just the recievers.

Example #2
Admin places sattelite brick with the following events(may not look real, i'm not going to stare at blockland to see proper formatting)
OnActivate|Self|SendTrans
OnSendTrans|Reciever|(Unchecked)|SetLight|Players Light

Also in this scenario, player blockhead placed a reciever, and used a wire brick to connect his lightbulb to it.
So, when the admin clicks the sattelite, the lightbulb lights up, however the reciever does nothing, and neither does the wire.
« Last Edit: February 24, 2011, 11:57:51 AM by flametail »

Hmm. This could easily be achieved by named bricks,

Hmm. This could easily be achieved by named bricks,

I have never known named bricks to function cross-player like this would

Oh, wait. I get it now. So anyone could place a receiver, and if you set the satellite to make the receivers red, it would go red automatically, with no hassle?

Oh, wait. I get it now. So anyone could place a receiver, and if you set the satellite to make the receivers red, it would go red automatically, with no hassle?

Pretty much. All players need to do is place a reciever and wire things to it. No eventing playerside.

A suggestion. What if it was like this?

Quote from: Events
BrickInput EventTargetOutput EventsArguments
SatelliteonActivateSelfsendTrans"explode"
RecieveronTransSelfVCE_ifValue"<var:br:lastTrans>", ==, "explode"
RecieveronVariableTrueSelfspawnExplosionRocket Gravity, 1.000

I think I've done something similar back when I was trying to make a client/server computer system a year and a half ago.

I'm convinced that this can be done with default events, but you may need to elaborate more.

I think I've done something similar back when I was trying to make a client/server computer system a year and a half ago.

I'm convinced that this can be done with default events, but you may need to elaborate more.
long distance projectiles? :D

long distance projectiles? :D

Nah, just named bricks and relays.
Projectiles don't pass ownership: projectiles are always owned by the brick that fired it, so whoever made the brick always gets the output.

Nah, just named bricks and relays.
Projectiles don't pass ownership: projectiles are always owned by the brick that fired it, so whoever made the brick always gets the output.
much more fun and visible with projectiles flying across the map, and named bricks, really? :D
and i don't see a need for keeping ownership with projectiles for this

much more fun and visible with projectiles flying across the map, and named bricks, really? :D
and i don't see a need for keeping ownership with projectiles for this

Sure, if ownership isn't important, then don't worry about it.
It all depends on the purpose.

Off-topic:
Wow, as usual, phflack and I are hijacking a thread.  :cookieMonster:

go figure, can we build the giant pickaxe yet?
and i was thinking that for this use it would be between evented computer things, in which case projectiles should suffice



A suggestion. What if it was like this?


Nah, then the players have to event things.

I think I've done something similar back when I was trying to make a client/server computer system a year and a half ago.

I'm convinced that this can be done with default events, but you may need to elaborate more.

Cant be done with defualt events and named bricks, doesnt work cross-ownership.