Difference between revisions of "Ogre Nav"
LittleOgress (Talk | contribs) |
|||
Line 22: | Line 22: | ||
*--> 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. | *--> 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. | Is also fully backwards compatible with the previous [[Ogremove]] options that were able to be used. | ||
+ | |||
+ | == Ogre Nav Advanced == | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | !Command | ||
+ | !colspan="3"|Example||Description | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-loc'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -Loc | ||
+ | |rowspan="2"| Sets Location | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-p -precision'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -p | ||
+ | |rowspan="2"| Sets Precision | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-p2d -ptd -precisiontodestination'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -p2d | ||
+ | |rowspan="2"| Sets Precision to Destination | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-tr -targetrequired'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -tr | ||
+ | |rowspan="2"| Target Required | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-ntr -notargetrequired'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -ntr | ||
+ | |rowspan="2"| No Target Required | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-forceland'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -forceland | ||
+ | |rowspan="2"| Forced Landing | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-forcelandafternav'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -forcelandafternav | ||
+ | |rowspan="2"| Forced Landing after Navigation | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-forcelandafternav -flan -flap -fl'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -flan | ||
+ | |rowspan="2"| Forced Landing after Navigation | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-noland'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -noland | ||
+ | |rowspan="2"| No Landing | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-forcelandonmap'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -forcelandonmap | ||
+ | |rowspan="2"| Forced Landing on map. | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-forcelandafternavonmap'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -forcelandafternavonmap | ||
+ | |rowspan="2"| Forced Landing after Nav on map. | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-nolandonmap'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -nolandonmap | ||
+ | |rowspan="2"| No Landing on map. | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-allowflyingoffmap'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -allowflyingoffmap | ||
+ | |rowspan="2"| Allows flying off Map. | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-noflyoffmap -nofom'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -noflyoffmap | ||
+ | |rowspan="2"| No flying off Map. | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-nolos'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -nolos | ||
+ | |rowspan="2"| Ignores Line of sight check. | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-los'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -los | ||
+ | |rowspan="2"| Sets ignore line of sight setting to [FALSE] | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-ignorepathing -ip'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -ip | ||
+ | |rowspan="2"| Ignores pathing. | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-allowpathing -ap'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -ap | ||
+ | |rowspan="2"| Sets Ignore pathing to [FALSE]. | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-DistanceToMoveBackToPath -DTMBTP'''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -DTMBTP | ||
+ | |rowspan="2"| Sets distance to move back to path. | ||
+ | |- | ||
+ | |||
+ | |rowspan="2"|<center>'''-l -list '''</center> | ||
+ | |- | ||
+ | |colspan="3"| Ogre Nav -list | ||
+ | |rowspan="2"| Lists custome Name Locations. | ||
+ | |- |
Revision as of 15:32, 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 | Sets Location | |||
Ogre Nav -p | Sets Precision | |||
Ogre Nav -p2d | Sets Precision to Destination | |||
Ogre Nav -tr | Target Required | |||
Ogre Nav -ntr | No Target Required | |||
Ogre Nav -forceland | Forced Landing | |||
Ogre Nav -forcelandafternav | Forced Landing after Navigation | |||
Ogre Nav -flan | Forced Landing after Navigation | |||
Ogre Nav -noland | No Landing | |||
Ogre Nav -forcelandonmap | Forced Landing on map. | |||
Ogre Nav -forcelandafternavonmap | Forced Landing after Nav on map. | |||
Ogre Nav -nolandonmap | No Landing on map. | |||
Ogre Nav -allowflyingoffmap | Allows flying off Map. | |||
Ogre Nav -noflyoffmap | No flying off Map. | |||
Ogre Nav -nolos | Ignores Line of sight check. | |||
Ogre Nav -los | Sets ignore line of sight setting to [FALSE] | |||
Ogre Nav -ip | Ignores pathing. | |||
Ogre Nav -ap | Sets Ignore pathing to [FALSE]. | |||
Ogre Nav -DTMBTP | Sets distance to move back to path. | |||
Ogre Nav -list | Lists custome Name Locations. |