Make Bots Use Vehicle More Often?

Ask questions, discuss ideas, get answers
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Make Bots Use Vehicle More Often?

Post by Swaffy »

Vilespring wrote:make the seat 1 button be the seat their already in?
Good suggestion. Unfortunately, I tried that earlier and when all of the seats filled up, somehow the driver used the throttle key and took off. I have no clue what caused that, because none of the code has anything set to the throttle key. I had also went through the code and changed the throttle key for the other seats to their seat position (so seat 3 would have PIMenuSelect3) so none of the code for that vehicle uses the throttle key. This is weird!
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: Make Bots Use Vehicle More Often?

Post by Vilespring »

Swaffy wrote:
Vilespring wrote:make the seat 1 button be the seat their already in?
Good suggestion. Unfortunately, I tried that earlier and when all of the seats filled up, somehow the driver used the throttle key and took off. I have no clue what caused that, because none of the code has anything set to the throttle key. I had also went through the code and changed the throttle key for the other seats to their seat position (so seat 3 would have PIMenuSelect3) so none of the code for that vehicle uses the throttle key. This is weird!
Image
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
takiwa
Posts: 134
Joined: Mon Dec 30, 2013 4:29 pm
Location: The Great State of Georgia

Re: Make Bots Use Vehicle More Often?

Post by takiwa »

maybe play with setting the aiTemplatePlugIn.setSelectKey to a null key that the bot can't select?
Image
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Make Bots Use Vehicle More Often?

Post by Swaffy »

I tried another way, just setting the key to the Exit Vehicle key (PIUse).



Anyway, getting back to the original topic, the bots seem to be ignoring the halftracks/APCs still. Is it a matter with the weapons on the vehicle, or maybe they choose faster vehicles over a slower one?
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: Make Bots Use Vehicle More Often?

Post by Vilespring »

Ah. that works better. :)
now, why didn't the AI vehicle Offense/Defense "power" solve the problem?
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Make Bots Use Vehicle More Often?

Post by Swaffy »

Vilespring wrote:Ah. that works better. :)
now, why didn't the AI vehicle Offense/Defense "power" solve the problem?
Actually, let me correct my last post. The bots weren't using the APC I was observing because of its placement in the base. But when I moved it towards their common walking area they all jumped in it. So yes it did work.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
takiwa
Posts: 134
Joined: Mon Dec 30, 2013 4:29 pm
Location: The Great State of Georgia

Re: Make Bots Use Vehicle More Often?

Post by takiwa »

that's great :)
Image
User avatar
Vilespring
Posts: 740
Joined: Sat Nov 24, 2012 5:47 am
Location: Somewere in the United States

Re: Make Bots Use Vehicle More Often?

Post by Vilespring »

YAY!!
Well, I always counted on the AI not using the halftrack, so I at least was able to drive it... :lol:

P.S. did you fix the halftracks flipping in your mod? I really like you're mod for some unknown reason! :lol:
A picture is worth a thousand words, but takes up three thousand times the memory.

Area 51: http://battlefieldarea51mod.weebly.com/

Image
"I didn't steal your pizza"
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Make Bots Use Vehicle More Often?

Post by Swaffy »

Vilespring wrote:P.S. did you fix the halftracks flipping in your mod?
I'm unable to get 3DS Max 7 running ony my computer ... heven't since I installed my graphics card. Once I figure that out, there's a few things I need to check - including the center of gravity.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Post Reply