ineedbots / iw5_bot_warfare

The Bot Warfare mod for MW3
https://www.moddb.com/mods/bot-warfare
114 stars 29 forks source link

Bots do not respect Infected Mode. #4

Closed Chenterito closed 3 years ago

Chenterito commented 3 years ago

Tried it in "Infected" Game mode and added the bots to the survivors. there everything is going well. The problem occurs when a bot is infected, it appears with a weapon, when in the game mode classes the infected do not have weapons, they only have a knife. The point is that they do not respect the predefined classes of the game mode.

ineedbots commented 3 years ago

Should be fixed when the _class.gsc update gets pushed to plutonium

a080f586d424e3127daebcf691832548ae61c9e5

Chenterito commented 3 years ago

I've been testing and it gives a lot of errors and that makes bots always come out with JUGGERNAUT

ineedbots commented 3 years ago

I know, because right now, plutonium needs the updated _class.gsc, but it doesnt at this moment. (need to wait for an update)

Right now edit the _class.gsc yourself and change Line number 1278

self notify( "giveLoadout" );

to

self notify( "giveLoadout", team, class, allowCopycat, setPrimarySpawnWeapon );
Chenterito commented 3 years ago

image

The problem persists that bots appear with weapons when infected, even after making the change of self notify ("giveLoadout", team, class, allowCopycat, setPrimarySpawnWeapon);

ineedbots commented 3 years ago

I see the issue, the bots are autoassigning and selecting a class when they shouldnt in these types of gamemodes. Expect a fix soon

ineedbots commented 3 years ago

deb0356181813b3a372cc25894bdca20c470c805

Chenterito commented 3 years ago

image Now if the bots work correctly as infected.