Description

The source code for PeZBOT 011p (CoD4) and 005p (WaW).

Preview
PeZBOT Source Code
Comments
Guest
Guest

Thank you for making pezbots open source :)

Reply Good karma Bad karma+6 votes
Guest
Guest

good men!!!

Reply Good karma Bad karma+3 votes
juanfernandezferrero
juanfernandezferrero

how can I Instal? Thx

Reply Good karma Bad karma+2 votes
Estor_

You can't install source code, duh.

Reply Good karma Bad karma+2 votes
Guest
Guest

does this work on mac?

Reply Good karma Bad karma+1 vote
ATB
ATB Reply Good karma Bad karma+1 vote
dennistoruan
dennistoruan

Hello i have a little problem about the bots.When i play Search and destroy,Sabotage and Team death match the bots walk's scale become quicker (it's not walking but like teleporting to move).Is this the bugs or mod limitation ?

Reply Good karma Bad karma+1 vote
ATB
ATB

The fix to this bug was posted a while back (page 7 I think), but here it is:

To fix the teleporting, open the svr\PeZBOT.gsc in a text editor (http://www.pnotepad.org/) and cut this (lines numbers 1804-1824):

if (getdvar("svr_pezbots_playstyle") == "2")
{
if(randomInt(3) != 0)
{
self.botCrouchObj = 500;
self.botwalkspeed = 6.0;
self.botRunDist = 600;
}
else
{
self.botCrouchObj = 1200;
self.botwalkspeed = 5.5;
self.botRunDist = 2000;
}
}
else
{
self.botCrouchObj = level.botCrouchObj;
self.botwalkspeed = level.botwalkspeed;
self.botRunDist = level.botRunDist;
}

and paste it below this line (before cut 2506, after cut 2485):

self.iShouldCrouch = randomIntRange(0,2);

That should fix it...

Reply Good karma Bad karma+4 votes
alencore
alencore

Nice seems working no teleporting crap so far.

Reply Good karma Bad karma+1 vote
reflash
reflash

i'm really surprised how well those bots work. But unfortunatly i ran into some issues. I edited the code as stated above but i seem to be unable to compile them (i never did this before...). I tried to change the batfile but i guess i need a programm called linker.exe or sth. Would you please tell me how to do that?

Thanks in advance!

Reply Good karma Bad karma+2 votes
TheEngiGuy
TheEngiGuy

I'm a total noob when it comes to modding so I don't know how to compile this and make it a mod; can someone give me the compiled Pezbot mod with this fix? Thanks

Reply Good karma Bad karma+1 vote
ATB
ATB

Hi,

If you're not into modifying the mod then these source files are not what you should be bothering with. Instead you should have downloaded the normal files (here: Moddb.com )and made the edit on that. The edit is in the pezbot.iwd which is basacally a .zip file so no need to compile anything, just open the zip and edit.

Anyway, since I'm here, here is the standard 011p download with the edit above added: Mega.nz

Reply Good karma Bad karma+3 votes
BF2all
BF2all

Works conveniently, tank you.
Do you also have any solution for "PeZBOT 002p for Galactic Warfare"
since TestClient() is much different?

Reply Good karma Bad karma+1 vote
i_pk_pjers_i
i_pk_pjers_i

I ended up compiling a new mod.ff (managing to get it to compile on Windows 10 was a bit interesting but not too bad) before I realized that the mod.ff file doesn't need editing, just pezbot.iwd needs editing. Oops.

I went ahead and renamed your zip to PeZBOT 012p since it's the closest we'll get to 012p, added a changelog mentioning the teleporting bug fix, and mirrored it to a different website: Mediafire.com

All credits go to ATB and Lord_Gannondorf.

Reply Good karma Bad karma+1 vote
ATB
ATB

Hi,

I've never tried compiling on Windows 10, but I'm sure you enjoyed every head-scratching minute :D Made super sweet when you figure out you didn't need to do it in the first place, lol (been there, done that) :D

Thanks for going to the trouble of uploading it to a more user-friendly download site (not a big fan of Mega myself these days).

Have fun! :)

Reply Good karma Bad karma+1 vote
Guest
Guest

This comment is currently awaiting admin approval, join now to view.

Guest
Guest

This comment is currently awaiting admin approval, join now to view.

Guest
Guest

This comment is currently awaiting admin approval, join now to view.

Guest
Guest

Hi guys ... Is there any other versions of pezbot with quicker and harder bots ?

Reply Good karma Bad karma0 votes
SlothGodJeff
SlothGodJeff

Not that I know of. Giving them human behavior is impossible, due to the engine.

Reply Good karma Bad karma+1 vote
loar25
loar25

Cod2 Final Killcam

Reply Good karma Bad karma+1 vote
Guest
Guest

This comment is currently awaiting admin approval, join now to view.

Frigilux
Frigilux

Could you do CoD2 bots?

Reply Good karma Bad karma+1 vote
Gunscrusader
Gunscrusader

Uhm it doesn't look like the WAW bots source code contain the main scripts. Just the animations. Can somebody please reupload the files?

Reply Good karma Bad karma+1 vote
ATB
ATB

Hi,

It must be about a decade ago since I last looked at that mod (2011?. The mod has LOTS of issues, mostly things that couldn't be resolved since our request for some source files from the creators of 'Galactic Warfare' went unanswered.

I'm not sure what your particular problem is, but I imagine it's something that cannot be resolved without those aforementioned source files. The mod available hooked into the GW mod as best it could, but without the original weapon files, which assign the animations, there wasn't much more we could do at the time.

Such a shame they didn't release the source...

Was it the animations you were referring to?

Reply Good karma Bad karma+1 vote
R0ADKILL
R0ADKILL

Can anyone extract Model Selector mod from the source code to be used in vanilla.
It allows your to change class character model so it doesn't depend on weapon you are carrying.

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.