|
Kell Ventura
Registered User
Join date: 17 Jul 2006
Posts: 40
|
06-27-2007 23:19
This is a followup to the previous threads on setting the Height Fields for terraforming.
Without rehashing the reasons why, I'd like a script to run "in-world" which will set the exact height for a particular x-y coordinate (grid point) in a parcel I own without touching the adjacent grid points. (Note that in my request the script does not have permission to update/replace the Terrain RAW file for the sim.)
Now, I'm not sure if such a script can be written. If it must be done by calling function llModifyLand, then my reading of that function is that it can't be used to modify the height for a single grid point, leaving the heights for the adjacent grid points the same.
So what's the deal?
|
|
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
|
06-27-2007 23:55
nope you can't , i do believe there is some sort of compression occuring on top of 3x3 being the minimum resolution for editing land.
_____________________
 tired of XStreetSL? try those! apez http://tinyurl.com/yfm9d5b metalife http://tinyurl.com/yzm3yvw metaverse exchange http://tinyurl.com/yzh7j4a slapt http://tinyurl.com/yfqah9u
|
|
Kell Ventura
Registered User
Join date: 17 Jul 2006
Posts: 40
|
06-28-2007 00:09
From: Kyrah Abattoir nope you can't , i do believe there is some sort of compression occuring on top of 3x3 being the minimum resolution for editing land. Bummer. So unless there is another way to do this via scripting, it appears the only way to get true access to individual grid-points for purposes of height adjustment is via the Terrain RAW file? Since SL's terraforming tools are a sort of front end to ultimately edit the Terrain RAW, one might speculate that it should be possible to edit the Terrain RAW itself via a script. Anyone?
|
|
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
|
06-28-2007 00:17
even then it won't be exact , there is "some" compression that occur when the client get the land data.
_____________________
 tired of XStreetSL? try those! apez http://tinyurl.com/yfm9d5b metalife http://tinyurl.com/yzm3yvw metaverse exchange http://tinyurl.com/yzh7j4a slapt http://tinyurl.com/yfqah9u
|
|
Kell Ventura
Registered User
Join date: 17 Jul 2006
Posts: 40
|
06-28-2007 09:16
From: Kyrah Abattoir even then it won't be exact , there is "some" compression that occur when the client get the land data. Well, I suppose, but that's when the Height Field data is used, not created. It is all pretty frustrating that LL does not appear to provide (unless it is undocumented) a script function to set the terrain height for any single x,y pair in the Terrain RAW file. The only way that it appears doable is to export the Terrain RAW file, externally edit the Height Field data value(s), then upload it. The terrain height function could either be a new one like a "LlSetTerrainHeight", or add the functionality to "LlModifyLand"
|