.:: 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 2 SDK
Half-Life 2 SDK For developments focused around the Half-Life 2 engine Half-Life 2

Reply
 
Thread Tools
New SDK Bot for Source
Old
  (#1)
obz
Member
 
Status: Offline
Posts: 2
Join Date: Mar 2004
Default New SDK Bot for Source - 20-01-2005

Source SDK Updated

According to the Steampowered news, a new update for the Source SDK has been released tonight.

Source SDK

>> Added XSI addon for importing and exporting SMDs

>> Added simple SDK bot sample code for adding bots to your mod

>> Added source files for six Half-Life 2 single player maps

>> Added interface plugin to add bots to mods

>> Fixed resource leak in the SDK launcher and vconfig utiity

>> Added bspzip tool — allows you to compile custom content directly into a .bsp

If you're interested in grabbing this update, simply restart your Steam client.
  
Reply With Quote
Re: New SDK Bot for Source
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: New SDK Bot for Source - 20-01-2005

I told ya!

Running steam!


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: New SDK Bot for Source
Old
  (#3)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: New SDK Bot for Source - 20-01-2005

don't jump through the roof yet, they said: "for adding bots to your mod".

See what I mean ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: New SDK Bot for Source
Old
  (#4)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: New SDK Bot for Source - 20-01-2005

it seems to be something like botman's old HL bot or CZero bot...
  
Reply With Quote
Re: New SDK Bot for Source
Old
  (#5)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: New SDK Bot for Source - 20-01-2005

my SDK is updated.

http://www.valve-erc.com/srcsdk/Code/bots.html

I'm on it.

C:\bleh\src\dlls\sdk\sdk_bot_temp.cpp

I was right with the CUserCmd : that's all you need for everything.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: New SDK Bot for Source
Old
  (#6)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: New SDK Bot for Source - 20-01-2005

...and just to be clear, the server plugin bot example is...

C:\MyMod\src\utils\serverplugin_sample\serverplugi n_bot.cpp

botman
  
Reply With Quote
Re: New SDK Bot for Source
Old
  (#7)
dub
Member
 
dub's Avatar
 
Status: Offline
Posts: 89
Join Date: Aug 2004
Location: UK
Default Re: New SDK Bot for Source - 20-01-2005

it`s good that we have acess to CGlobalVars too now.


Dubb`s Coding Cave WiP - YeGods - Free Image hosting
4u-servers.co.uk : YeGods Gin Palace II - Refloated - 195.20.108.30:27025
  
Reply With Quote
Re: New SDK Bot for Source
Old
  (#8)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: New SDK Bot for Source - 20-01-2005

as far as i can tell , the bot sample plugin should work with the current mod you create. But i don't know if its working for CSS for example, but i did not test this either! (cant!)

If it works for CSS; its definatly NOT creating the turtlerock version, because the command in the plugin is different afaik.

Looks nice so far, can't wait to do something with it...


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: New SDK Bot for Source
Old
  (#9)
Jerry
Member
 
Jerry's Avatar
 
Status: Offline
Posts: 10
Join Date: Dec 2004
Location: Woerden, The Netherlands
Default Re: New SDK Bot for Source - 20-01-2005

I tried the plugin bot example in HL2DM.
It can't load some interfaces:
Unable to load playerinfomanager, ignoring
Unable to load botcontroller, ignoring

I guess we still can't create bots for HL2DM.

Edit: The pluginbot works in CSS! So I guess it's CSS only (for now).


Imagination is more important than knowledge. Knowledge is limited - Albert Einstein

Last edited by Jerry; 20-01-2005 at 17:58..
  
Reply With Quote
Re: New SDK Bot for Source
Old
  (#10)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: New SDK Bot for Source - 20-01-2005

how the hell do you get the source for the sample bot plugin? I've refreshed sdk content about twenty times already, still no joy
never mind forget that. just made a new mod

anyway gotta update my bot now with all this new non hacky stuff. Still one thing though, I don't know how to get a players edict's flags without CBasePlayer (im removing all cbaseplayer stuff) (im looking for gettign these from normal players or even other entites, not bots)

Last edited by Cheeseh; 20-01-2005 at 18:46..
  
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