.:: 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 > SDK Programming discussions > Half-Life 1 SDK
Half-Life 1 SDK For developments focused around Half-Life (and its mods) Half-Life

Reply
 
Thread Tools
info request on HL1 engine
Old
  (#1)
SamPlay
Member
 
Status: Offline
Posts: 46
Join Date: Jan 2006
Question info request on HL1 engine - 09-06-2006

Can anyone be so kind as to tell me where I can find info on how the engine updates the various players ( I cannot understand why my bot in god mode cannot get a headshot anytime I want it, in conditions where the weapon accuracy is of no concern).
eg: does the other players moves while your own Startframe code is running? ( do their position vary, which would require for shooting to pick their position
the latest possible before calling pfnrunplayermove)? or is everything frozen ?
Do we need to do some prediction on the other players moves , does the engine compensates in some way?
I am ready to spend some time looking through the code of another publicly available engine ( like Quake 1/ 2/ 3) but I do not know if it is relevant for HL1.

Or any paper/website/..., even not HL1 specific, explaining how an engine deals with multiplayers updates, would also be of interest.
Thanks in advance.
  
Reply With Quote
Re: info request on HL1 engine
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: info request on HL1 engine - 09-06-2006

read botman's readme.txt file included with the HPB bot, as well as the HPB bot source code and the HLSDK source code
  
Reply With Quote
Re: info request on HL1 engine
Old
  (#3)
SamPlay
Member
 
Status: Offline
Posts: 46
Join Date: Jan 2006
Default Re: info request on HL1 engine - 09-06-2006

Thanks Whistler,
I already looked at HPB files years(!) ago, looked again now and did not find what I am looking for. The HLSKD files does not include source dealing with how the engine updates players: example: pm_... tells about one player move update but not about the update process for all players which is part of source code not publicly available). The HPB source tells how Botman actually did things, but not why, which does not allow to code your own solution.

Example: from testing, I am sure that the engine updates a bot move( including changes in view angles) before executing its attack ( IN_ATTACK button flag set). This does not relate to how and when the other players are or are not updated , but it is another example of things that you cannot get anywhere though it is, I think, important to know it.
  
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