IPB

Welcome Guest ( Log In | Register )

2 Pages V  1 2 >  
Reply to this topicStart new topic
> about rcbot 0.3 and 1.31, aiming code
link2002
post May 16 2004, 10:00 PM
Post #1


RCBot Fan
****

Group: Members
Posts: 127
Joined: 7-February 04
From: Brazil
Member No.: 231



hi cheese rolleyes.gif

i only play ns 2.0 whit rcbot 0.3

sometimes i play ns 3.0 whit rcbot 1.31

can you use the same aiming code in rcbot 0.3 at 1.32 or something?


marines are very very very best whit rcbot 0.3 aiming code...


if is the same code... why they dont hit any shot?




this is only my sujestion for aiming biggrin.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 16 2004, 10:45 PM
Post #2


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



The aiming is practically the same, I'm going to improve it soon.

If you want better aiming try PM's bot aiming metamod plugin at http://racc.bots-united.com I think its meant to improve aiming by haxing the bots angles smile.gif Haven't tried it though so don't know exactly how it does it
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link2002
post May 16 2004, 11:47 PM
Post #3


RCBot Fan
****

Group: Members
Posts: 127
Joined: 7-February 04
From: Brazil
Member No.: 231



i tried botaim plugin but this plugin make whichbots dont move...


what you changed? you only removed bot_aimfactor?



i am curious about this biggrin.gif

EDIT:

and why you removed "autowaypoint on"?

This post has been edited by link2002: May 16 2004, 11:49 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 17 2004, 03:33 PM
Post #4


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



The aim code in the two versions are completely different, I didn't take it from the old version. The new one is written from scratch.

Everyone was complaining that their aiming was too good in the old one. Now everyone is complaining their aiming isn't good enough in the old one? How can I get it to be good and not good enough at the same time??!!!! laugh.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link2002
post May 17 2004, 04:01 PM
Post #5


RCBot Fan
****

Group: Members
Posts: 127
Joined: 7-February 04
From: Brazil
Member No.: 231



you can make a command like this: "rcbot config ultra_aiming 1/0" smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sandman[SA]
post May 18 2004, 01:35 AM
Post #6


RCBot Waypointer
*****

Group: Moderator
Posts: 987
Joined: 15-September 03
From: Philadelphia
Member No.: 19



that's pretty good link2002 but how about this:
CODE
"rcbot config aim_skill 0/100"


The skill in which the bots aim could be adjusted in increments of 10.
0 = couldn't hit the broad side of a barn if the gun barrel was resting on it.
100 = could shoot the wings off a fly at 200 yards.

But this should be defaulted to 50 so not to disapoint or appear to powerful if this cvar was overlooked.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
LordSkitch
post May 18 2004, 03:45 AM
Post #7


I cuddle with my bots.
*****

Group: Moderator
Posts: 980
Joined: 16-April 04
From: Alvin, Texas
Member No.: 291



