Results 1 to 3 of 3
  1. #1
    Blackburn29's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0

    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".

  2. #2
    Nachos's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    Between Equator and The North Pole
    Posts
    2,986
    Reputation
    176
    Thanks
    913
    My Mood
    Blah
    There is a mod called Search And Destroy? Why not just play that?


    The lines in my Steam are i's

  3. #3
    Blackburn29's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    Because I made freezetag for MW2. Why would I play Search and Destroy...