• Gmod Like Lua Source Mod Base
    8 replies, posted
That title is a mouthful, and couldn't think of anything better to name it. So, let me get to the jiffy. I am currently working on porting my favorite GoldSrc game to Source, called Deathmatch Classic. If you haven't heard of it, go play it. Before you start throwing "but but but" at me, I do know there is Half Life Deathmatch: Source. That game to me, frankly sucks, and is in no way Quake-esk, like Classic. My idea, make a "sourcemod", that is better than the official port, and better than this* piece of crap. I recently saw that Gmod 9 is a sourcemod for HL2, and is very efficient at running. To clear things up, I own Gmod 13, and the Valve Complete Pack. My idea: Grab a copy of Valve's deathmatch source port (since the voice and multiplayer tabs work, unlike gmod 9 and *). Step 2, take the lua interpreter dlls from gmod 9 and slap them in. Reskin, add maps, write code for weapons in lua. Step4 profit??! My question now, ladies and gentlemen, is how do I accomplish this. I know Java, Lua, and have Source SDK 2006 and 2007 installed, but gmod 9 likes 2006. I dont want to have to learn source modding. I want to be able to code my "gamemode" in Gmod 13 lua. Then i will backport it to Gmod 9** standards. This includes weapons, mechanics, commands. Then shove the lua and interpreter into a stand alone source mod, and have my very own mod. Easy enough on paper right? Any ideas? Please help ASAP, -Blue [url]http://www.moddb.com/mods/garrys-mod/downloads/gmod-904[/url] ** [url]http://www.moddb.com/mods/deathmatch-classic-source-dead/downloads/deathmatch-classic-source-beta-16[/url] *
In all honesty even though you said you do, you are coming off as someone who literally knows nothing about how Gmod or Lua. If you knew how to code in Lua none of this should be difficult to you, and stop talking about Gmod 9, make the game in 13. There is no reason not to. Also you can't "slap" on dlls. If you wanna get anything done with dlls you'll have to learn C++. Sorry for coming off as rude and harsh but it is the truth.
Okay then. Even though I hate C++. How would a go about wre writing the lua interpreter from Gmod 9 or 13 into another source engine game? I know nothing about C++. But I can learn quickly? Ideas, examples? Also, I want to have a seperate source mod that people can launch from steam that doesnt interfere with their gmod textures and addons and such. Also, as much as I love gmod 13. Here are some reasons a prefer the closer to HL2 build, then Gmod 13. = Gmod 9 looks crisper than Gmod 13 = Gmod 9 runs on mor computers than Gmod 13 = Gmod 9 doesnt take 20 minutes to load a map or load the menu. = Gmod 9 doesnt crash when you press th windows key while loading for 20 minutes.
[QUOTE=BlueMustache;47293883]Okay then. Even though I hate C++. How would a go about wre writing the lua interpreter from Gmod 9 or 13 into another source engine game? I know nothing about C++. But I can learn quickly? Ideas, examples? Also, I want to have a seperate source mod that people can launch from steam that doesnt interfere with their gmod textures and addons and such. Also, as much as I love gmod 13. Here are some reasons a prefer the closer to HL2 build, then Gmod 13. = Gmod 9 looks crisper than Gmod 13 = Gmod 9 runs on mor computers than Gmod 13 = Gmod 9 doesnt take 20 minutes to load a map or load the menu. = Gmod 9 doesnt crash when you press th windows key while loading for 20 minutes.[/QUOTE] all those points really just make me think your computer is 10 years old tbh
Step 1: Unsubscribe from all addons Step 2: Completely delete and reinstall Gmod Result: Your Gmod will run faster than almost any other Source game You'd have better luck making a new gamemode in Gmod 13.
[QUOTE=BlueMustache;47293883]Okay then. Even though I hate C++. How would a go about wre writing the lua interpreter from Gmod 9 or 13 into another source engine game? I know nothing about C++. But I can learn quickly? Ideas, examples? Also, I want to have a seperate source mod that people can launch from steam that doesnt interfere with their gmod textures and addons and such. Also, as much as I love gmod 13. Here are some reasons a prefer the closer to HL2 build, then Gmod 13. = Gmod 9 looks crisper than Gmod 13 = Gmod 9 runs on mor computers than Gmod 13 = Gmod 9 doesnt take 20 minutes to load a map or load the menu. = Gmod 9 doesnt crash when you press th windows key while loading for 20 minutes.[/QUOTE] Why would you want to rewrite the Lua interpreter? Nothings wrong with it, it works fine and its coded in C. If you dont know C++, you are pretty much going to get nowhere. Garry knows C++ which is how he modified HL2 and how he added Lua bindings for C functions. If I were you, I wouldn't even use Garry's Mod (if you ever got the source code) as a base. You said you preferred something more Half Life 2 like so then download Source SDK and create a mod from the Half Life 2 source. Its even on Github.. You, especially in your original post, sound like you have an idea but are clueless on how complicated it is or the skills needed to do it.
If you can make a binary module for gmod, you're pretty much set to be able to make your own lua binded game if you're already familiar with the SDK and understand how the lua C API works, but you don't want to make an SDK game and you don't even know C++ so you're gonna have a shitty time no matter what you do.
[QUOTE=BlueMustache;47293883]Okay then. Even though I hate C++. How would a go about wre writing the lua interpreter from Gmod 9 or 13 into another source engine game? I know nothing about C++. But I can learn quickly? Ideas, examples? Also, I want to have a seperate source mod that people can launch from steam that doesnt interfere with their gmod textures and addons and such. Also, as much as I love gmod 13. Here are some reasons a prefer the closer to HL2 build, then Gmod 13. = Gmod 9 looks crisper than Gmod 13 = Gmod 9 runs on mor computers than Gmod 13 = Gmod 9 doesnt take 20 minutes to load a map or load the menu. = Gmod 9 doesnt crash when you press th windows key while loading for 20 minutes.[/QUOTE] So do you think that with no c++ knowledge will achieve something in source? Sorry, if your game takes 20 minutes to load, there's something REALLY wrong with you...Takes 15 seconds to open my game in construct and 1 minute to open gm_fork...And i don't own a high end pc...
[QUOTE=rotor2;47294116]If you can make a binary module for gmod, you're pretty much set to be able to make your own lua binded game if you're already familiar with the SDK and understand how the lua C API works, but you don't want to make an SDK game and you don't even know C++ so you're gonna have a shitty time no matter what you do.[/QUOTE] Except Lua bindings have changed between GMod 9 and 13 so that still isn't a viable solution.
Sorry, you need to Log In to post a reply to this thread.