Shot in the dark here, put the adv. pod outputs that. But i'm sure someone'll stick that up. (is only on for surfing)
Hi
Its useful to know how much health something has (well, *I* can think of a few uses), but theres no official Wire Health Detector![]()
Its trivial to add it to the ranger, with the downside of having no checkbox to disable it, but whats the chance of having it incorporated in the official SVN?
Note: Just because someone might find it useful, I included the modded lua file, just put it in the Steam\steamapps\<username>\garrysmod\garrysmod\add ons\wire\lua\entities\gmod_wire_ranger folder
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
I'm thinking about a kind of ranger that calls Lua functions from the entity it is pointed at, with given parameters, and outputs the values returned by the function.
ie:
"Ignite(A,B)" will give you an entity that accepts 2 inputs (A and B), where A is the ignite duration, and B is the ignite radius. And you have an igniter.
"Health()" will give you an entity that outputs the health of the entity it is pointed at.
"SetColor(A,B,C,D)" will give you a colorer.
It should also be able to access objects returned by these functions.
"GetPhysicsObject():GetMass()" will give you a mass measurement entity.
Also, maybe a special support for vectors that splits returned vectors and angles into 3 outputs.
Is this a good idea or not ?
[CENTER]
[URL="http://www.wizards.com/magic/playmagic/whatcolorareyou.asp"][/URL][/CENTER]
Too mingy, and already suggested."Ignite(A," will give you an entity that accepts 2 inputs (A and
, where A is the ignite duration, and B is the ignite radius. And you have an igniter.[/b]
What would you really do with it? But I supose that could be added."Health()" will give you an entity that outputs the health of the entity it is pointed at.[/b]
We already have it, and we've had it for a while. [color=#000000;background:#000000]Look for 'colourer'[/color]"SetColor(A,B,C,D)" will give you a colorer.[/b]
Wire wieght."GetPhysicsObject():GetMass()" will give you a mass measurement entity.[/b]
E-Gate vector support. CODE AHOY!Also, maybe a special support for vectors that splits returned vectors and angles into 3 outputs.[/b]
<div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-spacere;overflow:auto'>N@Vector seperator
I@Vector
O@X Y Z
X = vecx(Vector)
Y = vecy(Vector)
Z = vecz(Vector)</div>
I know all that.I just mean.... some universal beamcaster that can send and get any info from an entity using simple Lua function calls. Enter the Lua code in game, and it will execute it with the given parameters, and output the results.
I'm not doing suggestions, I'm talking about what I am working on right now.
Colorer, igniter and stuff were simple examples. Also, I don't see why an Igniter would be too mingy.... IT'S ALREADY IN WIRE SVN OMG.
And...
Have you even read the whole subject ? I'm answering to the author of this thread, who made a cheap ranger that outputs the health of an entity, and couldn't even modify the stool so you can toggle this feature off."Health()" will give you an entity that outputs the health of the entity it is pointed at.[/b]
And wire weight is an entity with a variable mass. Nothing to do with a beam that can read the mass of a physics prop.
And I know everything about Expression Gate vector support. Don't try to teach me Wire... you don't get at all what I am talking about, do you ?
[CENTER]
[URL="http://www.wizards.com/magic/playmagic/whatcolorareyou.asp"][/URL][/CENTER]
Bookmarks