aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/scripts/aisettings/npc_gunship.txt
blob: e4df1fe1f3196b839e229fa34457525edc8e0a05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
#base "base_vehicle.txt"
npc_gunship
{
	HullType				"HULL_FLYING_VEHICLE"
	AIClass					vehicle
	BodyType				vehicle
	collideWithPlayer		1

	ArmorType				heavy
	SmartAmmoLockType		large

	title 					#NPC_GUNSHIP
	titleIMC				#NPC_PHANTOM
	titleMIL				#NPC_HORNET
	ui_targetinfo			"ui/targetinfo_titan" [$mp]
	ui_targetinfo			"" [$sp]

	BaseClass				"npc_gunship"

	DefaultModelName		"models/vehicle/straton/straton_imc_gunship_01.mdl"
	DefaultWeapon			"mp_weapon_gunship_missile"
	//DefaultWeapon			"mp_weapon_gunship_turret"
	BehaviorSelector		"behavior_gunship"
	chaseStopDist			700
	chaseStopDistHeavyArmor	1000
	DrawEnemyHealthBar		1
	DrawTargetHealthBar		1

	Health					10000 [$sp]
	Health					10000 [$mp]

	aiEnemy_priority		50

	faceEnemyToleranceAngle			2
	faceEnemyStrictToleranceAngle	1
	aimConeCos						0.906	// 25 degree
	aimConeCloseCos					0.906	// 25 degree

	meleeable			false
	circleStrafeDist	1300

	magneticRange			190
	leechMaxDist			150
	rodeoMaxDist			200

	waitBetweenWeaponBurst	0

	YawSpeed				30

	minGoalRadius			300
	patrolRangeMin			2000
	patrolRangeMax			3000

	goalTolerance			400
	waypointTolerance		350
	flyingStoppingTime		1.0
	tiltLookaheadTime		2.0
	yawLookaheadTime		2.0
	randomHoverAmount		15
	maxFlyingAccel			1500
	maxFlyingSpeed			2200
	maxFlyingSpeedNonCombat	1000

	attackRunHeight		300
	attackRunDist		2500

	maxPitch			30
	maxRoll				30

	missileAwarenessCos		-1

	dodgePeriod 			10 // Don't dodge more than maxDodgePerPeriod within this time
	maxDodgePerPeriod		3 // Don't dodge more than this many times in dodgePeriod
	minConsecutiveDodgeTime	2
	StrafeDodgeDamage		400
	flyingDodgeDist			800
	enemyAimAtMeWidthHeavyArmor		150

	chasecamDistanceMax		320
	chasecamMaxOrbitDepth	90
	chasecamOffsetUp		150
	chasecamOffsetRight		110
}