|
|
Line 1: |
Line 1: |
| {{Quicklinks}} | | {{Quicklinks}} |
− |
| |
− | = Example Uses =
| |
− |
| |
− | == Replacing a region's contents with what's in an OAR file ==
| |
− | Replacing a region with an OAR file for a region of the same size is as simple as:
| |
− |
| |
− | <tt>load oar NewRegion.oar</tt>
| |
− |
| |
− | == Merging together four region's worth of contents ==
| |
− | Say you have four adjacent 256x256 region ('Region00.oar', 'Region01.oar', ...) and you want to load them into a new 512x512 [[VarRegion]] ('BiggerRegion'). The commands would be:
| |
− |
| |
− | <tt>change region BiggerRegion</tt>
| |
− | <tt>load oar Region0.oar</tt>
| |
− | <tt>load oar --merge --force-terrain --displacement <0,256,0> Region01.oar</tt>
| |
− | <tt>load oar --merge --force-terrain --displacement <256,0,0> Region10.oar</tt>
| |
− | <tt>load oar --merge --force-terrain --displacement <256,256,0> Region11.oar</tt>
| |
− |
| |
− | == Loading a 256x256 region's contents into the middle of a 512x512 sized region ==
| |
− | If you have an OAR file for a 256x256 region ('LegacyRegion.oar' for instance) and you want to set it into the middle of a 512x512 region with the loaded region rotated by 30 degrees without messing up the rest of the larger region, the command would be:
| |
− |
| |
− | <tt>load oar --merge --force-terrain --force-parcels --displacement <128,128,0> --rotation 30.0 --rotation-center <128,128,0> LegacyRegion.oar</tt>
| |