PPArkisto

CS bot\waypoint

3D-räiskintä- ja toimintapelit

Sivu 1 / 1

Viestit

Sivu 1 / 1
laihapingviini

TPH

Rekisteröitynyt:
03.07.2002
Kirjoitettu: keskiviikko, 12. helmikuuta 2003 klo 20.51
Voiko tehä boteille omat reitit kenttiin??
Ei kai se niin vaarallista ole?
Rekisteröitynyt:
03.02.2003
Kirjoitettu: keskiviikko, 12. helmikuuta 2003 klo 22.53
voi
Intel core quad Q6600,Asus P5K-E ,4 Gt kingston 800mhz ddr2,Asus Gf GTX550 TI,Seagate barracuda sata2 750Gt,3 Ulkoista kovoa yht:3.2Tb,SB X-Fi Xtreme Gamer Fatal1ty,2xAsus 24x dvd-r ,Corsair hx650W,Antec Nine Hundred,+ 4muuta konetta.Ps2 Silver,Ps3.
Rekisteröitynyt:
22.10.2002
Kirjoitettu: torstai, 13. helmikuuta 2003 klo 15.44
Tässä neuvoja miten voi tehdä PODBottiin omia waypointteja, jos vaan sen verran älyät englantia.

PART ONE:

Taken from the PODBot read me "How To Do Waypoints".

1. Waypoints, what are they ?

Waypoints are locations in the maps that the bots will use when navigating.
They allow the bot to roam about the map without having to blindly bump into
walls. Waypoints can be thought of like the bread crumbs in the Hansel and
Gretel story. They are something marking a path to make it easier to follow.
The waypoints are not displayed while the game is being played. The bots
"know" which way to go by following the path laid out by these waypoints.

In order to get the bots to cover the entire map when playing the game,
waypoints should be laid out all over the map. Without the waypoints the
bots will just randomly run around and will tend to stay in the same area.
Waypoints also allow the bot to know where specific goals are in the game.
You couldn't play capture the flag unless you knew where the flag was and
where the flag needed to be taken after being captured. Waypoints are what
makes all of these things possible. Bots with sufficiently advanced waypoint
information and algorithms would be able to find the shortest distance
between points in the map and navigate from their current position to some
goal on the other side of the map.

This document describes the commands needed to create or edit a waypoint
file (to be used with POD-Bot). When creating or editing a waypoint
file it is best NOT to have any bots wandering around at the same time.
Create a LAN game, and join the game then start laying out waypoints for
a map. Save the waypoint file, disconnect from the server, then start the
game again, this time with the bots to see how well (or poorly) they follow
the waypoints you have created.


2. What do waypoints look like in the map ?

The waypoints are displayed using vertical lines that look like lightning or
electric streams. The vertical line used to draw the waypoint is the same
height as the player. The point in space at the center of this vertical line
is what is actually used as the waypoint. Different Types of waypoints have
different colors.

