problem of ai plz

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

Moderator: Moderators

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

problem of ai plz

Post by agentmad007 »

so, if you join the allies, then the axis-ai-guys shoot at you and the allies dont shoot not at you - just as it should be ---- but if you join the axis then it is the same, the axis shoots you (although YOU are axis, too) and the allies dont shoot at you...

look, in an ai vs. ai fight everything works properly - the allies dont shoot at their guys, the axis neither

but if it's axis ai vs. axis player then it shoots you

thats strange

by the way i use the jv map bot script for my ai and i dont modif the original
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

how bout
an if statement that determines what team the player is on and switched enemys accordingly

i dont know exacly that to type though
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

:)
Last edited by bdbodger on Fri Mar 12, 2004 9:33 am, edited 1 time in total.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

does this mean that this version of jv bots could be turned into free 4 all ? i hope so :wink:
Image
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Re: problem of ai plz

Post by Krane »

agentmad007 wrote:so, if you join the allies, then the axis-ai-guys shoot at you and the allies dont shoot not at you - just as it should be ---- but if you join the axis then it is the same, the axis shoots you (although YOU are axis, too) and the allies dont shoot at you...

look, in an ai vs. ai fight everything works properly - the allies dont shoot at their guys, the axis neither

but if it's axis ai vs. axis player then it shoots you

thats strange

by the way i use the jv map bot script for my ai and i dont modif the original
If you are using jv_bots01.pk3 then I think you might need this line right below level waittill spawn:

waitthread global/jv_bots/jv_mp_ai.scr::enable 0 0 0 0

See if this will do the trick :wink: !
Image
Post Reply