Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 47 Guests
Online:

LATEST FORUM THREADS

»
map test
CoD Mapping
first map
CoD4 MP Mapping
eXtreme+ v2.9
CoDBO Map + Mod Releases
Gaming
Q4 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Map + Mod Releases
Release announcements of custom maps and mods and other content related to Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Astar Algorithm for Cod2
r00t_
General Member
Since: Dec 14, 2010
Posts: 51
Last: May 16, 2011
[view latest posts]
Level 3
Category: CoD2 Map + Mod Releases
Posted: Friday, Jan. 28, 2011 10:37 am
I want to write A* myself. No copying and pasting.

Instead of taking astar from meatbot, pezbot, etc, I intend to write it myself because copying is not just copying, there is a lot of code editing that goes along with it. And I simply just don't like the code editing, because sometimes I don't understand what the original writer intended.

And I guess maybe you're all right about meatbot and pezbot and all those mods having astar, but I believe this is not only A*, but a faded version due to the heavy aspect on waypoints. This is expected, because both those bots DO NOT need pure astar because the bots simply do not have to venture off the designated tracks set in place by waypoints. They simply just need to point and shoot. My astar is intended to let bots venture off the tracks made by waypoints.
Share |
[ATB]
General Member
Since: Feb 10, 2007
Posts: 134
Last: Jan 20, 2019
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD2 Map + Mod Releases
Posted: Friday, Jan. 28, 2011 11:43 am
r00t_ writes...
Quote:
both those bots DO NOT need pure astar because the bots simply do not have to venture off the designated tracks set in place by waypoints. They simply just need to point and shoot.


PeZBOT uses A* to calculate the optimal route from one side of the map to the other (from waypoint to waypoint), not to put one foot in front of the other as your reasoning suggests...

Meatbot doesn't use any search algorithm..

I wish you the best of luck, but you might want to take a look at PeZBOTs dynamic waypoint function and how well (or not) that works, and why the map itself (and the bots ability to recognise it) will probably be your biggest problem...

[thumbs_up]
Share |
BraX
General Member
Since: Apr 29, 2008
Posts: 413
Last: May 26, 2012
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Map + Mod Releases
Posted: Friday, Jan. 28, 2011 01:03 pm
PezBOT got the best waypoint finding alghoritm that fast looks for waypoints from start position to destination and then returns array of origins (waypoints).
Share |
r00t_
General Member
Since: Dec 14, 2010
Posts: 51
Last: May 16, 2011
[view latest posts]
Level 3
Category: CoD2 Map + Mod Releases
Posted: Friday, Jan. 28, 2011 05:58 pm
All your help and suggestions have been carefully considered. Including this pezbot mod. I found it and took a look at the script for it. After skimming for around 20 minutes, i was only half-way through it, and i still hadn't found something similar to astar that I could use. I am unable to attach a .gsc file or .txt file to this post (silly modsonline) and I also can't put it in a code box because it's too long. So for those of you how are familiar with pezbot, I am referring to pezbot.gsc found in the mod.

Hopefully someone can find something usable. (if someone has the time [crazy])
Thanks
Share |
botskiller15
General Member
Since: Feb 17, 2008
Posts: 8
Last: Oct 20, 2011
[view latest posts]
Level 0
Category: CoD2 Map + Mod Releases
Posted: Sunday, Jan. 30, 2011 10:18 am
:O, hi ATB! And yes, pezbot use A*, but never will be released on cod2! :)
Share |
[ATB]
General Member
Since: Feb 10, 2007
Posts: 134
Last: Jan 20, 2019
[view latest posts]
Level 4
Im a fan of MODSonair
Category: CoD2 Map + Mod Releases
Posted: Sunday, Jan. 30, 2011 10:54 am
Hi BK,

As soon as I figure out how to release it to everyone else but you, it will be released... [biggrin] You know, bk, in the near 2 years you've been pestering me about it (during which I gave you a copy, but you lost it) you could have made the damn mod yourself...

Please keep in mind, my friend, that I don't owe anyone a single ounce of my time. This is my hobby, not my job. I also don't work for PeZBOT no more and I am busy doing other stuff, so pester someone else about making it or do it yourself... [thumbs_up]

Off Topic: Did you do some of the Meatbot waypoints in your mod or are they all by other people?
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11654
Last: Jul 5, 2018
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD2 Map + Mod Releases
Posted: Sunday, Jan. 30, 2011 02:10 pm
Please keep comments productive and non-flame inducing

I don't want to have to take action in this thread

[angryalien]
Share |
r00t_
General Member
Since: Dec 14, 2010
Posts: 51
Last: May 16, 2011
[view latest posts]
Level 3
Category: CoD2 Map + Mod Releases
Posted: Sunday, Jan. 30, 2011 05:26 pm
StrYdeR writes...
Quote:
Please keep comments productive and non-flame inducing

I don't want to have to take action in this thread

[angryalien]

Thanks StrYdeR, even though I think this thread is probably pretty much dead at this point.
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Map + Mod Releases

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»