From 8d892982e8f798a50d6f9c8a2e4a766cad5add94 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 8 Dec 2011 13:05:53 +0100 Subject: [PATCH] add aliases weapon_laser etc. --- defaultXonotic.cfg | 1 + weapons.cfg | 18 ++++++++++++++++++ weapons.cfg.sh | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 weapons.cfg create mode 100755 weapons.cfg.sh diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 03573ca5d..6b5976533 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1064,6 +1064,7 @@ alias weapon_group_7 "impulse 7" alias weapon_group_8 "impulse 8" alias weapon_group_9 "impulse 9" alias weapon_group_0 "impulse 14" // cycles the superweapons +exec weapons.cfg bind 0 weapon_group_0 bind 1 weapon_group_1 bind 2 weapon_group_2 diff --git a/weapons.cfg b/weapons.cfg new file mode 100644 index 000000000..80305a5fe --- /dev/null +++ b/weapons.cfg @@ -0,0 +1,18 @@ +alias weapon_laser "impulse 230" +alias weapon_shotgun "impulse 231" +alias weapon_uzi "impulse 232" +alias weapon_grenadelauncher "impulse 233" +alias weapon_minelayer "impulse 234" +alias weapon_electro "impulse 235" +alias weapon_crylink "impulse 236" +alias weapon_nex "impulse 237" +alias weapon_hagar "impulse 238" +alias weapon_rocketlauncher "impulse 239" +alias weapon_porto "impulse 240" +alias weapon_minstanex "impulse 241" +alias weapon_hook "impulse 242" +alias weapon_hlac "impulse 243" +alias weapon_tuba "impulse 244" +alias weapon_rifle "impulse 245" +alias weapon_fireball "impulse 246" +alias weapon_seeker "impulse 247" diff --git a/weapons.cfg.sh b/weapons.cfg.sh new file mode 100755 index 000000000..f02d43cf1 --- /dev/null +++ b/weapons.cfg.sh @@ -0,0 +1,2 @@ +#!/bin/sh +