here is how I compile QC from notepad++
in Drive:/pathToNotepad/shotcuts.xml add
This shortcut is cntrl+enter. You can change it to whatever you like. It can also be accessed in notepads run menu. To change the keyboard shortcut, you can either, change the above xml to suit or change it in notepads built in shortcut widget.
-------
In drive:/pathToFTEQCC/ create this .bat
qcCompile.bat - the compiler options menu.
You get four choices:
1) Compile and open log
2) Compile and start Quake
3) Compile and start Quake from a specific map
4) Compile and close
Notes:
This changes the directory to the grandparent of the current one. The current one is my drive:/pathToFTEQCC which is ..Quake/id1/develop/. So. it backs it up to the Quake folder where my engine resides. You will definitely need to change this if your engine is elsewhere.
in Drive:/pathToNotepad/shotcuts.xml add
Code:
<Command name="QC-Compile" Ctrl="yes" Alt="no" Shift="no" Key="13">Drive:/pathToFTEQCC/qcCompile.bat</Command>
-------
In drive:/pathToFTEQCC/ create this .bat
qcCompile.bat - the compiler options menu.
Code:
@ECHO off cd /d %~dp0 cls :start ECHO. ECHO 1. Compile and open Log ECHO 2. Compile and Start Quake ECHO 3. Compile and Start Quake with a Specific Map ECHO 4. Compile and Close set /p choice=Choose a number and press enter: if not "%choice%"=="" set choice=%choice:~0,1% if "%choice%"=="1" goto COL if "%choice%"=="2" goto CSQ if "%choice%"=="3" goto CSQSM if "%choice%"=="4" goto CC ECHO "%choice%" is not valid, try again ECHO. goto start :COL fteqcc.exe fteqcc.log EXIT :CSQ fteqcc.exe cd ..\.. darkplaces.exe EXIT :CSQSM set /p map=type the name of your map and press enter: fteqcc.exe cd ..\.. darkplaces.exe +map "%map%" EXIT :CC fteqcc.exe EXIT
1) Compile and open log
2) Compile and start Quake
3) Compile and start Quake from a specific map
4) Compile and close
Notes:
Code:
cd ..\..
Comment