|  | 
| 
 
 
 
 
 
 
 
 
    
    
 |  | 
 
 
	
		|  |  |  
	
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 10:49 PM
			
			
			
		 |  
	| 
		
			|  | 
 Shrapnel Fanatic |  | 
					Join Date: Mar 2003 Location: CHEESE! 
						Posts: 10,009
					 Thanks: 0 
		
			
				Thanked 7 Times in 1 Post
			
		
	      |  |  
    
	| 
				 OT: Anyone want to help me with a small basic program? 
 Every other programmer in the world seems to be able to make a terrian generater. So did I. Except their's don't look like a spike pit trap after 200 uses.       I'm not entirely sure of what the finished product of what I'm doing is supposed to look like, but I'm pretty sure it's not that. Help?
				__________________ 
				If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!  
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++ 
Some of my webcomics.  I've got 400+ webcomics at Last count, some dead. 
Sig updated to remove non-working links.
			 |  
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 10:52 PM
			
			
			
		 |  
	| 
		
			|  | Shrapnel Fanatic |  | 
					Join Date: Feb 2001 Location: Waterloo, Ontario, Canada 
						Posts: 11,451
					 Thanks: 1 
		
			
				Thanked 4 Times in 4 Posts
			
		
	      |  |  
    
	| 
				 Re: OT: Anyone want to help me with a small basic program? 
 What are the details of the project? 
				__________________ 
				Things you want: |  
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 11:02 PM
			
			
			
		 |  
	| 
		
			|  | 
 Shrapnel Fanatic |  | 
					Join Date: Mar 2003 Location: CHEESE! 
						Posts: 10,009
					 Thanks: 0 
		
			
				Thanked 7 Times in 1 Post
			
		
	      |  |  
    
	| 
				 Re: OT: Anyone want to help me with a small basic program? 
 Details? Um...I set every point on the heightmap to -1 to differenciate between points set and points not set. then I put random heights on the heightmap from 0,0 to currently 32,32 using a for/next loop and stepping by half the map size, so 9 height points. The program then is supposed to step accross the map at half intervals, check to see if the current point is at -1, if it is, take the average of all points at the current step distance x,y or both away that aren't at -1, then input the average into it's current square. Once it completes a map, it divides both distances it's stepping by by /2 and goes again until it's done the map at 1,1 intervals. Want the source code?
 [ July 15, 2004, 22:04: Message edited by: narf poit chez BOOM ]
 
				__________________ 
				If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!  
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++ 
Some of my webcomics.  I've got 400+ webcomics at Last count, some dead. 
Sig updated to remove non-working links.
			 |  
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 11:11 PM
			
			
			
		 |  
	| 
		
			|  | 
 Shrapnel Fanatic |  | 
					Join Date: Oct 2003 Location: Vacaville, CA, USA 
						Posts: 13,736
					 Thanks: 341 
		
			
				Thanked 479 Times in 326 Posts
			
		
	      |  |  
    
	| 
				 Re: OT: Anyone want to help me with a small basic program? 
 Your logic sounds ok. You are getting results that are too extreme? Before I offer too much help did you mean "basic program" or a "BASIC program" (is it programmed in ansi basic?)
 [ July 15, 2004, 22:12: Message edited by: Gandalf Parker ]
 
				__________________-- DISCLAIMER:
 This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
 |  
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 11:14 PM
			
			
			
		 |  
	| 
		
			|  | 
 Shrapnel Fanatic |  | 
					Join Date: Mar 2003 Location: CHEESE! 
						Posts: 10,009
					 Thanks: 0 
		
			
				Thanked 7 Times in 1 Post
			
		
	      |  |  
    
	| 
				 Re: OT: Anyone want to help me with a small basic program? 
 DarkBASIC, actually. www.darkbasicpro.com 
