.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   Hi ! Everyone ! (http://forums.bots-united.com/showthread.php?t=766)

slash-evil 17-02-2004 11:29

Hi ! Everyone !
 
I am new to this forum ! I hear many people said that this forum is the best bot forum ! So , thats why I am here ! And this is my first info for all podbot , ivpbot and [E]podbot user : to make a bot open a door , simply place a hostage rescue waypoint at the button or what , and a goal waypoint after the rescue waypoint , I test it and it works almost 100% !
One more , I am also develop my own bot , it is base on the PODbot2.6 src , and I have some problem to fix one problem , that is the selection "7" not selectable in the weaponmode menu , can u help me ? 9_9

Pierre-Marie Baty 17-02-2004 14:56

Re: Hi ! Everyone !
 
What do you mean exactly ? That your players can't select the 7th entry in the menu, or does it only affect the bots ? If it affects the bots only, make sure the bot buy code is capable of handling the new entries that appeared in CS 1.6... you have to write this yourself :)

Austin 17-02-2004 23:44

Re: Hi ! Everyone !
 
Quote:

Originally Posted by slash-evil
I have some problem to fix one problem , that is the selection "7" not selectable in the weaponmode menu , can u help me ? 9_9

In dlls.cpp around line 2038 change this code:
Code:

        // Model Selection Menu ?
        else if(iUserInMenu==MENU_WEAPONMODESELECT)
        {
        switch(iSelection)
        {
        case 1:
        case 2:
        case 3:
        case 4:
        case 5:
        case 6:
                UserSelectWeaponMode(pEntity,iSelection);
                iUserInMenu=0;
                break;

to THIS code
Code:

        // Model Selection Menu ?
        else if(iUserInMenu==MENU_WEAPONMODESELECT)
        {
        switch(iSelection)
        {
        case 1:
        case 2:
        case 3:
        case 4:
        case 5:
        case 6:
        case 7:
                UserSelectWeaponMode(pEntity,iSelection);
                iUserInMenu=0;
                break;

Thanks for stopping by Bots United!

Pierre-Marie Baty 18-02-2004 00:18

Re: Hi ! Everyone !
 
Question -> Answer.

Austin man, you rock :D

slash-evil 18-02-2004 07:26

Re: Hi ! Everyone !
 
As I guest , this forum is really great ! The guy are sooooooooo friendly and helpful , thanks guys :D


All times are GMT +2. The time now is 10:28.

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