Hello everybody,
I hope this is the currect place to post such topics. I'm new to Gmod and this forum. Please move my topic to an appropriate section if necessary.
I used to be a Call of Duty modder and recently moved to Gmod to recreate my old zombie gamemode. I'm not asking you to provide codes. I only have a few basic questions about the limits of Gmod.
1. Can I get rid of the classic weapon selection and make a cycle that cycles through your weapons only using one button?
2. Can I create a menu like this? I don't want player to stop while using this menu. While the player is holding "w", presses "q" to open menu and presses "1", "1", "4" to go through menus and purchase a weapon, the player should continue to walk.
In the picture below, you can open commands sub-menu by pressing 1.
[IMG]http://wiki.modsrepository.com/images/6/64/Modmenu_2.jpg[/IMG]
3. There used to be barricades that spawned in front of the player when purchased from the menu. The special thing about these barricades was if they were purchased rapidly they would stack on top of each other, else they would stack inside each other and stay there. Can I recreate this in gmod?
Example of stacking quickly. Notice how the first one stacks inside the old barriacde but the rest stays on top.
[video=youtube;gxPjV3a8gY8]http://www.youtube.com/watch?v=gxPjV3a8gY8[/video]
4. (Special Question) I couldn't find a good tutorial about gamemode creation. There are a few basic tutorials until playerloadout, teams etc. but that's it. I prefer written tutorials over youtube tutorials. If you could provide me some beginner & advanced up-to-date tutorials, I would really appreciate it.
Thanks,
Lemon
The limit in Call of Duty to what you can do is far greater than GMOD. [B]Almost[/B] everything in GMOD is possible.
1. Yes
2. Oh yes!
3. Of course
Dont habe an answer for 4, since i dont know any good written tutorial tho. If you dont find good ones, check out goatures YouTube channel.
you can do all of that and much more, maurits wiki has nice tutorials but they are outdated
Thanks for your answers. I can now start my quest and spend my valuable time digging out dated stuff, non existing tutorials and hope to make a playable mod by summer.
There is basically nowhere that I can learn some intermediate/advanced stuff.
I will check goature's videos and see if they are helpful or not.
[QUOTE=Lemon30;44304286]Thanks for your answers. I can now start my quest and spend my valuable time digging out dated stuff, non existing tutorials and hope to make a playable mod by summer.
There is basically nowhere that I can learn some intermediate/advanced stuff.
I will check goature's videos and see if they are helpful or not.[/QUOTE]
using a gamemode base should help you, [url]http://wiki.garrysmod.com/page/Gamemode_Creation[/url] this isnt the best doesn't really explain much but should help you
[QUOTE=nettsam;44304369]using a gamemode base should help you, [url]http://wiki.garrysmod.com/page/Gamemode_Creation[/url] this isnt the best doesn't really explain much but should help you[/QUOTE]
That is pretty useless compared to what mauritts wiki has. I've created mod, I can arrange teams, set player models, give take weapons, use basic hooks and write basic functions but that's it. There is a giant community but I can't find any tutorials.
And I can't just ask how to make that menu or barricade spawning. I should know some of the basics. I can't even find a way to make a point system.
Although cod had a small community and it was more limited, there were more than 2 tutorials on ever subject. If somebody figured out how to make something new. The first thing they did was to release a tutorial about it, no matter how advanced it was.
[QUOTE=Lemon30;44304464]That is pretty useless compared to what mauritts wiki has. I've created mod, I can arrange teams, set player models, give take weapons, use basic hooks and write basic functions but that's it. There is a giant community but I can't find any tutorials.
And I can't just ask how to make that menu or barricade spawning. I should know some of the basics. I can't even find a way to make a point system.
Although cod had a small community and it was more limited, there were more than 2 tutorials on ever subject. If somebody figured out how to make something new. The first thing they did was to release a tutorial about it, no matter how advanced it was.[/QUOTE]
Well gmod is completely different in my (opinion)
Resources:
Notepad++
[url]http://wiki.garrysmod.com/page/Main_Page[/url]
Look into OBBMax, OBBMin and OBBCenter for stacking. For stacking you should trace to see which prop is on top, then use the OBBCenter to get the x and y coords, use OBBMax for the z coord to build the Vector( x, y, z ), then use GetAngles for the Angle( p, y, r );
For the menu, you may have a tough time using escape to exit the menu because it's bound to the main menu; however you can use gui.Hide( something ) to hide the main menu, check if it's visible first. Only use it when using escape within that menu, blocking people from using escape to leave your gm would cause all of us to lose that feature...
For the weapon scroller; look at how TTT does it, then rewrite it from the ground-up.
And, I am working on a base-gamemode with a ton of helper-functions but it's been slow due to my condition.
[QUOTE=Acecool;44305584]Look into OBBMax, OBBMin and OBBCenter for stacking. For stacking you should trace to see which prop is on top, then use the OBBCenter to get the x and y coords, use OBBMax for the z coord to build the Vector( x, y, z ), then use GetAngles for the Angle( p, y, r );
For the menu, you may have a tough time using escape to exit the menu because it's bound to the main menu; however you can use gui.Hide( something ) to hide the main menu, check if it's visible first. Only use it when using escape within that menu, blocking people from using escape to leave your gm would cause all of us to lose that feature...
For the weapon scroller; look at how TTT does it, then rewrite it from the ground-up.
And, I am working on a base-gamemode with a ton of helper-functions but it's been slow due to my condition.[/QUOTE]
stop post