.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
Waypointing - more easy - HOW?
Old
  (#1)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,620
Join Date: Jul 2004
Location: Bulgaria
Default Waypointing - more easy - HOW? - 15-03-2005

Hi all,
Well I still don't understand some thinks in the bot coding so I want yours help.
Now I want to make the waypointing in EPB more easy.
If you can explain me how can I add the some functions like more easy path waypoint add. Something like this in PBmm. If you can explain me how to do that ? If I sucsesfull add this function in EPB I think that the waypointers will be happy.
  
Reply With Quote
Re: Waypointing - more easy - HOW?
Old
  (#2)
Cpl. Shrike
ShrikeBot Coder/Moderator
 
Cpl. Shrike's Avatar
 
Status: Offline
Posts: 550
Join Date: Mar 2004
Location: The Netherlands
Default Re: Waypointing - more easy - HOW? - 16-03-2005

You could try adding paths between waypoints like int the HPB code.

First scan for the nearest waypoint to the player store the wpt location.
Then player moves to other location.
At new location scan for nearest wpt.
Create a path between the 2 locations. or store the 2 wypoint numbers as path numbers.

If i remebered correctly podbot did manual path creating by console.
  
Reply With Quote
Re: Waypointing - more easy - HOW?
Old
  (#3)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: Waypointing - more easy - HOW? - 16-03-2005

dunno what podbot and it's clones have implemented yet, but "autowaypointing" is also nice, you just run around on the map and waypoints and paths will be created automatically. just use trace_hull stuff for the paths, maybe write a nicer getReachable function, and you're done ...
maybe take a look at the joebot xp sources or stefan's realbot sources, they are also doing autowaypointing, with the difference that the bots can use it instantly without having to create floyd tables.


  
Reply With Quote
Re: Waypointing - more easy - HOW?
Old
  (#4)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,620
Join Date: Jul 2004
Location: Bulgaria
Default Re: Waypointing - more easy - HOW? - 16-03-2005

The autowaypointing is already added in PodBot from the earlier versions.
I ask for other think. When I want to add path between two waypoints I must tape some commands in the console :
path waypoint add.
But if you look in PODbot mm you will see new function. When you want to add path between two waypoint you must only aim the waypoint that you want and after that to use the PodBot mm waypoint menu and the path will be added from the current waypoint to the waypoint that you are aim.
If you have any ideas for this please post ?
  
Reply With Quote
Re: Waypointing - more easy - HOW?
Old
  (#5)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Waypointing - more easy - HOW? - 16-03-2005

Well, it's exactly like what Shrike says, except that:

1- you don't check the destination waypoint when the player has moved but when he pressed a key in the menu

2- you don't check the destination waypoint by cycling through them and selecting the nearest one, but by cycling through them and selecting the one for which the angles to the player are the closest to the player's view angles.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: Waypointing - more easy - HOW?
Old
  (#6)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,620
Join Date: Jul 2004
Location: Bulgaria
Default Re: Waypointing - more easy - HOW? - 16-03-2005

Ok thanks you guys. I will try to make it.
  
Reply With Quote
Re: Waypointing - more easy - HOW?
Old
  (#7)
MarD
Waypointer/Moderator
 
MarD's Avatar
 
Status: Offline
Posts: 1,184
Join Date: Jan 2004
Location: Canada.. EH!?
Default Re: Waypointing - more easy - HOW? - 18-03-2005

Heyyo,

Yeah, just look how HPBbot does it. It's not as complex as the podbot mm system, but I can use it pretty darn fast. With it I can whip up good RCbot waypoints in no time. the classic PODbot waypoint editor was pretty slow for adding/removing pathwaypoints, and you had to remember numbers.. which yes, sometimes i forget. I bet i have short term memrory probs, lol...


Later-a-much, and LONG LIVE THE D!,
(Link>>>MarD's Moddin' Site<<<Link) MarD

Rock Hound. (<Link)
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com