//Podbot Waypointing Script// by: submitted by: Luis Cypher
Description: Better copy and save this description somewhere. It's rather large :)
The Waypointing Script is for people creating waypoints for podbot. It uses commandmenu as well as keyboard shortcuts.
There are only a few commands that you will still have to type in console, which are:
manually adding/deleting pathwaypoints, debuggoal, and waypoint find (because these require you to enter a node number).
Best functions IMHO:
- most frequently needed functions on shortcuts
- quicksave and undo
- toggle noclip on/off. Missed the jump? Need to get back onto that roof to try again?
Fly there, but don't switch it off in midair :)
- wayzone adjustment in steps of 12 via keyboard
- adjusts game settings to fit the needs of a waypointer
- automatically restores your keyboard settings, reloads waypoints
and fills server with bots if you want to stop editing and testplay
*********** Installation: ***********
Make a backup of commandmenu.txt in /cstrike folder first!
Make 4 files: edit.cfg, play.cfg, display.cfg and a new commandmenu.TXT in /cstrike.
Insert the corresponding parts into each script, they are prefixed
/// scriptname.cfg/txt
Now, if you haven't got a bind to commandmenu already, bind a key to +commandmenu in your config.cfg, i.e.:
bind enter +commandmenu
IMPORTANT: Write protect your config.cfg! Else some settings could be permanently changed.(**note from Counter-Script: this is not recommended, better to make a backup config named something else which is write protected and exec it from your autoexec.cfg **)
You can also include all of the contents of the editor commandmenu into your existing one if you know how to do that. Please try only if you do.
*********** Functions: ***********
Ingame, open the commandmenu with the key you bound to it (default: enter). Menu selection is done like when buying or with the mouse. You can close the menu and each submenu also by pressing that commandmenu button again. The menu includes:
- edit waypoints
-switches waypoint and pathwaypoint on
-kicks all bots (make sure never to edit with bots running about, so if you have bots automatically joining your game, wait until all are there)
-roundtime is increased to 10 minutes
-time until automatic mapchange is increased to 1 hour
-activates the shortcuts:
Page up/page down: wayzone adjustment up/down
Home: add a flag (block with hossie…)
End: save without checking for errors, e.g. quicksave
Ins: waypoint add (opens podbot waypoint menu)
Del: deletes the waypoint that you're standing on
F8: Press to display the shortcuts, press again to remove display
F9: Toggle noclipping
F10: Check for errors
F11: Autowaypoint on/off
F12: adds a normal waypoint
backspace: Loads last saved waypoints (but warns you first). Use this together with quicksave to save before any difficult stuff and simply undo the damage :)
Close the display with F8.
!!! You need to select “start waypointing” before the other functions will work !!!
- check for errors
-checks for errors without saving
-opens console because the result is displayed only there
- Show flags of waypoint
-shows all flags of current waypoint
-opens console because the result is displayed only there
- autowaypoint on/off
-toggles autowaypoint on and off
- Clipping off/on
-activates noclip cheat, e.g. you can walk through walls and fly
- Save options: opens submenu
-save and check for errors: waypoint save
-quicksave: waypoit save nocheck (like key End)
-save and new game:
-quicksaves and quits to CS main screen (you may have to press cancel in addition)
-save and start testgame:
-saves without check, you have to do that seperately. Allows you to test faulty waypoints too
-reloads these waypoints so you can use them
-switches off waypointing and autowaypoint
-resets your keyboard binds to like you normally have it
-roundtime is set to 5 minutes
-fills server with bots
!caution! If you did a debuggoal command, you need to exit CS first, else the command will still be active and all bots will head to your debug waypoint
- Stop edit otions: opens submenu
-save and quit:
-quicksaves and quits CS to desktop.
Bosskey bind, if you want one:
bind “yourkeyhere” “saveexit” -don't save and quit: -does not save and quits CS to desktop.
Bosskey #2. Bind:
bind “yourkeyhere” “exit” -don't save and new game:
-does not save and quits to CS main screen (you may have to press cancel in addition)
-stop editing and stay:
-does not save, end waypointing and restores your normal keyboard settings.
- Load last saved:
-discards any changes since you last saved and loads that savefile, but warns you first. Press Space for Yes, backspace for No (you are prompted to choose)
- display shortcuts:
-does just that.
************** Comments *************
1. This script assumes that you use Space for jumping. You can use other keys, but space will be bound to jump after some functions are executed. If you absolutely want to change that, you need to locate the lines
alias loadit “waypoint on; pathwaypoint on; waypoint load; bind backspace loadwarn; bind space +jump”
alias cancelload “waypoint on; pathwaypoint on; cancelloadmess; bind backspace loadwarn; bind space +jump”
in edit.cfg and there change the +jump to what you want to have.
2. If you want to change the binds of this script, which are also located in edit.cfg, update the display.cfg with that information.
3. Unfortunately, there is no way to make the commandmenu a non-vgui-menu. Sorry.
************** Thanks to **************
Benelli Brothers, esp. [BB] Maria Cobretti
The Podbot guys (visit
http://podbot.nuclearbox.com)And of course the people at Counter-Script (visit
http://dynamic4.gamespy.com/~counter-script)Disclaimer: You may use this script as a whole or in parts, edit it, distribute it and even publish it, but not put it to any commercial use (if there were one for it). Please don't forget credits. This script comes as is without any warranty. Useage at your own risk. The author cannot be held responsible for any damage inflicted on software, hardware or brain by downloading, installing, using, uninstalling or otherwise using this script - but then, that's almost as unlikely as the part about commercial use :) ©2002 by Luis Cypher, aka [BB] Gothic
/// commandmenu.txt
“1” “Start editing” “exec edit.cfg; exec display.cfg; startmessage”
“2” “Check for errors” “waypoint check; showconsole”
“3” “Show flags of waypoint” “waypoint showflags; showconsole”
“4” “Autowaypoint on/off” “autowptoggle”
“5” “Clipping off/on” “nocliptoggle”
“6” “Save options >>” {
“1” “Save and check for errors” “waypoint save; showconsole”
“2” “Quicksave (hotkey: End)” “waypoint save nocheck”
“3” “Save and new game” “savenew”
“4” “Save and start testgame” “savetest”
}
“7” “Stop edit options >>”
{
“1” “Save and quit” “savexit”
“2” “Don't save and quit” “exit”
“3” “Don't save and new game” “cancelnew”
“4” “Stop editing and stay” “stoprestore”
}
“8” “Load last saved” “loadwarn”
“9” “Display shortcuts” “display”
/// edit.cfg
alias showconsole “hideconsole; toggleconsole”
alias wait5 “wait; wait; wait; wait; wait”
alias dv1 “developer 1”
alias dv0 “developer 0”
alias ms1 “menuselect 1”
alias ms2 “menuselect 2”
alias ms3 “menuselect 3”
alias ms4 “menuselect 4”
alias ms5 “menuselect 5”
alias ms6 “menuselect 6”
alias ms7 “menuselect 7”
alias ms8 “menuselect 8”
alias ms9 “menuselect 9”
alias ms10 “menuselect 10”
alias wzincr “wz12”
alias wzdecr “wz96”
alias wz0 “waypoint setradius 0; alias wzincr wz12; alias wzdecr wz96”
alias wz12 “waypoint setradius 12; alias wzincr wz24; alias wzdecr wz0”
alias wz24 “waypoint setradius 24; alias wzincr wz36; alias wzdecr wz12”
alias wz36 “waypoint setradius 36; alias wzincr wz48; alias wzdecr wz24”
alias wz48 “waypoint setradius 48; alias wzincr wz60; alias wzdecr wz36”
alias wz60 “waypoint setradius 60; alias wzincr wz72; alias wzdecr wz48”
alias wz72 “waypoint setradius 72; alias wzincr wz84; alias wzdecr wz60”
alias wz84 “waypoint setradius 84; alias wzincr wz96; alias wzdecr wz72”
alias wz96 “waypoint setradius 96; alias wzincr wz0; alias wzdecr wz84”
alias loadwarn “waypoint off; bind space loadit; bind backspace cancelload; loadwmessage”
alias loadit “waypoint on; pathwaypoint on; waypoint load; bind backspace loadwarn; bind space +jump”
alias cancelload “waypoint on; pathwaypoint on; cancelloadmess; bind backspace loadwarn; bind space +jump”
alias loadwmessage “dv1; echo; echo Warning! Discard changes and load waypoints? Space: Yes, Backspace: No; dv0”
alias cancelloadmess “dv1; echo; echo Waypoint load was cancelled!; dv0”
bind “backspace” “loadwarn”
bind “INS” “waypoint add”
bind “DEL” “waypoint delete”
bind “PGUP” “wzincr”
bind “PGDN” “wzdecr”
bind “HOME” “waypoint addflag”
bind “END” “waypoint save nocheck”
bind “F8” “letsgo”
bind “F9” “nocliptoggle”
bind “F10” “waypoint check; showconsole”
bind “F11” “autowptoggle”
bind “F12” “waypoint add; wait5; ms1; wait5; slot10; wait5; slot10; wait5; slot10”
alias kickall “podbotmenu; ms7; slot10; wait5; slot10; wait5; slot10”
alias savetest “waypoint save nocheck; wait5; wait5; wait5; wait5; autowpoff; waypoint load; exec play.cfg; slot10; wait5; slot10; wait5; slot10”
alias saveexit “waypoint save nocheck; exit”
alias cancelnew “disconnect”
alias savenew “waypoint save nocheck; wait5; wait5; wait5; wait5; disconnect”
alias stoprestore “autowpoff; waypoint off; mp_roundtime 5; exec config.cfg; exec autoexec.cfg”
alias autowptoggle autowpon alias autowpon “autowaypoint on; alias autowptoggle autowpoff”
alias autowpoff “autowaypoint off; alias autowptoggle autowpon”
alias nocliptoggle clipoff
alias clipoff “waypoint off; wait5; waypoint on noclip; pathwaypoint on; dv1; echo; echo Weeeeeee! I can fly!; dv0; alias nocliptoggle clipon”
alias clipon “waypoint off; wait5; waypoint on; pathwaypoint on; dv1; echo; echo Welcome back on the ground!; dv0; alias nocliptoggle clipoff”
alias startmessage “echo —————— Press F8 to start editing ——————”
alias contmessage “echo —————— Press F8 to continue ——————”
alias display “exec display.cfg; contmessage; bind F8 undisplay” alias undisplay “hideconsole; bind F8 display”
alias letsgo “hideconsole; bind F8 display; waypoint on; pathwaypoint on; mp_roundtime 10; mp_timelimit 60; kickall”
/// play.cfg
alias fillserver “podbotmenu; ms5; ms5; slot10; wait5; slot10; wait5; slot10”
waypoint off
pathwaypoint off
mp_roundtime 5
exec config.cfg
exec autoexec.cfg
fillserver
/// display.cfg
showconsole
echo
echo
echo
echo
echo
echo “———————————————————————-”
echo “ Waypointer's Script by Luis Cypher”
echo “———————————————————————-”
echo
echo “ Use Commandmenu for Options and Commands”
echo
echo “ Keyboard hotkeys:”
echo
echo “ Ins: waypoint add”
echo “ Del: waypoint delete”
echo “ Page up/down: wayzone adjust”
echo “ Home: show flags”
echo “ End: Quicksave”
echo “ Backspace: Load last saved”
echo “ F8: Display keyboard shortcuts; press again to hide display”
echo “ F9: Toggle noclipping”
echo “ F10: Check for errors”
echo “ F11: Autowaypoint on/off”
echo “ F12: Adds normal waypoint”
echo
echo “———————————————————————-”
echo
/// Note: WRITE PROTECT YOUR CONFIG.CFG!
//**note: see note in description about this, Counter-Script Crew**
þetta script er á counter-script síðunni, held að það sé URL á hana á csnation… ég prófaði þetta…þetta virkar…vesen! fór og dl 50 waypoints í pakka og sparaði mér ómælda vinnu :)<br><br><i> Exile | Spec^ </i>
<i> Óli </i