Automatically shoot if there is a player in your crosshairs.
Useful for touchscreens and maybe other non-mouse input devices.
The installation steps for this mod are the same as for almost every other mod.
-
Download the mod file (
.pk3) -
Put the
.pk3file alongside thepak0.pk3file of your game, usually
C:\Programs (x86)\ioquake3\baseq3or
C:\Programs (x86)\Steam\steamapps\common\Quake 3 Arena\baseq3. For Team Arena the final folder ismissionpackinstead ofbaseq3.The directory structure will look like this:
Quake 3 Arena ├── baseq3 │ ├── pak0.pk3 │ ├── pak1.pk3 │ ├── pak2.pk3 │ ├── pak3.pk3 │ ├── pak4.pk3 │ ├── pak5.pk3 │ ├── pak6.pk3 │ ├── pak7.pk3 │ ├── pak8.pk3 │ └── pak999-baseq3-auto-attack-mod.pk3 ├── missionpack │ ├── pak0.pk3 │ └── pak999-missionpack-auto-attack-mod.pk3 └── quake3.exeIf you don't have
missionpack, you don't need to create it. -
Start the game.
-
Open the console (
~key). -
\set g_autoAttack 1to enable auto-attack on the server. -
\set cg_autoAttack 1to enable auto-attack on the client. -
Aim at someone.
Both the server and the clint must set the respective variables to 1
in order for auto-attack to work.
This mod's source code is based on ioquake3. If you want to integrate this mod into your mega mod, simply rebase the few commits on top of your mod's source code. It's only ~100 lines of changes: https://github.com/WofWca/quake3-auto-attack-mod/compare/ioq3...master.
If you are not going to preserve git commit history, don't forget to appropriately credit the authors otherwise.