aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Custom/mod/scripts/vscripts/sh_northstar_custom_precache.gnut
blob: 6834c858271ca060a895d0ea2ef4a9d32b3280a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
untyped
global function NorthstarCustomPrecache

void function NorthstarCustomPrecache()
{
	PrecacheWeapon( "mp_weapon_peacekraber" )
	// Triple Threat disabled due to compat issues, see #331
	// PrecacheWeapon( "mp_titanweapon_triplethreat" )
	PrecacheWeapon( "melee_pilot_kunai" )

	// create kunai damage source so game won't crash when we hit smth with it
	// just using the default melee one, easier than making a new one
	getconsttable()[ "eDamageSourceId" ][ "melee_pilot_kunai" ] <- eDamageSourceId.melee_pilot_emptyhanded
}