Data Realms Fan Forums
http://45.55.195.193/

a script than will make a particle ignore terrain
http://45.55.195.193/viewtopic.php?f=73&t=16027
Page 1 of 1

Author:  vagyr [ Mon Jul 27, 2009 9:00 am ]
Post subject:  a script than will make a particle ignore terrain

basicaly 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.

Author:  Kyred [ Mon Jul 27, 2009 9:03 am ]
Post subject:  Re: a script than will make a particle ignore terrain

I 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.

Author:  Geti [ Mon Jul 27, 2009 9:53 am ]
Post subject:  Re: a script than will make a particle ignore terrain

nono, just use something with no atomgroup and make it spawn particles that affect actors.

Author:  Roon3 [ Mon Jul 27, 2009 10:43 am ]
Post subject:  Re: a script than will make a particle ignore terrain

No atomgroups make CC crash iirc.

Author:  Geti [ Mon Jul 27, 2009 11:42 am ]
Post subject:  Re: a script than will make a particle ignore terrain

sorry, i mean null atomgroups, either with a custom defined one or just an autogen with huge depth and res.

Author:  vagyr [ Mon Jul 27, 2009 12:35 pm ]
Post subject:  Re: a script than will make a particle ignore terrain

Geti 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...

Author:  robolee [ Mon Aug 03, 2009 10:30 pm ]
Post subject:  Re: a script than will make a particle ignore terrain

use my fabulous atomgroup (which I use for pinned stuff I don't want to collide):

Code:
AddActor = AtomGroup
   InstanceName = 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...

Author:  CaveCricket48 [ Tue Aug 04, 2009 2:15 am ]
Post subject:  Re: a script than will make a particle ignore terrain

*sniff sniff* I smell a ghost ship coming!

Author:  vagyr [ Tue Aug 04, 2009 1:53 pm ]
Post subject:  Re: a script than will make a particle ignore terrain

CaveCricket48 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 :grin:

Author:  Cadwaller [ Thu Aug 06, 2009 6:39 pm ]
Post subject:  Re: a script than will make a particle ignore terrain

You 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.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/