[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. |
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
The "file output method" to which he is referring is where the resulting .amxx file is located after compilation. |
Re: [TUT] Compiling AMXX plugins with Notepad++
So it doesn't let you change the output location ?
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
You could actually set up multiple methods/output file locations set on different hotkeys. |
Re: [TUT] Compiling AMXX plugins with Notepad++
I rather have all the plugins output to one default folder... because I don't have to copy them all the time to the plugins folder of the server >.>
So many useless and annoying customizations and preferences in everything around here, different folder for includes, different folders for output, different project, bla bla bla I like that ocixcrom kept it simple |
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Thank you very much!
|
Re: [TUT] Compiling AMXX plugins with Notepad++
a bit off topic but, can you share your defined language? i know that u posted ur own version in a new thread but it isnt the same.
|
Re: [TUT] Compiling AMXX plugins with Notepad++
It was different when I made this topic, but now it's the same as the one in my other thread. :)
I believe I can find my old one, but it will be missing a huge amount of stuff added in the new thread. You should download the one in the other thread, it's pretty much the same. The only thing I changed is the forwards' (plugin_init, plugin_cfg, client_putinserver, etc) color from green to light blue because they were using the same color as the constants and I added folding. If you prefer green, you can easily change it. |
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
and im using the Lastest version |
Re: [TUT] Compiling AMXX plugins with Notepad++
They f*cked things up in the new version. You will have to manually download the Plugin Manager and/or NppExec. Try from here - https://sourceforge.net/projects/npp...urce=directory
|
Re: [TUT] Compiling AMXX plugins with Notepad++
@OciXCrom Can you add autocomplete feature as sublime amxx have?
|
Re: [TUT] Compiling AMXX plugins with Notepad++
I no longer use Notepad++ as Sublime and many other editors are superior to it and don't require manual writing of every single function + don't have a ridiculous limit for keywords.
|
Re: [TUT] Compiling AMXX plugins with Notepad++
It's kinda outdated, better use a webcompiler instead: http://amx.icegame.ro/
|
Re: [TUT] Compiling AMXX plugins with Notepad++
What :?? Just use local compiler, drag and compile if you using your PC
Or if youre too lazy switch to Sublime Text or VS Code |
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
God! Amazing trick!
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Pretty good, I was using this before, but now i'm in VSCode as it is much better than Notepad++
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
Quote:
|
Re: [TUT] Compiling AMXX plugins with Notepad++
My cool server!!
|
All times are GMT -4. The time now is 02:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.