Ai multiplayer

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Ai multiplayer

Post by agentmad007 »

Hello ,


Can whe use Ai in multiplayer maps ? Cause i see only tuts for Sp.

Wanna add Aliied Ai that shoot axis.

Thx
Deadly and slient.
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

you wanna be loking at jv bots. Normal AI crashing MP.
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

Yes thats what i ve done , i got my AI breath and animated , but it doesnt shoot axis lol , i guess i need a little scripting :

$ai shoot at local.player ?

$ai setaimtarget local.player ?

I am new to AI.

Btw i ve seen that Jv wrote an attack.scr file , how could i use it and how does it work?

Thank you
Deadly and slient.
Elgan
Site Admin
Posts: 890
Joined: Tue Apr 13, 2004 10:43 pm
Location: uk
Contact:

Post by Elgan »

is this for a custom map?

go to http://www.planetmedalofhonor.com/freebrief/mohaa/bots/

and check the SDk. Ive never used it myself but im pretty sure u dont have rescript it all. just spawn them with some paths.

read the documentation.,
agentmad007
Brigadier General
Posts: 570
Joined: Tue Feb 24, 2004 3:52 pm

Post by agentmad007 »

Got the SDK , and the opcenter .map , i dont understand many things lol ,not to say nothing :P

How my AI should shoot an enemy , move there or there .
Deadly and slient.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

Bots need pathnodes so if it is your map make sure you have them . It is almost the same as single player but with JVbots you need to make some special pathnodes some examples are sniper nodes camper nodes bombcamp nodes bomb node . Makeing them is not as hard as it may seem at first once you make one of those special nodes then you place a few route nodes between the spawnpoints and the special nodes . What the bots do depends on the type of nodes you make and some of the settings you use .
Image
Post Reply