![]() |
![]() ![]() |
![]() |
Cheeseh |
![]() ![]()
Post
#1
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
I added support for the CP map CP_Granary (And made a waypoint)
CODE 0.43 - Provisional Support for CP Granary - Fixed a crash bug - Engineers upgrade team mates dispensers and sentries please tell me how they do, if its worth a release Download The source SVN is up to date http://sourceforge.net/scm/?type=svn&group_id=248612 |
Genesis |
![]()
Post
#2
|
Newbie ![]() Group: Members Posts: 1 Joined: 22-June 09 Member No.: 1,579 ![]() |
It works, but the bots always go in the same path (maybe add some alternate paths). Also, sometimes they just sit on the point and do nothing. Other than that, it's good.
|
Cheeseh |
![]()
Post
#3
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
It works, but the bots always go in the same path (maybe add some alternate paths). Also, sometimes they just sit on the point and do nothing. Other than that, it's good. thanks for testing. The alternative path stuff will all come later. It's all there to be added. |
Ark |
![]()
Post
#4
|
Newbie ![]() Group: Members Posts: 5 Joined: 22-February 09 Member No.: 1,484 ![]() |
Where do I put the cp_granary.rcw file?
|
Geralt |
![]()
Post
#5
|
![]() RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 198 Joined: 6-February 09 From: Australia Member No.: 1,465 ![]() |
|
Ark |
![]()
Post
#6
|
Newbie ![]() Group: Members Posts: 5 Joined: 22-February 09 Member No.: 1,484 ![]() |
Argh, It's still crashing. Sorry I should have been more specific about the crash. What it does:
When it crashes, everything freezes, the sound will loop for about 3 seconds then it will close, like I hit alt f4. Is there any crashlog that I can view? Because I just want to play with bots. Dont get me wrong, I LOVE your rcbot, it's very nice. |
Greig |
![]()
Post
#7
|
Newbie ![]() Group: Members Posts: 8 Joined: 18-June 09 Member No.: 1,575 ![]() |
Argh, It's still crashing. Sorry I should have been more specific about the crash. What it does: When it crashes, everything freezes, the sound will loop for about 3 seconds then it will close, like I hit alt f4. Is there anyway crashlog that I can view? Because I just want to play with bots. Dont get me wrong, I LOVE your rcbot, it's very nice. Same here still crashing (running it on a dedi) |
mehdichallenger |
![]()
Post
#8
|
![]() Member ![]() ![]() Group: Members Posts: 27 Joined: 16-April 09 From: iran Member No.: 1,523 ![]() |
it work good.
does it only work with cp_granary? how to create a control point waypoint like your cp_granary? |
Geralt |
![]()
Post
#9
|
![]() RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 198 Joined: 6-February 09 From: Australia Member No.: 1,465 ![]() |
Yes, only cp_granary. If you want to make your own you will have to get the source code, which he linked to in the first post.
|
mehdichallenger |
![]()
Post
#10
|
![]() Member ![]() ![]() Group: Members Posts: 27 Joined: 16-April 09 From: iran Member No.: 1,523 ![]() |
|
Geralt |
![]()
Post
#11
|
![]() RCBot Fan ![]() ![]() ![]() ![]() Group: Waypointers Posts: 198 Joined: 6-February 09 From: Australia Member No.: 1,465 ![]() |
You can get the source code from here:
http://sourceforge.net/scm/?type=svn&group_id=248612 |
Cheeseh |
![]()
Post
#12
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
This part is the hard-coded cp_granary script: bot_mods.cpp CODE 97 void CTeamFortress2Mod :: getNextPoints (int iPoint,int iTeam,int iMyTeam,int *iCurrentDefendArea,int *iCurrentAttackArea) 98 { 99 char *mapname = CBotGlobals::getMapName(); 100 101 int iAttackPoint; 102 103 if ( strcmp(mapname,"cp_granary") == 0 ) 104 { 105 if ( iTeam == TF2_TEAM_BLUE ) 106 { 107 iAttackPoint = iPoint + 1; 108 109 if ( iMyTeam == TF2_TEAM_BLUE ) 110 { 111 *iCurrentDefendArea = iPoint; 112 *iCurrentAttackArea = iAttackPoint; 113 } 114 else 115 { 116 *iCurrentDefendArea = iAttackPoint; 117 *iCurrentAttackArea = iPoint; 118 } 119 } 120 else 121 { 122 iAttackPoint = iPoint - 1; 123 124 if ( iMyTeam == TF2_TEAM_BLUE ) 125 { 126 *iCurrentDefendArea = iAttackPoint; 127 *iCurrentAttackArea = iPoint; 128 } 129 else 130 { 131 *iCurrentDefendArea = iPoint; 132 *iCurrentAttackArea = iAttackPoint; 133 } 134 } 135 } 136 } |
bir3yk |
![]()
Post
#13
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Members Posts: 107 Joined: 4-June 09 Member No.: 1,566 ![]() |
If removed "if ( strcmp(mapname,"cp_granary") == 0 )", the other CP maps will work normally?
|
Cheeseh |
![]()
Post
#14
|
![]() Admin ![]() ![]() ![]() ![]() ![]() Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 ![]() |
If removed "if ( strcmp(mapname,"cp_granary") == 0 )", the other CP maps will work normally? Oh no that would be too easy ![]() At the moment its not very easy to add support for other maps, this was not the point of this test DLL, it was just to see if it works. I will probably have to change a lot of things, including the method itself. |
Positronic |
![]()
Post
#15
|
Newbie ![]() Group: Members Posts: 4 Joined: 23-June 09 Member No.: 1,581 ![]() |
Found this via the Steam forums where Geralt posted them. For what it's worth, I'll try and list some of the bugs I found from 2 hours of playtime. Note: Some of them are things I think should be added, feature-wise, and yes, I realize you are probably aware of most of these things, just figured I might as well add my 2 cents.
Things that don't work well:
![]() |
bir3yk |
![]()
Post
#16
|
RCBot Fan ![]() ![]() ![]() ![]() Group: Members Posts: 107 Joined: 4-June 09 Member No.: 1,566 ![]() |
Changed your code to "if (strncmp (mapname, "cp_",3) == 0)". Tried to map cp_fastlane, set 5 waypoints on the CP (area (0 ... 4), radius 180, capture). The problem is capturing the central point (2), bots do not want it to run. If I caught it myself, the more work the run and take over the point. What could be the problem? Not to the point located close to the CP? .
|
naMelesS |
![]()
Post
#17
|
![]() Member ![]() ![]() Group: Members Posts: 46 Joined: 24-June 09 Member No.: 1,585 ![]() |
Cheeseh the rcbot gravity seems to have a little problem, could you fix the rcbot gravity..???
|
NifesNforks |
![]()
Post
#18
|
![]() Advanced Member ![]() ![]() ![]() Group: Members Posts: 69 Joined: 17-January 09 From: Stockholm, Sweden Member No.: 1,450 ![]() |
Meh, tried cp_granary but they didnt capture anything. They just ran around randomly and killed eachother until TF2 crashed.
|
Greig |
![]()
Post
#19
|
Newbie ![]() Group: Members Posts: 8 Joined: 18-June 09 Member No.: 1,575 ![]() |
Is it just me or do the bots ran way fast compaired to the clients in the game. my bots all run faster than the scout, and the scout runs like the flash
|
Positronic |
![]()
Post
#20
|
Newbie ![]() Group: Members Posts: 4 Joined: 23-June 09 Member No.: 1,581 ![]() |
Meh, tried cp_granary but they didnt capture anything. They just ran around randomly and killed eachother until TF2 crashed. Interesting; for me, the bots capped fine... and relatively quickly too. The only issue is that if one team only has one point left, they will all desert that point and attempt to cap the next one, allowing the enemy to cap the last one and win. |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 4th August 2024 - 09:12 PM |