Discuss all aspects related to modding Zandronum here.
			
		
		
			- 
				
																			 Southpark2010
-  
- Posts: 84
- Joined: Wed Jun 06, 2012 6:28 pm
- Location: Hell
						
						
													
							
						
	#1
			
									
						Post
					
								by Southpark2010 » Sun Sep 30, 2012 4:20 pm
			
			
			
			
			I'm trying to get six taunts to randomize in SNDINFO but the class keeps using the default taunt sound. Any help would be greatly appreciated.
Code: Select all
$random Assassin/Taunt { Assassin/Taunt1 Assassin/Taunt2 Assassin/Taunt3 Assassin/Taunt4 Assassin/Taunt5 Assassin/Taunt6 }
Assassin/Taunt1	REEMSEE1
Assassin/Taunt2	REEMSEE2
Assassin/Taunt3	REEMSEE3
Assassin/Taunt4	REEMSEE4
Assassin/Taunt5	REEMSEE5
Assassin/Taunt6	REEMSEE6
$playeralias Assassin male *taunt Assassin/Taunt
$playersound	Assassin	male	*death		dspldeth
$playersound	Assassin	male	*xdeath		XGIB
$playersound	Assassin	male	*gibbed		XGIB
$playersound	Assassin	male	*pain100	dsplpain
$playersounddup	Assassin	male	*pain75		*pain100
$playersounddup	Assassin	male	*pain50		*pain100
$playersounddup	Assassin	male	*pain25		*pain100
$playersound	Assassin	male	*grunt		dsoof
$playersounddup	Assassin	male	*land		*grunt
$playersound	Assassin	male	*jump		dsjump
$playersound	Assassin	male	*usefail	dsnoway
$playersound	Assassin	male	*taunt		Assassin/Taunt
$playersound    Assassin	male    *pain-fire  burnmpai
$playersound    Assassin	male    *death-fire burnm
					Last edited by 
Southpark2010 on Sun Sep 30, 2012 4:20 pm, edited 1 time in total.
									
Current Projects:
HELL Vs Marines - 
Thread 
		 
				
		
		 
	 
	
				
		
		
			- 
				
								Dusk							
- Developer
- Posts: 581
- Joined: Thu May 24, 2012 9:59 pm
- Location: Turku
						
						
													
							
						
	#2
			
									
						Post
					
								by Dusk » Sun Sep 30, 2012 4:39 pm
			
			
			
			
			
 $playersound    Assassin    male    *usefail    dsnoway
 $playersound    Assassin    male    *taunt        Assassin/Taunt
 $playersound    Assassin    male    *pain-fire  burnmpai
I don't think this is supposed to be in here?
					Last edited by 
Dusk on Sun Sep 30, 2012 4:40 pm, edited 1 time in total.
									
 
		 
				
		
		 
	 
	
				
		
		
			- 
				
																			 TerminusEst13
- Retired Staff / Community Team Member
- Posts: 865
- Joined: Tue Jun 05, 2012 11:06 pm
						
						
													
							
						
	#3
			
									
						Post
					
								by TerminusEst13 » Sun Sep 30, 2012 4:46 pm
			
			
			
			
			When you have a soundbyte directed towards a random batch (assassin/taunt) rather than a single sound (dsnoway), it needs to be $playeralias rather than $playersound.
			
													
					Last edited by 
TerminusEst13 on Sun Sep 30, 2012 4:50 pm, edited 1 time in total.
									
 
		 
				
		
		 
	 
	
				
		
		
			- 
				
																			 Southpark2010
-  
- Posts: 84
- Joined: Wed Jun 06, 2012 6:28 pm
- Location: Hell
						
						
													
							
						
	#4
			
									
						Post
					
								by Southpark2010 » Sun Sep 30, 2012 4:46 pm
			
			
			
			
			Dusk wrote:
 $playersound    Assassin    male    *usefail    dsnoway
 $playersound    Assassin    male    *taunt        Assassin/Taunt
 $playersound    Assassin    male    *pain-fire  burnmpai
I don't think this is supposed to be in here?
 
Ah, it works now. Thank you.
Current Projects:
HELL Vs Marines - 
Thread 
		 
				
		
		 
	 
	
				
		
		
			- 
				
																			 ZzZombo
- Forum Regular
- Posts: 323
- Joined: Mon Jun 11, 2012 12:11 pm
- Location: Ravenholm
						
						
													
							
						
	#5
			
									
						Post
					
								by ZzZombo » Tue Nov 27, 2012 4:17 am
			
			
			
			
			Wow thank you very much!