[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4668: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4670: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4671: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4672: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3815)
Battlefield Modding Tutorials BFMODS • View topic - Why doesn't bots use pistol?

Battlefield Modding Tutorials BFMODS

Battlefield Modding Tutorials
It is currently Thu Apr 25, 2024 1:20 am

All times are UTC




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 49 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next
Author Message
PostPosted: Sat Feb 09, 2008 10:37 pm 
Offline

Joined: Thu Apr 19, 2007 7:38 pm
Posts: 177
Yeehaw! I've been knifed by bot!!
I saw one was idle (as it often happens) so i came to him and jump around>nothing...so i tried to push him and i heard he took his knife out...i died LOL

Knife velocity is 50
the code was here already but rem'ed out, i just added > weaponTemplate.ChargePossibility 0.9

I thought minrange was the distance they will begin to use it and maxrange the distance they will do nothing???
So maybe the minrange thingy has to do with that?
If i set it to more distance they might grab their knife earlier!
Will minrange of 5 and maxrange of 300 will make bots knifing everyone around? :lol:



[yes Enclave's been saved by few rebels that don't like too much Bf2 :razz:
Well it's quite expensive so it's only 12 slots for now (84.244.171.192:15567)]

_________________
Image


Top
 Profile Send private message E-mail  
 
PostPosted: Sat Feb 09, 2008 10:47 pm 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
Maxrange is max radius bot will use weapon inside.
Minrange is minimum radius he will use it inside.

Distance for knife would be;
Min 0 and Max 1
Then you let pistol do the talking with;
Min 1 and Max 25
Then Car15 should kick in;
Min 25 and Max 100
Now Bot will start fire at you from 100 meters distance with Car15, if he don't kill you with it before you enter 25 meter radius he will change to pistol, if your still alive when your face to face with him, he take out his knife when your at distance 1 and cut your ears off.

Will minrange of 5 and maxrange of 300 will make bots knifing everyone around?
This will make him not able to use knife.
Knife kills at max radius 1.
If you tell Bot not to use knife closer then 5 meters, hmm, hope you get it.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Feb 12, 2008 7:31 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Tue Feb 12, 2008 8:12 pm 
Offline

Joined: Thu Apr 19, 2007 7:38 pm
Posts: 177
Yep your videos are similar to what i saw testing the tweaks...Problem is they stand still when they take a weapon, so it's ok for the pistol but there will be no "real" knife fight.
The funny thing is in jungle more than in a uncovered terrain, some players can be found by a bot on his way and then will get cut by surprise!

I put the min-maxrange like that; rifles 25-150, pistols 1-25, knife 0-1
I expect they would get the pistol in a 25 meters perimeter, well they do it right...

I go to the bot, he fires Mat49 or whatever, when i'm in a 25 meters area he shoots with pistol, but sometimes he takes his knife at 5 or 6 meters :shock:
I'm not at the holy 1 meter yet but he takes his knife!
So, the problem is as i said in first line, they use it but use it in the air standing there like a roc...
Funny to watch tho :)
As a team mate too, i saw a bot running with his knife...(NVA sniper with svd) I followed him, he went close to the US main and prone, he fired a couple of time then stand and grabbed his knife again...I was amazed :lol:

Some other things: Wonder how the radio commands work too...When you ask a bot "follow me!" he usualy does after answering "ok got it!"
Then he can help you taking a flag twice as fast, but when the flag is taken he just will keep on saying he's still ok for follow but will stay here like he's keeping the flag...Is this the lines about "controlpoint" "route" "base" "remote"??

I have a problem with Loach, they can get in but looks like they can't or don't want to pilot it...same with Zippo (even worst they won't get in at all)

Sorry maybe i'm starting to be off topic :oops:

_________________
Image


Last edited by BoBD@N!tr¤ on Tue Feb 12, 2008 8:31 pm, edited 2 times in total.

Top
 Profile Send private message E-mail  
 
PostPosted: Tue Feb 12, 2008 8:18 pm 
Offline

Joined: Wed Jun 13, 2007 7:19 pm
Posts: 621
Location: United States of America
ive seen a combination of decent ai interaction in game, on a coupla servers. volts, and heli traing, (hellfires), pretty impressive, for some reason, mine will hop a chopper, fly towards control point, bail, and try and take flag. but as far as i know, putting them in TDM, or CQ, or whatever, has been almost fruitless unfortunately..... :(

_________________
"like a tree, the full measure of a man can best be found when down."



Webpage: http://ez1st.homeip.net/


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Feb 13, 2008 7:03 am 
Offline

Joined: Tue Nov 27, 2007 7:56 pm
Posts: 1226
I think the Loach is a v1.2 problem.
There was another v1.2 vehicle which cannot be used by bots, Urglub knows...


Top
 Profile Send private message E-mail  
 
PostPosted: Wed Feb 13, 2008 7:31 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
Loach BRDM are two vehicles that will crash a ssm Coop server.
Dunno about Zippo.

Usually when a bot fires, he stand still.
Therefor the knife problem.

I noticed that snipers have a taste for grabbing knife earlier then others.
AK47/AKMS kit pretty much cut you in half with knife right away.
This could be becouse of there other weapons tweak.

A AK47 Bot pretty much works like this;
Walk towards closest flag with highest temp on.
See a soldier, stand still and fire untill he kills it.
Start walking towards flag again.
A tank blocks his road, he grab his grenades and run to maxrange and throw them at tank.
Tank go kaboom, he starts to run towards flag again.
Turn around a corner and find a bot standing there guarding flag, he take up his TT33 and fires away.
All obsticles are gone, he goes for flag and take it.
When grey flag becomes hotter and he stays a bit longer.
When taken, flag becomes cold and he looks for next hot flag and run there to take it.
He will try to kill all other heatsources on the way there.

DICE code is a bit funky, it's up to you to tweak it.
Make the bots do there best.

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
PostPosted: Mon Feb 18, 2008 8:23 am 
Offline

Joined: Thu Jun 15, 2006 9:36 am
Posts: 2015
To ad a bit on prev post.

Somehow when doing tactics for bot.
Flag value is normaly 100
In tactics you find ~ ;
Owned 1.0
Neutral 15.0
Hostile 10.0
If you don't want this flag in your attack, do this.
Owned 0
Neutral 0
Hostile 0
Now bots can't care less about this flag.
If you leave it out of your tactic, they might go there anyway. :?

I noticed that a tactic for each flag taken works best also.
You can do the same tactics one more time, just call it attack2, attack3 and so on.
Butt hey, what a differance this make.
So each team should have 5 tactics on a 6 flag map.
Attack1 1 or less flags
Attack2 2 flags
Attack3 3 flags
Attack4 4 flags
Attack5 5 or more flags

A 6'th tactic could be used also.
Attack5 5 flags
Attack6 6 flags
Now you give all flags same value when they got all 6, hopefully they spread out and try to find the missing enemy.

Bots find more roads to use this way.
Behave more like humans, or even better. ;-)

This is only one piece in the AI puzzle. :twisted:

_________________
In the beginning everybody was a SSM NooB.
BFV SSM on server 66.55.142.243
Server Homepage


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 49 posts ]  Go to page Previous  1, 2, 3, 4, 5 ... 7  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 41 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group