Difference between revisions of "Ogre Nav"
Line 33: | Line 33: | ||
|rowspan="2"|<center>'''-loc'''</center> | |rowspan="2"|<center>'''-loc'''</center> | ||
|- | |- | ||
− | |colspan="3"| Ogre Nav -Loc 255, 658, 1009 | + | |colspan="3"| Ogre Nav -Loc 255, 658, 1009 -p 0.5 |
|rowspan="2"| Sets Location | |rowspan="2"| Sets Location | ||
|- | |- | ||
Line 39: | Line 39: | ||
|rowspan="2"|<center>'''-p -precision'''</center> | |rowspan="2"|<center>'''-p -precision'''</center> | ||
|- | |- | ||
− | |colspan="3"| | + | |colspan="3"| -p 0.5 |
|rowspan="2"| Sets Precision | |rowspan="2"| Sets Precision | ||
|- | |- | ||
Line 45: | Line 45: | ||
|rowspan="2"|<center>'''-p2d -ptd -precisiontodestination'''</center> | |rowspan="2"|<center>'''-p2d -ptd -precisiontodestination'''</center> | ||
|- | |- | ||
− | |colspan="3"| | + | |colspan="3"| -p2d 0.5 |
|rowspan="2"| Sets Precision to Destination | |rowspan="2"| Sets Precision to Destination | ||
|- | |- | ||
Line 141: | Line 141: | ||
|rowspan="2"|<center>'''-DistanceToMoveBackToPath -DTMBTP'''</center> | |rowspan="2"|<center>'''-DistanceToMoveBackToPath -DTMBTP'''</center> | ||
|- | |- | ||
− | |colspan="3"| | + | |colspan="3"| -DTMBTP 50 |
|rowspan="2"| Sets distance to move back to path. | |rowspan="2"| Sets distance to move back to path. | ||
|- | |- |
Latest revision as of 15:49, 1 July 2019
Ogre Nav is replacing Ogremove going forward. Ogre Move will still exist to not break any existing scripts.
This is a rewrite the front end of Ogremove. The backend (the actual naving) remains unchanged.
Typing 'ogre nav' with no additional parameters will result in the following help message: Due to some backwards compatibility issues, the old ogre move may stay 'as is', with this new version being 'ogre nav' (or some other name). So existing scripts can function exactly as is, but new scripts could make use of the better front end.
Proper way to use ogre nav: ogre nav <options>.
Then in a script you can use: ${Script[${OgreNavScriptName}](exists)}.
- This variable will always contain the proper name of the ogre nav running, even if I have to change it in the future.
Ogre nav has the following options:
- -loc x y z
- <location>. Example of a location you saved in a map: Rock
- -tr | -targetrequired (Default)
- -ntr | -notargetrequired
- -p | -precision # - Sets the precision you want while it navigates. Default is 1.5
- -ptd | -PrecisionToDestination # - Sets the precision to destination. Default is 1.5
- -list - Displays all custom named points on a map that you can use for <location>.
These can all be stacked. For example: ogre -loc 20 -32 55 -p 2 -ptd 5 -ntr
- --> This would use the location 20,-32,55. Would set the precision to 2, the precision to destination to 5, and set no target required.
Is also fully backwards compatible with the previous Ogremove options that were able to be used.
Command | Example | Description | ||
---|---|---|---|---|
Ogre Nav -Loc 255, 658, 1009 -p 0.5 | Sets Location | |||
-p 0.5 | Sets Precision | |||
-p2d 0.5 | Sets Precision to Destination | |||
N/A | Target Required | |||
N/A | No Target Required | |||
N/A | Forced Landing | |||
N/A | Forced Landing after Navigation | |||
N/A | Forced Landing after Navigation | |||
N/A | No Landing | |||
N/A | Forced Landing on map. | |||
N/A | Forced Landing after Nav on map. | |||
N/A | No Landing on map. | |||
N/A | Allows flying off Map. | |||
N/A | No flying off Map. | |||
N/A | Ignores Line of sight check. | |||
N/A | Sets ignore line of sight setting to [FALSE] | |||
N/A | Ignores pathing. | |||
N/A | Sets Ignore pathing to [FALSE]. | |||
-DTMBTP 50 | Sets distance to move back to path. | |||
N/A | Lists custome Name Locations. |