aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod/scripts/vscripts/mp
diff options
context:
space:
mode:
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts/mp')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut2
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/mp/_score.nut11
2 files changed, 7 insertions, 6 deletions
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
index 4168de30..8d29c612 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_base_gametype_mp.gnut
@@ -291,7 +291,7 @@ void function PostDeathThread_MP( entity player, var damageInfo ) // based on ga
alreadyAssisted[attackerInfo.attacker.GetEncodedEHandle()] <- true
Remote_CallFunction_NonReplay( attackerInfo.attacker, "ServerCallback_SetAssistInformation", attackerInfo.damageSourceId, attacker.GetEncodedEHandle(), player.GetEncodedEHandle(), attackerInfo.time )
AddPlayerScore( attackerInfo.attacker, "PilotAssist" )
- player.AddToPlayerGameStat( PGS_ASSISTS, 1 )
+ attackerInfo.attacker.AddToPlayerGameStat( PGS_ASSISTS, 1 )
}
}
}
diff --git a/Northstar.CustomServers/mod/scripts/vscripts/mp/_score.nut b/Northstar.CustomServers/mod/scripts/vscripts/mp/_score.nut
index 36862d8a..2d1ff074 100644
--- a/Northstar.CustomServers/mod/scripts/vscripts/mp/_score.nut
+++ b/Northstar.CustomServers/mod/scripts/vscripts/mp/_score.nut
@@ -164,7 +164,7 @@ void function ScoreEvent_PlayerKilled( entity victim, entity attacker, var damag
else if ( attacker.s.currentTimedKillstreak == TRIPLEKILL_REQUIREMENT_KILLS )
AddPlayerScore( attacker, "TripleKill" )
else if ( attacker.s.currentTimedKillstreak >= MEGAKILL_REQUIREMENT_KILLS )
- AddPlayerScore( attacker, "MegaKill" )
+ AddPlayerScore( attacker, "MegaKill", attacker )
}
attacker.s.lastKillTime = Time()
@@ -237,12 +237,13 @@ void function ScoreEvent_SetupEarnMeterValuesForMixedModes() // mixed modes in t
ScoreEvent_SetEarnMeterValues( "PilotBatteryStolen", 0.0, 0.35 ) // this actually just doesn't have overdrive in vanilla even
ScoreEvent_SetEarnMeterValues( "Headshot", 0.0, 0.02 )
ScoreEvent_SetEarnMeterValues( "FirstStrike", 0.0, 0.05 )
+ ScoreEvent_SetEarnMeterValues( "PilotBatteryApplied", 0.0, 0.35 )
// ai
- ScoreEvent_SetEarnMeterValues( "KillGrunt", 0.0, 0.02, 0.5 )
- ScoreEvent_SetEarnMeterValues( "KillSpectre", 0.0, 0.02, 0.5 )
- ScoreEvent_SetEarnMeterValues( "LeechSpectre", 0.0, 0.02 )
- ScoreEvent_SetEarnMeterValues( "KillStalker", 0.0, 0.02, 0.5 )
+ ScoreEvent_SetEarnMeterValues( "KillGrunt", 0.02, 0.02, 0.5 )
+ ScoreEvent_SetEarnMeterValues( "KillSpectre", 0.02, 0.02, 0.5 )
+ ScoreEvent_SetEarnMeterValues( "LeechSpectre", 0.02, 0.02 )
+ ScoreEvent_SetEarnMeterValues( "KillStalker", 0.02, 0.02, 0.5 )
ScoreEvent_SetEarnMeterValues( "KillSuperSpectre", 0.0, 0.1, 0.5 )
}