View unanswered posts | View active topics It is currently Sat Dec 28, 2024 6:27 pm



This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
 Terrain cave-ins 
Author Message
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Post Terrain cave-ins
Could you (And if you could how?) make a script that checks if there is less than say... 10 pixels, then it displaces them?

So it would be like this:
Code:
if p = < 10 (-Y) then          (P) Meaning pixels.
displace p + 10 (-Y)        (-Y) meaning Up.


Of course this would not be so easy as that.
Just an example. So could you do this? It would be awesome! No more 2 pixels floating in mid air!

I don't know much about Lua, but this should be possible. Even if you had to spawn an MO to displace it.


EDIT

Oops. forgot the point.

Could someone make this?
Could someone Please(!) make this?


Mon Jul 05, 2010 1:13 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Post Re: Terrain cave-ins
there's no way to displace terrain systematically

so, yeah, it's basically impossible.

in case you need more explanation: even spawning an MO would displace at best I believe 60%; there was a specific ratio visible in one of the really old builds, set to 0.6.

anyways, the only "workaround" I can think of would be individually spawning mock terrain pixels out of the same set of colors at the individual positions while spawning single-pixel MOs to erase the specific pixels

which would be laggy and pretty terrible.


Mon Jul 05, 2010 1:20 am
Profile
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Post Re: Terrain cave-ins
Really small type wrote:
I don't know much about Lua, but this should be possible. Even if you had to spawn an MO to displace it.



EDIT

WOOOOOOOOOOOOOOOOOOOO!!
I got an idea.
You can change the material of somthing right?
Make it so the material turns to grass!
HAHA!

EDIT
lol


Last edited by Dylanhutch on Mon Jul 05, 2010 1:28 am, edited 3 times in total.



Mon Jul 05, 2010 1:22 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Post Re: Terrain cave-ins
yeah read my edit and stop thinking you're hot ♥♥♥♥


Mon Jul 05, 2010 1:25 am
Profile
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Post Re: Terrain cave-ins
Grif wrote:
yeah read my edit and stop thinking you're hot ♥♥♥♥


You would make the MO HitsMOs=1 and GetshitbyMOs=1 then it would hit both MOs and fall.

edit
And hit the person under it, adding to realizmz.


Mon Jul 05, 2010 1:30 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Post Re: Terrain cave-ins
no, you CAN'T change the material of something.

and I have no ♥♥♥♥ idea what you mean by your last post

are you just typing random words?


Mon Jul 05, 2010 2:20 am
Profile
User avatar

Joined: Sun Apr 25, 2010 12:04 am
Posts: 303
Location: Australia
Post Re: Terrain cave-ins
Grif wrote:
no, you CAN'T change the material of something.

Yes you can, i'm sure.

But it seems you can't understand them.


Butter.


Mon Jul 05, 2010 2:21 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Post Re: Terrain cave-ins
No, you can't.

If you're going to continually demand that you are right despite evidence to the contrary then this topic has no purpose besides your own faux-intelligent masturbation.

So.

No.


Mon Jul 05, 2010 2:55 am
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Post Re: Terrain cave-ins
You probably could take someone's terrain scanning script (that they did for the minimap) and make a psuedo-working-terrain-dislodger.


Mon Jul 05, 2010 5:50 am
Profile WWW
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 9 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.050s | 13 Queries | GZIP : Off ]