View Single Post
Re: Another Source SDK question ...
Old
  (#9)
Akz
Creator of GrogBot
 
Akz's Avatar
 
Status: Offline
Posts: 91
Join Date: Jan 2004
Default Re: Another Source SDK question ... - 13-02-2005

I contacted Valve yesterday asking if they are planning to update the server plugin interface soon.

Quote:
Subject:
RE: Limited server plugin interface
From:
"Yahn Bernier" <YahnBernier@valvesoftware.com>
Date:
Sat, 12 Feb 2005 10:16:14 -0800
To:
"Akz" <akz@bots-united.com>
CC:
"Alfred Reynolds" <alfred@valvesoftware.com>

I think the plan is to extend the plugin's to allow more access to the
entities. Alfred would know for sure.

Yahn

-----Original Message-----
From: Akz [mailto:akz@bots-united.com]
Sent: Saturday, February 12, 2005 9:25 AM
To: Yahn Bernier
Subject: Limited server plugin interface

Hi,

I used to code MetaMod plugins and such for the Half-Life 1 engine. Now
as I'm moving to Source, I've noticed that the HL2 server plugin
interface seems to lack a lot of useful functionality. For example,
plugins should be able to get and set things such as origin, angle,
velocity and flags for EVERY entity there is. I'm developing a bot
plugin for HL2, but it's going to lack a lot of features if the
interface is not going to be updated. For example, my bots wouldn't be
able to shoot at npc:s, because I don't have an access to the entity's
flags variable, therefore I'm not able to check if FL_NPC is set. Oh, I
could check the classname as well, but that was just an example. So, I'd
like to know, are you going to extend the plugin interface's
functionality somewhere in the future?

Thanks in advance,
Alfred contacted me later with this:

Quote:
Subject:
RE: Limited server plugin interface
From:
"Alfred Reynolds" <alfred@valvesoftware.com>
Date:
Sat, 12 Feb 2005 20:47:46 -0800
To:
"Yahn Bernier" <YahnBernier@valvesoftware.com>, "Akz" <akz@bots-united.com>

As Yahn said, we plan to update the interface as we find a need for it.
The last release of the SDK extended the IPlayerInfo structure to return
player origins and angles, I will look into adding flags to that
interface. For your particular problem I would recommend using the
CBaseEntity shipped in the HL2 code portion of the SDK (as this layout
should be constant for HL2, it won't be for other mods however).

- Alfred
That's not quite the answer I was waiting for. If I understood right, they are going to add flags into the IPlayerInfo structure, which still isn't much.


GrogBot - A bot for Pirates, Vikings and Knights HL modification.

http://grogbot.bots-united.com
  
Reply With Quote