Hey guys :) Obviously i'm new here!
I recently started on a source mod and wondered if i could somehow implement the Gmod physgun into my game/mod?
I have managed to get/try both the physgun and mega-physgun built into the game, but i would rather the Gmod one :)
It's fine if it can't be done, but just thought i'd try ask :D
Thanks -
Shamus
Copy/paste everything from Garry's Mod over and then delete it all because it can't be done.
Unless you recode it.
Maby ask the JBmod people for their code. :v:
ok, now seriously.
there is a unfinished version of the physgun
available in the code that comes with the source sdk.
You have to include it into the project
(use file search to find the files something like c_physgun.cpp for clinet or something like this,
and physgun.cpp for server).
but still you have to do a lot of code by yourself to get it working.
try searching the programming section of facepunch or [URL="https://developer.valvesoftware.com/wiki/Category:Programming"]Valve Developer Community[/URL] for help.
A while back I also found half-working physgun code at the steam forums, maby you look there first.
Sorry, you need to Log In to post a reply to this thread.