Some questions from a beginner.
Posted: Sun Apr 26, 2009 4:59 am
First, since I'm new and all, I'll start up with a minor introduction.
I won't lie. I downloaded the mod only a few minutes ago. I've probably come in with my head in the clouds, but I do know how to deal with text editor coding. I've played Garry's Mod for nearly two years now and poked about in its LUA coding. Most of what I've done is copying and pasting code to make things work, but I understand the general concepts of such simple coding and would like to think I'd be able to fit in with OC's coding from what I've seen so far.
Now, here are my questions.
Firstly, I'm trying to make a custom game mode. Quite an undertaking for my first venture, but I wouldn't be here if I didn't have that in mind.
What I'm trying to do is make it so that you can't pick up dropped weapons (Besides those that are critically necessary, of course), as well as certain players having certain weapons. Essentially, I'm just trying to restrict weapons and make it so that there are different classes of players.
I'm doing this primarily for myself and a friend of mine. It doesn't need to be flashy or fancy, just needs to work the way we want it.
Secondly, something a little easier, I'd expect, is that I want to make weapons for these classes. Nothing really new, just trying to get some custom CS weapons in the HL2 campaign. After poking around in the code, I think I won't even need help here, but I'm putting this out there just in case I ever do need help.
Edit: Ok, it doesn't look like it's as simple as the first impression made it seem. I can see no damage values in the weapon script files, so I must be looking in the wrong place. Someone's going to need to point me to the right files.
Third, I want to have the aforementioned custom weapons spawn at particular points. For instance, Class A's pistol spawns at the first time the player gets a pistol. Class B's pistol spawns when you get an SMG. Class A's primary weapon spawns when you get a...well, you get the picture.
I'm assuming that I'm going to need the mapadd program for this, so, thankfully, I've already downloaded it.
So, where do I need to start on the game mode? I'd like to get that out of the way so I can get my weapons and their spawns sorted out.
I won't lie. I downloaded the mod only a few minutes ago. I've probably come in with my head in the clouds, but I do know how to deal with text editor coding. I've played Garry's Mod for nearly two years now and poked about in its LUA coding. Most of what I've done is copying and pasting code to make things work, but I understand the general concepts of such simple coding and would like to think I'd be able to fit in with OC's coding from what I've seen so far.
Now, here are my questions.
Firstly, I'm trying to make a custom game mode. Quite an undertaking for my first venture, but I wouldn't be here if I didn't have that in mind.
What I'm trying to do is make it so that you can't pick up dropped weapons (Besides those that are critically necessary, of course), as well as certain players having certain weapons. Essentially, I'm just trying to restrict weapons and make it so that there are different classes of players.
I'm doing this primarily for myself and a friend of mine. It doesn't need to be flashy or fancy, just needs to work the way we want it.
Secondly, something a little easier, I'd expect, is that I want to make weapons for these classes. Nothing really new, just trying to get some custom CS weapons in the HL2 campaign. After poking around in the code, I think I won't even need help here, but I'm putting this out there just in case I ever do need help.
Edit: Ok, it doesn't look like it's as simple as the first impression made it seem. I can see no damage values in the weapon script files, so I must be looking in the wrong place. Someone's going to need to point me to the right files.
Third, I want to have the aforementioned custom weapons spawn at particular points. For instance, Class A's pistol spawns at the first time the player gets a pistol. Class B's pistol spawns when you get an SMG. Class A's primary weapon spawns when you get a...well, you get the picture.
I'm assuming that I'm going to need the mapadd program for this, so, thankfully, I've already downloaded it.
So, where do I need to start on the game mode? I'd like to get that out of the way so I can get my weapons and their spawns sorted out.