.:: 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 ::. > Cyborg Factory > HPB_bot
HPB_bot The trusty good ole mechs by botman HLDMTFCOpposing ForceDMCFront Line Force

Reply
 
Thread Tools
hpbbot template 3 question
Old
  (#1)
grandmasterc
Member
 
Status: Offline
Posts: 6
Join Date: Jun 2005
Default hpbbot template 3 question - 26-06-2005

hoi
i´m pretty new to bot coding and recently started to make bots for a friends mod.

i already managed to make it spawn in freefight and in teamfight

problem 1: it only spawns team 1

problem 2: it only works with won hl

the most important thing is what i hav to do that it also works with steam?

i tried template 4 but i cant get it to run.

any help is appriciated

greetz
grandmasterc
  
Reply With Quote
Re: hpbbot template 3 question
Old
  (#2)
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: hpbbot template 3 question - 26-06-2005

How so, you can't get the template 4 to work ?



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: hpbbot template 3 question
Old
  (#3)
grandmasterc
Member
 
Status: Offline
Posts: 6
Join Date: Jun 2005
Default Re: hpbbot template 3 question - 26-06-2005

it only spawns a green sprite

i use the same code for template 4 as for 3

how can i get it work with steam?
  
Reply With Quote
Re: hpbbot template 3 question
Old
  (#4)
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: hpbbot template 3 question - 26-06-2005

The unmodified template 4 should work in HL, Steam or not, I tested it myself. The bot spawning code hasn't changed at all between version 3 and 4.

If you really can't make it work, you should consider using metamod, and make your bot a metamod plugin. Get the HL bot developer kit from the filebase, it compiles a metamod bot for HL out of the box.

If the "official" metamod DLL doesn't support your friend's mod, you can use the unofficial metamod-P one that works with all mods.



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: hpbbot template 3 question
Old
  (#5)
grandmasterc
Member
 
Status: Offline
Posts: 6
Join Date: Jun 2005
Default Re: hpbbot template 3 question - 26-06-2005

well
i tried it again

the EXACT same code works for template 3 but for template 4 it doesn´t work

in template 3 the bots spawn in freefighting

in template 4 they only stay as spectators or dont appear.

i´ve done everything which is mentioned in the readme.txt but it doesn´t work with template 4

what do i need to do to make template 3 work with steam

or is there someone who can make me basic bots(that they spawn in team and freefight)
  
Reply With Quote
Re: hpbbot template 3 question
Old
  (#6)
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: hpbbot template 3 question - 26-06-2005

Are you trying this in HLDM or in your friend's mod ?



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: hpbbot template 3 question
Old
  (#7)
grandmasterc
Member
 
Status: Offline
Posts: 6
Join Date: Jun 2005
Default Re: hpbbot template 3 question - 26-06-2005

in my friends mod
  
Reply With Quote
Re: hpbbot template 3 question
Old
  (#8)
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: hpbbot template 3 question - 27-06-2005

try it in HLDM first. The HPB_bot was meant to work for that mod.

If you want to port it to another mod you have to
a) add the missing entities in linkfunc.cpp using the LINK_ENTITY_TO_CLASS() macro
b) change the way the bot detects a player's team, if appropriate
c) make the relevant changes to the bot code so that the bot can browse the in-game menus, if there are some.



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: hpbbot template 3 question
Old
  (#9)
grandmasterc
Member
 
Status: Offline
Posts: 6
Join Date: Jun 2005
Default Re: hpbbot template 3 question - 27-06-2005

omg you dont get what i mean.

how can it be that the EXACT code works for template 3 but doesn´t for template 4?

i just want to know what to do that template 3 works with steam too
  
Reply With Quote
Re: hpbbot template 3 question
Old
  (#10)
Rifleman
This user broke our rules and has been BANNED
 
Status: Offline
Posts: 128
Join Date: Sep 2004
Location: Mars
Default Re: hpbbot template 3 question - 28-06-2005

Compare both templatev3 and templatev4 , as simple as that ...
  
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