AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Is this possible? (guess yes) (https://forums.alliedmods.net/showthread.php?t=88427)

Speed! 03-24-2009 14:43

Is this possible? (guess yes)
 
1 Attachment(s)
While I was playing I noticed with bots, that they learned the map. What called my attention was the box that showed the process bar, and it seem not to be client side, since bots are just server side.

Here is a picture

AntiBots 03-24-2009 16:15

Re: Is this possible? (guess yes)
 
You can do that but like the Defuse line. That i dont have idea.

Arkshine 03-24-2009 16:21

Re: Is this possible? (guess yes)
 
Which bots ?

Speed! 03-24-2009 16:24

Re: Is this possible? (guess yes)
 
Quote:

Originally Posted by arkshine (Post 788231)
Which bots ?

zbots guess

maybe that is just not included with AMXMODX

btw: sometimes when edicting a post, it says instead of "save", "vote now"

SonicSonedit 03-24-2009 16:27

Re: Is this possible? (guess yes)
 
Do you mean progressbar? it's included in AMXX, it's a "BarTime" message.
http://war3ft.com/downloads/misc/events_CS.htm

Speed! 03-24-2009 16:30

Re: Is this possible? (guess yes)
 
Quote:

Originally Posted by SonicSonedit (Post 788236)
Do you mean progressbar? it's included in AMXX, it's a "BarTime" message.
http://war3ft.com/downloads/misc/events_CS.htm

i mean like the one on the picture. Not like the defuse one

SonicSonedit 03-24-2009 16:32

Re: Is this possible? (guess yes)
 
Oh, sorry.
Box around the bar, yes, that's interesting.
Maybe its CZCareerHUD or BotProgress?

hleV 03-24-2009 16:36

Re: Is this possible? (guess yes)
 
Give us the files of those bots and then we might be able to give you a more accurate answer.

Speed! 03-24-2009 16:39

Re: Is this possible? (guess yes)
 
Im uploading'em.

btw, I found this .res file, that might be relevant.

Code:

"Resource/UI/CSProgressBar.res"
{
        "CSProgressBar"
        {
                "ControlName"                "Frame"
                "fieldName"                "CSProgressBar"
                "xpos"                "200"
                "ypos"                "215"
                "wide"                "240"
                "tall"                "40"
                "autoResize"                "0"
                "pinCorner"                "0"
                "visible"                "1"
                "enabled"                "1"
                "tabPosition"                "0"
                "settitlebarvisible"                "0"
        }
        "RoundedCornerBackground"
        {
                "ControlName"                "Panel"
                "fieldName"                "RoundedCornerBackground"
                "xpos"                "0"
                "ypos"                "0"
                "wide"                "240"
                "tall"                "40"
                "autoResize"                "0"
                "pinCorner"                "2"
                "visible"                "1"
                "enabled"                "1"
                "tabPosition"                "0"
                "settitlebarvisible"                "0"
                "zpos"                "0"
        }
        "TitleLabel"
        {
                "ControlName"                "Label"
                "fieldName"                "TitleLabel"
                "xpos"                "5"
                "ypos"                "5"
                "wide"                "80"
                "tall"                "15"
                "autoResize"                "0"
                "pinCorner"                "2"
                "visible"                "0"
                "enabled"                "1"
                "tabPosition"                "0"
                "labelText"                ""
                "textAlignment"                "north-west"
                "dulltext"                "0"
                "brighttext"                "0"
                "zpos"                "1"
        }
        "TextLabel"
        {
                "ControlName"                "Label"
                "fieldName"                "TextLabel"
                "xpos"                "5"
                "ypos"                "5"
                "wide"                "230"
                "tall"                "15"
                "autoResize"                "0"
                "pinCorner"                "2"
                "visible"                "1"
                "enabled"                "1"
                "tabPosition"                "0"
                "labelText"                ""
                "textAlignment"                "north-west"
                "dulltext"                "0"
                "brighttext"                "0"
                "zpos"                "1"
        }
        "ProgressBarSizer"
        {
                "ControlName"                "Panel"
                "fieldName"                "ProgressBarSizer"
                "xpos"                "9"
                "ypos"                "24"
                "wide"                "222"
                "tall"                "7"
                "autoResize"                "0"
                "pinCorner"                "2"
                "visible"                "1"
                "enabled"                "1"
                "tabPosition"                "0"
                "zpos"                "1"
        }
        "ProgressBar"
        {
                "ControlName"                "Panel"
                "fieldName"                "ProgressBar"
                "xpos"                "9"
                "ypos"                "24"
                "wide"                "222"
                "tall"                "7"
                "autoResize"                "0"
                "pinCorner"                "2"
                "visible"                "1"
                "enabled"                "1"
                "tabPosition"                "0"
                "zpos"                "1"
        }
        "ProgressBarBorder"
        {
                "ControlName"                "Panel"
                "fieldName"                "ProgressBarBorder"
                "xpos"                "7"
                "ypos"                "22"
                "wide"                "226"
                "tall"                "10"
                "autoResize"                "0"
                "pinCorner"                "2"
                "visible"                "1"
                "enabled"                "1"
                "tabPosition"                "0"
                "zpos"                "2"
        }
}

It's at \resource\UI\CSProgressBar.res

SonicSonedit 03-24-2009 16:42

Re: Is this possible? (guess yes)
 
it's GUI, maybe VGUIMenu msg is used?
well, any way it's probably one of CZ (added in 1.6) msgs either CZCareerHUD, BotProgress or VGUIMenu and we don't know anything about them =\


All times are GMT -4. The time now is 09:03.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.