Sounds like a cool addition, will test immediatly!![]()
DISCLAIMER: I do not make any claims to the realism of this magnet, and there are obvious flaws (no poles, etc). When I make this I set out to make merely a more realistic magnet, not a 100% accurate-to-real-world one.
If you've ever tried the "Source" magnet, you'll realize it's pretty lame, and pretty much welds things touching it to itself when it's on. Pretty sad, eh?
Well, after way too long of a wait, here I have the solution. A semi-realistic wire-compatible magnet!
Screenshots:
Levitating tub :O
Video:
[ame="http://www.youtube.com/watch?v=_1S4ge1PAHE"]YouTube - WireMod Magnet Demo[/ame]
Some docs:
Strength is...strength
Effect Length is units away from the magnet's origin that a prop has to be within to be moved
The inputs are On, Strength, and Length (I think)
Download:
Also, if you are yearning for the multiplayer-magnet experience, [BB] Sandbox just happens to be running this :P
Fun Fun [possible] Future Additions:
- Weld props touching the magnet automatically to reduce lag
- Target-only-metal option (requires doing a trace=more lag)
- More data in the overlay (I tried but it didn't update :\)
- What else? Suggestions?
Last edited by cpf; 01-03-2009 at 09:21 PM.
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
Sounds like a cool addition, will test immediatly!![]()
Wow, you replied fast enough XD
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
I just got on to check for updates/new stuff and it was on the new posts, top of the list![]()
yes i can finaly make a wired crane my life is complete
and thank you for not being a bitch and puting like CPF custom wired magnet or CPF magnet when you put teh curser over it i think that doing that is just saying look at me im so cool when everyone else can do it (not pertaining to the magnet just to other addons) but they jsut dont have the time then some one has to go in and fix it
lol
long enough
edit:
like this
http://www.garrysmod.org/img/dl/48178_1.jpg
Last edited by chicob; 01-03-2009 at 09:41 PM. Reason: picture
Quote from Gmod Tower Web Site:
Will the shops be controlled by Lua or humans?
Lua. We can’t allow humans to handle our economy, just look at how US’s economy is declining. Silly humans.
[url=http://profile.xfire.com/chicob13][img]http://miniprofile.xfire.com/bg/sh/type/0/chicob13.png[/img][/url]
also come join my sb3 with latest svn of every addon for it including wiremod updated DAILY
WireSim.com
Why does everybody say CPF? it's cpf :P
Hey, look! It's a tutorial on using LuaInterface!
You used my logo contest entry in your video, nice
This looks pretty cool, good job.
Will a negative strength repel? Also, does this use Newton's third law (is there reaction force on the magnet)?
If so, I sense magnetic trains being made in the near future.
EDIT: Does the magnet affect attached props?
Last edited by Bobsymalone; 01-03-2009 at 10:43 PM.
Cool stuff. I will be adding this to my server tomorrow when I wake up (would now.. but it's 2am). The IP is revanserver.game-host.org for anyone who is interested (and yes, that is a valid IP)
Bookmarks