Author
|
Message
|
New Member
|
12-10-2017
, 06:34
Problems with miscstats.amxx
|
#1
|
I have two issues:
miscstats won't display killstreak messages on as_oilrig.
I can't find how to center killstreak messages on the screen.
I am running PODbot, CSDM and gungame.
EDIT: The problem with as_oilring is that I'm running ffa and since the first people we see in as_oilrig are "on the same team" then they don't count towards killstreaks. So let me amend my first question to: How to make miscstats killstreaks work in ffa?
EDIT2: So I fixed both problems. In the .sma, under the KillingStreak section, go to set_hudmessage(0, 100, 255, 0.05, 0.50, 2, 0.02, 6.0, 0.01, 0.1, -1) and change the 4th and 5th variables to -1.0 and 0.20, respectively. Then change g_left_sync (just below) to g_center1_sync. This will center your killstreak messages and also put it so it won't cover up any other hud messages. And, you can do this with any set_hudmessage in the script.
Next, to make killstreaks work with ffa, go to the start of the KillingStreak section:
if ((KillingStreak || KillingStreakSound) && !TK)
and remove && !TK so it looks like this:
if ((KillingStreak || KillingStreakSound))
Then, go to:
if (!selfkill && !TK)
under the multikill section and remove && !TK again:
if (!selfkill)
And that's it! Killstreak messages are centered and you get credit for TKs.
I've attached my edited .sma if you don't want to edit it yourself.
Last edited by shoopdawhoop100; 12-11-2017 at 05:37.
|
|
|
|