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

void function NorthstarCustomPrecache()
{
	PrecacheWeapon( "mp_weapon_peacekraber" )
	PrecacheWeapon( "melee_pilot_kunai" )
	
	// create kunai damage source so game won't crash when we hit smth with it
	getconsttable()[ "eDamageSourceId" ][ "melee_pilot_kunai" ] <- eDamageSourceId.melee_pilot_emptyhanded
}