View Full Version : Tree at xxxx, yyyy out of grid (x-axis)
.kju [PvPscene]
Dec 16 2007, 21:16
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Tree at 10350.000, 22215.000 out of grid (x-axis) - 0.000 rounded to 2[/QUOTE]
Any idea guys? http://forums.bistudio.com/oldsmileys/smile_o.gif
Every help is very much appreciated! http://forums.bistudio.com/oldsmileys/notworthy.gif
Opteryx
Dec 16 2007, 21:21
You've somehow placed a tree outside of the actual map in Visitor??
.kju [PvPscene]
Dec 16 2007, 21:31
These are OFP island conversions .. http://forums.bistudio.com/oldsmileys/whistle.gif
We can see trees on the island and they are still on the same
position like in OFP / WRPTool.
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">landGrid = 50;[/QUOTE]
That value is needed in the map config so that the objects are at
the correct position.
We only work with WRPTool. http://forums.bistudio.com/oldsmileys/wink_o.gif
Linker Split
Dec 16 2007, 21:37
sometimes WRPtool islands got some objects out of the visitor map...
I placed for example in WRPtool a tree out of the grid.. I was never able to delete it in wrptool.
.kju [PvPscene]
Dec 17 2007, 07:57
Any ideas how to locate these trees or how to fix it altogether?
Maybe by opening the wrp with a hex editor?
"Out of grid" means in WRP that he placed a tree exact on a grid border.
nubbin77
Dec 18 2007, 02:30
I got an idea - might work might not.
Highlight all of the map objects. replace all of the trees of that type (that are out of bounds) with another object (just make sure it is an object that you have not used elsewhere in the map). replace them all (which will change all of the highlighted trees).
Then do a delete all (Its been a while since I used wrp tool so bear with me if thats not a function) and delete the trees of the type that are out of bounds. Maybe that will delete all those types of trees that are out of bounds and then just replace all of the new object you converted with the old trees.
I have other ideas if that doesn't work. That seems like it would be easiest.
BTW if there's ever a chance USMC GAIA would ever be converted I would love you (even better, the version of GAIA I created )
[APS]Gnat
Dec 18 2007, 08:39
Another way may be;
- take note of *exactly* where 1 object, any object is
- highlight all objects
- Drag all objects in any direction and look for one appearing on the border.
- Delete that object and move all other objects back to original position.
..... this assumes the object is just beyond the border, not 1000 meters off the map.
An even simpler method would be to change the View Settings to only display Nature Objects.
Then use SelectObjects script to highlight all the nature objects of the target type.
Then hold shift and drag rectangle over all nature objects on land thereby de-selecting all nature objects except any that are off the map area.
Then press Del.
Hopefully that will remove any stray object.
Planck
Try the script which deletes every object outside the given coordinates, should be pretty easy to put it together...
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.