Practice Bots for Clans

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
Bouncer
Corporal
Posts: 28
Joined: Mon May 12, 2003 10:57 pm
Contact:

Practice Bots for Clans

Post by Bouncer »

People have asked me about working in the bots for things like clan practice. The biggest problem with that is I can do minor scripting but mappping is something I have not picked up. I saw a map called "target_range" and is something of the sort I am referring to. I am sure this would become a popular downlaod for clans that want to practice their teams against bots by shooting pratice. For instance, a map like destroyed villiage could have bots running across the back of the map and a player could be trying to target that bot and shoot. It would be even helpful to snipers practicing sniping moving targets. Even putting bots in tight corners hugging the wall really well and hitting players. The Target_Range map has three different rooms and maybe this map can have something of the sort for that. Also difficulty levels and bot run speeds and even bots shooting back as they are running. Anyhow, I thought I might ask and if its possible someone could develop such map..thanks in advance or thanks for taking the time to read.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Something like this /forum/viewtopic.php?t=2445 ?
Image
Bouncer
Corporal
Posts: 28
Joined: Mon May 12, 2003 10:57 pm
Contact:

Post by Bouncer »

Something like that. Heres some pics I made up real quick for a clearer idea.
Image
Image
Image

Something where on one side of the map you can have target practice at distance and change instensity levels so they come out faster and such. The on the other side of the map you could set up snipers and maching gunners with skill levels for intensity. Possibly having multiple gunners setup at different points would be could cause you could make the exercise last longer. I think its something benificial that all clans could use that compete.
Bouncer
Corporal
Posts: 28
Joined: Mon May 12, 2003 10:57 pm
Contact:

Post by Bouncer »

I figured out how to spawn them in maps but how do you make them see further, be more agressive, and more accurate? I was even able to put specific weapons per character and I have the skill level set to 4. This is what I used

spawn human/multiplayer_german_elite_sentry.tik "targetname" "sniper1"
$sniper1.origin = ( -2988 1630 297)
$sniper1.angle = -86
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

You can make them see further my using .sight and shoot better by using .accuracy.

$sniper1.sight = 10000 // may give a LD error but work regardless
$sniper1.accuracy = 100 // try to dodge :P
Image
Bouncer
Corporal
Posts: 28
Joined: Mon May 12, 2003 10:57 pm
Contact:

Post by Bouncer »

Thanks, thats working. Is there a way to make them "runto" a certain destination from point A to point B? Also is there a specific way to make them crouch and lean so they can crouch on a specific corner and hug the corner well for shooting?
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

yup, maybe we can spawn jv's bots but no objs so it's something like TDM? but would they react?
Live to map, not map to live.
-mohaa_rox, .map
moderator
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

http://www.modtheater.com/forum/showthr ... eadid=8347

You can make a bot crouch very easily, just type <bot> exec global/crouch.scr.

I have not yet found a way to make him lean.
Image
Bouncer
Corporal
Posts: 28
Joined: Mon May 12, 2003 10:57 pm
Contact:

Post by Bouncer »

I was able to get them to crouch...cool. I put about 20 bots all over the map in certain places and is definitly working out to be a training exercise and a half. Especially with them all having settings like this

spawn human/multiplayer_german_panzer_grenadier.tik "targetname" "badguy6"
$badguy6.origin = ( -2249 -1011 269)
$badguy6.angle = -129
$badguy6.sight = 50000
$badguy6.accuracy = 100
$badguy6.aggresiveness = 95
$badguy6.position = crouch

Although I would like to increase the firerate of the STG and BAR. They shoot it sounds like its in slow mo, but then sometimes its good cause not holding down on the fire wont put such a big spreadmult

I got one last objective to accomplish and Im all set. How do I get one bot just to run from point A to point B and just keep threading it. I tried many things but keep getting the error in the console that reads "cannot find start node"

Thanks for your help by the way.
Claw
Private
Posts: 4
Joined: Wed Sep 03, 2003 6:11 pm

Post by Claw »

Can someone help me please, Im a complete nOOb when it comes to this sort of thing. Using the command above (spawn human/multiplayer...etc) through console I can make AI axis enemies appear on the Hunt. But how do I get them to spawn in a specific position (for example 5082.85 3321.68 -289.88 which is the axis sniper house). And is it possible to have an executable file to make 10 axis spawn in specific positions? Thanks in advance for any help.
Image
Post Reply