.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   Single player - Counter-Strike - EPB (http://forums.bots-united.com/showthread.php?t=3449)

The Storm 19-01-2005 22:22

Single player - Counter-Strike - EPB
 
Well I wonder is there a way to make E[POD]bot to work in single player tape.
When I try it it just doesn't work.
Or maybe LAN game server is better - you tell me :).

Pierre-Marie Baty 20-01-2005 02:40

Re: Single player - Counter-Strike - EPB
 
you mean in the Condition Zero missions ?
Normally yes ; if you kick the CZ bots and add your own ones it should work, at least I recall that's what someone reported.

Whistler 20-01-2005 02:58

Re: Single player - Counter-Strike - EPB
 
for CZero you may also want to change the game directory from "cstrike" to "czero"
but using g_engfuncs.pfnGetGameDir() function would be better solution

The Storm 20-01-2005 10:28

Re: Single player - Counter-Strike - EPB
 
No I mean CS 1.5 or CS 1.6.

I have no CZ :(.

When I turn on the console and tape map de_dust2 it will load the map but I have no any weapons and the bots are gone.
I want to add them to Single Player because when I hit the dead corpres they are blooding 8D.
And if this is possible I wont to ask to how to add weapons to single player ?

Whistler 20-01-2005 11:08

Re: Single player - Counter-Strike - EPB
 
remove all the "if (gpGlobals->deathmatch)" in the code and you can only do waypointing in SP mode.
you simply can't add bots like that. and if you need weapons try commands like "give weapon_mp5navy"

The Storm 20-01-2005 11:19

Re: Single player - Counter-Strike - EPB
 
Well looking around you code of YaPB I find that :
NAMEFUNC.cpp
Code:

// RACC - AI development project for first-person shooter games derivated from Valve's Half-Life
 // (http://www.racc-ai.com/)
 //
 // Rational Autonomous Cybernetic Commandos AI
 //
 // Since there is a known issue on Win32 platforms that prevents
 // hook DLLs (such as our bot DLL) to be used in single player
 // games (Training Room) because they don't export all the stuff
 // they should, we may need to build our own array of exported
 // symbols from the actual game DLL in order to use it as such
 // if necessary.
 //

Is this think is for Single Player?
Can you explain?

Whistler 20-01-2005 11:24

Re: Single player - Counter-Strike - EPB
 
This is for the Training Room in very old versions of CS. Actually it's no longer necessary for CS 1.1 or higher, but I just left it there to make the Training Room work.

The Storm 20-01-2005 11:29

Re: Single player - Counter-Strike - EPB
 
OK thanks for the help :).
Now anoder question :).
Is there way to make the dead corpres to blood when I hit it in Multy Player game? It will be more realistic :).

EDIT : Oh sorry just igrone this post because this is not needed for EPB to work correct.
But if you have some ideas how to make EPB to work with single player just post :).
I think that I can't add bots because the bots can not connect to single player game (same with the humans :)).


All times are GMT +2. The time now is 07:32.

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