how is this different from the remote controller we already have?
I don't know whether this has been suggested before as it could really be called anything.
Basically, the idea is that you have a tool in the tool list which spawns an adv SWEP controller, and when you press E on it, it gives you a weapon that, when equipped, sends all your presses such as W A S D Mouse1 etc to the controller instead of to you so you stay still whilst your contraption moves - a bit like the remote control.
It is, essentially, a more portable version of the adv Pod controller - the advantage being that you do not need to get in a pod to use it, all you have to do is equip the weapon.
PS: if this HAS been suggested before, then I am sorry for posting it again..
PPS: if this HAS been suggested before and someone has made it in an unofficial addon, where can i find it? can it be made official?
Edit:
I have just found this:
Wire RC controller SWep
it is essentially what I just posted, but mine explains in a little more depth what the idea should feature.
Last edited by Scrumplesplunge; 07-18-2009 at 05:29 AM. Reason: Sudden realisation of other people thinking on the same brainwaves.
how is this different from the remote controller we already have?
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
What remote controller? The numpad or something? The laser pointer?
no, the remote control tool
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
basically it is possible to do most of this stuff with the remote control, but this does not require you to spawn the remote control swep every time you spawn, it simply requires you to press 'e' on the swep controller block to get the weapon back, essentially linking you to it.
it could also have extra stuff that adv pod does not have, such as outputting your position and direction etc directly throught the device without having to discover it in e2 or likewise.
the reason i feel this would be useful is that with it you could essentially make your own sweps. You design a weapon with wire, link it up to the controller and WHAM! you have a swep.
How about we do two things,
1. Make it so that if you press use on an adv. pod controller it gives you the remote swep
2. Allow the beacon sensor to take an entity input
This way, you can wire the Pod Controller's "Entity" output to the input on the beacon sensor, and get all of the info that the beacon sensor can give you.
No need for a new entity.
EDIT: When I looked at the code for the beacon sensor, it works A LOT differently than I originally thought. (It really needs to be rewritten in a different way)
Just use the E2 to get entity info. I have one that I always use:
Code:@name Adv Beacon Sensor @inputs T1:entity @outputs Pos:vector X Y Z Distance Name:string Type:string @persist @trigger all runOnTick(1) #Target 1 Pos = T1:pos() X = T1:pos():x() Y = T1:pos():y() Z = T1:pos():z() Name = T1:name() Model = T1:model() Type = T1:type() Distance = T1:pos():distance(entity():pos())
Last edited by Jeremydeath; 07-18-2009 at 11:11 PM.
Jeremydeath's Wire Addons - Try Them... NOW!
A-Z Materials - Released!!!!!!!
Oh, yeah. I forgot that I made the patch...
Here it is:
[highlight=LUA]function ENT:Use( User, caller )
if User and User:IsValid() and User:IsPlayer() then
if !User:GetWeapon("RemoteController"):IsValid() then
User:Give("RemoteController")
end
if self.Entity:Link(User,true) then
User:PrintMessage(HUD_PRINTTALK,"You are now linked!")
User.Linked = true
else
User:PrintMessage(HUD_PRINTTALK,"Link failed!")
end
end
end[/highlight]
Jeremydeath's Wire Addons - Try Them... NOW!
needs SIMPLE_USE
also, I'd love to know how to use this remote control![]()
"It's easy to win forgiveness for being wrong; being right is what gets you into real trouble." - Bjarne Stroustrup
Lífið læðist lúmskt áfram
In the patch file attached, I added self.Entity:SetUseType(SIMPLE_USE) to ENT:Initialize(), so it is using it, I just didn't include it in the code snippet.
The controller is fairly simple, just link the controller to the pod with a left-click (pressing use on the controller with my patch auto links you).
Then, whenever you are wielding the Remote Controller, if you press the use key, it will act as if you are in a pod that is linked to that Adv. Pod Controller.
This allows you to have sort of a "virtual pod" that allows you to control the outputs of the pod controller anywhere without being in a pod.
Jeremydeath's Wire Addons - Try Them... NOW!
Bookmarks