|  | 
| 
 
 
 
 
 
 
 
 
    
    
 |  | 
 
 
	
		|  |  |  
	
	
		
	
	
	| 
			
			 
			
				October 29th, 2003, 05:41 PM
			
			
			
		 |  
	| 
		
			
			| 
 National Security Advisor |  | 
					Join Date: Nov 2000 
						Posts: 5,085
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: Anyone working on a modding tool yet? 
 Sj has a slot modder and a store modder out; I don't know of anything else. 
				__________________ 
				Phoenix-D
 
I am not senile. I just talk to myself because the rest of you don't provide adequate conversation. 
-Digger |  
	
		
	
	
	| 
			
			 
			
				October 30th, 2003, 02:07 AM
			
			
			
		 |  
	| 
		
			
			| 
 Private |  | 
					Join Date: May 2003 Location: England 
						Posts: 23
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Anyone working on a modding tool yet? 
 I was wondering if anyone has started work on a modding utility for the data files in starfury - like the editors for se4.  Or should I just start up VB and make on myself? |  
	
		
	
	
	| 
			
			 
			
				November 3rd, 2003, 06:28 PM
			
			
			
		 |  
	| 
		
			|  | 
 Sergeant |  | 
					Join Date: Jun 2003 
						Posts: 214
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: Anyone working on a modding tool yet? 
 
				__________________Weird Worlds Rocks!
 |  
	
		
	
	
	| 
			
			 
			
				November 3rd, 2003, 07:27 PM
			
			
			
		 |  
	| 
		
			|  | Shrapnel Fanatic |  | 
					Join Date: Feb 2001 Location: Waterloo, Ontario, Canada 
						Posts: 11,451
					 Thanks: 1 
		
			
				Thanked 4 Times in 4 Posts
			
		
	      |  |  
    
	| 
				 Re: Anyone working on a modding tool yet? 
 I have a nifty VB library of functions for working with MM style datafiles if you want. 
				__________________ 
				Things you want: |  
	
		
	
	
	| 
			
			 
			
				November 3rd, 2003, 08:07 PM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Apr 2001 Location: Cincinnati, Ohio, USA 
						Posts: 4,547
					 Thanks: 1 
		
			
				Thanked 7 Times in 5 Posts
			
		
	      |  |  
    
	| 
				 Re: Anyone working on a modding tool yet? 
 You do? VB 6, VB.NET, or some other Version? Post them, I might be able to use those... nah, I never get anything done   
				__________________The Ed draws near! What dost thou deaux?
 |  
	
		
	
	
	| 
			
			 
			
				November 3rd, 2003, 10:17 PM
			
			
			
		 |  
	| 
		
			|  | Shrapnel Fanatic |  | 
					Join Date: Feb 2001 Location: Waterloo, Ontario, Canada 
						Posts: 11,451
					 Thanks: 1 
		
			
				Thanked 4 Times in 4 Posts
			
		
	      |  |  
    
	| 
				 Re: Anyone working on a modding tool yet? 
 http://imagemodserver.mine.nu/miscel...-functions.zip
Most of it is meant for dealing with one-liner strings from the text files. 
For example,  
X$ = addvalue(X$,n) 
This looks for the := and then adds n to the number it finds there.  Non-numbers or words count as zero and are changed into just n.
 
"Get/Set first pos number" is for those "Ability # name := blah blah" type lines. 
The "Get/Set nth value" functions is a generalization of the previous, and is great for working on the damage at range line. 
				__________________ 
				Things you want: |  
	
		
	
	
	| 
			
			 
			
				November 4th, 2003, 03:42 AM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Apr 2001 Location: Cincinnati, Ohio, USA 
						Posts: 4,547
					 Thanks: 1 
		
			
				Thanked 7 Times in 5 Posts
			
		
	      |  |  
    
	| 
				 Re: Anyone working on a modding tool yet? 
 You don't like comments, do you, SJ?     
I've been spoiled by the latest IDEs' "you type a dot after something and it tells you all its properties and methods" and "you type an opening parenthesis and it tells you all the function's arguments"... and I STILL need comments to jog my memory!   
				__________________The Ed draws near! What dost thou deaux?
 |  
	
		
	
	
	| 
			
			 
			
				November 4th, 2003, 05:07 AM
			
			
			
		 |  
	| 
		
			|  | Shrapnel Fanatic |  | 
					Join Date: Feb 2001 Location: Waterloo, Ontario, Canada 
						Posts: 11,451
					 Thanks: 1 
		
			
				Thanked 4 Times in 4 Posts
			
		
	      |  |  
    
	| 
				 Re: Anyone working on a modding tool yet? 
 Heh.  What's a comment, and how do I do a goto in this language?   
				__________________ 
				Things you want: |  
	
		
	
	
	| 
			
			 
			
				November 4th, 2003, 05:36 PM
			
			
			
		 |  
	| 
		
			|  | 
 Major |  | 
					Join Date: Aug 2000 
						Posts: 1,246
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: Anyone working on a modding tool yet? 
 Goto sucks!! EWwwwwwwwwwwwww! 
				__________________When a cat is dropped, it always lands on its feet, and when toast is dropped, it always lands with the buttered side facing down. I propose to strap buttered toast to the back of a cat. The two will hover, spinning inches above the ground. With a giant buttered cat array, a high-speed monorail could easily link New York with Chicago.
 |  
	
		
	
	
	| 
			
			 
			
				November 4th, 2003, 07:51 PM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Apr 2001 Location: Cincinnati, Ohio, USA 
						Posts: 4,547
					 Thanks: 1 
		
			
				Thanked 7 Times in 5 Posts
			
		
	      |  |  
    
	| 
				 Re: Anyone working on a modding tool yet? 
 Though there are times when I am tempted to use it instead of more "sophisticated" programming techniques... I mean, which is easier to read: 
Old-Style Quick & Dirty Gotos
 code:"Sophisticated" Procedural Programming Workaround
 foreach (Array innerArray in outerArray){
 foreach (Item i in innerArray)
 {
 if (i == target)
 {
 foundit = true;
 goto done;
 }
 }
 }
 done:
 
 
 code:OK, that wasn't the best example (when was the Last time you had more than 3 levels of nested loops anyway?
 foreach (Array innerArray in outerArray){
 foreach (Item i in innerArray)
 {
 if (i == target)
 {
 foundit = true;
 // can't break out of more than one loop at once without a goto!
 break;
 }
 }
 // so I have to check again in each loop level to avoid wasting time searching for something I already found!
 // not too annoying with only 2 levels, but with more...
  if (foundit == true)
 break;
 }
 
  ) but there ARE times when a goto would come in handy, but I couldn't make myself touch it for fear of being shunned for life 
				__________________The Ed draws near! What dost thou deaux?
 |  
	
		
	
	
	
	
	
	
	| 
	|  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 
 |  |  |  |  |