HelpFinal Killcam in MW2 Mod....

Posts 1–3 of 3 · Page 1 of 1
Final Killcam in MW2 Mod....
I am currently creating a mod for MW2 and I have a function that scans to see if either team has been eliminated, once the team is eliminated, it shows the final killcam and ends the game(or starts next round)

Here is the current code:

Code:
watchGameWinner()
{
    self endon ( "disconnect" );
	for(;;)
	{
	if(level.frozenAllies != 0 ||level.frozenAxis != 0)
	{
		if ( level.teamCount["allies"] == level.frozenAllies )
		{
			maps\mp\gametypes\_gamelogic::endGame( "Allies", "^3The Axis have been ^5FROZEN!!^7" );
			level thread maps\mp\gametypes\_killcam::doFinalKillCamFX(5);
			level thread maps\mp\gametypes\_damage::doFinalKillcam(0,level.killcamVictim.name, level.attackNum.name, level.attackNum, level.killcamWeap, 5, 5);
		}
		
		else if ( level.teamCount["axis"] == level.frozenAxis )
		{
		maps\mp\gametypes\_gamelogic::endGame( "Axis", "^3The Allies have been ^5FROZEN!!^7" );
		level thread maps\mp\gametypes\_killcam::doFinalKillCamFX(5);
		level thread maps\mp\gametypes\_damage::doFinalKillcam(0,level.killcamVictim.name, level.attackNum.name, level.attackNum, level.killcamWeap, 5, 5);
		}
	}
	wait 1;
	}
}
But the Final Killcam is NOT working! It just ends the game(or next round).
The catch is, the players do not "die". Their controls are frozen, and added to "level.frozenAllies or level.frozenAxis".
There is a mod called Search And Destroy? Why not just play that?
Because I made freezetag for MW2. Why would I play Search and Destroy...
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us