I WANT TO BE A PLUGIN MAKER!
Can someone post a tutorial on how to make a smx plugin please i want to make a cool plugin for my clan's server
|
Re: I WANT TO BE A PLUGIN MAKER!
You cant just wake up one day and write plugins. You need to know basic C++ before you can write plugins. http://wiki.alliedmods.net/Category:SourceMod_Scripting
|
Re: I WANT TO BE A PLUGIN MAKER!
Quote:
|
Re: I WANT TO BE A PLUGIN MAKER!
Quote:
|
Re: I WANT TO BE A PLUGIN MAKER!
Read the development section of the wiki. Your going to be clueless if you've never coded in another language before though.
|
Re: I WANT TO BE A PLUGIN MAKER!
For pleasure or business... if you know what I mean.... rofl
|
Re: I WANT TO BE A PLUGIN MAKER!
Yea, it's as easy as you think. Just open notepad, write "/*" and then a description of everything your cool plugin should do, and then "*/". Throw it into your compiler. ??? and then you're done.
I think you think that programming is easier than you actually think what is when I think about it. And begin programming in SourcePawn is not a really good idea in my opinion. |
Re: I WANT TO BE A PLUGIN MAKER!
Why not? Having previous programming knowledge makes it much easier to just jump into, but a scripting language such as pawn is IMO probably an easier place to start than say c++. Only difference is there is not nearly as much documentation on the fundamentals, whereas if you had started with an actual language.
|
Re: I WANT TO BE A PLUGIN MAKER!
Well, it's stupid but for example PHP (I don't really love it). It's easy, halfways fast and easy-to-understand. In my opinion much more than Pawn.
|
Re: I WANT TO BE A PLUGIN MAKER!
I think making plugins is a great way to start programming. For one, the scripting language is very basic. Your not making entire programs, just scripts. Number two, the language is more or less easy to learn. Plus there's a fantasic wiki with a tutorial to get started. Third, there's a wide array of other plugins to look into to see how something is done and to reference. Additionally, what's funnier than modding video games? SourcePawn is a great way to get into programming.
|
Re: I WANT TO BE A PLUGIN MAKER!
1. Have a plan. Decide what kind of plugin you want to write. If you have no direction, then the learning curve will be steeper.
2. Look through other people's source code. Study how they did it. There are some truly great programmers here who will have code in some of their plugins that will help you create your's. 3. Read, read, read. Read the SourceMod wikis, the Scripting forum, this forum, the VALVe wikis (e.g. http://developer.valvesoftware.com/w...egory:Entities) for suggestions and help. 4. New programmers often forget fundementals like knowing the different types of variables, leaving out brackets etc, so be prepared for a lot of frustrating moments. Gradually these fade away as your familiarity with the language increases. SourcePawn is a great language to learn. It follows the basic structure of other langauges like C and PHP and can be a great stepping stone to learning these languages, too. |
Re: I WANT TO BE A PLUGIN MAKER!
Quote:
|
Re: I WANT TO BE A PLUGIN MAKER!
Quote:
Code:
if (selection = "1")Then you remember... Oh... Shit... It's == |
Re: I WANT TO BE A PLUGIN MAKER!
Actually, coming from a guy who has a decent programming background, i am finding it difficult to jump into pawn scripting.
The wiki's are great, but i find that they do not always have enough information. The best way to learn is to set up your own local server and tear apart other people's code on it. Basically, i take some one's source and start editing it and adding / removing lines, compile, and run to learn what they do. (Just don't steal some one's hard work, that will just make you a jack ass) Also the forums are you friend! Use them wisely. |
Re: I WANT TO BE A PLUGIN MAKER!
Quote:
|
Re: I WANT TO BE A PLUGIN MAKER!
MMMMM BACON!!! GIMMEE
|
Re: I WANT TO BE A PLUGIN MAKER!
I am a decent programmer. I know C# .NET, Java, and a little PHP/HTML.
I do not know C++ or C yet. (On my agenda for my bachelors in CS ) What IDE do you use for SourcePawn? I have been badly spoiled by MVS-2008 and its intelliSense.. |
Re: I WANT TO BE A PLUGIN MAKER!
Quote:
If you don't know a language or library by heart, having a good IDE is important. |
Re: I WANT TO BE A PLUGIN MAKER!
Quote:
|
Re: I WANT TO BE A PLUGIN MAKER!
I use Notepad++ !
:D |
Re: I WANT TO BE A PLUGIN MAKER!
I'm using SciTE and Firefox.
|
| All times are GMT -4. The time now is 18:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.