Since everyone else is putting their two cents in, I think it should be like this! (not that you need to listen to me, I just have an ego the size of Jupiter! ...as you'll see at the end of the post dry.gif)

CODE
rcbot config aim_skill 0-100


Such that 0 makes it so it cant aim for crap, and 100 means it will never not aim at the target

CODE
rcbot config aim_speed 0-100


And that, cause I've noticed they aim good at 100 skill, but they turn and move really slow, while skulks are bouncing around like Jack Russell Terriers on speed. So this would make it so 0 would mean they move like a lethargic sloth, and 100 they move like a guy on a fist-full of no-doze

And with those two, you could come up with something like...
CODE
aim_skill 90
aim_speed 75

for veterans, that'd be about average I think to immitate seasoned players, and something like
CODE
aim_skill 20
aim_speed 100

to immitate newbies, as they seem to freak out when people are coming at them, and get all twitchy and "AHH!"-like

and then of course, to immiatate me.....
CODE
aim_skill 100
aim_speed 100


hehe cool.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Sandman[SA]
post May 18 2004, 05:02 AM
Post #8


RCBot Waypointer
*****

Group: Moderator
Posts: 987
Joined: 15-September 03
From: Philadelphia
Member No.: 19



OH, I like that! Cheeseh, can this be done? biggrin.gif

I want, no, I NEED these settings laugh.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 18 2004, 11:36 AM
Post #9


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



aye cap'n I guess tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 18 2004, 12:15 PM
Post #10


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



Okay!

might want to try this dll file then.. This is a win32 metamod debug dll I haven't tested it, unfortunately I want to get on with my studying so try it yourself.

the bad news is you need to add all this stuff to each bot profile!! As I'd rather have aiming different for each bot. You can just copy and paste all this stuff here at the bottom of each bot profile...

QUOTE

#
# skill = 0.0 to 1.0
# ------------------
# 0.0 is normal old rcbot aiming
# 1.0 is dead on precision
#
# I'd make this slightly more than 0.0 but not much
aim_skill=0.05
#
# time = 0.0 to infinity (make it something useful!)
# --------------------------------------------------
# time in seconds for bot to update its aiming offset
# the less time then the more dead on its aiming will
# be even if the target is accelerating
aim_time=1.0;
#
# the speed is the fraction of 10 degrees per frame
# the old rcbot was 2 degrees per frame
# so the higher you make this then the faster the bot
# will move its aiming
# this value now is just a bit better than the old rcbot
# aiming
aim_speed=0.25


It might also crash somewhere though , I was working on it the other day when it crashed on something I was working on, but I removed that stuff anyway. But just incase.. it could crash .. unsure.gif


Attached File(s)
Attached File  HPB_bot.zip ( 199.33k ) Number of downloads: 170
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link2002
post May 18 2004, 04:58 PM
Post #11


RCBot Fan
****

Group: Members
Posts: 127
Joined: 7-February 04
From: Brazil
Member No.: 231



good work cheeseh but can you make them to dont stop moving while shoting or recharging? biggrin.gif



EDIT:

and make them stop to kill one rt, dc, sc or mc to shot coming aliens smile.gif

This post has been edited by link2002: May 18 2004, 05:03 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 18 2004, 06:28 PM
Post #12


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



They keep moving while shooting until they reach where they want to go. But if they reach where they want to go when they are shooting they will stand still, I am adding running for cover when this happens.

They SHOULD stop to shoot aliens/marines when shooting DCs etc

edit: (if you don't believe me check out the source!)

they should also stop shooting DC's and start shooting OC's too. But I'm not sure if its working..
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link2002
post May 18 2004, 07:51 PM
Post #13


RCBot Fan
****

Group: Members
Posts: 127
Joined: 7-February 04
From: Brazil
Member No.: 231



you cant make them dont go to they prey? or this will make alien bots dont melle attack?


EDIT:

and why you make fades only use acid bombs whit 3 hives?

This post has been edited by link2002: May 18 2004, 07:55 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 18 2004, 08:34 PM
Post #14


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



guh? blink.gif (confused)

fades use acid bombs when they can not when there are 3 hives. Where is the code for that?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link2002
post May 18 2004, 09:15 PM
Post #15


RCBot Fan
****

Group: Members
Posts: 127
Joined: 7-February 04
From: Brazil
Member No.: 231



i created all structures for marines, pressed F4, entered aliens and created all the hives

2 rcbots aliens envolved to fade and they only used acid bombs to attack the marines,
and more one thing, gorges try to kill the eletrifyed resource tower but they stay to close and are zapped.

did i explain right now?

i think you is confused cheeseh, i dont know how to code sad.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JASMINE
post May 19 2004, 11:21 AM
Post #16


Newbie
*

Group: Members
Posts: 9
Joined: 29-November 03
From: belguim
Member No.: 122



hi do i have only to unzip the dll in the rcbot/dll folder.?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 19 2004, 05:24 PM
Post #17


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



aye! tongue.gif (yes) but you need to set the metamod plugin file to be HPB_Bot.dll and not rcbot_mm.dll (just comment out the old line and add a new line to the metamod plugins.ini file)

I still need to add some code for bots to stay far away from electrified structures, I thought they only got electrocuted when they touched them tongue.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JASMINE
post May 19 2004, 07:15 PM
Post #18


Newbie
*

Group: Members
Posts: 9
Joined: 29-November 03
From: belguim
Member No.: 122



ok thank you for the help Cheeseh it work now cool nice work. wink.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
JASMINE
post May 19 2004, 09:42 PM
Post #19


Newbie
*

Group: Members
Posts: 9
Joined: 29-November 03
From: belguim
Member No.: 122



hello Cheeseh
i tink i fond a problem in the map ns_siege007 you have a marine soldier in the marine base and the bots choot all the time on it. and wond build ore obey enny command.it baby a bug to fix it.
i download the HPB_Bot.dll .
can you look on it .
thanks

ps: i test eclipse and i command the bots to build the RT. and the bots will not build it. it like the bots wait 10 sec to build the RT.

2) the bots dont aim ferry well ore choot. if the bots se a alien he wait 5 sec to choot the alien. the alien dont wait and kill the marine soldier.

it my my bot_config
CODE

config commanding 1
config wait_for_orders 1
config dont_shoot 0
config chatting 0
config real_mode 1
config max_bots -1
config min_bots -1
config gorge_amount 0.4
config update_ladder_time 0.0
# max path revs, the lower the setting
# the better CPU performance in the
# path finding algorithm, but it takes
# longer to find paths.
config max_path_revs 100
# update vision revs, time to update what
# the bot can see, as it is quite cpu
# intensive you can change these values
# depending on cpu speed.
config max_update_vision_revs 150
config update_vision_time 0.07
# dont reserve bot slots
config reserve_bot_slots 0
# bots old chat chance
config chat_percent 15
# bots reply chat chance using megahal
config chat_reply_percent 20
# keep bots learning their chatting skills
config chat_dont_learn 0
# bots try to balance teams
config balance_teams 0
# dont build ip at NS start
config marine_auto_build 1
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Cheeseh
post May 19 2004, 10:45 PM
Post #20


Admin
*****

Group: Admin
Posts: 3,056
Joined: 11-September 03
From: uk
Member No.: 1



guh?? blink.gif (even more confused!)

I haven't got time to look at it at the moment I am afraid, my future depends on studying like hell atm. unsure.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

2 Pages V  1 2 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th April 2024 - 03:30 AM