diff --git a/config/autoexec.cfg b/config/autoexec.cfg new file mode 100755 index 00000000..83ce7c37 --- /dev/null +++ b/config/autoexec.cfg @@ -0,0 +1,2 @@ +// this file gets executed if you start the game +name driAn \ No newline at end of file diff --git a/config/defaults.cfg b/config/defaults.cfg index d42c5beb..89b0859e 100644 --- a/config/defaults.cfg +++ b/config/defaults.cfg @@ -20,10 +20,10 @@ bind A left bind S backward bind D right -alias primary [ weapon 0 ] +alias primary [ weapon (currentprimary) ] alias secondary [ weapon 1 ] -alias melee [ weapon 2 ] -alias grenades [weapon 3 ] +alias melee [ weapon 0 ] +alias grenades [weapon 6 ] bind 1 "primary" bind 2 "secondary" diff --git a/source/src/main.cpp b/source/src/main.cpp index 6eb4b3f4..22bf70a1 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -432,7 +432,4 @@ void loadcrosshair(char *c) COMMAND(loadcrosshair, ARG_1STR); -void version() { alias("s", "ActionCube v0.91"); }; -COMMAND(version, ARG_NONE); - - +VAR(version, 1, 910, 0); \ No newline at end of file diff --git a/source/src/weapon.cpp b/source/src/weapon.cpp index 959cedf2..cf4b9616 100644 --- a/source/src/weapon.cpp +++ b/source/src/weapon.cpp @@ -27,7 +27,7 @@ guninfo guns[NUMGUNS] = { S_PISTOL, S_RPISTOL, 1400, 170, 19, 0, 0, 80, 10, 8, 6, 5, false, "pistol" }, // *SGRAYS { S_SHOTGUN, S_RSHOTGUN, 2400, 1000, 5, 0, 0, 1, 35, 7, 9, 9, false, "shotgun" }, //reload time is for 1 shell from 7 too powerful to 6 { S_SUBGUN, S_RSUBGUN, 1650, 80, 15, 0, 0, 70, 15, 30, 1, 2, true, "subgun" }, - { S_SNIPER, S_RSNIPER, 1950, 1500, 80, 0, 0, 60, 50, 5, 4, 4, false, "sniper" }, + { S_SNIPER, S_RSNIPER, 1950, 1500, 85, 0, 0, 60, 50, 5, 4, 4, false, "sniper" }, { S_ASSAULT, S_RASSAULT, 2000, 130, 25, 0, 0, 20, 40, 20, 0, 2, true, "assault" }, //recoil was 44 { S_NULL, S_NULL, 1000, 1200, 150, 20, 6, 1, 1, 1, 3, 1, "grenade" }, };