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
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
  Let's make our servers community-like! xord86_64 3 994 02-03-2023, 05:36 PM
Last Post: xord86_64
Question [NEED HELP] Server uses 40% CPU whereas Nexuiz server runs with max 10% e-pig 6 4,965 08-19-2020, 10:17 PM
Last Post: ballerburg9005
  [NEED HELP] I would like to setup a server; Where do I start? evilkittie 18 18,483 07-13-2017, 06:28 AM
Last Post: evilkittie
  Any other command like "status"? billyjoe 1 2,380 04-15-2017, 09:21 AM
Last Post: -z-
  How having xonotic server to make client download custom characters' sounds? gabolander 7 9,288 01-25-2015, 07:43 PM
Last Post: gabolander
  [SOLVED] How do you add new maps to a server? Gmandam 6 9,585 12-12-2012, 01:18 PM
Last Post: Gmandam
  Fast hook server (like quake3) wolas 8 7,450 11-11-2012, 12:56 PM
Last Post: wolas
Wink Server Admins - Please add at least 1 bot per public server evit 16 14,628 04-09-2012, 12:49 PM
Last Post: nonenone
Lightbulb Custom sounds akZ 2 4,022 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-