![]() |
Guide : Classic bot framework
This document deals with framework for Half-life 1 plugin (e.g. bot) running without Metamod.
This guide is good for understanding structure of a plugin. It describes connections between the Half-Life, game and plugin. It deals with exported functions, game API and engine API. It shows how these functions are called and how they cooperate. It also helps If you're lost in all these calls and hooks. linky : http://neuron.tuke.sk/~wagner/kxbot/...k-classic.html for all you lazy bastards : http://neuron.tuke.sk/~wagner/kxbot/...-thumbnail.gif read description here Expect guide to metamod framework very soonish :D |
Re: Guide : Classic bot framework
Nice :)
I believe you should have made clear the differences between both interfaces. Anything can be a GameDLL provided it exports a GiveFnptrsToDll and either GetEntityAPI or GetEntityAPI2 (the rest is facultative). The engine, on the other hand, needs to provide a fixed set of functions, all of which being in a fixed order. The difference between engine versions (starting from the SDK 2.0 version) being the length in bytes of this function table. |
Re: Guide : Classic bot framework
you may also look at my "cleaned" version of HPB bot source code which has all of the bot code stripped...
http://yapb.bots-united.com/files/ge...l_template.exe |
All times are GMT +2. The time now is 06:13. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.