View unanswered posts | View active topics It is currently Thu Jan 09, 2025 11:46 pm



Reply to topic  [ 7 posts ] 
 Terrain 
Author Message
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Terrain
Okay, i know this has probably been covered before, but is there a way to make, say a TDExplosive, that goes through terrain (literally, not because of mass and sharpness) but not through anything else?

Thanks


Tue May 26, 2009 8:15 pm
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Terrain
HitsMOs = 0?


Tue May 26, 2009 9:11 pm
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: Terrain
Lizard wrote:
HitsMOs = 0?


Pretty sure thats not it.


Tue May 26, 2009 9:13 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post Re: Terrain
Lizard wrote:
HitsMOs = 0?


The terrain is not an MO.
I'm not sure there is a way...
Maybe with lua?


Tue May 26, 2009 9:14 pm
Profile
User avatar

Joined: Thu Jul 10, 2008 6:23 pm
Posts: 301
Location: Lurking somewhere around here...
Reply with quote
Post Re: Terrain
Try checking out Zalo's Ghost Clone or whatever it's called. It still goes through terrain, but it only leaves a really small line.


Tue May 26, 2009 11:36 pm
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: Terrain
Ultric wrote:
Try checking out Zalo's Ghost Clone or whatever it's called. It still goes through terrain, but it only leaves a really small line.

Link? :) If not, ill go looking for it myself.


Wed May 27, 2009 12:21 am
Profile
User avatar

Joined: Mon Jun 04, 2007 5:55 am
Posts: 1627
Location: Ohio
Reply with quote
Post Re: Terrain
The Mind wrote:
Okay, i know this has probably been covered before, but is there a way to make, say a TDExplosive, that goes through terrain (literally, not because of mass and sharpness) but not through anything else?

Thanks


It has to do with atomgroup, deepgroup, and resolution.

Atomgroup is what its made of
Deepgroup is what it is to the terrain
and resolution is how far apart the calculations for collisions with terrain are. Try setting a resolution to 1/2+1 the sprites width at the widest part. It counts the resolution from the edge of the sprite, pixel by pixel. so if its 50 pixels wide, resolution 25 would be only the centermost pixel, and 26 would mean 1 pixel past the center, IE it doesn't affect terrain. its tricky to get right.


Wed May 27, 2009 12:28 am
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 7 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.059s | 13 Queries | GZIP : Off ]