What I'm getting is spikes all over.
				__________________ 
				If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!  
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++ 
Some of my webcomics.  I've got 400+ webcomics at Last count, some dead. 
Sig updated to remove non-working links.
			 |  
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 11:28 PM
			
			
			
		 |  
	| 
		
			|  | 
 Shrapnel Fanatic |  | 
					Join Date: Oct 2003 Location: Vacaville, CA, USA 
						Posts: 13,736
					 Thanks: 341 
		
			
				Thanked 479 Times in 326 Posts
			
		
	      |  |  
    
	| 
				 Re: OT: Anyone want to help me with a small basic program? 
 I think thats pretty compatable with mine (I use a linux basic). Send me the code if you want. 
 What you should be doing is placing 9 heights, then placing the hieghts midway between them (with some slight random variation for texture), then mid between those, etc etc etc until you have the terrain done. Walking across the screen would be harder Id think.
 
				__________________-- DISCLAIMER:
 This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
 |  
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 11:30 PM
			
			
			
		 |  
	| 
		
			|  | 
 Shrapnel Fanatic |  | 
					Join Date: Oct 2003 Location: Vacaville, CA, USA 
						Posts: 13,736
					 Thanks: 341 
		
			
				Thanked 479 Times in 326 Posts
			
		
	      |  |  
    
	| 
				 Re: OT: Anyone want to help me with a small basic program? 
 by the way, I think its referred to as "fractal terrain". http://www.gameprogrammer.com/fractal.html#intro 
is that what you were working on?
				__________________-- DISCLAIMER:
 This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
 |  
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 11:31 PM
			
			
			
		 |  
	| 
		
			|  | 
 General |  | 
					Join Date: Apr 2001 Location: Cincinnati, Ohio, USA 
						Posts: 4,547
					 Thanks: 1 
		
			
				Thanked 7 Times in 5 Posts
			
		
	      |  |  
    
	| 
				 Re: OT: Anyone want to help me with a small basic program? 
 People actually still program in BASIC?      
(and I'm not talking Visual Basic, that's diverged so far from BASIC it's not really BASIC anymore     )
				__________________The Ed draws near! What dost thou deaux?
 |  
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 11:37 PM
			
			
			
		 |  
	| 
		
			|  | 
 Shrapnel Fanatic |  | 
					Join Date: Mar 2003 Location: CHEESE! 
						Posts: 10,009
					 Thanks: 0 
		
			
				Thanked 7 Times in 1 Post
			
		
	      |  |  
    
	| 
				 Re: OT: Anyone want to help me with a small basic program? 
 I thought that's what I was doing? 
Yeah, fractal. Well, semi-fractal, I think.
 
I bought a 3d space flight combat game made with darkbasic, not even the proffesional Version that had better nebulea than freespace 2 and the best evasive ai I have ever seen in a flight sim. The screenshots page: http://starwraith3dgames.home.att.net/gallery.htm 
Not sure if it'd run in your compiler, there's specialized commands. But there's a 30 day demo.
 
Project file:     http://www3.telus.net/funnybnz/WalkDemo.dbpro 
Code file:     http://www3.telus.net/funnybnz/WalkDemo.dba
 
 [ July 15, 2004, 22:45: Message edited by: narf poit chez BOOM ]
				__________________ 
				If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!  
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++ 
Some of my webcomics.  I've got 400+ webcomics at Last count, some dead. 
Sig updated to remove non-working links.
			 |  
	
		
	
	
	| 
			
			 
			
				July 15th, 2004, 11:55 PM
			
			
			
		 |  
	| 
		
			|  | 
 Corporal |  | 
					Join Date: Jun 2004 Location: In front of a computer 
						Posts: 106
					 Thanks: 0 
		
			
				Thanked 0 Times in 0 Posts
			
		
	      |  |  
    
	| 
				 Re: OT: Anyone want to help me with a small basic program? 
 wow, that is really nice. thanks for the link 
				__________________-most active lurker ever
 |  
	
		
	
	
	
	
	
	
	| 
	|  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 
 |  |  |  |  |