JetlinerX 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 599 
	Threads: 49 
	Joined: Jun 2011
	
 Reputation: 
19
		
	 | 
	
		
			
RE: Ending and credits 
			 
			
						<CATEGORY Name="Ending"> 
            <Entry Name="Credits">Test Credts[br][br]Testing[br]test[br]testing the ending credits.</Entry> 
		</CATEGORY> 
</LANGUAGE>
			 
			
			
 
			
		 |  
	 
 | 
 
	| 07-24-2011, 05:38 PM  | 
	
		
	 | 
 
 
	
		
		Khyrpa 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 638 
	Threads: 10 
	Joined: Apr 2011
	
 Reputation: 
24
		
	 | 
	
		
			
RE: Ending and credits 
			 
			
				 
CheckPoint ("EndGame", "Player_Start", "StartCredits", "DeathHintCategory", "DeathHintEntry"); 
} 
void StartCredits(string &in asName, int alCount) 
{ 
StartCredits("musicfile.ogg" , true , "Ending" , "Credits" , 1); 
} 
 
you had those wrong way around :u 
 
asTextCat - the category to be used in the .lang file (must be “Ending”) 
asTextEntry - the entry in the .lang file (must be “MainCredits”) 
 
not sure if you gotta rename both Credits to MainCredits, cos wiki says so... try them out
			 
			
			
			
		 |  
	 
 | 
 
	| 07-24-2011, 05:43 PM  | 
	
		
	 | 
 
 
	
		
		JetlinerX 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 599 
	Threads: 49 
	Joined: Jun 2011
	
 Reputation: 
19
		
	 | 
	
		
			
RE: Ending and credits 
			 
			
				Guhhh... Still fades to black with no credit roll, current script is: 
EXTRA ENGLISH READS: 
 
	<CATEGORY Name="Ending"> 
            <Entry Name="MainCredits">The credits text</Entry> 
		</CATEGORY> 
</LANGUAGE> 
 
LEVEL HPS: 
CheckPoint ("EndGame", "Player_Start", "StartCredits", "DeathHintCategory", "DeathHintEntry"); 
} 
void StartCredits(string &in asName, int alCount) 
{ 
StartCredits("musicfile.ogg" , true , "Ending" , "Credits" , 1); 
}
			 
			
			
 
			
				
(This post was last modified: 07-24-2011, 06:04 PM by JetlinerX.)
 
				
			 
		 |  
	 
 | 
 
	| 07-24-2011, 06:03 PM  | 
	
		
	 | 
 
 
	
		
		Khyrpa 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 638 
	Threads: 10 
	Joined: Apr 2011
	
 Reputation: 
24
		
	 | 
	
		
			
RE: Ending and credits 
			 
			
				StartCredits("musicfile.ogg" , true , "Ending" , "MainCredits" , 1); 
 
of course it has to be exactly the same as in  
<Entry Name="MainCredits">
			 
			
			
			
		 |  
	 
 | 
 
	| 07-24-2011, 08:07 PM  | 
	
		
	 | 
 
 
	
		
		JetlinerX 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 599 
	Threads: 49 
	Joined: Jun 2011
	
 Reputation: 
19
		
	 | 
	
		
			
RE: Ending and credits 
			 
			
				YES!  That worked, but its the Frictional Games credits, not mine   
			 
			
			
 
			
		 |  
	 
 | 
 
	| 07-24-2011, 08:13 PM  | 
	
		
	 | 
 
 
	
		
		Khyrpa 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 638 
	Threads: 10 
	Joined: Apr 2011
	
 Reputation: 
24
		
	 | 
	
		
			
RE: Ending and credits 
			 
			
				erm... Ah... change the Ending and MainCredits to whatever else, cos it seems like they direct the thing into the actual games lang file or something... 
 
For example 
<CATEGORY Name="End123"> 
<Entry Name="CreditText">The credits text</Entry> 
</CATEGORY> 
</LANGUAGE> 
 
StartCredits("musicfile.ogg" , true , "End123" , "CreditText" , 1); 
			 
			
			
			
		 |  
	 
 | 
 
	| 07-24-2011, 08:17 PM  | 
	
		
	 | 
 
 
	
		
		JetlinerX 
 
 
		
			Senior Member 
			
			
			
 
			
	Posts: 599 
	Threads: 49 
	Joined: Jun 2011
	
 Reputation: 
19
		
	 | 
	
		
 | 
 
	| 07-24-2011, 08:31 PM  | 
	
		
	 | 
 
 
	 
 |