View unanswered posts | View active topics It is currently Thu Dec 26, 2024 4:38 pm



Reply to topic  [ 5 posts ] 
 Removing Settled MOPixels 
Author Message
User avatar

Joined: Sun May 31, 2009 1:04 am
Posts: 308
Reply with quote
Post Removing Settled MOPixels
Is there anyway, though Lua, to remove MOPixels that have already settled? (ie. have become immobile)


Fri Jul 10, 2009 10:50 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Removing Settled MOPixels
What? They settle into terrain. So if they've settled they have become terrain.
On the other hand, if you just want to remove them as they stop moving you could just delete them as the velocity hits zero...


Fri Jul 10, 2009 11:01 am
Profile WWW
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Removing Settled MOPixels
i think he means all the settled mopixels of a cirtain type. i dont think we can do anything with terrain as of yet, so no.


Fri Jul 10, 2009 11:04 am
Profile WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Removing Settled MOPixels
Give them a custom strength and CastObstructionRay for anything above that strength?


Fri Jul 10, 2009 4:09 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Wed Dec 13, 2006 5:27 am
Posts: 3138
Location: A little south and a lot west of Moscow
Reply with quote
Post Re: Removing Settled MOPixels
As of yet, we can't turn terrain pixels into MOPixels.
GetTerrMatter gets the material index of the pixel at that point.
CastStrengthRay and CastSWeaknessRay raycast for material of certain strengths.
That's about all we have for now, though.


Fri Jul 10, 2009 11:16 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 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.047s | 13 Queries | GZIP : Off ]