Laser encoding?
This is a set of data transfer tools im making.
1.The Data Transmitter
This is the main tool all the others work off of it. Here is how it is used.
Firstly when you spawn it you will see a beam from the end. To connect it to another data componant simply point the beam at the componant. You know when you have hit as the transmitter and its beam go green.
Now the transferer behaves diferently depending on what its pointing at.
1.if it is pointing at another transmitter then they act like a pair of 2 way radios with the A input of one coming out of the A output of the other.This happens regardless of the Send input.
2. it is pointing at a store then constantly it outputs the stores values. However if send is 0 then it just reads. But if send does not equil 0 the transferer sets the stores values to its own inputs.
Also one final note on transmitters: The beam does not make an unbreakable link if you point at something else you can start working with that.(hmm wonder how long till a wired harddrive?)
2. The data Store
This is just a store it holds 8 values how ever it has no iputs or outputs the only way to affect the values is to use a transmitter.Other than that its nothing special.
3. The Satellite Dish
This is highly useful for long range comms. The way it works is you link it with a transmitter then when another transmitter sends to it it then passes the values on to its linked transmitter. Basically giving the transmitter a larger recieveing area.
Tool Use
Left Click - Create Satellite dish
Right Click - when used on any physprop it changes the dish model to the props model.
Reload - used to link dish to transmitter ie reload on dish then reload on transmitter to link.
Pictures!
[attachment=358:gm_construct0028.jpg]
This is the data transmitter normally
[attachment=359:gm_construct0029.jpg]
This is the transmitter when hitting a data object
[attachment=360:gm_construct0030.jpg]
This is the data store
Also if you post here any:
Bugs
Suggestions
Requests for help
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Super Easy Wire Download
Laser encoding?
-----------------------------------------------
10% of forum members have a stupid 98%+ "if-you-don't-add-this-to-your-sig". If you are part of the population who don't do that and have a frontal lobe and use semi-accurate statistics, don't copy this into your sig![/sarcasm]
I like them. With SVN 15 though, you added the satellite in, but it doesn't show up in the menu.
Perhaps this should be in the suggestion forums but.. Is it possible to make the target finder able to target the receiver?
This should go in suggestions and will but also, can we have it so that we can target models? So lets say in a ship battle or a robot battle and there will be a unique model used for the centre of it and you could tell it to target that model. ( as well as other things )
these things possible?
very simple use locator beacons. behind the transmitter(also works as reciever) or in the middle of the robot
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Super Easy Wire Download
but it would be SO much simpler if the target finder could target transmitters... (just imagine setting up a radar station that has every single transmitter and storage selected and then toggles slowly between them(satellitevery simple use locator beacons. behind the transmitter(also works as reciever) or in the middle of the robot[/b]))
oh so fun that would be
il look into it
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Super Easy Wire Download
You could use Beacon sensors for that on the transmitter and on the other one then a locator and make a system like a mouse like 2 wheels controling it or somethingbut it would be SO much simpler if the target finder could target transmitters... (just imagine setting up a radar station that has every single transmitter and storage selected and then toggles slowly between them(satellite))
oh so fun that would be[/b]
<div align='center'></div>[SIZE=2][i] The Enemy of my Enemy is my Friend -AvP-[/i][/SIZE]
[url="http://www.steamwin.org/index.php?num=4428"]SUPER MASSIVE![/url]
You probably won't believe me when I say this, but meh, I'll say it anway...
I made a "tracking" transmitter that can be set to transmit to 1 of 2 targets. The targeting is controlled by a two-way lever. Move the lever to the left and it'll transmit to target 1. Move the lever to the right and it'll transmit to target 2. The information about the last location of the lever (whether it was to the left 1-0, or to the right 1-0) is stored in memory. There are two beacon sensors, and two locators. The first locator is directly behind the first "satellite dish", the second is behind the second satellite dish.
It's hard to explain exactly how the wiring works. Basically, there is a ranger (short distance) on each side of the lever. When the lever hits the ranger, the ranger transmits a value of whatever to an OR chip which turns it into a 1 (unless the ranger detects nothing). That is then saved in memory, one chip on each side. When "1" is detected on the left side in memory, it wipes all information on the right memory, and vice versa. That is to prevent the transmitter trying to target two things.
Now, one memory side should have a 1, the other should have a 0. Their are two "If\Then\Else" on each side. A = Memory, B = Elevation\Bearing of Beacon Sensor, C = Other If\Then\Else of Respected "B" Type. Understand? No? Meh. Now, those are added up, by the B values mind you. So, if "B" on side A = 1, then "B" on side B *must* = 0, therefore 1 + 0 = 1. Simple. Kinda.
From there it was a simple matter of hooking up your standard auto-tracking turret chips to their respective add chips. So, if you were using Tricky's tutorial turret (made by Qjet), you hook up the Ceiling chip (normally hooked up to Beacon Sensor - Bearing) to the add chip that should be showing the proper Bearing. And then you hook up the Accum. (normally hooked up to Beacon Sensor - Elevation) to the add chip that should be showing the proper elevation.
Please note that I am tired and might have written this wrong. Meh. Try it, see if it works. Note that Qjet's standard turret is kinda wobbly. I suggest you try and improve it, otherwise it is extremely hard to hit a good target from one end of flatgrass to the other. Use Delta.
-Builder
Ah, so THAT's what the data STools do...
I'll have to experiment tomorrow.
[quote]Many aspects of Garry's Mod are hardly the pinnical of realisim.[/quote]
Bookmarks