.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   The RealBot 'Source' (http://forums.bots-united.com/forumdisplay.php?f=52)
-   -   WIP Source: What is a pEdict? (http://forums.bots-united.com/showthread.php?t=1694)

minorgod 18-05-2004 05:52

WIP Source: What is a pEdict?
 
I'm trying to get a handle on this WIP source code as quickly as possible and I've never coded a bot before. So I'm going to be posing a bunch of basic bot coding questions here since I can't stand that WIKI. Please bear with me if these questions seem exceedingly stupid.

First off, I see a bunch of "pEdict" stuff and can't figure out what an edict is or where it is defined. Is it a pointer to a struct or a class that I can't find somewhere? Is it part of the HLSDK?

sPlOrYgOn 18-05-2004 06:04

Re: WIP Source: What is a pEdict?
 
yes it is a part of the HLSDK.
a pEdict is a pointer to a structure called edict_t or edict_s.
All entities in this engine are basicly an edict structure.
so players, chickens, lights, hostages, etc... all are edicts.

[edit]
btw this should be in the bot coding forum..
[/edit]

minorgod 18-05-2004 06:18

Re: WIP Source: What is a pEdict?
 
Thanks for the quick reply. Didn't see a bot coding forum in the RealBot section. Didn't look in the other bot forums. Will post here from now on.

sPlOrYgOn 18-05-2004 06:19

Re: WIP Source: What is a pEdict?
 
that is the bot coding forum...


All times are GMT +2. The time now is 09:49.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.