View unanswered posts | View active topics It is currently Fri Dec 27, 2024 8:38 am



Reply to topic  [ 10 posts ] 
 a script than will make a particle ignore terrain 
Author Message
User avatar

Joined: Sun Jan 11, 2009 10:54 am
Posts: 365
Reply with quote
Post 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.


Mon Jul 27, 2009 9:00 am
Profile
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post 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.


Mon Jul 27, 2009 9:03 am
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post 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.


Mon Jul 27, 2009 9:53 am
Profile WWW
User avatar

Joined: Sun May 11, 2008 12:50 pm
Posts: 899
Reply with quote
Post Re: a script than will make a particle ignore terrain
No atomgroups make CC crash iirc.


Mon Jul 27, 2009 10:43 am
Profile WWW
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post 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.


Mon Jul 27, 2009 11:42 am
Profile WWW
User avatar

Joined: Sun Jan 11, 2009 10:54 am
Posts: 365
Reply with quote
Post 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...


Mon Jul 27, 2009 12:35 pm
Profile
User avatar

Joined: Fri May 11, 2007 4:30 pm
Posts: 1040
Location: England
Reply with quote
Post 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...


Mon Aug 03, 2009 10:30 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Jan 11, 2009 10:54 am
Posts: 365
Reply with quote
Post 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:


Tue Aug 04, 2009 1:53 pm
Profile
User avatar

Joined: Wed Jun 03, 2009 1:12 am
Posts: 93
Reply with quote
Post 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.


Thu Aug 06, 2009 6:39 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.175s | 13 Queries | GZIP : Off ]