| Author | 
            Message | 
        
        
			| 
				
				 Erahgon 
				
				
					 Joined: Thu Apr 12, 2007 2:53 am Posts: 83
				 
				 
			 | 
			
				
				  Velocity based Gravity Gun/Telekinesis! *Updated*  
					
						Yep, after looking merging Zalo's, Daman's, and Piipu's code together, I was able to figure out a convincing way to get the HL2 style gravity gun effect into Cortex Command!  It's similiar to Zalo's clone in that you push a button to activate the effect when you have the clone selected (the clone is called "Telekinesis Master", and is found in the actors tab). It can also attract particles such as rockets, bullets, and weapons. I added in a few functions of my own into the code, mainly one that allows you to push actors and projectiles and even bullets you captured into your enemies. ControlsF for push G for gravity gun effect C to decrease distance of gravity gun V to increase * It should be quite a bit less laggier, I hope. I also made it so that only MOPixels trapped in the telegrab field are the only particles to have their lifetime extended, and removed the "snow" effect from the blue particles. Also, fast moving bullets will be a bit harder to catch, but the effect looks nicer. Post here if you see any crippling bugs.  
					
						
  
						Attachments: 
						
						
			File comment: 5/25/09 update #2
		
			
				  
				TKClone.rte.rar [21.81 KiB]
			
			Downloaded 1112 times
		
		
	 
						
						 
					
							
  
							
    							Last edited by Erahgon on Mon May 25, 2009 11:22 pm, edited 5 times in total. 
    						 
						
			 | 
		
		
			| Thu May 21, 2009 2:36 am | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 voran 
				
				
					 Joined: Sun Sep 23, 2007 4:13 pm Posts: 35 Location: Generally? Earth
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						awesome! pretty soon you will be able to use a clone to teleport a fake alien into a city and kill thousands of innocents! or something like that. good idea though, really 
					
  
			 | 
		
		
			| Thu May 21, 2009 2:39 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 zalo 
				
				
					 Joined: Sat Feb 03, 2007 7:11 pm Posts: 1496
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						That's so cool, I didn't think anything like this would be stable enough to be feasible. 
					
  
			 | 
		
		
			| Thu May 21, 2009 2:46 am | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Toes from Europe 
				
				
					 Joined: Wed Feb 14, 2007 9:34 pm Posts: 883 Location: America
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						Congrats, man. This is pretty amazing. 
					
  
			 | 
		
		
			| Thu May 21, 2009 2:46 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 kiberkiller 
				
				
					 Joined: Fri Aug 22, 2008 6:08 pm Posts: 170
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						it would awesome to add one more button that makes pulling power so strong (for a second or two) that it rips apart trapped actor 
					
  
			 | 
		
		
			| Thu May 21, 2009 2:53 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 nnninja 
				
				
					 Joined: Wed Mar 25, 2009 9:49 pm Posts: 96
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						That already happens for me...
  ...and it includes my actor 
					
  
			 | 
		
		
			| Thu May 21, 2009 3:05 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Saint 
				
				
					 Joined: Tue May 19, 2009 2:17 am Posts: 26
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						Now we need: Sith lightning Force choke and force-rip-apart-the-target-into-bloody-peices-or-metal-chunks 
					
  
			 | 
		
		
			| Thu May 21, 2009 3:12 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 CrazyMLC 
				
				
					 Joined: Fri Dec 22, 2006 4:20 am Posts: 4772 Location: Good news everyone!
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						Have to test this... 
					
  
			 | 
		
		
			| Thu May 21, 2009 3:24 am | 
			
				
					 
					
					 
				    
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Solace 
				
				
					 Joined: Sun Jun 10, 2007 2:05 am Posts: 426
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						Incredibly fun, along with the teleporting clone we're getting some proper superpoweres! Unfortunately there is a bit of an error, it doesn't work with luaguns.rte, when you try to use the power it spawns a vortex thing and kills you.    Go and rename whatever it is you copied from luaguns I guess...  
					
  
			 | 
		
		
			| Thu May 21, 2009 4:16 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Foa 
				Data Realms Elite 
				
					 Joined: Wed Sep 05, 2007 4:14 am Posts: 3966 Location: Canadida
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						Man, I love you, I've learned a few techniques that can be used.
  'Perfect Heal' : Tele-Grab your target, and aim the Cauterizer at it
  'Shrapnel Cannon' : Tele-Grab + Shrapnel, then Tele-Force
  Beat Tut Mission by throwing a Dreadnought at another Dreadnought. 
					
  
			 | 
		
		
			| Thu May 21, 2009 4:32 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Jimmy Crack Jack 
				
				
					 Joined: Wed May 20, 2009 12:46 pm Posts: 40 Location: At a secret laboratory dividing by zero
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						You should definatly make a marvel super hero sprite for this some one like Jean Grey or anyone else that is a telekinetic (did i spell it right) 
					
  
			 | 
		
		
			| Thu May 21, 2009 8:17 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 MkfShard 
				
				
					 Joined: Sat Feb 14, 2009 2:15 am Posts: 73
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						I tried grabbing the particles from the planet killer bomb as it exploded with this. Instead, it exploded like normal, and he was instantly shredded. Then it exploded again. And again. And killed my brain. Awesome. 
					
  
			 | 
		
		
			| Thu May 21, 2009 2:15 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Teemperor 
				
				
					 Joined: Thu Oct 16, 2008 5:37 pm Posts: 52 Location: GERMANY
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						Sooo cool. Destroying DropShips with this and throw the gibs at the enemys     But these Glow Particels make it a little bit instant-lagging.     
					
  
			 | 
		
		
			| Thu May 21, 2009 2:38 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 numgun 
				
				
					 Joined: Sat Jan 13, 2007 11:04 pm Posts: 2932
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						Saint wrote: Now we need: Force choke Darth Vader's trademark Force-Choke-Through-Television(tm) I mean seriously. He choked a guy on the other side of the galaxy through the damn telly.    
					
  
			 | 
		
		
			| Thu May 21, 2009 2:41 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 piipu 
				
				
					 Joined: Mon Jun 30, 2008 9:13 pm Posts: 499 Location: Finland
				 
				 
			 | 
			
				
				  Re: Velocity based Gravity Gun/Telekinesis!  
					
						Maybe the things have force transmitters just for that? Also, how would you do choking in CC? Just incapacitate and drain hp? 
					
  
			 | 
		
		
			| Thu May 21, 2009 2:44 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
	
		 |