.:: 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
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#11)
Tea
Guest
 
Status:
Posts: n/a
Default Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 05-07-2004

Pierre I can't do what you have suggest since DoD 1.2 change a lot in the debug format, like the weapon ID part for example:

(DoD 1.2/Steam)
pfnRemoveEntity: 3e36298
pfnPvAllocEntPrivateData:
pfnCreateNamedEntity: edict=3e36298 name=weapon_enfield
pfnPrecacheModel: models/v_enfield.mdl
pfnPrecacheModel: models/w_enfield.mdl
pfnPrecacheEvent:
pfnPrecacheSound: weapons/enfield_shoot.wav
pfnPrecacheSound: weapons/357_cock1.wav
pfnPrecacheSound: weapons/boltforward.wav
pfnPrecacheSound: weapons/boltback.wav
pfnPrecacheSound: weapons/tommy_reload_clipin.wav
pfnPrecacheModel: models/v_enfield_scoped.mdl
pfnPrecacheModel: models/w_enfield_scoped.mdl
pfnPrecacheSound: weapons/enfieldsniper_shoot.wav
pfnPrecacheEvent:



(DoD 1.1)
pfnMessageBegin: edict=1de6594 dest=1 type=76
pfnWriteString: weapon_luger
pfnWriteByte: 4
pfnWriteByte: 24
pfnWriteByte: -1
pfnWriteByte: -1
pfnWriteByte: 1
pfnWriteByte: 1
pfnWriteByte: 4
pfnWriteByte: 64
pfnWriteByte: 8
pfnMessageEnd:

Pierre or botman, is it possible the DoD team can change the format so big like this way(I can't check any detail information of weapon now except the model or wav.....) ? ???

If yes how can I check the weapon ID or some other information like VGUI network messages(after 1.2 even no more VGUI messages table output at the top of the bot.txt) ?

BTW Chaos you can just mark out the if (debug_engine) messages that you don't need at the engine.cpp, it can reduce the size of the bot.txt a LOT.

Last edited by Tea; 05-07-2004 at 13:23..
  
Reply With Quote
Re: Where is the bot.txt in HPB_Bot_MM Pierre need your help
Old
  (#12)
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: Where is the bot.txt in HPB_Bot_MM Pierre need your help - 05-07-2004

Cleverly written MODs use as few network messages as possible. And if you think about it, WeaponList and VGUI messages are not needed since the server and the client are supposed to share the same game and client DLL. In this case, you won't be able to use the bot.txt for anything useful, and you'll have to hardcode the weapon IDs yourself in your DLL. Use an investigation plugin like PMTools to find them out.



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
Reply


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

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 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com