Jump to content

cbox


Recommended Posts

Posted

I've been trying to obtain this gametype. I don't think its in my mpdata file, nor the code_post_buttons cgf file.

 

I'm going to look in the common ones now, because one of these files have to hold the gametypes.

Posted
I know you can (somehow) set it with the button configs in the code_post_gfx_mp file. If you're talking about common_mp, that can not be decompressed normally, and when looking through it I didn't see anything gametype related (didn't go too in depth though, probably some data).
Posted

I need to learn stuff god dammit.

 

I edited the patch file and found that its a language I understand. I saw that it had some debug functions that I might be able to use to unlock everything. Except, everytime I change stuff the hash table I think gets thrown off and I need to find where it calculates that and re-write it. I'm making slow progress.

 

completeAllChallenges( percentage )
{
foreach ( challengeRef, challengeData in level.challengeInfo )
{
	finalTarget = 0;
	finalTier = 0;
	for ( tierId = 1; isDefined( challengeData["targetval"][tierId] ); tierId++ )
	{
		finalTarget = challengeData["targetval"][tierId];
		finalTier = tierId + 1;
	}
	
	if ( percentage != 1.0 )
	{
		finalTarget--;
		finalTier--;
	}

	if ( self isItemUnlocked( challengeRef ) || percentage == 1.0 )
	{		
		self setPlayerData( "challengeProgress", challengeRef, finalTarget );
		self setPlayerData( "challengeState", challengeRef, finalTier );
	}
	
	wait ( 0.05 );
}

println( "Done unlocking challenges" );
}

 

That is what I found ^

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...