mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-22 03:51:23 +00:00
bots should use all weapons now
This commit is contained in:
parent
3db14f4f65
commit
b9dce9aed9
3 changed files with 119 additions and 172 deletions
|
@ -33,62 +33,55 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define INVENTORY_LIGHTNING 9
|
||||
#define INVENTORY_RAILGUN 10
|
||||
#define INVENTORY_PLASMAGUN 11
|
||||
#define INVENTORY_BFG10K 13
|
||||
#define INVENTORY_GRAPPLINGHOOK 14
|
||||
#define INVENTORY_NAILGUN 15
|
||||
#define INVENTORY_PROXLAUNCHER 16
|
||||
#define INVENTORY_CHAINGUN 17
|
||||
//Q3Rally Code Start
|
||||
#define INVENTORY_FLAMETHROWER 18
|
||||
//Q3Rally Code END
|
||||
#define INVENTORY_BFG10K 12
|
||||
#define INVENTORY_GRAPPLINGHOOK 13
|
||||
#define INVENTORY_NAILGUN 14
|
||||
#define INVENTORY_PROXLAUNCHER 15
|
||||
#define INVENTORY_CHAINGUN 16
|
||||
#define INVENTORY_FLAMETHROWER 17
|
||||
//ammo
|
||||
#define INVENTORY_SHELLS 19
|
||||
#define INVENTORY_BULLETS 20
|
||||
#define INVENTORY_GRENADES 21
|
||||
#define INVENTORY_CELLS 22
|
||||
#define INVENTORY_LIGHTNINGAMMO 23
|
||||
#define INVENTORY_ROCKETS 24
|
||||
#define INVENTORY_SLUGS 25
|
||||
#define INVENTORY_BFGAMMO 26
|
||||
#define INVENTORY_NAILS 27
|
||||
#define INVENTORY_MINES 28
|
||||
#define INVENTORY_BELT 29
|
||||
#define INVENTORY_SHELLS 18
|
||||
#define INVENTORY_BULLETS 19
|
||||
#define INVENTORY_GRENADES 20
|
||||
#define INVENTORY_CELLS 21
|
||||
#define INVENTORY_LIGHTNINGAMMO 22
|
||||
#define INVENTORY_ROCKETS 23
|
||||
#define INVENTORY_SLUGS 24
|
||||
#define INVENTORY_BFGAMMO 25
|
||||
#define INVENTORY_NAILS 26
|
||||
#define INVENTORY_MINES 27
|
||||
#define INVENTORY_BELT 28
|
||||
//powerups
|
||||
#define INVENTORY_HEALTH 30
|
||||
#define INVENTORY_TELEPORTER 31
|
||||
#define INVENTORY_MEDKIT 32
|
||||
#define INVENTORY_KAMIKAZE 33
|
||||
#define INVENTORY_PORTAL 34
|
||||
#define INVENTORY_INVULNERABILITY 35
|
||||
#define INVENTORY_QUAD 36
|
||||
#define INVENTORY_ENVIRONMENTSUIT 37
|
||||
#define INVENTORY_HASTE 38
|
||||
#define INVENTORY_INVISIBILITY 39
|
||||
#define INVENTORY_REGEN 40
|
||||
#define INVENTORY_FLIGHT 41
|
||||
#define INVENTORY_SCOUT 42
|
||||
#define INVENTORY_GUARD 43
|
||||
#define INVENTORY_DOUBLER 44
|
||||
#define INVENTORY_AMMOREGEN 45
|
||||
|
||||
#define INVENTORY_REDFLAG 46
|
||||
#define INVENTORY_BLUEFLAG 47
|
||||
#define INVENTORY_NEUTRALFLAG 48
|
||||
#define INVENTORY_REDCUBE 49
|
||||
#define INVENTORY_BLUECUBE 50
|
||||
#define INVENTORY_HEALTH 29
|
||||
#define INVENTORY_TELEPORTER 30
|
||||
#define INVENTORY_MEDKIT 31
|
||||
#define INVENTORY_KAMIKAZE 32
|
||||
#define INVENTORY_PORTAL 33
|
||||
#define INVENTORY_INVULNERABILITY 34
|
||||
#define INVENTORY_QUAD 35
|
||||
#define INVENTORY_ENVIRONMENTSUIT 36
|
||||
#define INVENTORY_HASTE 37
|
||||
#define INVENTORY_INVISIBILITY 38
|
||||
#define INVENTORY_REGEN 39
|
||||
#define INVENTORY_FLIGHT 40
|
||||
#define INVENTORY_SCOUT 41
|
||||
#define INVENTORY_GUARD 42
|
||||
#define INVENTORY_DOUBLER 43
|
||||
#define INVENTORY_AMMOREGEN 44
|
||||
#define INVENTORY_REDFLAG 45
|
||||
#define INVENTORY_BLUEFLAG 46
|
||||
#define INVENTORY_NEUTRALFLAG 47
|
||||
#define INVENTORY_REDCUBE 48
|
||||
#define INVENTORY_BLUECUBE 49
|
||||
//enemy stuff
|
||||
#define ENEMY_HORIZONTAL_DIST 200
|
||||
#define ENEMY_HEIGHT 201
|
||||
#define NUM_VISIBLE_ENEMIES 202
|
||||
#define NUM_VISIBLE_TEAMMATES 203
|
||||
|
||||
// if running the mission pack
|
||||
#ifdef MISSIONPACK
|
||||
|
||||
//#error "running mission pack"
|
||||
|
||||
#endif
|
||||
|
||||
//item numbers (make sure they are in sync with bg_itemlist in bg_misc.c)
|
||||
#define MODELINDEX_ARMORSHARD 1
|
||||
#define MODELINDEX_ARMORCOMBAT 2
|
||||
|
@ -108,9 +101,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define MODELINDEX_PLASMAGUN 15
|
||||
#define MODELINDEX_BFG10K 16
|
||||
#define MODELINDEX_GRAPPLINGHOOK 17
|
||||
//Q3Rally Code Start
|
||||
#define MODELINDEX_FLAMETHROWER 18
|
||||
//Q3Rally Code END
|
||||
|
||||
#define MODELINDEX_SHELLS 19
|
||||
#define MODELINDEX_BULLETS 20
|
||||
|
|
|
@ -55,7 +55,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define BASETA "missionpack"
|
||||
|
||||
#ifndef PRODUCT_VERSION
|
||||
#define PRODUCT_VERSION "v0.0.0.4 r159"
|
||||
#define PRODUCT_VERSION "v0.0.0.4 r161"
|
||||
#endif
|
||||
|
||||
#define Q3_VERSION PRODUCT_NAME " " PRODUCT_VERSION
|
||||
|
|
|
@ -860,17 +860,6 @@ q3rallycode
|
|||
0=engine\code\qcommon\q_shared.h
|
||||
1=engine\code\q3_ui\ui_rally_controls.c
|
||||
2=engine\code\game\inv.h
|
||||
3=baseq3r\botfiles\inv.h
|
||||
4=engine\code\game\bg_misc.c
|
||||
5=engine\code\cgame\cg_rally_rearweapons.c
|
||||
6=engine\code\cgame\cg_weapons.c
|
||||
7=engine\code\game\bg_pmove.c
|
||||
8=engine\code\game\bg_public.h
|
||||
9=engine\code\game\g_rally_rearweapon.c
|
||||
10=engine\code\cgame\cg_ents.c
|
||||
11=engine\code\game\ai_dmq3.c
|
||||
12=engine\code\game\g_active.c
|
||||
13=engine\code\game\g_missile.c
|
||||
[Selected Project Files]
|
||||
Main=
|
||||
Selected=engine\code\qcommon\q_shared.h
|
||||
|
@ -882,37 +871,4 @@ TopLine=778
|
|||
Caret=1,819
|
||||
[engine\code\game\inv.h]
|
||||
TopLine=1
|
||||
Caret=34,174
|
||||
[baseq3r\botfiles\inv.h]
|
||||
TopLine=131
|
||||
Caret=34,173
|
||||
[engine\code\game\bg_misc.c]
|
||||
TopLine=401
|
||||
Caret=18,401
|
||||
[engine\code\cgame\cg_rally_rearweapons.c]
|
||||
TopLine=69
|
||||
Caret=1,83
|
||||
[engine\code\cgame\cg_weapons.c]
|
||||
TopLine=711
|
||||
Caret=1,711
|
||||
[engine\code\game\bg_pmove.c]
|
||||
TopLine=1824
|
||||
Caret=1,1834
|
||||
[engine\code\game\bg_public.h]
|
||||
TopLine=459
|
||||
Caret=1,475
|
||||
[engine\code\game\g_rally_rearweapon.c]
|
||||
TopLine=245
|
||||
Caret=1,265
|
||||
[engine\code\cgame\cg_ents.c]
|
||||
TopLine=523
|
||||
Caret=1,529
|
||||
[engine\code\game\ai_dmq3.c]
|
||||
TopLine=1741
|
||||
Caret=1,1755
|
||||
[engine\code\game\g_active.c]
|
||||
TopLine=671
|
||||
Caret=1,675
|
||||
[engine\code\game\g_missile.c]
|
||||
TopLine=226
|
||||
Caret=1,258
|
||||
Caret=1,1
|
||||
|
|
Loading…
Reference in a new issue