
GameCreat0r
Joined: Apr 9, 2010
"Perhaps the ending has not yet been written..."
|
Posted: Jun 15, 2010 11:53 AM
Msg. 1 of 5
I'm looking for some commands I need for my script. does anyone know how to get/do the following:
- Get value when a player kills an other player in a multiplayer game. I need this to count the number of kills every player makes in a centrain amount of time. For the time I simply use a timer but I can't find a way to detect when a player makes a kill. Also it is importend that my script can count the kills in the time seperated for eache player. So it eighter has to retur what player made the kill or it should be able too see when for example player 5 makes a kill. So that the script can count this seperated for each player.
- Play a sound only for a specefied player (in a multiplayer game) Like when you make a dubblekill, only you hear the guys say dubblekill.
Ok so far I got only these 2 requests I might come up whit more later but if anyone can help me whit any of these PLEASE POST A REPLY!
I think these cammands should exist somewhere since the game itself usses them aswell. If you press F1 in multiplayer game for example you see the number of kills playes made. So halo can count kills. It even counts assists. So how to do that in a script?
P.S.: Atleast the first one is not in the scripting bible I looked for it tree times over. The second one might be but I haven't found it yet. Edited by Niels on Jun 15, 2010 at 11:55 AM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jun 15, 2010 02:19 PM
Msg. 2 of 5
There is no command to return either the amount of kills a player has, or when the player kills another. You'll have to mess around like I did here: http://www.youtube.com/watch?v=brJmVuebPMAAgain, scripts were not meant to be used in MP games, so there is no command to play a sound for a specific player. If you want to do a double kill sound, that's referenced in the globals.globals tag, as is a triple kill and running riot. Note that these commands do not exist. FYI, multiplayer games do not run off scripts.
|
|
|

GameCreat0r
Joined: Apr 9, 2010
"Perhaps the ending has not yet been written..."
|
Posted: Jun 15, 2010 02:28 PM
Msg. 3 of 5
What excactly do you mean whi the 'mess around like I did'? Is there an alternative? Also I want to add thins after tripple kill by this script so replacing it is not an option. adding the sounds and tell using scrip when to let them hear would but I ques that isn't posseble...
PLZ PLZ PLZ let there be a way!
btw Gamma, is that your voice? It really sounds profecional. :P centry gun??? LOL Edited by Niels on Jun 15, 2010 at 02:30 PM
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jun 15, 2010 02:35 PM
Msg. 4 of 5
No, that's not my voice. Voice actor is Barry Pepper, and dialog was extracted from Modern Warfare 2.
As for what I did in the video, I did it against one AI for a reason. If the AI were to die, then I was sure that it was the player or his cohorts that killed him. Thus, I could keep track in a counter, which would reset once the player were to die.
The main problem is that I can't detect who kills who. If someone were to die, I couldn't be sure WHO killed that person, thus limiting my options.
|
|
|

GameCreat0r
Joined: Apr 9, 2010
"Perhaps the ending has not yet been written..."
|
Posted: Jun 15, 2010 04:38 PM
Msg. 5 of 5
well yea I got that far... ... ... Damn we are stucked I don't know how to do this. I really need a way to detect a kill AND whomade it. Also how to do that sound? G# this must be posseble to do....
OH GAMMA YOUR JUST 15??? WOW! I tought you where about as old as Dennis is! ^.^ Well no that is defenetly not your voice. Edited by Niels on Jun 15, 2010 at 05:59 PM
|
|
|