| Author | Message | 
        
			| vagyr 
					Joined: Sun Jan 11, 2009 10:54 am
 Posts: 365
   |   a script than will make a particle ignore terrainbasicaly what the title says.i want to have a particle hit actors normaly but ignore the terrain completly and will not harm it in no way.
 
 
 | 
		
			| Mon Jul 27, 2009 9:00 am | 
					
					   | 
	
	
		|  | 
	
			| Kyred 
					Joined: Sun May 31, 2009 1:04 am
 Posts: 308
   |   Re: a script than will make a particle ignore terrainI don't think that's possible, atm.  Unless you set the particle's velocity to zero and carry the particle through the terrrain with constant position resetting.
 In that sense, I guess it would be possible.  Just impractical.  But that's what Lua is for anyway =P.  Making the impossible impractical.
 
 
 | 
		
			| Mon Jul 27, 2009 9:03 am | 
					
					   | 
	
	
		|  | 
	
			| Geti 
					Joined: Sun Jul 13, 2008 9:57 am
 Posts: 4886
 Location: some compy
   |   Re: a script than will make a particle ignore terrainnono, just use something with no atomgroup and make it spawn particles that affect actors. 
 
 | 
		
			| Mon Jul 27, 2009 9:53 am | 
					
					     | 
	
	
		|  | 
	
			| Roon3 
					Joined: Sun May 11, 2008 12:50 pm
 Posts: 899
   |   Re: a script than will make a particle ignore terrainNo atomgroups make CC crash iirc. 
 
 | 
		
			| Mon Jul 27, 2009 10:43 am | 
					
					     | 
	
	
		|  | 
	
			| Geti 
					Joined: Sun Jul 13, 2008 9:57 am
 Posts: 4886
 Location: some compy
   |   Re: a script than will make a particle ignore terrainsorry, i mean null atomgroups, either with a custom defined one or just an autogen with huge depth and res. 
 
 | 
		
			| Mon Jul 27, 2009 11:42 am | 
					
					     | 
	
	
		|  | 
	
			| vagyr 
					Joined: Sun Jan 11, 2009 10:54 am
 Posts: 365
   |   Re: a script than will make a particle ignore terrainGeti wrote: sorry, i mean null atomgroups, either with a custom defined one or just an autogen with huge depth and res.i guess than i could try this one... i did not know what depth and resolution do so i just let them at standard values...
 
 | 
		
			| Mon Jul 27, 2009 12:35 pm | 
					
					   | 
	
	
		|  | 
	
			| robolee 
					Joined: Fri May 11, 2007 4:30 pm
 Posts: 1040
 Location: England
   |   Re: a script than will make a particle ignore terrainuse my fabulous atomgroup (which I use for pinned stuff I don't want to collide): Code: AddActor = AtomGroupInstanceName = phase
 AutoGenerate = 1
 AddAtom = Atom
 Offset = Vector
 X = 0
 Y = -9999
 Material = Material
 CopyOf = Air
basically it will only hit terrain that is 9999 pixels above it which isn't really going to happen, so it glides through terrain, however it isn't going to hit actors or anything else either... without lua...
 
 | 
		
			| Mon Aug 03, 2009 10:30 pm | 
					
					   | 
	
	
		|  | 
	
			| CaveCricket48 
					Joined: Tue Jun 12, 2007 11:52 pm
 Posts: 13144
 Location: Here
   |   Re: a script than will make a particle ignore terrain*sniff sniff* I smell a ghost ship coming! 
 
 | 
		
			| Tue Aug 04, 2009 2:15 am | 
					
					   | 
	
	
		|  | 
	
			| vagyr 
					Joined: Sun Jan 11, 2009 10:54 am
 Posts: 365
   |   Re: a script than will make a particle ignore terrainCaveCricket48 wrote: *sniff sniff* I smell a ghost ship coming!nope a real close combat weapon. becose swords dont disinegrade terrain when they come close to it  
 
 | 
		
			| Tue Aug 04, 2009 1:53 pm | 
					
					   | 
	
	
		|  | 
	
			| Cadwaller 
					Joined: Wed Jun 03, 2009 1:12 am
 Posts: 93
   |   Re: a script than will make a particle ignore terrainYou could make a particle with very high sharpness and velocity that had a gib which would activate upon "touching" the enemy actor.  This wouldn't damage the landscape and what I mean by "touching" is that you would tell your script to only activate the gib when the particle reached a certain distance from the enemy actor. 
 
 | 
		
			| Thu Aug 06, 2009 6:39 pm | 
					
					   | 
	
	
		|  | 
	
	
		|  |