1// ========================================================
2// List of heavy equipment
3// ========================================================
4// tu <num>
5//	num is the number of time units
6// armour
7//	writeme (used yet?)
8// actors <id>
9//	id as defined for "actors" in team_humans.ufo but without the "team" part.
10//	// e.g. phalanx_ugv_ares_w  -> _ugv_ares_w
11//	todo: Used to get models + skins among other things.
12// ========================================================
13
14// ========================================================
15// UGVs a.k.a. tanks
16// ========================================================
17ugv ugv_ares_w
18{
19	tu		40
20	weapon	ugv_chaingun // todo: different weapon?
21	armour	"medium"
22	actors	"_ugv_ares_w"
23	price	1000 // TODO: fix me, this is for debugging only
24}
25
26ugv ugv_phoenix
27{
28	tu		50
29	weapon	ugv_chaingun // todo: different weapon?
30	armour	"medium"
31	actors	"_ugv_phoenix"
32	price	2000 // TODO: fix me, this is for debugging only
33}
34
35// ========================================================
36// UGV equipment
37//
38// TODO: Limit this to UGVs/Tanks only (is buytype enough?)
39// TODO: See model, buytype and reaction comments below.
40// ========================================================
41
42item ugv_chaingun
43{
44	name			"_Chaingun"
45	model			"soldiers/ugv_ares/ares_w_turret"
46	weapon			true
47	type			"biggun"
48	animationindex	1
49	//holdtwohanded	true
50	//firetwohanded	true
51	shape			"0 0 5 2"
52	center			"5 0 2"
53	scale			1.25
54	ammo			500
55	reload			40
56	reloadsound		"weapons/reload-pistol"	// @todo better sound?
57	price			0 // @todo maybe we still need this somewhere?
58	size			120
59	notonmarket		true
60	is_ugvitem		true
61	weight			30.0
62}
63
64item ugv_chaingun_belt
65{
66	name			"_Chaingun Belt"
67	model			"weapons/chaingun/chaingun_ammo"	// todo: new model of "Belt" needed
68	type			"ammo"
69	animationindex	0
70	shape			"0 0 6 2"
71	center			"-3 -6 0"
72	scale			1.6
73	price			2500
74	is_ugvitem		true
75	size			40
76	dmgtype			"normal"
77	weight			10.0
78
79	weapon_mod
80	{
81		weapon ugv_chaingun
82		firedef
83		{
84			name				"_25-Round Burst"
85			skill				"assault"
86			projtl				bullet
87			impact				bulletImpact
88			hitbody				null
89			firesnd				"weapons/bullet-chaingun-10x"
90			impsnd				"impact/bullet-impact"
91			bodysnd 			"impact/bullet-bodyimpact"
92			sndonce				true
93			speed				3000
94			spread				"3 3"
95			crouch				1
96			range				100
97			shots				25
98			ammo				25
99			delaybetweenshots	10
100			time				25
101			damage				"35 5"
102			dmgweight			"normal_spray"
103			//reaction			true
104			reaction			false // do we allow RF for remote-controlled (or are they autonomous?) tanks?
105			throughwall			5
106		}
107		firedef
108		{
109			name				"_Full-Auto"
110			skill				"assault"
111			projtl				bullet
112			impact				bulletImpact
113			hitbody				null
114			firesnd				"weapons/bullet-chaingun-50x"
115			impsnd				"impact/bullet-impact"
116			bodysnd 			"impact/bullet-bodyimpact"
117			sndonce				true
118			speed				3000
119			spread				"4 4"
120			crouch				1
121			range				100
122			shots				100
123			ammo				100
124			delaybetweenshots	20
125			time				40
126			damage				"35 5"
127			dmgweight			"normal_spray"
128			//reaction			true
129			reaction			false // do we allow RF for remote-controlled (or are they autonomous?) tanks?
130			throughwall			5
131		}
132// Deactivated for now
133//		firedef
134//		{
135//			name				"_Full-Auto Sweep"
136//			skill				"assault"
137//			projtl				bullet
138//			impact				bulletImpact
139//			hitbody				null
140//			firesnd				"weapons/bullet-chaingun-50x"
141//			impsnd				"impact/bullet-impact"
142//			bodysnd 			"impact/bullet-bodyimpact"
143//			sndonce				true
144//			speed				3000
145//			spread				"3 15"
146//			crouch				1.0
147//			range				60
148//			shots				50
149//			ammo				50
150//			delaybetweenshots	20
151//			time				20
152//			damage				"25 5"
153//			dmgweight			"normal_heavy"
154//			reaction			true
155//		}
156	}
157}
158
159item ugv_weapon_autocannon
160{
161	name			"_Autocannon Module"
162	model			"weapons/autocannon/ugv_autocannon"
163	weapon			true
164	type			"biggun"
165	animationindex	1
166	//holdtwohanded	true
167	//firetwohanded	true
168	shape			"0 0 5 2"
169	center			"5 0 2"
170	scale			1.25
171	ammo			500
172	reload			20
173	reloadsound		"weapons/reload-pistol"	// @todo better sound?
174	price			0 // @todo maybe we still need this somewhere?
175	size			120
176	notonmarket		true
177	is_ugvitem		true
178	weight			30.0
179}
180
181// TODO:
182// ugv_ammo_ap_rounds_txt 12mm AP Rounds
183// ugv_ammo_fp_rounds_txt 12mm FP Rounds
184