blob: d5af4cde8e99100c3db0cbcfef1f2bcb19f332c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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
// just using the default melee one, easier than making a new one
getconsttable()[ "eDamageSourceId" ][ "melee_pilot_kunai" ] <- eDamageSourceId.melee_pilot_emptyhanded
}
|