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

void function NorthstarCustomPrecache()
{
	PrecacheWeapon( "mp_weapon_peacekraber" )
	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
}