.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Half-Life 1 SDK (http://forums.bots-united.com/forumdisplay.php?f=33)
-   -   2 things! (http://forums.bots-united.com/showthread.php?t=5510)

The_Hard_Mission_Guy 13-07-2006 12:43

2 things!
 
Well Hi folks!
first:
what parameters should I pass to the cstrike.exe or hl.exe to load a certain mod at start up?

second:
if you are familiar with the "network message names" , what names should be used to successfully register and employ data printout to the console and the hud ?
I have noticed (to the opposite of what botman says in thehpb_botman readme.txt ) that only a few names work(i.e TextMsg) ....a little bit confused :wacko:

Whistler 13-07-2006 15:12

Re: 2 things!
 
> what parameters should I pass to the cstrike.exe or hl.exe to load a certain mod at start up?

-game

> if you are familiar with the "network message names" , what names should be used to successfully register and employ data printout to the console and the hud ?

see the ClientPrint function

The_Hard_Mission_Guy 13-07-2006 22:39

Re: 2 things!
 
Quote:

Originally Posted by Whistler
> what parameters should I pass to the cstrike.exe or hl.exe to load a certain mod at start up?

-game

> if you are familiar with the "network message names" , what names should be used to successfully register and employ data printout to the console and the hud ?

see the ClientPrint function

Not sure what you meant with "game" but using the mods name as parameter doesn't seem to work!

second:
I already saw ClientPrint() and I know that it uses "TextMsg" to register it's message but what I meant is that botman said in the hpb_bot readme file that any name could be used , which apparently isn't the case , so How is that?

The Storm 14-07-2006 00:55

Re: 2 things!
 
To select game add to the command line for example
-game cstrike (to start CS) as Whistler pointed.
For the other question. Differend mods sends diffrend network messages when something happens in to the game. You can get all the avalable messages for this MOD by using HPB debug function. After you find it you can track them to see when you will resive specific message and what to do with it. For example if the game sends the message that the game team menu is opened you can track it and call the bots to choose a team.

The_Hard_Mission_Guy 14-07-2006 14:56

Re: 2 things!
 
another 2 obstacles just got flushed out of the way , thanks folks!

KWo 18-07-2006 09:45

Re: 2 things!
 
If You really want to intercept all possible messages HL sents, take the AMX or AMX X sources. They really good figured out the intercept of all meesages. Good work of OLO. :)

The_Hard_Mission_Guy 25-07-2006 05:52

Re: 2 things!
 
Actually I wasn't looking after intercepting ALL messages...
I just wanted to get a way to print out some data on the console......that's it
and it has been successfully resolved !


All times are GMT +2. The time now is 03:50.

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