| 
 | 
     
    
    
    
     
    
    
    
 
    
    
 
    
     
    
    
    
     
    
    
    
     
    
    
    
 
    
    
 
    
    
 | 
       | 
      
 
 
	
		  | 
	
	
 
 
		
	
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 12:14 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2000 
					Location: USA 
					
					
						Posts: 15,630
					 
					 
	Thanks: 0 
	
		
			
				Thanked 31 Times in 19 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				MODDING Help Needed
	
			 
             
			
		
		
		
		I need help in understanding how the Race_AI_DesignCreation file works. 
 
Specifically how this entry works. 
 
(example) 
Misc Ability 1 Name   := Extra Movement Generation 
Misc Ability 1 Spaces Per One   := 10000 
Misc Ability 2 Name   := Cloak Level 
Misc Ability 2 Spaces Per One   := 10000 
Misc Ability 3 Name   := Armor Regeneration 
Misc Ability 3 Spaces Per One   := 100 
 
How do the bolded entries work exactly?  How does the value (say 10000) effect how, how many, the AI will add of this component? 
 
Fyron gave me an example, if the abilities value is 1000 then a ship would have to be 1000kt to have this ability added.  This does not make sense to me as the AI adds these abilities to much smaller ships. 
 
I suspect, and I could be horribly wrong, that the AI will add just ONE of these components if the value is equal to the ship size, however, if the ship size is larger than value then the AI will add another.   
(Value = 1000, ship Kt = 500 - AI adds one component 0 to 1000 = 1 component) 
(Value = 1000, ship Kt = 2000 - AI add two components. 0 to 2000 = 2)   
 
Or two to one.   
 
Now say the values are much lower. 
 
Value = 50, Ship Kt = 500.  how many of these components will the AI add? Ten? 
 
Basically I just need the Value portion (in bold) explained to me clearly.  Thanks. 
  
 [ March 05, 2004, 00:17: Message edited by: Atrocities ] 
		
	
		
		
		
		
		
		
			
				__________________ 
				Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 12:26 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Lieutenant Colonel 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jul 2001 
					Location: Orlando, FL 
					
					
						Posts: 1,259
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: MODDING Help Needed
			 
             
			
		
		
		
		The formula is: 
 
HS/SPO 
 
where HS = the hull size under consideration, SPO = the Spaces Per One entry. Any fractions are rounded UP to the next whole number. 
		
	
		
		
		
		
		
		
			
				__________________ 
				The Unpronounceable Krsqk
 
"Well, sir, at the moment my left processor doesn't know what my right is doing." -  Freefall
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 12:31 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2000 
					Location: USA 
					
					
						Posts: 15,630
					 
					 
	Thanks: 0 
	
		
			
				Thanked 31 Times in 19 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: MODDING Help Needed
			 
             
			
		
		
		
		Would it be safe to say that it works like this: 
 
A 2 to 1 ratio  (Ship Size KT to Abilities value)															Ship Size / Value / Number of Components Added To Design 
							100 kt / 100 / 0 
200 kt / 100 / 1 
300 kt / 100 / 1 
400 kt / 100 / 2 
800 kt / 100 / 4 
						200 kt / 400 / 0 
300 kt / 400 / 0 
400 kt / 400 / 0 
800 kt / 400 / 1 
1200 kt/ 400 / 3 
 
If the value is set to 10000 then the Ai will only ad 1 component with this ability to the design correct? 
		
	
		
		
		
		
		
		
			
				__________________ 
				Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 12:43 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2000 
					Location: USA 
					
					
						Posts: 15,630
					 
					 
	Thanks: 0 
	
		
			
				Thanked 31 Times in 19 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: MODDING Help Needed
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				Originally posted by Krsqk: 
 The formula is: 
 
HS/SPO 
 
where HS = the hull size under consideration, SPO = the Spaces Per One entry. Any fractions are rounded UP to the next whole number. 
			
		 | 
	 
	 
 so if I figure this correctly 
 
Hull size 100 / entry value of 10000 = 0.01 RU to 1.0? 
		
	
		
		
		
		
		
		
			
				__________________ 
				Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 01:24 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Brigadier General 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jul 2001 
					Location: Kiel, Germany 
					
					
						Posts: 1,896
					 
					 
	Thanks: 0 
	
		
			
				Thanked 0 Times in 0 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: MODDING Help Needed
			 
             
			
		
		
		
		
	Quote: 
	
	
		
			
				Originally posted by Krsqk: 
 The formula is: 
 
HS/SPO 
 
where HS = the hull size under consideration, SPO = the Spaces Per One entry. Any fractions are rounded UP to the next whole number. 
			
		 | 
	 
	 
 That is not correct. Any fractions are always rounded down, but a minimum of one component will be added. 
SPO=10000 is commonly used to add one component to a design (note: if the hull is bigger or equal 20000, two components will be added). 
 
Atrocities, your examples would work like this: 
code:
 hull size  spaces per one  num of components 
100 kt     100             1 
200 kt     100             2 
300 kt     100             3 
400 kt     100             4 
800 kt     100             8 
200 kt     400             1 
300 kt     400             1 
400 kt     400             1 
800 kt     400             2 
1200 kt    400             3 
   
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 02:14 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Jul 2001 
					Location: Southern CA, USA 
					
					
						Posts: 18,394
					 
					 
	Thanks: 0 
	
		
			
				Thanked 12 Times in 10 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: MODDING Help Needed
			 
             
			
		
		
		
		
	Quote: 
	
	
		| 
			
				 Fyron gave me an example, if the abilities value is 1000 then a ship would have to be 1000kt to have this ability added. This does not make sense to me as the AI adds these abilities to much smaller ships.
			
		 | 
	 
	 
 You forgot the other half of that paragraph, which stated that the AI will always add at least one component with each ability called for (that does not have a spaces per one of 0) if it is able to.    
		
	
		
		
		
		
		
		
			
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
	
	
		
	
	
	
		
		
		
			
			 
			
				March 5th, 2004, 02:17 AM
			
			
			
		  
	 | 
 
	
		
		
		
			  | 
			
 
  
			
				
				
				Shrapnel Fanatic 
				
				
				
			 | 
			  | 
			
				
				
					Join Date: Dec 2000 
					Location: USA 
					
					
						Posts: 15,630
					 
					 
	Thanks: 0 
	
		
			
				Thanked 31 Times in 19 Posts
			
		
	 
					
					
					
					     
				 
				
			 | 
		 
		 
		
	 | 
 
    
	
     
	
	
		
		
		
			
			
				 
				Re: MODDING Help Needed
			 
             
			
		
		
		
		Thanks guys, I do really appreciate the info. 
		
	
		
		
		
		
		
		
			
				__________________ 
				Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
			 
		
		
		
		
		
		
	
		
		
	
	
	 | 
 
 
 
	 
	
		 
	 
 
 
	
		
	
	
	
	
	
	
	| Thread Tools | 
	
 
	| 
	
	
	
	 | 
	
 
	| Display Modes | 
	
 
	
	
	
	
		  Linear Mode 
		
		
	 
	
	 | 
	
	
 
 
	
		
	
		 
		Posting Rules
	 | 
 
	
		
		You may not post new threads 
		You may not post replies 
		You may not post attachments 
		You may not edit your posts 
		 
		
		
		
		
		HTML code is On 
		 
		
	  | 
 
 
	 | 
	
		
	 | 
 
 
     |  
 |