| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Setu_Firestorm Music Composer
 
 
  
  Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
  | 
		
			
				 Posted: Thu Oct 07, 2004 5:22 am    Post subject: Enemy NPCs | 
				     | 
			 
			
				
  | 
			 
			
				I noticed that Shadowiii seemed to pull it off quite nicely in The Seventh Day. I've tried it before, but I don't quite understand how it can be pulled off.
 
 
How exactly do you create (or simulate even) scripts in order to calculate battle stats for battles where the enemies are NPCs? _________________
  
 
 
Facebook: http://www.facebook.com/georgerpowell
 
Newgrounds: http://setu-firestorm.newgrounds.com | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Flamer The last guy on earth...
 
 
  
  Joined: 04 Feb 2003 Posts: 725 Location: New Zealand (newly discovered)
  | 
		
			
				 Posted: Thu Oct 07, 2004 9:33 pm    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				enemy stat tables...
 
 
something like:
 
 	  | Code: | 	 		   script, obtain enemy stats, enemy type, begin
 
 
if(enemy type == 1) then( #You can define constants instead of using numbers
 
 write global(enemy strength, 65)
 
 ##write for each stat
 
)
 
 
##continue for each enemy :P
 
 
end
 
 | 	  
 
well, that's how I can see it be done.
 
it's easy to do, but a bit tedious. You'll need to mess with Global Variables (or local, if you're that good/stupid) _________________ If we were a pack of dogs, IM would be a grand Hound, CN would be a very ficious little pitball, and Giz...well, it doesn't matter breed he is, he'd still be a bitch  
 
(no offense to anyone that was mentioned) | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Setu_Firestorm Music Composer
 
 
  
  Joined: 26 Mar 2003 Posts: 2566 Location: Holiday. FL
  | 
		 | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Moogle1 Scourge of the Seas Halloween 2006 Creativity Winner
  
 
  
  Joined: 15 Jul 2004 Posts: 3377 Location: Seattle, WA
  | 
		
			
				 Posted: Fri Oct 08, 2004 11:16 am    Post subject:  | 
				     | 
			 
			
				
  | 
			 
			
				Check out the scripts for OHR Tactics and Metamorphosis. Both do this and are free-sourced. _________________
  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |