AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Compiling with an Engine (https://forums.alliedmods.net/showthread.php?t=127347)

dustball 05-19-2010 22:45

Compiling with an Engine
 
I do realize I need to read some tutorials, and I have pretty much found out all I can about this subject. I basically deleted something in a source file, and wanted to use the modified plugin for personal use. However I need to compile it. I tried to compile it online, however it failed because I needed the engine it was run on (which is in C). I realize that I may sound stupid for asking this, but how can I compile a plugin that runs alongside an engine?

Thanks. :oops:

fysiks 05-20-2010 00:21

Re: Compiling with an Engine
 
What? What kind of "plugin" are you making?

dustball 05-20-2010 00:42

Re: Compiling with an Engine
 
I'm basically editing the GHW_Hacks, but that goes with the CHR Engine which was written in C. When I try to compile it though, it won't work because I don't have this engine.

wrecked_ 05-20-2010 00:45

Re: Compiling with an Engine
 
Oh. Compile it locally.

Exolent[jNr] 05-20-2010 00:45

Re: Compiling with an Engine
 
1. It was written in Pawn.
2. It is not an engine, nor a library of any sort. It is an include file.
3. To compile, you put the .inc in the scripting/include folder and the .sma in the scripting folder (yes, you must compile this on your computer).

dustball 05-20-2010 00:49

Re: Compiling with an Engine
 
Yeah, I first tried compiling it on my computer, however I have no pawn compiler. I looked on google for an AMXX pawn compiler but all I could find was the online compiler. Could anyone help me out with finding a compiler? Thanks.

wrecked_ 05-20-2010 00:51

Re: Compiling with an Engine
 
It comes with the package.

compile.exe

fysiks 05-20-2010 02:25

Re: Compiling with an Engine
 
Quote:

Originally Posted by wrecked_ (Post 1185648)
compile.exe

Wrong. The executable is here:

Code:

<mod>\addons\amxmodx\scripting\amxxpc.exe

wrecked_ 05-20-2010 15:54

Re: Compiling with an Engine
 
Quote:

Originally Posted by fysiks (Post 1185696)
Wrong. The executable is here:

Code:

<mod>\addons\amxmodx\scripting\amxxpc.exe

Not wrong. I use compile.exe and it works fine.

fysiks 05-20-2010 17:37

Re: Compiling with an Engine
 
Quote:

Originally Posted by wrecked_ (Post 1186229)
Not wrong. I use compile.exe and it works fine.

I don't have a compile.exe and that is why I commented. Is that the one that compiles your whole folder?

But, I just realized that you have the Windows AMX Mod X, I'm on Linux :). I think my version of compile.exe is compile.sh.


All times are GMT -4. The time now is 03:38.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.