[TUT] Compiling AMXX plugins with Notepad++
I'm sure that most of you are sick of dragging and dropping their .sma files in compile.exe, finding the compiled .amxx file and adding it in the plugins folder. All of this can be done automatically with the click of just one button.
For this you will need Notepad++ and of course a server platform with a working amxxpc.exe file. Follow these steps in order to configure Notepad++ to work with the compiler: ____________________________________________ Step #1: Open Notepad++ and click on Plugins => Plugin Manager => Show Plugin Manager. Step #2: In the window that just popped up, click on the Available tab. Find the plugin NppExec and install it. If you can't find it in the list, it's probably already installed and you should continue to Step #3. Step #3: Open Notepad++ and click on Run => Modify Shortcut/Delete Command. http://i.imgur.com/iUdSeFx.jpg Step #4: Go to Plugin Commands and find the Execute and Direct Execute Previous fields. The first field sets the button that will open the compile menu and the second one is the button for direct compile. I suggest you set F9 for the direct compile and Ctrl+F9 for the menu. You will find Show Console Dialog under these two fields, which is used for toggling the console and hiding it after the compilation is complete. My suggestion for this shortcut is the Escape button. http://i.imgur.com/xzwldTn.jpg Step #5: Hit the menu button (previously suggested as Ctrl+F9). A window will pop up where you need to insert the following code: PHP Code:
After you added the code, hit Save. http://i.imgur.com/5nXSUt2.jpg Step #6: Now the configuration is complete and you can compile your plugins when you hit the compile button (I have it on F9). The compile information will be shown in the console down below. http://i.imgur.com/UpL99uV.jpg |
Re: [TUT] Compiling AMXX plugins with Notepad++
Nice tut, thanks !
|
Re: [TUT] Compiling AMXX plugins with Notepad++
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
As far as I can tell, the differences are:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
- About the plugin - I already had the plugin installed before I did this, so I totally forgot that it requires one. I edited my post. Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
To clarify, mine doesn't put the .amxx file where the .sma file is located. I said that it puts it in a location based on the .sma location i.e. it puts it in the plugin folder of the AMX Mod X installation in which the .sma file resides (assuming it's in the scripting folder). I never have to copy a .amxx file anywhere (with the exception of FTP to a remote server). |
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
In my case, I prefer letting the output in sma file's folder. And I didn't think on adding nppexec plugin, so I will give it a try now. |
All times are GMT -4. The time now is 22:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.