Difference between revisions of "Ogre Nav"

From ISXOgre
Jump to: navigation, search
Line 148: Line 148:
 
|-
 
|-
 
|colspan="3"| Ogre Nav -list
 
|colspan="3"| Ogre Nav -list
|rowspan="2"| Lists custome Name Locations.
+
|rowspan="2"| Lists custom 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.

Ogre Nav Advanced

Command Example Description
-loc
Ogre Nav -Loc Sets Location
-p -precision
Ogre Nav -p Sets Precision
-p2d -ptd -precisiontodestination
Ogre Nav -p2d Sets Precision to Destination
-tr -targetrequired
Ogre Nav -tr Target Required
-ntr -notargetrequired
Ogre Nav -ntr No Target Required
-forceland
Ogre Nav -forceland Forced Landing
-forcelandafternav
Ogre Nav -forcelandafternav Forced Landing after Navigation
-forcelandafternav -flan -flap -fl
Ogre Nav -flan Forced Landing after Navigation
-noland
Ogre Nav -noland No Landing
-forcelandonmap
Ogre Nav -forcelandonmap Forced Landing on map.
-forcelandafternavonmap
Ogre Nav -forcelandafternavonmap Forced Landing after Nav on map.
-nolandonmap
Ogre Nav -nolandonmap No Landing on map.
-allowflyingoffmap
Ogre Nav -allowflyingoffmap Allows flying off Map.
-noflyoffmap -nofom
Ogre Nav -noflyoffmap No flying off Map.
-nolos
Ogre Nav -nolos Ignores Line of sight check.
-los
Ogre Nav -los Sets ignore line of sight setting to [FALSE]
-ignorepathing -ip
Ogre Nav -ip Ignores pathing.
-allowpathing -ap
Ogre Nav -ap Sets Ignore pathing to [FALSE].
-DistanceToMoveBackToPath -DTMBTP
Ogre Nav -DTMBTP Sets distance to move back to path.
-l -list
Ogre Nav -list Lists custom Name Locations.