Post by sdphantom on Nov 12, 2005 21:52:52 GMT -5
Here's a nice script that I wrote. Records how far your character has traveled as well as your speed and has a feature to give a straight line distance and bearing from any point (mark) in 3D space.
This script also closes itself given the "exit" or "quit" commands.
Download here
«Edit: New Version (2005-11-25)»
«Edit: New Version (2005-11-26)»
This script also closes itself given the "exit" or "quit" commands.
Download here
Travel Distance
-Release (2005-11-26)
-Written by Zytre
-zytre@phantomweb.org
Introduction:
Traveldistance is a script that captures your position and returns your current speed as well as how far you've traveled.
Another feature is the ability to temperarily mark either your current position or set a custom mark then return the distance and bearing from your current position to the mark set.
Commands:
-Commands are case insensitive.
-All arguements are required.
-All commands (except "exit" or "quit") may be combined and are seperated by a single space.
-move <X> <Y>
Moves the display to coordinates (<X>,<Y>) on the screen.
-size <fontSize>
Sets the current font size to <fontSize>.
-color <A> <R> <G> <B>
-colour <A> <R> <G> <B>
Set the font color Alpha (transparency) and RGB values.
-autoMark
Sets the mark to your current position.
-setMark <X> <Y> <Z>
Sets the mark to specified in-game coordinates (<X>,<Y>,<Z>).
-clearMark
Turns off position mark.
-clearDistance
Resets travel distance to 0.
-reset
Clears all.
-exit
-quit
Closes the script.
History:
2005-11-26
'NWSE' direction now works off of mark bearing rather than difference of (X,y)
2005-11-25
Added function to force number argument types
(Forces number conversion to 0 if 'nil' is returned)
(Prevents data type errors)
2005-11-12
First public release
-Release (2005-11-26)
-Written by Zytre
-zytre@phantomweb.org
Introduction:
Traveldistance is a script that captures your position and returns your current speed as well as how far you've traveled.
Another feature is the ability to temperarily mark either your current position or set a custom mark then return the distance and bearing from your current position to the mark set.
Commands:
-Commands are case insensitive.
-All arguements are required.
-All commands (except "exit" or "quit") may be combined and are seperated by a single space.
-move <X> <Y>
Moves the display to coordinates (<X>,<Y>) on the screen.
-size <fontSize>
Sets the current font size to <fontSize>.
-color <A> <R> <G> <B>
-colour <A> <R> <G> <B>
Set the font color Alpha (transparency) and RGB values.
-autoMark
Sets the mark to your current position.
-setMark <X> <Y> <Z>
Sets the mark to specified in-game coordinates (<X>,<Y>,<Z>).
-clearMark
Turns off position mark.
-clearDistance
Resets travel distance to 0.
-reset
Clears all.
-exit
-quit
Closes the script.
History:
2005-11-26
'NWSE' direction now works off of mark bearing rather than difference of (X,y)
2005-11-25
Added function to force number argument types
(Forces number conversion to 0 if 'nil' is returned)
(Prevents data type errors)
2005-11-12
First public release
«Edit: New Version (2005-11-25)»
«Edit: New Version (2005-11-26)»