Waypoints are stored in a file with the same name as the map file name but
using the extension ".pwf" instead of the map file extension of ".bsp". For
example, the waypoint file for the map de_dust would be de_dust.pwf.It will be
stored in the Half-LifecstrikePODBot folder and then in the folder you specified
with wptfolder (defaults to "WPTDefault"wink.
Waypoint files are automatically loaded when the map is loaded (if they
exist). If the waypoint file does not exist, you will need to create it
using the directions contained in this document.


3. Waypoint console commands Summary

The following Waypoint commands are available (note these ARE case sensitive):

"waypoint on" - Turns on displaying of waypoints.
"waypoint on noclip" - Turns on waypoint editing with noclip cheat. This allows you
to fly and you don't collide with walls. Useful for doing swim waypoints.
"waypoint off" - Turns off displaying of all waypoints.
"waypoint add" - Adds a waypoint at the current player location. A Menu will pop
up where you have to select the different types of waypoints
"waypoint delete" - Deletes the waypoint nearest to the player (see below).
"waypoint find x" - Shows you the Direction to a specific Waypoint Nr. x
"waypoint showflags" - Shows all of the Flags which are set manually on this waypoint
"waypoint addflag" - Allows you to manually add Flags to a waypoint.
"waypoint delflag" - Let's you select a waypoint flag to delete
"waypoint setradius x" - Manually sets the Wayzone Radius for this waypoint to
Value x
"waypoint stats" - Shows the number of different waypoints you did already set.
"waypoint check" - Checks if all Waypoints are valid (automatically done when saving them too)
"wayzone calcall" - Calculates the Wayzone Radius for all Waypoints in the Map. (obsolete now since V1.3 because wayzones are automatically set when a waypoint is created)
"waypoint save" - Saves the current waypoint list to a file (with Waypoint & Path Checking)
"waypoint save nocheck" - Same as above but forcing tosave even if they are full of errors..
"waypoint load" - Loads the waypoint list from a waypoint file (and initialises all Datas).

"autowaypoint" - Displays the status of the autowaypoint setting.
"autowaypoint on" - Turns on autowaypoint setting.
"autowaypoint off" - Turns off autowaypoint setting.

"pathwaypoint" - Displays the status of the pathwaypoint setting.
"pathwaypoint on" - Turns on the pathwaypoint setting (see below).
"pathwaypoint off" - Turns off the pathwaypoint setting.
"pathwaypoint add x" - Connects the nearest Waypoint to you, with the
waypoint whose number specified with Value x.
"pathwaypoint delete x" - Disconnects the nearest Waypoint to you, with the
waypoint whose number specified with Value x.


"debuggoal x" - Forces Bots to use Waypoint Nr. x as a Destination Waypoint


To use the waypoint commands, you will have to use the console. You must
start the game with the console option enabled (use "hl.exe -console" in
the Target: line of a shortcut or use "Half-Life Console" in your SIERRA
menu from the Windows Start button). Use the '~' key to bring down the
console. Enter the console commands that you wish, then use the '~' key
again to return to the game.

You can make things easier by binding console commands to keys on the
keyboard. Just type "bind" followed by the key you want to bind to,
followed by the console command. You will have to use double quotes
on the console command if it's more than one word. Here's an example
of console commands that I use when editing waypoints...

bind a "waypoint add"
bind d "waypoint delete"
bind l "waypoint load"
bind w "waypoint save"

The 'a' key will manually add a waypoint. The 'd' key will delete a waypoint.
The 'l' key will load the most recently saved waypoint file (useful if you
have added some waypoints but don't want to save them and want to go back to
the previously save waypoint list, sort of like an "undo"wink. The 'w' key (for
"write waypoints") will save the list of waypoints to the waypoint file. I
tried using 's' (for "save waypoints"), but I kept hitting 's' by mistake when
I wanted to add or delete a waypoint.

Using "waypoint add" will place a waypoint at the location that the player is
currently at in a map. Waypoints can be placed anywhere the player can go.
When placing a waypoint, you will hear a sound to indicate that the waypoint has been dropped (the sound is the same sound the crossbow bolt makes when striking an wall).
You then have to specify the Type of waypoint you want to place here.

"Normal Waypoint" sets a Waypoint which is used for normal walking from one
point to each other. From V1.4 on you should place lots of them (but still caring for some distance between them), since the
Bots use them for hiding and varying their paths. Color is green.


A Standard Normal Waypoint

"Terrorist Important Waypoint" and "Counter Important Waypoint"
These are strategical waypoints for that team. Bots use these waypoints
to patrol the map. How they use this, heavily depends on the map type.
In a DE Map you should place a lot of Counter Waypoints around the
Bomb Plant Zone and only 2 or 3 strategical waypoints for Terrorists.
On a DE Map Counter Bots will most of the time pick a Counter Waypoint as
a destination and only sometimes pick a Terrorist waypoint. Terrorists
are allowed to pick any of them as a goal waypoint. This behaviour changes
with the maptype, in a CS map for example it is vice versa.
It helps to think of the important waypoints like strategical positions in a sports game. Imagine the team which defends the Map Goal is the 'Home Team' and the other one is the 'Away Team'. Now you need to have more important waypoints for the Home Team, because the Away Team will go for them anyway. On a DE Map the CT Team is the Home Team, on a CS & AS Map the Terrorist Team is the Home Team. The average number of 'Home Team' Important Waypoints should be about twice as much as the the important waypoints for the 'Away Team'. Terrorists WP Color is red, Counter Waypoints are blue.

"Ladder Waypoint"
These need to be placed on a ladder if you want the Bots to climb it.
Set the bottom waypoint at a position where you're already "stuck" to the
ladder. At the top of the ladder you should place another ladder waypoint.
Set this at a position where you can hardly look ever the edge. If the ladder
is quite a long one, you might want to place another ladder waypoint in
between the other ones. In most cases you need to connect the waypoints
manually by using pathwaypoint (see below). If there is no connection
between the waypoints the Bots won't climb the ladder ! Color is purple.

"Rescue Waypoint"
This is only needed on Hostage Maps. It's the location where you want
the CT Bots to rescue the hostages. Usually only 1 is needed (depending on how much Rescue Zones there are it might be more).. Color is white.

"Goal Waypoint"
Place this at a position where Goals of the Map need to be achieved. In DE
maps this is a bomb plant spot and on cs maps Counter look here to rescue
some hostages. In AS maps these are the Escape points for the VIP. Color is
purple like ladder waypoints.

"Campstart Waypoint"
This is a camping (or sniper if you prefer) waypoint. To place it, look into
the direction you want the Bot to start looking at when camping. To let him
crouch at that position just press the duck button while adding it. You also
need to specify the:
"Campend Waypoint"
Selecting this will set the end direction for the Bot to look at when camping.
Look straight into the direction where you want the Bot to look and select it.
Note: you can't set a campend waypoint before doing a campstart waypoint.
Normal Color is cyan, if you made it team specific it will have a touch of red
if Terrorist WPT or blue if CT.
AMD Athlon2100+ | 512Mb DDR400 | GeForce FX5600 128Mb | Logitech MX510
Sivu 1 / 1