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

you spelled satellite wrong.

And I don't think there needs to be any fancy OnTransSend or anything, it looks a lot like relays.

On Activate : Self : FireRelay
On Relay : Named Brick : SetFancy
           : Admin's Reciever :


I'm tempted to make a test build just to make sure that we're on the same page.
Maybe later tonight if I'm not too busy.

Edit:
I think I know what you want to do now, and you're right; default events could not make something that simple. I still don't think that an addon is necessary, however.


Anyway, I made a nifty little broadcaster thing. When the control panel in the center is clicked, the surrounding brick's blue bricks fire relays away from their centers.
I can't guarantee that it works... it only took like 5 minutes to make.
« Last Edit: February 23, 2011, 07:55:25 PM by Snaily »

You can make this with events of course.

But a mod for it would be a lot cooler (ninja: and easier).

I may actually try my hand at this tomorrow or the next day.

Or the next day.


I feel you are missing the point. Yes, what you have made with defualts works for you, however, if I joined your server right now and built a reciever, it would not respond to your broadcast tower. defualt events do not work cross-ownership like a hardcoded brick would.

EDIT: Looked through the events of your broadcaster...I must say, wow, I could never aim a projectile that well....but still no...with my idea, somebody could be hiding inside the mattress or on the roof and still get a signal...
« Last Edit: February 24, 2011, 12:07:22 PM by flametail »

Also, after some thought, the satellite and related events would have to be admin only, hate to have some n00b come on the server and make everyones recievers shoot missles or explode(literally)..

Only the reciever brick would be player-accessible.


I'm going to start working on this, I'll keep you updated.

edit:
Let me confirm this before starting,

So the satellite brick controls when to do it and also what it does?

Hrm.

it may or may not end up working that way if i'm right here. depends on how willing i am to scavenge around for answers on how to do that
« Last Edit: February 24, 2011, 05:50:00 PM by otto-san »

I'm going to start working on this, I'll keep you updated.

edit:
Let me confirm this before starting,

So the satellite brick controls when to do it and also what it does?

Hrm.

it may or may not end up working that way if i'm right here. depends on how willing i am to scavenge around for answers on how to do that



Yes, sattelite controls when and what.


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

Spose this idea is dead :(

I'ld hope not. It seems cool.

I'm going to start working on this, I'll keep you updated.

edit:
Let me confirm this before starting,

So the satellite brick controls when to do it and also what it does?

Hrm.

it may or may not end up working that way if i'm right here. depends on how willing i am to scavenge around for answers on how to do that

Hows it goin?

Ok, after some thought, here's a better method.

Admin only events, instead of a specialty brick.

Players will have a brick, called and modeled to be, the reciever.

Admin can use any old brick, but I'd prefer to have one specially modeled, please?

Admin on his brick makes these events:
OnActivate=>Satellites=>(insert actions here).

Pretty much, a new "action group" like self, named brick, or player.

In this group however, the actions are applied to the reciever datablock, no matter who owns it.

So, admin could have this:
OnActivate=>Satellites=>SetColor=>Red
When activated, it will find all bricks of datablock "RecieverBrick".
And all recievers on the map, no matter who owns it, would turn red.

What I would also like to do, is a named brick subgroup. Or such. What that would be is a pair of text boxes.
So admin does:
OnActivate=>Satellites=>Named=>Lights=>1,2
SatNamed=>Satellites=>SetColor=>Green
SatNamed=>Satellites=>SetEffect=>Glow
In this action, all bricks named Lights owned by the same owner as the reciever, will be affected by funtions 1 through 2. Which would make them glow green.

Now, I'm sure to some of you, this sounds like it can be done with normal, defualt events. It cannot. Defualt evemts work only for the player making them, with only the bricks he has named. With this add-on, the admin can control ALL recievers, no matter who owns them or where they are. And for the second part, all named bricks the other player owns.