Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to add 5,10,15,20,25,30 kills sounds like in Nexuiz?

#1
Well. The title says it all. I see that Xonotic has these sounds disabled, but I'm wondering how can I enable them on my server?[/align]
[Image: 10253.png]
Reply

#2
I don't know if that's intentional, but in the current git state the code that announces kill sprees is never reached.

At line 446 in g_damage.qc,
Code:
if (attacker.killcount > 2) {
    Send_KillNotification(a, ftos(attacker.killcount), "", KILL_SPREE, MSG_SPREE);
}
else if (attacker.killcount == 3)
{
    Send_KillNotification(a, "", "", KILL_SPREE_3, MSG_SPREE);
    AnnounceTo(attacker, "03kills");
    PlayerStats_Event(attacker, PLAYERSTATS_ACHIEVEMENT_KILL_SPREE_3, 1);
}
else if(...)
{...}

As you can see, if the killcount is higher than 2 there will be no AnnounceTo because of the first conditional. I don't know if that's a bug or if it's intentional, but that's where it's disabled.
Reply

#3
so. i have to set lower than 2 in this case?
[Image: 10253.png]
Reply

#4
Do you use git or autobuilds? If so, be patient, this should be fixed soon.

I filed a merge request for this bug fix: http://dev.xonotic.org/issues/1167
If you're in a hurry, apply that patch manually or merge mrbougo/killspree_bugfix into your master branch.
Reply

#5
unfortunately, im not using git. i use autobuild updater, but if i have time, i'll get the git soon
[Image: 10253.png]
Reply

#6
Then wait until this patch gets into the master branch. Then, the next autobuild will have it.
Reply

#7
so this is FruitieX' fault, once again Big Grin
Reply

#8
It's like that.. forever. No one believed me at first ffs. Tongue
[Image: 21.png]
IRC (QuakeNet): #bot.xonotic | #xonotic.pickup | #xonotic | #xonotic.cup
Steam | Twitch.tv | YouTube
Movies: Mirification #1 | #2 | Mirificaption #1 | #3 | #4 | [BOT] Clan #3 | #5 | #6 | #7 | [BOT] Clan #4 | #8 | #9

Reply

#9
I've never seen you complaining about this. I'm not saying you didn't but at least it didn't reach me.
Reply

#10
this isnt working Sad
[Image: 10253.png]
Reply

#11
Because the branch is not merged yet. There's not much I can do about this. I'll talk to the team.

You can follow progress on the link I posted above.
Reply

#12
In my server, I solved this problem by removing "else" from each "else if (attacker.killcount ==...)" statement.
Reply

#13
That's almost what my patch above does. It's linked in an earlier post in this thread.
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
Question [NEED HELP] Server uses 40% CPU whereas Nexuiz server runs with max 10% e-pig 6 2,560 08-19-2020, 10:17 PM
Last Post: ballerburg9005
  How having xonotic server to make client download custom characters' sounds? gabolander 7 6,490 01-25-2015, 07:43 PM
Last Post: gabolander
Lightbulb Custom sounds akZ 2 3,079 02-25-2011, 09:24 AM
Last Post: chooksta

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-