I grabbed the bits and pieces from the serverplugin_empty and added them to
the serverplugin_bot and did some file and project name changes to get what
I want.

I am happy with what I have right now.

I understand the limitations of some of the information that has not been
exposed.  Just figured it might be interesting enough to do some fiddling.
:)

Thanks for the help all...

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Jeremy Swigart
> Sent: Thursday, August 03, 2006 2:35 PM
> To: hlcoders@list.valvesoftware.com
> Subject: Re: [hlcoders] Basic Bot Stub
>
> --
> [ Picked text/plain from multipart/alternative ]
> Yea unfortunately the documentation is pretty non-existant.
> If you take one
> of those open source bot plugins, you should be able to load
> it and spawn
> bots in any mod, though to get them to use weapons you will
> need to make
> source changes to pass the appropriate weapon names into
> SetActiveWeapon and
> stuff.
>
> On 8/3/06, Scott Tuttle <[EMAIL PROTECTED]> wrote:
> >
> > > I don't have the sdk in front of me, but if there are
> variables and/or
> > > functions defined in there and you remove them you are going
> > > to get linker
> > > errors. Looks like thats exactly what is happening. That file
> > > is probably in
> > > there for a reason. You can't just remove arbitrary files and
> > > expect things
> > > to keep working.
> >
> > I guess its my fault when I look at a server plugin example
> thinking it
> > would also not just work... But explain why it works...
> >
> > Maybe it would have made more sense to me if they  had
> instead called
> > serverplugin_empty.cpp main.ccp required.  Obviously it is
> required.  And
> > I
> > wasn't trying to remove "arbitryary files" but instead
> wondering if any of
> > it wasn't needed.... Some of the calls clearly in
> serverplugin_empty.cpp
> > are
> > not required especially if I can just instead place the
> same CON_COMMANDS
> > and ConVar statements in serverplugin_bot.cpp.  Although it
> isnt exactly
> > clear... it is more of an assumption, based on not really having any
> > documentation about what the plugin calls are doing.
> >
> > So thanks for "answering" my questions in a non-answer sort of way.
> >
> >
> > _______________________________________________
> > To unsubscribe, edit your list preferences, or view the
> list archives,
> > please visit:
> > http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
> >
> --
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to