Yea, I do this between gmod crashing and me finishing UDFs V2 (beta test it nao).
Off Topic:
initrd.gzyou are really everywhere
got nothin else to do ey ?
just kiddin
![]()
Yea, I do this between gmod crashing and me finishing UDFs V2 (beta test it nao).
Its pretty much finished now. Just use it and tell me any bugs you find.
for simplicity's sake, i'd really prefer a console command or a stool, I've realised how unrealistic the SWEP is (as a request). And no, by using e2, I would have to wire it all up that way when i create it, but it's complicated to wire and code and I've already done this with both wire GATES and e2 (havent got the menu or slect thing, which is key at the moment). I ask you, please to code this for me, I knwo I sound like an Idiot asking you all to do it, but I really need it
Well, noone is going to make it. If you aren't willing to put in the effort to make a more portable solution with existing tools, why should we put even more effort into designing a SWEP complete with console commands and derma interface?
And no, you don't need it to spam your crappy APCs that have jeeps inside of them or thruster sounds or whatever.
BTW There is an E2 derma extension, and wirelinks save you most of the wiring.
Like I said, I've given up on the idea of an SWEP, so can soemone tell me in words how to lua code this thing as a stool or a console command (don't necessarily give me the code, just the method). Thanks
I'm just going to leave these here:
https://wiremod.svn.sourceforge.net/..._wire_adv_pod/
Lua - GMod Wiki
I think these line is more important:- found in the remote control lua
However, according to any programming logic I have in me, there should be a variable which stores what entity (i.e. entity number) the Remote control is linked to. The line above that code snippet is:Code:if trace.Entity:Link(self.Owner,true) then self.Owner:PrintMessage(HUD_PRINTTALK, "You are now linked!") self.Owner.Linked = true
but I think that is just a decision on whether or not it is actually an APCCode:if trace.HitNonWorld and trace.Entity:GetClass() == "gmod_wire_adv_pod" then
That's the part of the Adv_pod i think is importantCode:function ENT:Link(pod,RC) if !pod then return false end self.Pod = pod self.RC = RC return true end
I reckon I need to do something like above, but have a stool provide the ENT and pod to the function.
TELL ME IF I'M WRONG
Last edited by Mrblbshrtz; 06-12-2010 at 11:09 AM.
Why do you abbreviate Adv. Pod APC? Isn't that a vehicle from HL2?
Bookmarks