I agree that the error could very well be me ;) though I tried many ways to get it working, like different locations in the dm.gsc - and/or _callbacksetup.gsc. I have been able to get other things...
Type: Posts; User: michelboonstra74
I agree that the error could very well be me ;) though I tried many ways to get it working, like different locations in the dm.gsc - and/or _callbacksetup.gsc. I have been able to get other things...
Thanks so much!, vanfreddy! Your script works like a charm, also in TDM - and even with bots. And my players love it, cheers!
Thanks! I'll give it a try and let you know if it works with my config.
Thank your for your reply. However, I still don't get kill spree messages.. it seems to ignore the script, I also don't get any error messages about it..
CodeCallback_PlayerKilled(eInflictor, eAttacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, timeOffset, deathAnimDuration)
{
self endon("disconnect");...
Thanks for your reply. I get the chasing rabbit analogy :-) I tried your suggestion in CodeCallBack_PlayerKilled, but then it results in a script compile error: uninitialised variable 'attacker'...
Thanks for the reply! In the Merciless mod, it was also in the 'spawnPlayer', so that's why I thought it should be done every time a player spawns.
But if i add the variables to the dm.gsc -> self...
Ok, thank you both for your replies! Based on the Merciless mod, I changed it a bit.
In the maps\mp\gametypes\dm.gsc I just added these lines:
self.killspree = 0;
self thread...
Thanks for the reply. Clearly I have little knowledge of scripting.. :confused: I have placed the killing spree script in playerKilled - but with no effect, or error in the log file so far.
( Dev...
I'm sorry, I meant dm.gsc, not teams.gsc.
In there I placed it under:
Callback_PlayerDamage(eInflictor, eAttacker, iDamage, iDFlags, sMeansOfDeath, sWeapon, vPoint, vDir, sHitLoc, psOffsetTime)
I'd like to add killing spree messages to all my COD2 MP players. I have found this bit of script online, but if I add it to my maps\mp\gametypes\teams.gsc
it does not work (nor do I get an error)....
Oh yes! Mitch and Pollo, thank you so much for your help! I was quite stuck on this one and now it works like a charm! I have it working for DM (each MP player has their own unique model) and in TDM ...
I have been unsuccesfully trying to setup a custom MP model for each of my online LAN players - based on their multiplayer name.
I've tried a number of variations, searched online and checked out...