| Author | 
            Message | 
        
        
			| 
				
				 lazyfaith 
				
				
					 Joined: Wed Jan 03, 2007 2:05 pm Posts: 174
				 
				 
			 | 
			
				
				  Bomb not loading into buy/place object menus  
					
						I'm making a bomb and i have added it to the bombs group with "AddToGroup = Bombs" and made it buable with "Buyable = 1" but still it doesn't show. If anyone could help me thatd be great, download is below. 
					
						
  
						
					
			 | 
		
		
			| Thu May 08, 2008 8:03 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 leadpumper12 
				
				
					 Joined: Fri Sep 21, 2007 9:50 pm Posts: 419 Location: KS
				 
				 
			 | 
			
				
				  Re: Bomb not loading into buy/place object menus  
					
						is it included in the index.ini? 
					
  
			 | 
		
		
			| Thu May 08, 2008 9:44 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Grif 
				REAL AMERICAN HERO 
				
					 Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
				 
				 
			 | 
			
				
				  Re: Bomb not loading into buy/place object menus  
					
						Also, does it have a GoldValue line? 
					
  
			 | 
		
		
			| Fri May 09, 2008 12:06 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Azukki 
				
				
					 Joined: Sat Nov 03, 2007 9:44 pm Posts: 1916 Location: Flint Hills
				 
				 
			 | 
			
				
				  Re: Bomb not loading into buy/place object menus  
					
						IMPORTANT SPACING =/= TABBING
  It doesn't matter if it lines up when you look at it, what matters is if the game engine recognizes the proper tab character's usage. Which this doesn't.
  Replace the spacing with tabbing and it should work.
  line 4 of index.ini lines 264 & 279 of bombs.ini
 
  Oh, and one thing that it looks like you may want to keep in mind in the future of this mod, TDE gibs don't activate their timers. That is to say, that you can't make them explode after a certain amount of time in the way that you regularly would a TDE. So it would be simpler to just use a MOSRot. 
					
  
			 | 
		
		
			| Fri May 09, 2008 1:43 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 lazyfaith 
				
				
					 Joined: Wed Jan 03, 2007 2:05 pm Posts: 174
				 
				 
			 | 
			
				
				  Re: Bomb not loading into buy/place object menus  
					
						Yes it has a gold value and is include in the index.ini
  @Azukki: Please explain this tabbing more fully, i haven't heard of it. Thanks for reminding me about the timers btw, ill just make it so the blastoffs can act as mines or something 
					
  
			 | 
		
		
			| Fri May 09, 2008 10:05 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 venn177 
				
				
					 Joined: Sun Mar 18, 2007 5:35 am Posts: 3778 Location: Largo, Florida
				 
				 
			 | 
			
				
				  Re: Bomb not loading into buy/place object menus  
					
						lazyfaith wrote: Yes it has a gold value and is include in the index.ini
  @Azukki: Please explain this tabbing more fully, i haven't heard of it. Thanks for reminding me about the timers btw, ill just make it so the blastoffs can act as mines or something The tab key. Delete the spaces and use the tab key in notepad when editing the lines he mentioned.  
					
  
			 | 
		
		
			| Fri May 09, 2008 10:31 pm | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 lazyfaith 
				
				
					 Joined: Wed Jan 03, 2007 2:05 pm Posts: 174
				 
				 
			 | 
			
				
				  Re: Bomb not loading into buy/place object menus  
					
						   omg how did you know it was that? Ive never known that spacing or 'tabbing' made a differance :/ Are there any other small but crucial details like this i should know??  
					
  
			 | 
		
		
			| Sat May 10, 2008 2:46 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 TrouserDemon 
				
				
					 Joined: Fri Dec 29, 2006 7:42 pm Posts: 1871 Location: UK
				 
				 
			 | 
			
				
				  Re: Bomb not loading into buy/place object menus  
					
						Capitalisation matters more than you expect. 
					
  
			 | 
		
		
			| Sat May 10, 2008 2:55 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 lazyfaith 
				
				
					 Joined: Wed Jan 03, 2007 2:05 pm Posts: 174
				 
				 
			 | 
			
				
				  Re: Bomb not loading into buy/place object menus  
					
						thanks for the explanation about 'tabbing' it works now. Just some tweaks to do to it now. I already knew about capitals, it took me over an hour once to realise it was that     
					
  
			 | 
		
		
			| Sat May 10, 2008 6:59 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
	
		 |