.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
PODBot
Old
  (#1)
DeathStar
Member
 
Status: Offline
Posts: 4
Join Date: Mar 2004
Default PODBot - 28-03-2004

I was wondering if somone would be as kind to tell me what sections of the PODBot 2.6 need to be changed in order for it to work with 1.6 thx.
  
Reply With Quote
Re: PODBot
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: PODBot - 28-03-2004

Yes, there are several ones.

First you have to update the entities in linkfunc.cpp to match the new entities featured in the CS 1.6 DLL. Then you have to extend the engine interface in engine.cpp with the new functions featured with CS 1.6 and CZ. Then, you gotta move the hook of the WeaponList message outside the "if" statment where it currently is, i.e have the message be caught no matter the destination entity is valid or not. Then, you have to add a special hook for the HLTV message that is sent at the start of each round, because the old method of hooking FindEntityByString() on info_map_parameters doesn't work anymore. You'll also have to add an exported function to your bot DLL: SV_GetBlendingInterface(), else your bot will impose the old HL hitbox scheme, which will conflict with the current CS one, resulting in headshot bugs (people not getting headshot when they should).

After this, I believe it's pretty much enough.

You can have a look in:
- the HPB_bot template 4, for the list of entities, the new engine functions interface, and the SV_GetBlendingInterface() export
- the metamod port of POD-bot 2.6 which is being discussed about in the metamod plugins forum, for all the other CS 1.6-related fixes (including the new weapons).



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: PODBot
Old
  (#3)
DeathStar
Member
 
Status: Offline
Posts: 4
Join Date: Mar 2004
Default Re: PODBot - 29-03-2004

Thx, I'll check those out.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com